From patchwork Fri Jan 6 15:28:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 3670 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp881258wrt; Fri, 6 Jan 2023 07:29:32 -0800 (PST) X-Google-Smtp-Source: AMrXdXsBq1+n+kubSnl3foB7r/rCPshPs/wo7dYU9qx/BSoGohXlkJT+8TgbTXzvWG3Sz9l2zEFd X-Received: by 2002:a05:6a21:c08d:b0:af:f1d1:6f7f with SMTP id bn13-20020a056a21c08d00b000aff1d16f7fmr74586061pzc.31.1673018971759; Fri, 06 Jan 2023 07:29:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673018971; cv=none; d=google.com; s=arc-20160816; b=MK81Qp+zlbMsz2xBAFCzoxrWuqLsSFclz99gfjez7J/nefz2hmW28Q3T6hKsjqaiw5 lvj20F/5FqRl2b+Wx/8hT6N15qh/OwdgElPPNgyFuL+XOZCeIhUKu6w4CFcE382XY45R dmr8K8HG+jM6LxYo8iQomfmVD5Tw3GUOnOHUX3LmMlbSCn4R7E6jwTO/Ua3Iha2XPHli 7qblS/A+2YW15a70HEwru1f7y6EZecHtU263AjB6QLfhGgEmOkTklR6Ew9R4ryfgqyiA CBdASKToazexaKq2OZoZlszeeC02qP4ZmPui7PM85uznUw8VDxSrn/d7EcW8QXCF/u06 puOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VlzESD4AMk00u+w+7MAyrnnGklzWyK8ppGmGNp+UR0Y=; b=C1EuKdxxi+BdicCbuTEvVS1Cq0CwKaHuLxxFPOTGUxTCy/f80KvUe+6/ZgeIKYUEgP CoKFSXMQb2hIqchnMX36f7sEDMSFVn0vR12v9t4TGpoN7thqQxUdIAgBmVhJGffWa8LA VXZt7COtQgoOUNW/rTY9p8mWiYqwFu2iP5ELy4weEpWcXu4D1rYEmbuJHLazqY7dDcbA K/KJLrE5Mu/kJjCPO8K0aI9LcQnbwdIMgPN4bKNhkJbu3+4LXdSQ1z04Co20r9g66I2J 9ZL/unbeHUk45CdtmoGGPu+FdSdPH1oVO/wQotJ3Ixylc7FiDhX/wdtYCvG2FKbcQ4T4 tdgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=iYOKjdIB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i35-20020a635863000000b00478a1814885si1656022pgm.319.2023.01.06.07.29.19; Fri, 06 Jan 2023 07:29:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=iYOKjdIB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235545AbjAFP3O (ORCPT + 99 others); Fri, 6 Jan 2023 10:29:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235291AbjAFP3C (ORCPT ); Fri, 6 Jan 2023 10:29:02 -0500 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 515668CD09; Fri, 6 Jan 2023 07:29:00 -0800 (PST) Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 4ECAD603D5; Fri, 6 Jan 2023 15:28:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1673018938; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VlzESD4AMk00u+w+7MAyrnnGklzWyK8ppGmGNp+UR0Y=; b=iYOKjdIBw69DVeQTSxdvEfTa7z0YG38I7Ud2d/IR7ypZSET8zzgJzAupernvaoSNLmYa4x dy74jzsitVgCZLYhwVVSrQxgLosWCzdl0RqwV+1osYdy3N5ejdkyCsiNFecezcUo5ciYTC J3JrHT+WwEbdm/hBGjFjuZ8tev0hKM8= Received: from frank-G5.. (fttx-pool-217.61.159.6.bambit.de [217.61.159.6]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id 977C31226D4; Fri, 6 Jan 2023 15:28:57 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v9 0/5] Add BananaPi R3 Date: Fri, 6 Jan 2023 16:28:40 +0100 Message-Id: <20230106152845.88717-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754287541275598727?= X-GMAIL-MSGID: =?utf-8?q?1754287541275598727?= From: Frank Wunderlich This Series adds some Nodes to mt7986 devicetree and the BananaPi R3 This version is rebased on linux 6.2-rc1 and i dropped already applied Patches from v7. i had run full dtbs-check but i end up with some strange warnings in ethernet-node that should not come up as phy-handle and sfp/managed properties are already defined. These errors also came up for mt7986a-rfb. phy-handle made optional https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/mediatek,net.yaml#n265 property sfp/managed (which is included for mac subnode in yaml above): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/ethernet-controller.yaml#n137 changes: v9: - drop model string override in sd-dtso v8: - drop model string override in emmc-dtso - drop cs-gpios from spi-nodes - add interrupt-settings for mt7531 switch v7: - rebase on next so dropped already applied patches - squashed overlay-patch into the bpi-r3 base support - moved regulators from mmc-dts to common dtsi - changed dtsi to dts (as board base dtb) and mmc-dts to overlays - renamed overlays to dtso - removed angelos RB because of changes in bpi-r3 patch v6: - dropped regulators from usb-patch as suggested by chunfeng yun - moved 3v3 regulator to mmc-patch as it is needed for emmc to work rfbs were tested by sam shih, r3 by me - dropped RB from AngeloGioacchino from mmc-patch due to this change - fixed links in coverletter which were broken in v5 - i hope this series is sent without errors now (my mailprovider limited mails last 2 times while sending part 10) v5: - changed usb ranges/reg/unit-adress - added reviewd-by's except usb-part due to changes v4: - dropped RFC prefix - rebase on matthias' mtk dts-next (for 6.2) branch - added author information to overlays - fixed sfp binding error - added fix for moving wed_pcie node - readded missing compatible patches v3: - changed mmc pull-ups - added patch for board binding (sent separately before) - added pcie node in mt7986 (not yet again in r3) - added dt overlays Frank Wunderlich (2): dt-bindings: phy: mediatek,tphy: add support for mt7986 arm64: dts: mt7986: add Bananapi R3 Sam Shih (3): arm64: dts: mt7986: add usb related device nodes arm64: dts: mt7986: add mmc related device nodes arm64: dts: mt7986: add pcie related device nodes .../bindings/phy/mediatek,tphy.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 5 + .../mt7986a-bananapi-bpi-r3-emmc.dtso | 29 ++ .../mt7986a-bananapi-bpi-r3-nand.dtso | 55 +++ .../mediatek/mt7986a-bananapi-bpi-r3-nor.dtso | 68 +++ .../mediatek/mt7986a-bananapi-bpi-r3-sd.dtso | 23 + .../dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 450 ++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 120 +++++ arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 122 +++++ arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 8 + 10 files changed, 881 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dtso create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dtso create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts