Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2267034rwb; Thu, 17 Nov 2022 08:32:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7T2Na/wFdhcNMxMgsVSq6phe+X2nNaoARdZ0HtYWbTjq9QL7y4fDscLqyOWIIAhBEUANY4 X-Received: by 2002:a17:90a:2ec5:b0:213:9451:1775 with SMTP id h5-20020a17090a2ec500b0021394511775mr9795417pjs.90.1668702750256; Thu, 17 Nov 2022 08:32:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668702750; cv=none; d=google.com; s=arc-20160816; b=PW2rAQk0LpiAdKWmHtuPesy3rFzYk/B+qUqj4tDMC7At9VPMI1x+42QCmOtKRMkEDx F36y/EqqncHiVCd45z/gY005G6hJz4JgQzZartgOzRzq+V2eQTIxxUiMVlrGTgXQjGvl WDPRv/0sR+l4o0YsSvNsvI8e1HvJXduc5JcQw+rMPuXGaZ/X7hpAyN6d9bDDiR5O4dhl FiGqqS0QaZz6eBei1EQM2IhhTkx9JFfYHs0pGkBagv4mS6UB9azskTakrW1ThBWN88Pg 8jInCbuEthoytOwj+tcE98dMs2DWZ2mSX5vVyFf7s6HAeaRTR5ZwPP7bffujSzYt081y JrMg== 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=gJcKjc3U/1ZgUtZqBtBqjQ25Ma5XTx9jmqwsXvu8sJ8=; b=wLlw1XAV3BaI+V40axEe9otpFSl1qKdXihfoQN8hBtRcqkMiLpDkb9eBV2bfsQzN1x OUiUvo1CsaT6BmW5HRWM5q9fW/eosaDppqiLE6oxeMz4tYSyXU8foNVbMrH/GeDM1RhC 5O4+el2hIGrQSzpdjDSBnFMXngXDZbbtrsOoGhwQnu8KSkMk801Zn/QZ16eV5PufnBUs jHiSL0nV06iH5+xhr0ehOTtG1VeeP85Aka8XwK7vKXZofIimqLa0DEuEfw+hvVbHaiRo kRmY1kB4zJUkPMPDOByW3xa7r0/ga9aVBOkWaAKHuKKPKEGC7MNFyZJbBiYAQKc1WsnO /lHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=YF2QEJks; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a656445000000b004468ff8fd57si1312444pgv.680.2022.11.17.08.32.09; Thu, 17 Nov 2022 08:32:30 -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=YF2QEJks; 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 S240607AbiKQQ2d (ORCPT + 92 others); Thu, 17 Nov 2022 11:28:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240596AbiKQQ1m (ORCPT ); Thu, 17 Nov 2022 11:27:42 -0500 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC6BC73B8A; Thu, 17 Nov 2022 08:27:35 -0800 (PST) Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout3.routing.net (Postfix) with ESMTP id CC97562631; Thu, 17 Nov 2022 16:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1668702454; 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=gJcKjc3U/1ZgUtZqBtBqjQ25Ma5XTx9jmqwsXvu8sJ8=; b=YF2QEJksGC+YKvEzRPajXrUawr/zW5CrAmEt+nZJ80HVWBJo0fG+WOqRxUVMUPqKt7u+CY E7pwGQ9EGTW9/QTyCIgZfs0icZgE2wHQDsuCE2PsJiUBEvuOZFceN/5Mj5fMm0ODsri6Ln EWy3oCXTXbOVI70qyZ15vfhiVtBectM= Received: from frank-G5.. (fttx-pool-80.245.75.65.bambit.de [80.245.75.65]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 40E96100501; Thu, 17 Nov 2022 16:27:32 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Ryder Lee , Jianjun Wang , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Chunfeng Yun , Kishon Vijay Abraham I , Vinod Koul , Greg Kroah-Hartman , Matthias Brugger , Paolo Abeni , Lorenzo Bianconi , Bo Jiao , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org Subject: [PATCH v5 00/11] Add BananaPi R3 Date: Thu, 17 Nov 2022 17:27:17 +0100 Message-Id: <20221117162728.20608-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: ef396687-64f9-4e40-a6f7-12ef3db568a6 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 From: Frank Wunderlich This Series adds some Nodes to mt7986 devicetree and the BananaPi R3 This version is rebased on Matthias' DTS64 next Branch from 2022/11/11. i included sams series for mt7986 DTS with small changes https://patchwork.kernel.org/project/linux-mediatek/cover/20220427124741.18245-> 6.2 will support dtso extension for dt overlays: "kbuild: Allow DTB overlays to built from .dtso named source files" https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?h=dt/next&id=363547d2191cbc32ca954ba75d72908712398ff2 There is some discussion about inclusion of dt-overlays and if it is better to support mmc also by these: https://patchwork.kernel.org/comment/25092116/ https://patchwork.kernel.org/comment/25085681/ 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. phy-handle made optional https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documen> 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/Documen> changes: 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 (7): arm64: dts: mt7986: move wed_pcie node dt-bindings: phy: mediatek,tphy: add support for mt7986 dt-bindings: usb: mtk-xhci: add support for mt7986 dt-bindings: PCI: mediatek-gen3: add SoC based clock config dt-bindings: PCI: mediatek-gen3: add support for mt7986 arm64: dts: mt7986: add Bananapi R3 arm64: dts: mt7986: add BPI-R3 nand/nor overlays Sam Shih (4): arm64: dts: mt7986: add spi related device nodes 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/pci/mediatek-pcie-gen3.yaml | 64 ++- .../bindings/phy/mediatek,tphy.yaml | 1 + .../bindings/usb/mediatek,mtk-xhci.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 4 + .../mediatek/mt7986a-bananapi-bpi-r3-emmc.dts | 31 ++ .../mediatek/mt7986a-bananapi-bpi-r3-nand.dts | 55 +++ .../mediatek/mt7986a-bananapi-bpi-r3-nor.dts | 69 +++ .../mediatek/mt7986a-bananapi-bpi-r3-sd.dts | 25 + .../dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi | 458 ++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 166 +++++++ arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 162 ++++++- arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 63 +++ 12 files changed, 1081 insertions(+), 18 deletions(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi -- 2.34.1