From patchwork Sat Nov 12 09:15:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 1543 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1187446wru; Sat, 12 Nov 2022 01:17:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf7zFGbbfllcPcBSUj66lTIdjjDM4hnr5B2cSBHKzQTMm/dyNrXHBj+KWC0+PxC3E5rdR0CW X-Received: by 2002:a63:1c48:0:b0:46e:baf4:ab7a with SMTP id c8-20020a631c48000000b0046ebaf4ab7amr4999100pgm.37.1668244639611; Sat, 12 Nov 2022 01:17:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668244639; cv=none; d=google.com; s=arc-20160816; b=jOSwa1IILhV4X9y4TbUcjGbQLwrLdVyEAU70uNFJNPzWeiTQBiQDe6Jf6AA18mWZEN h67mG/CRYmeR897VOvSbTLYKT2LdWzIf3ygx201m/EgWqF3t63+VP6fZfrClAsOg9CSf 7IZJf5+flSGzUEQEhzuLmCMJsrYe391hmQH/Zu3Ny5HQoYvs8p37WCOgLmsmyU+ET13A Yxkvj4wVSxcxrJjh7pdEdvQ5AtspktfmDgl8vcpajSjV0XfQ6HnKOVGolcqXc4ENKJ5s xDoRjVFqbOnqjjVv549EkcmeRAcw7eP7S6egVN8zE4wf2ewd3q5YWSBQVbYjciNpoEdk jFHg== 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=8h7HnuaIbJzS+1bSDsJciWFXEu36biz2822mlX20rAg=; b=Y8d7k9dpH7TPpp81KLx2goDdE4LdPXaAE+XZDMKBiPtdc/JDfxvbJMMmFjR6exGyos kjBoBQveH+AsK3kuLZY3wQ2I+RKjHvDxESUF7yJrRcVvkLQBmNGNKnd2EpfDb363RCF/ n20VHjHi3J07d2gXSY7jlAEYwlyRkNrWsG20zVNVC140bRn/S+WvyC/GR3XF9AIJULxq 45BKOFEkmqdnndNa13iT5tfORiTRtd58cUQ+xWOzNmlF3kxIhtEMaJCHs7UGlL9cdlTy mKRrM5QD5oyFtESkiNjlYNHhOxEmTt059lor2KnMvxBkunUIvhtbcxz6mPNfLTsw4NRE eKAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=UPzPkiLV; 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 w22-20020a634916000000b004610dceef13si4759859pga.336.2022.11.12.01.17.01; Sat, 12 Nov 2022 01:17:19 -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=UPzPkiLV; 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 S234748AbiKLJPr (ORCPT + 99 others); Sat, 12 Nov 2022 04:15:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbiKLJPl (ORCPT ); Sat, 12 Nov 2022 04:15:41 -0500 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E958BE3A; Sat, 12 Nov 2022 01:15:36 -0800 (PST) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout3.routing.net (Postfix) with ESMTP id 10353604CC; Sat, 12 Nov 2022 09:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1668244534; 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=8h7HnuaIbJzS+1bSDsJciWFXEu36biz2822mlX20rAg=; b=UPzPkiLVH4L2++lfu6zi7oUxA268Vr2ju1R+3f2m/ygukvVgXaWrE6m+bkH9cR0mcI+NIj lnzjGcQHWRCJpioXY7EQkMBP+iuU+JihfHO5m48yVXDCbsOt+/N4mHMuj8+zfvQbczNNHl yL747nbEtwLFdA+2JgzENhWT57d19Es= Received: from frank-G5.. (fttx-pool-157.180.227.41.bambit.de [157.180.227.41]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id 931A4360217; Sat, 12 Nov 2022 09:15:31 +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 v4 00/11] Add BananaPi R3 Date: Sat, 12 Nov 2022 10:15:07 +0100 Message-Id: <20221112091518.7846-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: 0a530238-cec0-442a-b8de-6e8f0e31b058 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?1749281291130200833?= X-GMAIL-MSGID: =?utf-8?q?1749281291130200833?= 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-1-sam.shih@mediatek.com/ 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/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: 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