From patchwork Sun Aug 1 12:28:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412911 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A28FC4338F for ; Sun, 1 Aug 2021 12:32:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D0BD60E93 for ; Sun, 1 Aug 2021 12:32:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3D0BD60E93 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QIoGCGzw2XEuQseHChYEb3ZalfCQmr9N9lXuw05Z934=; b=C3DJdrYDrITFIT XzuuBSZrFuS4VbQb6uJha6vimruQPbO4KMBDw1TOIj9sdwN3fFUbZBhuyPuUpj/jiPerKE/s818jr FwM/M+Owmgkib7J4RQczsmWeJjiURQDOA22GNy6QAUKWEPO1ToRNlG5SbZoW8YlZaa6ZO2CcfSkYe cGV0QHoyv443XFMzsC8nHi/qbz4o2wsCoWDNuCjTMvercT+naYNqKR2CFFqfiBnOc9Jvmby8UMRB+ uhcxAuyZnemwbGTQN3WwXm90mDxerRq/GPyJt5lVwRSMJB7R0t0diaMa68Tm3M3wtAnLDH8C4cLLn nRjef7p6Xa7q3AbmNjzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAbI-00DW0x-EK; Sun, 01 Aug 2021 12:29:52 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb2-00DVwC-LX; Sun, 01 Aug 2021 12:29:38 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MPGJh-1mXbha19Tx-00Paey; Sun, 01 Aug 2021 14:29:27 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 1/9] ARM: dts: bcm2711: fix emmc2bus node name Date: Sun, 1 Aug 2021 14:28:44 +0200 Message-Id: <1627820932-7247-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:u3d4KfjkuCAUpaKkH60kIvfSIJ9bak1/NGTsSBhknVbeCaVkICC JcmFRNJR37KoGpCIjd84iyjQdRgx2IMIFtEd1WNGke5wokUNNqjfE2ZyUJ2+GVIBdi9s0AC j1QPDzOffUaodNbE9s7rZp/5374XZhkGHtvzIVS9u09gm+hFxqddUAZoPeRM1dpzzdA1LDH OTy99hUEhVUjOcYuJ6Fow== X-UI-Out-Filterresults: notjunk:1;V03:K0:/+0qUl4udEo=:kIqtOfdCXzfD4THwpzaoDt D2zKUviCrDPI4pE3wGa7inxFvEuxQJ14gc/2TAxsy7+HsDZbKITnY3FOO9Cv8zmX/uWho1gMQ 6XgX0A1f1YvUQavvj3zY9yTe+GNS24aQKdFUGtUjw6eItkgC/nH8gDTEiGyBs68zo2M+j7tly grkZCvc+pCNanmbOQCzpvNdeU/4HgKf6fgAKGfZ/7InKxp0UyzzbWVXoUrHN5B+5vFrW5LToS W40UUsi62aMHjgMuk12FaNYW1ffX1MNh0IRsyW2ulQDoDVBcHMRChktsFQyC2HBP8DRoAdStL HRgZ3Ip5SQJmKuoz27cl53mLpBgX6fktsNebjvnQiK0Jpxpmg5/ceMzwwjAD+3ZwTfPCvs23C B/5v126caib2TWQ63ws4rsjFfIWq7q7VnzULhySxoV0mgNPNnlHM3akKrt/tAywBwJDoSAljk K8Wi7j/pcVJ2Nvcb6RhsbrZodJU60rxneewl/PrMmLkelu3Yd/TCYwr6bOLltsg1tTW5Ma4GP sYIamZWY2HEBGiTSSvlNr3WcffO2tUEtrEqxaTdQwcmG5aq/CpaE8OfLWdBtOwX35EsvjehuD NJemH4m2GQ8hHw1gLj7j9ouWoLnrBr6zArr90CsmyI6RVetIMMe0M7Q7AXcgu73GsDMerRJ2s 4wNFhLLuXBKsVFDmZYw+J9VD0Zrm27qaeIueHbnmFCyF5J4a7nnF838eN4o9F+U7CyRDivzpm Yf/3PYSX8yUOcsX8n1HFu/vQ1nSuwOrlMOIqpWRaiCz1OYH8URXqp1tEQoVjXZpFMoFEmnWYK zYmU2N3t4T7DwabwCyhHQzJfdcFt1n35IVotTy6HtON6m8ERXEbux+MTobN5m0is0vgAmWGiE hF2sXj/F3sGP9kXkouJQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052937_053511_424E515B X-CRM114-Status: GOOD ( 13.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix the node name to get the rid of the following DT schema warning: 'emmc2bus' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb) (@[0-9a-f]+)?$' Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2711.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index b8a4096..afe0ef8 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -405,7 +405,7 @@ * The firmware will find whether the emmc2bus alias is defined, and if * so, it'll edit the dma-ranges property below accordingly. */ - emmc2bus: emmc2bus { + emmc2bus: emmc2-bus { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <1>; From patchwork Sun Aug 1 12:28:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412921 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 675A1C4338F for ; Sun, 1 Aug 2021 12:33:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 36AC860E93 for ; Sun, 1 Aug 2021 12:33:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 36AC860E93 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mX5riGYvCjzf8OSVkXRhTA8aDx21mONIBT7MU93dCPM=; b=Co5LRyKX+Ts2td 3rbPfxj/q+Sy5nSj8YBAvy/psmtsuZIkNICzYTvlyjPJLLvdBEwOoyO7rAQ1UlHpJ8p6haFbRt2jv kL9IkzSnXJ9o6+GKeWGykPTJCB1RI1FqpybYby1/JBunq0oiwb0QupH0dTTRr8Xo8KszRRE1/QODA u6YBIZMR6HNX+e5pEaIxRCFZ+5c/Yr+33BkGz7u1YRaNqHMFH5laXM5ejqFfH5MnAt+Js6dwJ5XLc pfcrFkip9eZKPrPulvi2iaEDVfe7J2U1Od+tpDS8s2BHm3KE1rczZfwlLw5zRl+mzWA7E6SILVBi8 eSj+e/0FStK30D702dFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAc4-00DWB5-CJ; Sun, 01 Aug 2021 12:30:40 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb2-00DVw8-QU; Sun, 01 Aug 2021 12:29:40 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MF39M-1mPavf30Dg-00FWaH; Sun, 01 Aug 2021 14:29:27 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 2/9] ARM: dts: bcm2711: fix MDIO #address- and #size-cells Date: Sun, 1 Aug 2021 14:28:45 +0200 Message-Id: <1627820932-7247-3-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:lbFs6XsnsjiMN1Je5HdNJSOkSOYzS2enlPZXz+uwTFLGSACdFYr r8f23f+grqRtb99P83fWkWIgb0HQo14FQMkQBYQpvgI19aQCEhvpg98MVAgkembha3HVJ9A +K2YMH7DnzU/WtEIkQe722m2IqhNgsKTbufu6Ujgv1v5rCvUvJEcdGW58q/7+yPgHxyaEEZ yLUx6irVHbe6RsL1VAhFg== X-UI-Out-Filterresults: notjunk:1;V03:K0:eAZqnABIAH4=:zlTvX5m6qhUZSDS3NO5LIc JNC2P11WIZ5oiqceY8THRQeMlZ52x3m6HTXGtCDHzuOJxAI/Mq+19cX8sXHMsVcgoKCyVA6fk JNljnBRhVBJZb6S0K5uR9mqby++D+hJ4/nac4VkS/ZdFPA233bjgRnhDxN/3SOG9r7Wrs35Tu Qlhl4vojr3Tj+bdUSn0xZlvB72QMlg3Q+GiUiJW4vVUtUWnJV24+ChWRYgSDUlNQmh4qS3/H1 UVShjsXmvfQOQnYmt1yzb4Vn8qLljZb8nGz8d8bSjC9mq0AvqKnqiLtPOiMoEHce10su6hKwt dlQqteWnOufzf1arnmNbW6LHT7snHZQGODudXNmW3Vx2DvJ27soslaVWaMcFsslWO8MVt37io Aj5N2c34JdgJELbdN6Fnz4XypQOgeg0PPOcB7WyDr7WkacO/YQY4xRgQNRi8uphcWylWIOIRD I1T/OZudi87mx6GQex2s/pMb+vRplKIupuEzjDlaK/203Qe73Eh21c90cxK6tPjuM4tnpX8Ne p0Ew02CgJyjOHDgTancfvgt9t+HjJpjnxseBgwqlyNTkEINoKb/sNph2iU6R/t8D5JYmHEhyo QyQ9IwdiQ1uqWNO0RLEWBhrmOYzNXYYp0gJPX8JFlmfQwGTliK0Y/La+V4OXCVJu4GKCnIJGB rlhmIK9imu+q/zOOgr6k7iRWG5jQOkpdMQgazcHmI66MFH6csSpRP6bv1bmDfirkkFy0OzGG6 a2bmRy0a+bcu+tcitrBNWlj9twU1f3eFRlLZ+cXq4sDKc5FeIjP7Dj/BP36hBCFReSuBgPCdV bXJ+LwHmOYF5TVdlGGQMu7qtnbWTJK91vNmDNhFgvdTd+hgD8l6lmACvy0keKnHZwiVuk7EJa Gk6RBMjHAxRLDG7X7ETw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052937_207382_DA18C2D8 X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The values of #address-cells and #size-cells are swapped. Fix this and avoid the following DT schema warnings for mdio@e14: #address-cells:0:0: 1 was expected #size-cells:0:0: 0 was expected Fixes: be8af7a9e3cc ("ARM: dts: bcm2711-rpi-4: Enable GENET support") Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2711.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index afe0ef8..55022fc 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -532,8 +532,8 @@ compatible = "brcm,genet-mdio-v5"; reg = <0xe14 0x8>; reg-names = "mdio"; - #address-cells = <0x0>; - #size-cells = <0x1>; + #address-cells = <0x1>; + #size-cells = <0x0>; }; }; }; From patchwork Sun Aug 1 12:28:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60A35C4320A for ; Sun, 1 Aug 2021 12:32:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 25B966054F for ; Sun, 1 Aug 2021 12:32:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 25B966054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AaRB7Hu3u+pnVSZXzPybuypZ8WZNqOLbOBNVOcJCo8g=; b=Of91lY91LztB0u 8QB/xbJvwvC9lwyG2Z6Rrs7ePFiwfHtx3baJ/RYpUvrKjgDaEjEYNrhlg3IjxCrhqUjUnH9Oef7Dn 3ZXirmavRySpRUvKc75+Wsqi8wxQZ80fOontQ8zJdp3eiKtdZQ/wLEB9lZqUoE3SdRC8T1Bszsv2f LLUGgLyDzfzjCPUR9OaOBs1WQZCg/RogJOjI+WXQmqH2z42Ah99r8/5QAROfAajlM4/ZnaMRcKQxw /njf6/mj/AhBRiUG/09M2vRol4nRYPwsWcxTFZjH+C6vbZYwXt7U7tjZeB3VyXTE5reCvXqNU/ahh LSC0Wasbfyt5rSeu4cKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAbf-00DW4E-HZ; Sun, 01 Aug 2021 12:30:15 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb2-00DVwB-Mp; Sun, 01 Aug 2021 12:29:39 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MV6G6-1mZ1X40b7W-00S5t9; Sun, 01 Aug 2021 14:29:28 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 3/9] ARM: dts: bcm2711-rpi-4-b: fix sd_io_1v8_reg regulator states Date: Sun, 1 Aug 2021 14:28:46 +0200 Message-Id: <1627820932-7247-4-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:J6ZTTcL97uuFVV51+GUs7/xVhMoJV3gWYbvzqfFPDnzhuYh05j7 PBSOxfmIxEd3RGzOgoXw/ob44Dodia+Qch5RyhxWwrvmFz+mVkVoqSI03z0279S9I9vIp0I yvBTje+vzRXKOkIVH/8InzZLYoC7X2MiqXSvuCjnY2enjpfacOt+UDjlurJTm2PNoEf14kA 49+rpWx8AzKSUgy5W1MRg== X-UI-Out-Filterresults: notjunk:1;V03:K0:C+uACBPs4bo=:mpRAm0f2MhrWzj8i2kw1Wz qIGTCzSkknFFf9mnNpeC9saL4fCyaz4cvELkmqWKR2nWEsEr1EZj+G8b0kAfxVVNrZJxbVmNX P2q5MvBsjWKG1ncK3AXv2ZNP48OT3MJLJH3PSsThSsLypIXRdQdCf0TfvlaU1bxhIGuUEYctn hwfyB4Z2GzblC5lZMdEds8s30ToU4sSaZgiNF8yXHbg0zcyeSxCquN+cWzysOZpdZo2HaMawv MJdszAsAqMpt+n7a2MsJrCipE5+w/fh1womWGkNdTCYX6PBVJkEc46Qhd/EXQ0w8XgXkDd5mj ONwZjcFKzMcgD/NClH1cEt+Q9maVHrj6FfCthgO1vGFgMRPTIBbyBSJJbF4xRhwTnFrL2NOoG i5C0lSja3SgSNjpiT/zG0o0h5+jabZCDGWsORZkaWtT87apzesUvGbnkkpp23FvqHnq48QrJg rqYfDFgneOLCt1wf1VhHvYO2C3onvioSoquRPa3IqtPuSdtr4efjVXt8+zTCATRRvO7Z0jpiR SzDYt9btHZG0tIQxF414TcxI9A7WszbsXreqP9oyWCVjVTZgRpJ72QBM3fUhOZA7ace9+mg42 FJpwdkHaDiAfV7FeUplB/2Mpj08hSgdu6PPIsRglCiSWbfPHRIpCOpbKYDIAvHjEKIlT7TOIT ePvNoNjCyrTRbJckrKzC5w5eCvE/R5CA39rZqZQb6eSwkzijRwJzXVktKic3aP6N1KOQqkCwn jgjWaWmshXRpTpVM138D6ClNW0sijKdfHZ8X05/dj8koxx3Sr70z6ituUWHOS0n2Z2hC7fVbQ 7wtSvqKy6CPzCyDfR34wNIGbb57zLfm8LhDiq36NEFePZQlG2nKihlHPOnUeoNI0fbZb6kHYq Xi0yA2oqDjtZKtlE1Q4g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052937_075201_4345A3B0 X-CRM114-Status: GOOD ( 11.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DT schema check complains at sd_io_1v8_reg about the following: [1800000, 1, 3300000, 0] is too long Additional items are not allowed (3300000, 0 were unexpected) So fix the states definition. Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support") Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index f24bdd0..abf8298 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -40,8 +40,8 @@ regulator-always-on; regulator-settling-time-us = <5000>; gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>; - states = <1800000 0x1 - 3300000 0x0>; + states = <1800000 0x1>, + <3300000 0x0>; status = "okay"; }; From patchwork Sun Aug 1 12:28:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412923 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4C96C4338F for ; Sun, 1 Aug 2021 12:33:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C20560E93 for ; Sun, 1 Aug 2021 12:33:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7C20560E93 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QI2cxphqjOmWo5ZeZKWpSIztyW4AKErfulgRVWlhr8o=; b=M9CU9QLEYC5Hm1 V+nsRm+sYYXqHI1CJPUOMX/G+9QuexV01oMWP3HRKyKXEUdM3S5JkgBZOMCGNWMgX4kNp6/LWAXH0 FqN1rlugES3dY2EhCO+j1e2jBkm5rn7VGGL3B8V5jS9RlfdimRbDrS+6ZbBRS9ob5wu1QVI3il0ey +JnhMOOCNDFW1R0upB4mNsIeXo7XqPcx3g/Pw7HMtwXSH/qeomd2RBBwjy6RT+EPAZZhgwuUFHjSP tLjTue+ji8I4xPRH1Dnz1z8gTWf1uoDD7WC2Hz/PgXRv72FlRdDGwypq9Mc9HKgGJeV3PB3dVNyAE giPi1Ar/4BS1mZq/fFZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAcI-00DWGl-Lj; Sun, 01 Aug 2021 12:30:54 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb2-00DVwE-Qa; Sun, 01 Aug 2021 12:29:40 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N3Kc6-1n9BAA2PEg-010Ki3; Sun, 01 Aug 2021 14:29:28 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 4/9] dt-bindings: display: bcm2835: add optional property power-domains Date: Sun, 1 Aug 2021 14:28:47 +0200 Message-Id: <1627820932-7247-5-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:rPnhtldQTFQS3/H9+LNkTRTqyia1y45ID+PAHvW/Uo5OCA0eIiG Rt3QqS5XuMjRVl3O2hSArM81IirvRiYuTVYfc5yHaEkgGfQRMxlUApHzmpxxFSY9z8OMQ+D vsCV8MUUfppeFjsK75CGaM2nyf1gH5hup03+X1LSYgm1a3GCe+RmHrGRrTjcStPrBM+vcdv w1bJr8JqL+5Cq67eaq+WA== X-UI-Out-Filterresults: notjunk:1;V03:K0:YInoOMt9GM0=:9+y41vDdSVFvVBrRDeGyo2 m0kE6OEso/H7Q1sP3Alr7SmDC0CJtbSFS3UQBmg9aIYp4ojcIwUbh2H8XDsHyatqwaz2U0f1T C1cam4F/t3hRgpkuTB0i+knz67HhuhQEcjHJG01X4bxqnU1REZ1EdvcwGyqJ53whhdbUea4Yf JKPFV0fTE+BneAVx8eYXZt2/ZEqocTG5JrjSRg8dJqxeUty4Q0Gm/v4TCG4razgxD0kual83v 1qy42ZZJlXhHIoxuOKzxHl1XKTpHWgraBX2UuRZrkAAZH6G4yVcDlQW/uAyN68Ux6X3SNzLqA UWoFDjLaEGV9nY/XyO/oa1gDHJ+v0enS2UoA0YWFWr0PTvUzntA6kSRZUh+YqEZiYFcwfGqFT DtghyfKBiynJ1wiXtJ/Rwf8Ldj/Jm68TM3f8lZG1tXXP3vWb6BWJXXo4MlaoOgpO13HfUdiNP dOD6MEDm1bVS0xfQ/pBTN3jyyz7NfKUvJL725xB8JFwZ5wcPad3M3lfN0ybel+ooGzq2XeVnN jKTbnMikDbLkLEe3qKDR2oQ1Fefk4LJvnmKrXJ4RJHXc2j9bQdzUuXVNP8FJM47ZA7XnPlCet eAOuxBtQIJVCbJyBOvPRW3qI7GGd/hn39uTyJWqIquwfbCzhVINHOhiN/xkCPvLRk+RY4Q9l4 i9n1jxv9ZttgXo659JBFnrYx/7Dh0hW5RkQu0pci2qpOVhKqeKAJdPzEQptxr92dqfMSdevgV C/HEKvmeXo/BTWdfJV6dPJX4rM33rWqC0vazALX78yYqgALSTHGUabdDTmtPdx0niBdvV/b10 5qbm0PHe7KiGiSQMTtbGe321AvccbOs2qvaBi5yuLhDcdUAwIzU1eT07dbNIBilPOvmsL4WN7 oE9AUzFEjbybJyeIYoEQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052937_231133_666B8829 X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Raspberry Pi boards with BCM283x needs control of the power domains to get display components running. So add this as an optional property in order to avoid such DT schema warnings: hdmi@7e902000: 'power-domains' does not match any of the regexes: ... Signed-off-by: Stefan Wahren Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml | 3 +++ Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml | 3 +++ Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml | 3 +++ Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml index 3260857..c8b2459 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml @@ -47,6 +47,9 @@ properties: interrupts: maxItems: 1 + power-domains: + maxItems: 1 + required: - "#clock-cells" - compatible diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml index 031e35e..48c8cad 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml @@ -51,6 +51,9 @@ properties: dma-names: const: audio-rx + power-domains: + maxItems: 1 + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml index 8a73780..c55a821 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml @@ -24,6 +24,9 @@ properties: interrupts: maxItems: 1 + power-domains: + maxItems: 1 + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml index 9b24081..5d921e3 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml @@ -24,6 +24,9 @@ properties: interrupts: maxItems: 1 + power-domains: + maxItems: 1 + required: - compatible - reg From patchwork Sun Aug 1 12:28:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412929 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5140C4338F for ; Sun, 1 Aug 2021 12:34:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A51C36054F for ; Sun, 1 Aug 2021 12:34:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A51C36054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4ur3cm4+1MjqUYqi1VhX/46/PMBRRTwVMf2rF+eJqCw=; b=xKDpJwcle8LoX5 HGSf6pG8cMDz9K0YL2XYned0n2stweu0sKjJ7ilK3DVej6lHKGo92E2vmlgFCQq4WVqMIPX7j0/Ww +fzK46Y4m0zzE8nOFzN3K/AmoCC2eHX2PulzoSdtSVA743SPy+LJtQ4h96zK52dMurJ8PB4QBsEMV c+RRvrPHOtbJateEryIcFS9F2HYrDsrGYQHVff5SuPvKuJKmwq4gDr/FdBb3d5aiWLzMZOxuFCtds RCVFqq84ovuKO8gQhn87L+lKoQ7PepgICfVXPaHuluaVLgzHpkTaqum+HO0zA4WCZhnTautdIB9ni WIja1bacAYCWcQ0efiiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAdS-00DWpT-0U; Sun, 01 Aug 2021 12:32:06 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb4-00DVwD-3K; Sun, 01 Aug 2021 12:29:42 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MMXYN-1mQSpL4Ash-00JXBO; Sun, 01 Aug 2021 14:29:29 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 5/9] ARM: dts: bcm283x-rpi: Move Wifi/BT into separate dtsi Date: Sun, 1 Aug 2021 14:28:48 +0200 Message-Id: <1627820932-7247-6-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:V065umsLCW62fzJJtPkz66ZECcZMWTu7Tglw7Y1xI/FEBJwVxtQ PFp/XAxoYFvo7UWR6DkFP9LrZ4JBLX/hDhMaftX0xDV9AdsxTJ6F2BooX4YEN1aZwQS4woY iFDWkTVyxdC5HGrVNKhT6uoNpWzjfek1QzkG6gnoCrUl5SzYctZxG9jrjX5KhLXhog55u+e tmTLF/VXFpeUdikH6wZzQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:QnplmWGv/Kk=:2ei/TpwFJ6KCiYyIk4uE2E HBtE8WP2t1DL5ffsFAAqmXygmpM1Dl55Wr0EfV2gKqDxrlZpf7V3TyiLAEWMqsDTbgfBJKCCX abhErbnxtnZmPBuOnXdSdmitdhyEm0//5Ss0J6PLA5WkAHO1vtn+/al/ZukUrHUl3B07gbSax 9rY5gHas4d5Ja84gN0BX5SAJvLb0HuG1A+WnUc67VtC7wX+Guvlvl5/oNRjhYM+UX+V4N0nRU wEWCB6VSrIp//Wo3DcfZx/dOs2kB23ujZy6OGDQRy0Bt5jUdiw2WRuA3Um1I+lylSAmPTC48c eerR14hnnNm1x7qdW/sGZCMOII2YwSmqGGHDa4pZRMbLIEt0y5yYJQXTJjZp3hDT5oofdn5Sx MCiL+UxnfEmrR7iI4Z5RiL4HVB74RsQ+Z/JeGiS5t1EHiKMUFjIpRmHUQQoI8Ujt8hQQu3gvv XMZho6FUM/vxcN0eSBLgd9qYXDDzjubbZNqrX4OjXDBn0vrlVfNv/q0Y4aeyoeEnIVEhAg9ux XNce6bQtW/1k+bFstK95jSYU7XcxlMc3Qg/iikkfcC/FNeGKlYY9fIKPBx42UG+MREQnmGx4Z 0lUKds4u0zJGR+qRViENOLyn8VFFvkNqwwWuZoogDBEqB1BSMQJuXy2OuzJM3e8k+n+JMUuj2 52WubtlFIWWD3JYz5x+umEa5FlKLx3l2nUi4uOJmqJLFEMHurKiG5Y1YtCFx/XuOkQ5Xh7veD i7SZpv+diEpj7ZwHxc6a3kF+n47uRsFe5JIPfkoAd7DD6P8dGxmZSSDLnvNQL2mDTRtc+ws/Y D14Z+enLG9Jp4cwtCIzJlo0Ikvk935FXuZ/kjgcxZENE7vsob65Ela/B1ZoRyT9apWG+eDPM/ Sy8HjqwarzYsFpdFhEgQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052938_546332_198C56F5 X-CRM114-Status: GOOD ( 20.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org A Wifi/BT chip is quite common for the Raspberry Pi boards. So move those definitions into a separate dtsi in order to avoid copy & paste. This change was inspired by a vendor tree patch from Phil Elwell. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 38 +++++++----------------------- arch/arm/boot/dts/bcm2835-rpi-zero-w.dts | 31 +++++++----------------- arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts | 36 ++++++---------------------- arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts | 36 +++++++--------------------- arch/arm/boot/dts/bcm2837-rpi-3-b.dts | 36 +++++++--------------------- arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi | 34 ++++++++++++++++++++++++++ 6 files changed, 74 insertions(+), 137 deletions(-) create mode 100644 arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index abf8298..c54ba5cf 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -3,6 +3,7 @@ #include "bcm2711.dtsi" #include "bcm2711-rpi.dtsi" #include "bcm283x-rpi-usb-peripheral.dtsi" +#include "bcm283x-rpi-wifi-bt.dtsi" / { compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; @@ -26,11 +27,6 @@ }; }; - wifi_pwrseq: wifi-pwrseq { - compatible = "mmc-pwrseq-simple"; - reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; - }; - sd_io_1v8_reg: sd_io_1v8_reg { compatible = "regulator-gpio"; regulator-name = "vdd-sd-io"; @@ -56,6 +52,10 @@ }; }; +&bt { + shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; +}; + &ddc0 { status = "okay"; }; @@ -178,23 +178,6 @@ status = "okay"; }; -/* SDHCI is used to control the SDIO for wireless */ -&sdhci { - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_gpio34>; - bus-width = <4>; - non-removable; - mmc-pwrseq = <&wifi_pwrseq>; - status = "okay"; - - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; - /* EMMC2 is used to drive the SD card */ &emmc2 { vqmmc-supply = <&sd_io_1v8_reg>; @@ -236,13 +219,6 @@ pinctrl-names = "default"; pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; uart-has-rtscts; - status = "okay"; - - bluetooth { - compatible = "brcm,bcm43438-bt"; - max-speed = <2000000>; - shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; - }; }; /* uart1 is mapped to the pin header */ @@ -259,3 +235,7 @@ &vec { status = "disabled"; }; + +&wifi_pwrseq { + reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; +}; diff --git a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts index 33b2b77..243236b 100644 --- a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts +++ b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts @@ -7,6 +7,7 @@ #include "bcm2835.dtsi" #include "bcm2835-rpi.dtsi" #include "bcm283x-rpi-usb-otg.dtsi" +#include "bcm283x-rpi-wifi-bt.dtsi" / { compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; @@ -27,11 +28,10 @@ gpios = <&gpio 47 GPIO_ACTIVE_LOW>; }; }; +}; - wifi_pwrseq: wifi-pwrseq { - compatible = "mmc-pwrseq-simple"; - reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>; - }; +&bt { + shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; }; &gpio { @@ -110,19 +110,7 @@ }; &sdhci { - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default"; pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>; - bus-width = <4>; - mmc-pwrseq = <&wifi_pwrseq>; - non-removable; - status = "okay"; - - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; }; &sdhost { @@ -135,13 +123,6 @@ &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>; - status = "okay"; - - bluetooth { - compatible = "brcm,bcm43438-bt"; - max-speed = <2000000>; - shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; - }; }; &uart1 { @@ -149,3 +130,7 @@ pinctrl-0 = <&uart1_gpio14>; status = "okay"; }; + +&wifi_pwrseq { + reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>; +}; diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts b/arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts index 77099a7..d73daf5 100644 --- a/arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts +++ b/arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts @@ -3,6 +3,7 @@ #include "bcm2837.dtsi" #include "bcm2836-rpi.dtsi" #include "bcm283x-rpi-usb-host.dtsi" +#include "bcm283x-rpi-wifi-bt.dtsi" / { compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837"; @@ -130,28 +131,6 @@ status = "okay"; }; -/* - * SDHCI is used to control the SDIO for wireless - * - * WL_REG_ON and BT_REG_ON of the CYW43455 Wifi/BT module are driven - * by a single GPIO. We can't give GPIO control to one of the drivers, - * otherwise the other part would get unexpectedly disturbed. - */ -&sdhci { - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_gpio34>; - status = "okay"; - bus-width = <4>; - non-removable; - - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; - /* SDHOST is used to drive the SD card */ &sdhost { pinctrl-names = "default"; @@ -160,16 +139,15 @@ bus-width = <4>; }; -/* uart0 communicates with the BT module */ +/* uart0 communicates with the BT module + * + * WL_REG_ON and BT_REG_ON of the CYW43455 Wifi/BT module are driven + * by a single GPIO. We can't give GPIO control to one of the drivers, + * otherwise the other part would get unexpectedly disturbed. + */ &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>; - status = "okay"; - - bluetooth { - compatible = "brcm,bcm43438-bt"; - max-speed = <2000000>; - }; }; /* uart1 is mapped to the pin header */ diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts b/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts index 6101026..e12938b 100644 --- a/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts +++ b/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts @@ -4,6 +4,7 @@ #include "bcm2836-rpi.dtsi" #include "bcm283x-rpi-lan7515.dtsi" #include "bcm283x-rpi-usb-host.dtsi" +#include "bcm283x-rpi-wifi-bt.dtsi" / { compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837"; @@ -31,11 +32,10 @@ linux,default-trigger = "default-on"; }; }; +}; - wifi_pwrseq: wifi-pwrseq { - compatible = "mmc-pwrseq-simple"; - reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; - }; +&bt { + shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; }; &firmware { @@ -137,23 +137,6 @@ status = "okay"; }; -/* SDHCI is used to control the SDIO for wireless */ -&sdhci { - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_gpio34>; - status = "okay"; - bus-width = <4>; - non-removable; - mmc-pwrseq = <&wifi_pwrseq>; - - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; - /* SDHOST is used to drive the SD card */ &sdhost { pinctrl-names = "default"; @@ -166,13 +149,6 @@ &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>; - status = "okay"; - - bluetooth { - compatible = "brcm,bcm43438-bt"; - max-speed = <2000000>; - shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; - }; }; /* uart1 is mapped to the pin header */ @@ -181,3 +157,7 @@ pinctrl-0 = <&uart1_gpio14>; status = "okay"; }; + +&wifi_pwrseq { + reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; +}; diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts index dd4a486..42b5383 100644 --- a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts +++ b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts @@ -4,6 +4,7 @@ #include "bcm2836-rpi.dtsi" #include "bcm283x-rpi-smsc9514.dtsi" #include "bcm283x-rpi-usb-host.dtsi" +#include "bcm283x-rpi-wifi-bt.dtsi" / { compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; @@ -24,11 +25,10 @@ gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>; }; }; +}; - wifi_pwrseq: wifi-pwrseq { - compatible = "mmc-pwrseq-simple"; - reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; - }; +&bt { + shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; }; &firmware { @@ -134,13 +134,6 @@ &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>; - status = "okay"; - - bluetooth { - compatible = "brcm,bcm43438-bt"; - max-speed = <2000000>; - shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; - }; }; /* uart1 is mapped to the pin header */ @@ -150,23 +143,6 @@ status = "okay"; }; -/* SDHCI is used to control the SDIO for wireless */ -&sdhci { - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_gpio34>; - status = "okay"; - bus-width = <4>; - non-removable; - mmc-pwrseq = <&wifi_pwrseq>; - - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; - /* SDHOST is used to drive the SD card */ &sdhost { pinctrl-names = "default"; @@ -174,3 +150,7 @@ status = "okay"; bus-width = <4>; }; + +&wifi_pwrseq { + reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; +}; diff --git a/arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi b/arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi new file mode 100644 index 0000000..0b64cc1 --- /dev/null +++ b/arch/arm/boot/dts/bcm283x-rpi-wifi-bt.dtsi @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + }; +}; + +/* SDHCI is used to control the SDIO for wireless */ +&sdhci { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_gpio34>; + bus-width = <4>; + non-removable; + mmc-pwrseq = <&wifi_pwrseq>; + status = "okay"; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; + +/* uart0 communicates with the BT module */ +&uart0 { + status = "okay"; + + bt: bluetooth { + compatible = "brcm,bcm43438-bt"; + max-speed = <2000000>; + }; +}; From patchwork Sun Aug 1 12:28:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412919 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3965C4338F for ; Sun, 1 Aug 2021 12:33:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 68BF16054F for ; Sun, 1 Aug 2021 12:33:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 68BF16054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QJKAVEyzvbOd4lO51Ml6x90NJQiRS5Od/b72ODIGLEw=; b=VJvmb/tBH3XPK2 Nt2EFdTEotpg7FJW+Eu1eBAiCom8O55qxYZOUZL09QZo0/fXcdRLLkA/bgSpgHtz/T2venqZg9CUT +t74xb61cR2sHhzua7V6JoSF6IM0t8587a+AOyWWvyKdhHtT5TYlxMm3p1d4cMsc17zhe3weOZ9fn Q8p6KEGjU2Miw3UipulMFRDW921ECQXbk3Kz5BJ/AMyhjMWD0rh479gMIyQyCgU67uMdjXrgpPYCO CYKIeqAhrf9hLfn14eY2c4ls3tkUcTaqqCrEBRlvr1OhVf4D1ejAE4Ukg+5LwqFeb4RmfuEurESQG KHgjZ+PCbkIJen97gafQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAbs-00DW7O-86; Sun, 01 Aug 2021 12:30:28 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb2-00DVw9-Po; Sun, 01 Aug 2021 12:29:39 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MD9Kj-1mJHGS1kpN-009BrE; Sun, 01 Aug 2021 14:29:29 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 6/9] dt-bindings: arm: bcm2835: Add Raspberry Pi Compute Module 4 Date: Sun, 1 Aug 2021 14:28:49 +0200 Message-Id: <1627820932-7247-7-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:6lb8w3F/aILe2lu/AZKqw0SjZzqZZ0BB4cwrenUF4I/G0TDtgla t/wXNbron4Vm/V3fgR0SRYqml28NOXGZFO0wTwpu0ZCcfpyk07eMxz5uOMrbrVPYK6xY1ku 2oyaX2nqSxNiKoEGC0BiC4VQqcPRzOP+H5HgjczFVq++BZ/pye9jQx+aS9K3WqsfTGkwn5T 8gHeZwqgLwDVR7ZuUpzbg== X-UI-Out-Filterresults: notjunk:1;V03:K0:SRmNiNnLOhM=:jFHJeVr8XHYKdmpFqB85B2 z40KhhXIgmrlnhXk7T5yRwK+ZsUV2iN2uQAthsYIQw7jEyuGualpX9J5JshD41d53NOpVqQc9 wNTRdtgUwv9lXxd+DGWdh86lJC88eNDCQvOcDgcOmhBFXdzgV/1PWMBpm1ARwtOShMpjzSLrq 61dVM2DvX8l9EADchFEUtF62Kw+wowJiC9iMB6iq+5aYR88INmLtZUVsrTanno62nxbniniFR 8Kuh8ceZWvaqKSIx++fJx8ZdVz3b7WwwfcClRWmouSO+MKeIK/Nzu4dS0yQrgilB34i3lvlkA NZV10izrdLOQQxaWvmlPukCqCicW6nqC81vkWSeTscsieSJwx6j7EEv/xhVYQyN45Lz9OQTyx WBIseRIx0KjHYx0gQZAQXverIgnY1GhTxVRtQlCe4Jwk7s44nlTnrQBhYa7BrH5GfuQFmS36n oBfEk2x1Phku79KKjVgii1ro3ppHlHE+MrDcVO9zktYtNtCtr5KiYz4sBI8LL5Q7pql8eSAbE niGNuCnX0CmcDP9yiNzsE9ANw+OwZTZFSlfBxD/BySTA3Am/djJlMQkKOOWyWhnIKV2vWkKBK sfJ2Oxw1bBCEQoqB5y8Lizl/9tH91gfdgPM8s7ZikvVDxE0lAgrcmnHTDXxfmeZayAZm6up0g ZsCio9zmilHAEr3b33qChqPuGerRUctCNEVhX+4cv4X8FMmtACPl1m3ZACeYWPMOfuwZOSVag 8aZY/ZJgdrb+dgN3xa+gcwj/7+c58Sgt6WjKXEmsvZnD8t6A3/waCytLz/tDGxGRfxSFzbV5n S9hUfB4L6b0fLZGTSmNYXCzaxNKtMCgeP1o7uYQPereWLVlhMEIocYmTsioUQzxNDjnfvmkEn KVnAWOJsSH9yjctuw0Jw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052937_213859_975D02FC X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the Raspberry Pi Compute Module 4 to DT schema. Signed-off-by: Stefan Wahren Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml index 230b80d..5dc4824 100644 --- a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -19,6 +19,7 @@ properties: items: - enum: - raspberrypi,400 + - raspberrypi,4-compute-module - raspberrypi,4-model-b - const: brcm,bcm2711 From patchwork Sun Aug 1 12:28:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412917 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72C44C432BE for ; Sun, 1 Aug 2021 12:32:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3C37C60F9D for ; Sun, 1 Aug 2021 12:32:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3C37C60F9D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xpBGyjK3mtsDyZMFEPBcmVogPTZ1iAbD9v6d2GKkSJw=; b=NhRqoMjYUJmFDU UadOSLKpgAFzy+pX6MSnUGfRNLm93jOFeUhEfMGJfViz7S03NKvuCVTuEeE2YBQMNV/MosI9+25g6 A/dzOryZ16RV5j/90MZBGch3FJfMJC++puYw8/qQy7YANYgs6m3QnCUot891eAeR+nrqkYsxLRNg4 pYK4W/M818LkTWdYn9TriJcmzXjqx7e9l0AlT8RFobNx09V8hxNV0fdpBu1a+SKLu74ve/uhRou3A YbXCkv8IlwTXnVysJfu7e/8a/F0EwK5ADUkIxW/Y/zPyIgk8s3RHT7zpOVJrn3LwBLwZKbYzo9Cpu FnS4q5XLbRylMCMKIcdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAbU-00DW1t-O0; Sun, 01 Aug 2021 12:30:04 +0000 Received: from mout.kundenserver.de ([212.227.126.133]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb3-00DVwF-BO; Sun, 01 Aug 2021 12:29:39 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mv2tE-1n0thp3QtU-00qwn3; Sun, 01 Aug 2021 14:29:29 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 7/9] ARM: dts: Add Raspberry Pi Compute Module 4 Date: Sun, 1 Aug 2021 14:28:50 +0200 Message-Id: <1627820932-7247-8-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:WbKKs17Qhop5sXa6JmjERDfiVmI2V5q0a28h4r4dQTTfP/2Upi9 5OiB+pnfiGdXgnucQqrfqXUFbcPSnMmjPqikvWjRqhrm53oBDpiWipLBG+6187SFW8D4o30 ptBncSpPMnhiTeLymk15UFtdcoh0nrg64H+Uj8HlLJMYe96BGIIg0wpF2j73aeNuE7t5nhI LuIBbY+LWjeOscw+rCSEg== X-UI-Out-Filterresults: notjunk:1;V03:K0:v5ieOR9NT6w=:51JGS52qdu/Z8raPsZ1Ph6 C9MlDq8vy0z0VPB3nZioxfpg2nxwl/YcSB979DYui+PEmpyepplQAXl2k1PfY5QmH/frJgIie aFMZ2jNmOn2P3qWCTasQCl9aNClw3os2Cup3n87ZFQJMwxt/TSLPw/QYC+DOh0oNpa4HTE9NA +1hgPOIGLrxLwR3OsQE3tdTM6/8Iroff+u4eZgFAV7G0oRsDzUr1WjZ7Ak9gecvGm5sMhqgB/ 9Mc5wvXjGrhzsfLFBihNWcJrxje6mvhsJgVU7OQEIBC5uJphK8dCv7dKEHd7gPB6Zl/fwk0Zf TsbfrH9EoZeRQgX8KBZVEEv6/lY3BIpgs6CCDWTwnkdM3MtXqu+2pCnyVjk/QL1SdaTlJ31bD pGZvgfG6BkFzLTSvsE/h8BPoOwwpUDCzGVb10sQiYQLwZiUpg4zmCZUR7WFywpSYZBUXq2esV q9MJQ4EFVOdN8qW+WmaRBENmVWNK+VushyKPIvMEV/IAdekYx6lzcwN5z7BsyWdxk8MHRZ5TD 6e8rpcy4DXCrGmalpm80R9Jt+eBKOzVAVr/vcMace8N358J61MEXFhThInKzUpTsx/xLQseVz v/7im5RkATO4Z7ahMoL2uqXV4UXDwtXcFD2ygeo2O1V6+w9OY8R8qId2kyqisQRVs0fKuB+VZ YYVUKCEU3ktRSpIS1j9Ri1lJpxKKVRxMxfnGUxIa/d0VZrGs65h2b0SGVhd1o5ba/iSw/ZIzC fmC2BM49VBHkXIxZln/a8kUwH8f74xrqW2Tzw+ZVHj33ghhpL6asELJg8GLnMkgPlUyA/w+56 k+b+aeW0Q2HuLBhJgWHdg0FOFSKnaMlaFZOHR3TihyW75P8S6NHspykPz3WZNw7X7MJegT60P eyn+jnqRGQ8p/mzNN/TQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052937_743858_62E16F08 X-CRM114-Status: GOOD ( 15.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Raspberry Pi Compute Module 4 (CM4) are SoMs which contain the following: * BCM2711 quad core processor * up to 8 GB RAM * up to 32 GB eMMC * a GPIO expander * Gigabit PHY BCM54210PE * Wifi/BT module with internal and external antenna The eMMC and the Wifi/BT module are optional. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2711-rpi-cm4.dtsi | 112 +++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4.dtsi diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4.dtsi b/arch/arm/boot/dts/bcm2711-rpi-cm4.dtsi new file mode 100644 index 0000000..2fa8704 --- /dev/null +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dtsi @@ -0,0 +1,112 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2711.dtsi" +#include "bcm2711-rpi.dtsi" +#include "bcm283x-rpi-wifi-bt.dtsi" + +/ { + compatible = "raspberrypi,4-compute-module", "brcm,bcm2711"; + + chosen { + /* 8250 auxiliary UART instead of pl011 */ + stdout-path = "serial1:115200n8"; + }; + + sd_io_1v8_reg: sd_io_1v8_reg { + compatible = "regulator-gpio"; + regulator-name = "vdd-sd-io"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + regulator-settling-time-us = <5000>; + gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>; + states = <1800000 0x1>, + <3300000 0x0>; + status = "okay"; + }; + + sd_vcc_reg: sd_vcc_reg { + compatible = "regulator-fixed"; + regulator-name = "vcc-sd"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + enable-active-high; + gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>; + }; +}; + +&bt { + shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; +}; + +/* + * EMMC2 is used to drive the eMMC + * Unfortunately the IP block seems to be limited to 100 MHz + */ +&emmc2 { + bus-width = <8>; + vqmmc-supply = <&sd_io_1v8_reg>; + vmmc-supply = <&sd_vcc_reg>; + broken-cd; + status = "okay"; +}; + +&expgpio { + gpio-line-names = "BT_ON", + "WL_ON", + "PWR_LED_OFF", + "ANT1", + "VDD_SD_IO_SEL", + "CAM_GPIO", + "SD_PWR_ON", + "ANT2"; + + ant1: ant1-hog { + /* internal antenna enabled */ + gpio-hog; + gpios = <3 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "ant1"; + }; + + ant2: ant2-hog { + /* external antenna disabled */ + gpio-hog; + gpios = <7 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "ant2"; + }; +}; + +&genet { + phy-handle = <&phy1>; + phy-mode = "rgmii-rxid"; + status = "okay"; +}; + +&genet_mdio { + phy1: ethernet-phy@0 { + /* No PHY interrupt */ + reg = <0x0>; + }; +}; + +/* uart0 communicates with the BT module */ +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; + uart-has-rtscts; +}; + +/* uart1 is mapped to the pin header */ +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_gpio14>; + status = "okay"; +}; + +&wifi_pwrseq { + reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; +}; From patchwork Sun Aug 1 12:28:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412927 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D11DCC4338F for ; Sun, 1 Aug 2021 12:33:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A8AE6054F for ; Sun, 1 Aug 2021 12:33:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9A8AE6054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=D1VdK0sozKZ9LhiMNQPvCTJDUO5AXQSk41yCQnHXa/w=; b=PMQrl7raJ3a2Ro /f7BAy392NHzjsuQ8FkbQk9sOJmn/2Irr3C1gxJ4JZqBUtk1KEL+mheeR5M94fWEmBTSQjEMZod9K s2Kb+eEKD/zt908NKwsuMr5qvV2Tf7ksJDTZmTxkEs/LL5GAO1Tv2lEy5T6LzYlv8rXz42+wN3ACb tdm8aLHHgBYTc1g4hpeIyht1baaCaidDlRoqaFLeU58fHYbbnReT4HW5jLybY519SyK3Wx+hXyO9j uGF/ptGo6Fqg5KD427QTl9pr4N9jXimKdJAhuXVNibA3fb90U3xZphV/1IGRNf2zI8JVn+x/iw3IZ 5UB7X8UgSlKaGgeY1iTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAcz-00DWaW-7s; Sun, 01 Aug 2021 12:31:37 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb4-00DVwG-2W; Sun, 01 Aug 2021 12:29:41 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MmDAW-1ms3z81BMe-00iFcv; Sun, 01 Aug 2021 14:29:30 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 8/9] ARM: dts: Add Raspberry Pi Compute Module 4 IO Board Date: Sun, 1 Aug 2021 14:28:51 +0200 Message-Id: <1627820932-7247-9-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:2jetCim34p6ap75Xqy26PhO2lduWOyLudtsU2pHgNjTSm/s3eZx /Wd+7vDECXOnzuYajk3G12zvNjY1Tf8p3EwPczluK7cN4+iBjz04DRVgptndBolndB76/rL xiMVMqHiVXm3fL+XC4f5d6e2aAgS3RjmuMWFgeCQxoipca0uYtfVvvF+mFOi5BOuntnoEbV rLX+DCT4lprPTLSzgJutA== X-UI-Out-Filterresults: notjunk:1;V03:K0:yx0vFK5YTAo=:85YUabGtmLoa6s4/06fZi8 w3/6MYhRZL+hjfcWSvxGxCB8fmwr83nYiPVK7xN2tpgWTw4GHJc2TuffUu8RzSf/BM4aKDr+c bFASPafTZHFyiYYefwbkgcqrygA7+OwVldV3jzRK/LwY/Ijji+VOFCUa0upaD0EKi5uyI7/4o /Awz4wpoVOS3lewBqdbaVaeeGtxDaTEX8+9UILEPq6liuwRkHeeA/yqmcz5rSAyDj6JQbuug3 71z8Iki+ebB8mKtEx+vcJhBogiPwN7UFpUh6FUZLkfRLaHQTnscMYFvOskyIC+l2rlEBu7Y4S dLr+4gVqJ4iHb+TuKYNsbXy8o0wdMOEO5Rsv9gOviNigceZp4L4XVGC99r9KqBU2A+xIwRh3e Ek/8MI62oaqskcgjH/QyfNd56JDfF9mb3iZXrSMJy6hNekCB7h1cYHB2PM5fPQADwvXm38WE0 FFxmLKbjAEu5MTZ2OWfaYW7ru0DDB1A7mNQgH+rLrrJa8LZePYcSt42qCeJ1Rp9SIM9fXmKcm Z2FNdxPgxXT4PaC9Mgxp1ZcAimAo0kj08g/iWt4csMLpZzyj0/2haHyTu05wMgKMyJbh4V88c cLSByZax2FRXlhSU2LdGRq5/GGLcejhP1E92F0S+ZN/kRS5J8NOnxvQm+9IO/K+++hpe8GMUn zLC23rwQkahuMbBV0DXPpqqPgX4/Mz7oTGwNGSaHiCU+tphi2I8HTIufmEsYTiV1zxvBmNQLt LasThY/8Hro9qxWMiZ32wjgqr7WrPZWwIQrJnPj6Zu8A6yOdqRt2eIopWjLerp7UPR8BvrGkG mq//jz2Te8k0gE04lRZTol2EuDYMKLcklupyoSxVeI3jwO6mUxmNd6uA4X1eOz0RwJ5WeS5Ze SmQlW42nSfgeTyYrOfMA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052938_463442_4BAB480B X-CRM114-Status: GOOD ( 16.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the matching carrier for Raspberry Pi Compute Module 4. Instead of xHCI USB host controller there is just a USB 2.0 interface connected to the DWC2 controller from the BCM2711. As a result there is a free PCIe Gen 2 socket. Also there are 2 full-size HDMI 2.0 connectors. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts | 138 +++++++++++++++++++++++++++++++ 2 files changed, 139 insertions(+) create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 863347b..d3f25b9 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -90,6 +90,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2837-rpi-cm3-io3.dtb \ bcm2711-rpi-400.dtb \ bcm2711-rpi-4-b.dtb \ + bcm2711-rpi-cm4-io.dtb \ bcm2835-rpi-zero.dtb \ bcm2835-rpi-zero-w.dtb dtb-$(CONFIG_ARCH_BCM_5301X) += \ diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts new file mode 100644 index 0000000..19600b6 --- /dev/null +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts @@ -0,0 +1,138 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2711-rpi-cm4.dtsi" +#include "bcm283x-rpi-usb-host.dtsi" + +/ { + model = "Raspberry Pi Compute Module 4 IO Board"; + + leds { + led-act { + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; + }; + + led-pwr { + label = "PWR"; + gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; + default-state = "keep"; + linux,default-trigger = "default-on"; + }; + }; +}; + +&ddc0 { + status = "okay"; +}; + +&ddc1 { + status = "okay"; +}; + +&gpio { + /* + * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and + * the official GPU firmware DT blob. + * + * Legend: + * "FOO" = GPIO line named "FOO" on the schematic + * "FOO_N" = GPIO line named "FOO" on schematic, active low + */ + gpio-line-names = "ID_SDA", + "ID_SCL", + "SDA1", + "SCL1", + "GPIO_GCLK", + "GPIO5", + "GPIO6", + "SPI_CE1_N", + "SPI_CE0_N", + "SPI_MISO", + "SPI_MOSI", + "SPI_SCLK", + "GPIO12", + "GPIO13", + /* Serial port */ + "TXD1", + "RXD1", + "GPIO16", + "GPIO17", + "GPIO18", + "GPIO19", + "GPIO20", + "GPIO21", + "GPIO22", + "GPIO23", + "GPIO24", + "GPIO25", + "GPIO26", + "GPIO27", + "RGMII_MDIO", + "RGMIO_MDC", + /* Used by BT module */ + "CTS0", + "RTS0", + "TXD0", + "RXD0", + /* Used by Wifi */ + "SD1_CLK", + "SD1_CMD", + "SD1_DATA0", + "SD1_DATA1", + "SD1_DATA2", + "SD1_DATA3", + /* Shared with SPI flash */ + "PWM0_MISO", + "PWM1_MOSI", + "STATUS_LED_G_CLK", + "SPIFLASH_CE_N", + "SDA0", + "SCL0", + "RGMII_RXCLK", + "RGMII_RXCTL", + "RGMII_RXD0", + "RGMII_RXD1", + "RGMII_RXD2", + "RGMII_RXD3", + "RGMII_TXCLK", + "RGMII_TXCTL", + "RGMII_TXD0", + "RGMII_TXD1", + "RGMII_TXD2", + "RGMII_TXD3"; +}; + +&hdmi0 { + status = "okay"; +}; + +&hdmi1 { + status = "okay"; +}; + +&genet { + status = "okay"; +}; + +&pixelvalve0 { + status = "okay"; +}; + +&pixelvalve1 { + status = "okay"; +}; + +&pixelvalve2 { + status = "okay"; +}; + +&pixelvalve4 { + status = "okay"; +}; + +&vc4 { + status = "okay"; +}; + +&vec { + status = "disabled"; +}; From patchwork Sun Aug 1 12:28:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12412925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44A84C4338F for ; Sun, 1 Aug 2021 12:33:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1207460E93 for ; Sun, 1 Aug 2021 12:33:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1207460E93 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=urzJ0zEryEDOZCHp8YBwYOg+YPF3p3usGAjhjsCkTXM=; b=DyBXY9ZVrsdIJz NKExzbL4d7qIT3prjaHFo5ewAafGqeqwcb7Yc89B9H7kQZ7+xtLqaMkz1cyAqRZNnsisvNuHUYKuK zIzrF0Ilk8c40tPMchBqIwPzUV71qS6ip1rDMyWQS58WDPQrnnc4uC1Q8Ea5GwejVBMa2kCOaZAqn RlPjd7NGNBRFXK/tIIKIBrH0t+mwSaSk844Y8FDVdCsfLrWqCRme7hfd7FKd2oKnwLNjZi20o7tUs TiMpzIP3Owr8Q70qswXHTzeX1jWMzNd26PwYxe9RJ+5r6qNtMbzDsC8J3jzs/iEZXP2XldUbxV49o CkZSuioW846LRKrOHSgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAca-00DWOV-Iq; Sun, 01 Aug 2021 12:31:12 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAAb3-00DVwH-Lh; Sun, 01 Aug 2021 12:29:41 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNbtD-1mY9Oj2ryF-00P2xe; Sun, 01 Aug 2021 14:29:30 +0200 From: Stefan Wahren To: Rob Herring , Nicolas Saenz Julienne , Florian Fainelli Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 9/9] arm64: dts: broadcom: Add reference to RPi CM4 IO Board Date: Sun, 1 Aug 2021 14:28:52 +0200 Message-Id: <1627820932-7247-10-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> References: <1627820932-7247-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:6XueM63cWGiOunn4gUV0flibfo9FC/oOCZ7624kHqE5AiR/emRr EiCH7OxjgHges9JGfYII4Cf+0XAP0fOM0REF+vFHZTC4HQuJ7NN0gBn6r4M2v4ZXJ4YkNIH pLj0KXxcootoHpyvO6x4hLcX5KLOSGfCVg0IkxEVBuTzF8GKbR7gf+TXHmkcSy5HhIFXylW ioXf7hjm8wOv64QM5aTUQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:lOIya0ymWEQ=:5FBgAtM0kIc8qHRaFhimkA W/mVlwi07Wr1HxqZmatq+qjAtMN1zL96k/uzcZ0EpL9Zk0IJgsxdpY8BSSYQ/eLME9tHh4oAc WAjNsrDkamKnx1rvNIOhL3Lm/BXqlUzEx5lKC9utGzajrVWtJ2ouENB1LlHA2cnQXbYooFwCp L+L7Y6m6aytjNNBFA/BCYCA0cwEUWUVsZVoGQNXV9UTtQZf1GHteMdLLVs2gjT08pHncvbi78 mGp3QVbLHMinpiR9Iz2cSnZck2Ltt6yV92hvCqiX0Vy5KeOlWXiI6Bcj2CVnVh64XqHo8Pp4m zyOP0V3SkRV4qXFGJApZNQEjFsDAkEHiavf86H03DrVmindH+lY9HHmdF5rAXaKrcefLn2SBw b4N7LRCY7Y7lMyxvgHHow22+g/3bRLHsVq1Yr8WSIZ5oAizt1AeCnOJ4pRHd5QCEP0aQEzfLT zR9PJP7Hpmr89go9YNzOXWcleViOF/JUTVoQ8QJC+hzndzj90/0nbak8VsyuIBb9Uc+/Jljcb OEz20Mc1ePhYoU9sHMiPG982skBQtWceEKi3aPInoePtCeWKwbpgnNaWKNZwSILKZ5t81bXCt inX5rnXxoB8bHI5LGuhyUY3TAquC4kTK9wPw3L2F1VT6SziNeJiIHeMIGN6r1/1ZmiYb7B20o pQpi34BO3/iLpGT5p/F3zRoJXBBHB17i43uMFxvhj2NG3lp/aLJ3WdNxd7jzeYngTbapM+ULy tPTBH0CHm1XfHS7M1EQdV4njV6XLbp5gKuCuVCDe2YcDH7U4jXTfKaTh0u6Jp2hAzOVbocmvr RM8CIxNR+P/NXwwCvca1k1vtnCa8amWQGVdFiWtL/L6D9IiduWVqTPBIyjaA5zp4RuuZBZHID xS89pL/jWNcRfG0cMN8A== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_052938_040137_98049656 X-CRM114-Status: GOOD ( 13.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds a reference to the dts of the Raspberry Pi Compute Module 4 IO Board, so we don't need to maintain the content in arm64. Signed-off-by: Stefan Wahren --- arch/arm64/boot/dts/broadcom/Makefile | 1 + arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index 11eae3e..c688203 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ bcm2711-rpi-4-b.dtb \ + bcm2711-rpi-cm4-io.dtb \ bcm2837-rpi-3-a-plus.dtb \ bcm2837-rpi-3-b.dtb \ bcm2837-rpi-3-b-plus.dtb \ diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts new file mode 100644 index 0000000..e36d395 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts @@ -0,0 +1,2 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "arm/bcm2711-rpi-cm4-io.dts"