From patchwork Mon Jul 22 17:07:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11053087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46A5C1398 for ; Mon, 22 Jul 2019 17:08:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2755627F2B for ; Mon, 22 Jul 2019 17:08:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 180F9286B8; Mon, 22 Jul 2019 17:08:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9171427F2B for ; Mon, 22 Jul 2019 17:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=qKETtM8dffOd1Ej21gUCB16+UDdVwQ0T7Mqid6TINTQ=; b=cfw oPq0ii1iwabxdgiOE0vWdGH29rdv2Ny199IrkxUF9so0YFUVdMHsU191BX7py/nH0s/Z34J+KYJ2F +3jPEjJ9v8Pctc3nRBFKEZNtkprQibQbGM2M8i78hUuCznBFjz9WPwbkV4d2Yhrv74LabC325gTgN KLu8VDGioroFgCQJ/DxJpCvSPPR6072cIk843PnNxwqwsJZRT23EInrXX5YZBoVJTIzhBa2zKbUQt x/fw0BOLvBp/h5L0JejBktLae+YnRjvwR202onV78dfKLaF36WYBRbjA1BJ07V2lKS3xMK3pt7uca rQi41BfDcVFmgI3aAjhBmTmolc8VH4Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnt-0002qh-6h; Mon, 22 Jul 2019 17:08:49 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnT-0002YK-9f; Mon, 22 Jul 2019 17:08:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563815283; bh=RvH7nQF7Ul4xhBjPYxybJf+PkfOOFW9bdxdIzx6qwCU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=LbHMHAzCJH2toIrC0Ng+Jl2XTmmpJv+n4wIDr5ZAAIpDr51z5l1w8LT4c4dIVFzWv qUjnh6CQka5BDEKM9S0DZyWnE7HFYqXoL7L+6ug/eFfKhPNwcyY/P54K4OqUnZ6xaf u3qoBLDEmQOzlZxEFCurIjegQf40KXiya9u0w7P8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.131]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LwJko-1iUccG3pok-017z03; Mon, 22 Jul 2019 19:08:03 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Matthias Brugger , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter Subject: [PATCH 13/18] dt-bindings: arm: Convert BCM2835 board/soc bindings to json-schema Date: Mon, 22 Jul 2019 19:07:32 +0200 Message-Id: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:e/EFY+cnEb5FAJqNuZ+nYlRoYfTIDfYwVTNRovuSMgvoPhIOD+Y Pye1trVVUVTSU0Sh6e6rVHZx7TxpR1mSSh5dPewUukGAk/eiexeOIQYGEyeFdS7d6jleGbC iKhv1v9GK/tnPqGDC4vINZRrr0/tJ/pvRz+i4KAC+08yIYyTwwMofGoJuf3jZex/DtNiKxZ LnmEwbIMORMnhS9RJ2sHw== X-UI-Out-Filterresults: notjunk:1;V03:K0:HpbA/KTLjeI=:nP8md4F9HwaGyJdlmrQ8wY 6CEhm3yPtJZi4uV2orB8QEmiBlkf7KEF/3G6ot0Ic+Tg+p3d+vg67h0YC4QCZhXzKm+YZZ+Uz lNLcpeiQAS+zjD1u/6amSUe2DL9tm2ewoWhuyP/5rt8I50SHpqodrECV3swZO5Pi4Pd8KRmWv VObBoXU3m+qKRmm2wKjYkKg+d7WdEIpA0F0PqQQDAXLofoPRfWmxm4fWtQnN/AZAKK6+wEd1x 4OYN3mmWAwlLnWJKVITJsRMG44gSSGl90zjviZx5liK3CRp07fE99Kq1EiPLiAtrCnH3i5rkQ lVzhqGW/0H6/NXjIi2OnebbRFsEI3igXLhEelCYtsfk+Smm7b0ydGEidtxeaRE2QtVwGU5g6I RZ+6rUyLaKV50wdmsBXGFTcKgi7urHmFGEc/kjlw+FR4gOOaEdeVobyjnXc5UUKEPjSDHaH+n Y0hXOCbPmj3BOx5Wryh/FWWniXdvDqo0cVthW5Mp8uw6b0Ego0ACJJCywJisZIq9uhIUclWML zj8sboJ5QVBWxviShcXHe75WeFIqK+Rp0e+9WY+et3kfK9NO/LF3T0qqbZp1hHz6qYbJPf11W YmXF//UDMBjrSv1OfzTNp7+9bOmjZA4a6VgyEbPcakrOLXO76p5c/w8P+0uAcB4oHB/l6J7dJ 6V6N0C4bx58Dz8YS3laJvF8pEtoSOK9wntFWjqDrSUxXihLhHlKH66L0jrti/KEtUiQ3olPIr lNdlyDRWENoyK7SRbE/GddCyOSwVbB46QSGdIZQQuW3M3F7cLv2Rnrs5Ci3MVOkRJrHMWe+H7 xOOQ+4aOpfxRj728V+PUVwGdQpVHfxFQgvlKuamG74GNwb1hcRLBUTs7jIQakcJaoplzmFIIO cuiaEyM3RtGHBrGg2qyShGRCNnlclCvOJ4dFbHdoN38OInhlBfTLnqAUx7HnNmh9K8ub7aqNn /EXGZmtS//CNBXnmxLU1dRoAWByMV8LhbhTGj2rwjXPcMyTyR8mhc9YLbLy17KDPBDQH9FiBK ISZuP3x4KP1yDEeOuZ4dJ84OX6vUlAJNhrBfLblOexGXhLRBN+dKp0F2DOTmq0/uz4wHEBhBX As8jYUm5ORPhU8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_100823_675823_11881431 X-CRM114-Status: GOOD ( 13.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Convert the BCM2835/6/7 SoC bindings to DT schema format using json-schema. All the other Broadcom boards are maintained by Florian Fainelli. Signed-off-by: Stefan Wahren --- .../devicetree/bindings/arm/bcm/bcm2835.yaml | 46 +++++++++++++++ .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 67 ---------------------- 2 files changed, 46 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt -- 2.7.4 diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml new file mode 100644 index 0000000..1a4be26 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/bcm2835.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2711/BCM2835 Platforms Device Tree Bindings + +maintainers: + - Eric Anholt + - Stefan Wahren + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BCM2835 based Boards + items: + - enum: + - raspberrypi,model-a + - raspberrypi,model-a-plus + - raspberrypi,model-b + - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5) + - raspberrypi,model-b-rev2 + - raspberrypi,model-b-plus + - raspberrypi,compute-module + - raspberrypi,model-zero + - raspberrypi,model-zero-w + - const: brcm,bcm2835 + + - description: BCM2836 based Boards + items: + - enum: + - raspberrypi,2-model-b + + - description: BCM2837 based Boards + items: + - enum: + - raspberrypi,3-model-a-plus + - raspberrypi,3-model-b + - raspberrypi,3-model-b-plus + - raspberrypi,3-compute-module + - raspberrypi,3-compute-module-lite + +... diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt deleted file mode 100644 index 245328f..0000000 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt +++ /dev/null @@ -1,67 +0,0 @@ -Broadcom BCM2835 device tree bindings -------------------------------------------- - -Raspberry Pi Model A -Required root node properties: -compatible = "raspberrypi,model-a", "brcm,bcm2835"; - -Raspberry Pi Model A+ -Required root node properties: -compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; - -Raspberry Pi Model B -Required root node properties: -compatible = "raspberrypi,model-b", "brcm,bcm2835"; - -Raspberry Pi Model B (no P5) -early model B with I2C0 rather than I2C1 routed to the expansion header -Required root node properties: -compatible = "raspberrypi,model-b-i2c0", "brcm,bcm2835"; - -Raspberry Pi Model B rev2 -Required root node properties: -compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835"; - -Raspberry Pi Model B+ -Required root node properties: -compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; - -Raspberry Pi 2 Model B -Required root node properties: -compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; - -Raspberry Pi 3 Model A+ -Required root node properties: -compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837"; - -Raspberry Pi 3 Model B -Required root node properties: -compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; - -Raspberry Pi 3 Model B+ -Required root node properties: -compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837"; - -Raspberry Pi Compute Module -Required root node properties: -compatible = "raspberrypi,compute-module", "brcm,bcm2835"; - -Raspberry Pi Compute Module 3 -Required root node properties: -compatible = "raspberrypi,3-compute-module", "brcm,bcm2837"; - -Raspberry Pi Compute Module 3 Lite -Required root node properties: -compatible = "raspberrypi,3-compute-module-lite", "brcm,bcm2837"; - -Raspberry Pi Zero -Required root node properties: -compatible = "raspberrypi,model-zero", "brcm,bcm2835"; - -Raspberry Pi Zero W -Required root node properties: -compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; - -Generic BCM2835 board -Required root node properties: -compatible = "brcm,bcm2835"; From patchwork Mon Jul 22 17:07:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11053075 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3BE751398 for ; Mon, 22 Jul 2019 17:08:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 203FA285A9 for ; Mon, 22 Jul 2019 17:08:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1426F28660; Mon, 22 Jul 2019 17:08:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B4A24285A9 for ; Mon, 22 Jul 2019 17:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=bWqn0OqlmUkrgsDqDBBt2JHkI1Ni2n4W1HgwndkfqX8=; b=KhqGxMRUCN9Y5r+PGHjdXScFoK Y1TE35BK01c27rEFWy0hl8NiKrg+wbXJJ5yxyPbWfHeVKGRiPrX1ARfVVfxcvm3PMDp5+vywxjM9v Xw2SvEhiCz5yuCBWo/JXagdomaQfBHX5BHq41FCsq1/xAP6gYWoW0LDKfl7eo+O8Ah7fRPx2aaLaJ B+hhGI7ANOyOxC2FSisvUhgBl09paDCYqwGjPm5YqIQzTCD1l4U/Fap4AkHAtkcVsPibSr+219c7t yAzawJXJn0yjctANDiT3LF6fgofpnPPQTJfUmA21+1I0UNhuPRi1WAkcnx2eRHGbJukYGKnrWPP9W tFPafzuw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnX-0002ZL-0Q; Mon, 22 Jul 2019 17:08:27 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnT-0002YJ-9g; Mon, 22 Jul 2019 17:08:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563815283; bh=pOipip/7SqtkvUBVosuhUW8StWC6Eq11sbfDOvaTu7Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ZwYF0nDMAeBRG23gIr8vph6vCHmXVzh5Oc6eXpUPa26K85FB2T54eaZmGl4Mclv2U MAOabspJXe6JPy5J/ddNUTyoKPRxpgqvFeJBSVSgO14mpcBGnqpysJB/G0JTRej5ho 8XxXImAFo5cnTHpVlmVCNjkJNSeyg4PIVos6l0kE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.131]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LqQTl-1iK0iw2bjd-00e836; Mon, 22 Jul 2019 19:08:03 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Matthias Brugger , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter Subject: [PATCH 14/18] dt-bindings: arm: bcm2835: Add Raspberry Pi 4 to DT schema Date: Mon, 22 Jul 2019 19:07:33 +0200 Message-Id: <1563815257-2648-2-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> References: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:tO/RDLStxpBhSjI1Yvpz+5kIM9YY1HHCUcN1/0HPyCye/v1766M dUboVfHUppGM2laRPxmJ9p4clRdI+r8cKyEfUJAYlxhgtufM1SQUbq57V2XeOgPwG97pmn6 hv1S8Q/w+SkPySkFVdtASHwD5ZJWe7FRz2IySKhn8bMxOMi71BqjQ1Mhn3M5AC+7b0WmO38 JKEJ4JvfbgF3tXTBvDoWg== X-UI-Out-Filterresults: notjunk:1;V03:K0:zjxQ1KMgLug=:bfvv6r+DDraqyjvFqBBjPS YsTOefVQWL/J+48TcXkjaff5GfVDeb+Tah6l/Vd+W54jG7SNsXF57krrl+r6MxXK9VlAdMo8S s0nO8a7GpIY4AAFf8mJqZ/dGPiD0EoVaP/LU0Y+JTd/laZfuXgsXfJmDZ7MCW0o6ggdzT0Z+0 IloG1T6ZD43C2ZdEbsYesgFAklAZ/R2mv/E+2dXpEKnuwb52gZZLkXfdoZs+5w19sCK7Tc9jx qLgMb/oJBHAGHgqGiEB3LGRbbwd3o2INW41rmL3zfwWRtP9KOQopRKCEDs53vz+V2IL+JwcCL NlvbZrkBAVT2/PLg/cZ5czNZLrZKB6muQ3RslgFq5T4fYEKgoGRHNdJakkabkZvLZIKO3snBD x1MsKSlHeqV3aGCGDTRwlNPgzNoPlpYw/ADvg+7IO/u8SIE85w48XSPUrA2KRy02OdYagE0Mq nwi9D7vEmIN126abhIBCzKxlrjhHyXoWVJ17Do0faABNv100SDzUHNCusB8cA3j7rcQbF79mT SLv4JA6duJ5J7+7nM4jCvWCQ0Yk+1q07kyJgDfxE5d+V0RCCygZdiYOs8tFNdggP+H0ImWzc0 /r4YJyLeqNFpM+JzAm3sERhWgNrcwJb46GhxoB5U2jlgf0+dXSGVXIWPrc+Y7d4ZJNW2o2t1m CafN2uzea+XJdWnWCEENBKNUWv6KN+khx+t8/mXV1X/6uyiUHiDiwo1SAPydvzPtiwM8z+5MG gYHoqmEeMCeSh74qJUC4Sw8Mzkwpdf+FVR9Dli+7BpP6uiPVOIGIbceq7gcZYCJDoFYuc8jyp ykQ8wcRzReuAb/JtoFcbj5Xm6tqIEUpu0bAk9Fw0j6tiCF7f+PK5xscPKmdOLXFtlJridSiKQ b1eU9bJ3Lrx9BhNw6s2DP8lYMJJtNb6z57WoGKmueGnBvhOK2284VMSqHvXwFTYt04QoK4eb1 8C7r+COQ1GzgNRTEr8/F2L50H0ZOD4KAvLUmRtpHRfLnzsSFxmG5nNYGdxw3cPMTL4kXjZqw3 tEDoWmytBNsDXtTpf+xBE8NRKQ2ymZVGKVcWPJAe+HN8oCqbDuT77skql+K9P54GBvr/S8UQs WG+3WE0ioDojQg= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_100823_675851_699E6B29 X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add new Raspberry Pi 4 to DT schema. Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml index 1a4be26..8c3bbad 100644 --- a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -15,6 +15,11 @@ properties: const: '/' compatible: oneOf: + - description: BCM2711 based Boards + items: + - enum: + - raspberrypi,4-model-b + - description: BCM2835 based Boards items: - enum: From patchwork Mon Jul 22 17:07:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11053091 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C3A11398 for ; Mon, 22 Jul 2019 17:09:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5ECFF27F2B for ; Mon, 22 Jul 2019 17:09:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F186285B7; Mon, 22 Jul 2019 17:09:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F420D27F2B for ; Mon, 22 Jul 2019 17:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ee2iZJSx6hBMwQrwjiD5FadMMY/warejptsruUnG+Sk=; b=FVvG7gb8s1IDfthJdt8QB9vfSz PnR/GEQxA+c2tZSYJs5rxyl8awFSSSuxCS7GRC12mKWoQ0OwS318W2NEc9IvOr2cHC7Ch9OqUZ/1g gwME0/ePxmb5758qVr1uGpQf5507noM1qs8sJj5aNUPeBXHE9zk9MI1FYIvwrO1rKnngUUC+WPktX 7zwiDIBSuZbOxc9csTzmgg85SunxTyt6cwVmPuzUz/yEmy7qDVWyU01vPR8cTH6HLES2ZWdDv25Rp wilD8OexNR3EWocGxDQb3k/V4unaRGpaagSD5wwdwzaFvHS30sykxPXFCKC41NF7Co/dM6M59sXQu NaAiRDtA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpboQ-0003AL-HJ; Mon, 22 Jul 2019 17:09:22 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnc-0002dX-Dt for linux-arm-kernel@bombadil.infradead.org; Mon, 22 Jul 2019 17:08:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8sdkT4OAPenNxPhRZpPZN+HiHNk8KYoVvmXdGGlXZts=; b=nvD6/jqZ1mcFo26N2fBhmKTcdp 7lFyZaektw0Qn12/rzUfFkrCl9OKBlf8/hhUHHmFo/B/N+9diAhjwj+7N8HmJKuvnmeJM1cwvAZ3G kVGVdEO6mHrlJpFZc177vhH5wQ2KztHd1SfmQZSbZwgin/j4S9A77fn35zpEh2IFYXCTVoyM9dURO pR1hCZjJRAl9dSUIlLoojAoGRWG7wUTbbsOvE03L9veaGv4PmjBOM9XVzT0AEiyWrJj/8u7t4l4Gh ZsYm49btU2+bigMMMilbDOT8nrU5VJcw97FduiwdEvsdUap88Yq7zS1KA2H+W8uxi0uZhXUM7BdOZ SqczcrfA==; Received: from mout.gmx.net ([212.227.17.22]) by casper.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnh-0000Gt-H4 for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2019 17:08:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563815284; bh=6nS7Lf6FNdVUYXGMd00gzIso1Z3I8h5vATfhDbo1HWw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=CwL8GCHtNFhZegQ5GJpGixfEKuZAW3OvKeo6E8p1XLU49IO/VtcHztedrkMhfhcG/ wSWePnRucp/is/KGyfMub4XAW7F93RWzU+CwSLAMi4UPHcihzYKxdwP6YwzIzGO0pd hIZHZvczmZ8AwMOvkP9ZMBlh9P4C8l3myls8HC0A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.131]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MSdRI-1hxCTY1BPo-00RWdx; Mon, 22 Jul 2019 19:08:04 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Matthias Brugger , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter Subject: [PATCH 15/18] ARM: bcm2835: Add bcm2711 compatible string Date: Mon, 22 Jul 2019 19:07:34 +0200 Message-Id: <1563815257-2648-3-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> References: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:Ozi+ow31HYFixm+4tvpLjYLuEY8a4Oa9cmfUylPS1EPl7hgn+hu b/GDHJJiJIvw67knfV5u6EemfRwXcCus7QkJ/+doBkq1EH0ErKqEItVtvRu0wSP5wE6MyJN RtnKax7+8pku7MuqFTOU3FH4yQwcnYUzscDM5w2yyFFcka2Yr2sVvVD0WYmvx6sMCpcsRCX miPEpEqAyUCkLZ8K8Dz1Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:8gfPkhoX25A=:wSjmZWPeWuCf/BgF5Ueu/h gwIst7D0FoUnVfKeiJgl4xzL+WE5aLGhk0armELJB1K1NMR9tla/hP8MCu7Yuz4QmpygAw/ud B8ZnAEf/pDv8peBME+XreO6t4IWQ7PkJkWnnJMrOfSPfDqykk1tv7/7VjfagqvzmfUxlCjotU kVJbDhkvRUDSF4OM8LE81vsdv5Rybzx+Wu2+ubAP0l2FjBvIWkWoRv9IAMPGgMy0qhIkGHCAg oEPyaT7C19sW0PPstUnqRJvLinZbY2o/bbZEjR5LFDnRefyYajSD5Z7yedBrqr19qSyKEgYZJ lF5edJmbMRDIEAhtSewjwhi0RCRtYGVYNj+TBNB8zzmcXnCOYes+aI6IJtAuacupM4iRE+2cD +D91aSEZ7vTUUM6dRE5OHfj+rKDMm57IwTRkNySWzko+pBy2vYFvTZ5cT2g+kYkYTFrfwropc egaal02UXqU9xrH31HXixDwtsSO5SQ8OyN+Kgu5VxRqmMmpXOLNRC9t6/h3Saa6Dxl5vzBWFV sJJCKcDKLzZDR9e1nGH0IOFK0ABtESI1TzKutKHL0KWTGBlIxBI3X0tP/QzoOoJ00zdoJ3AHo dGACzjLnfhNQ0bqMv/pDJRpFy1OgyLJtcly/xT0yrw+SKGCqarw/SIAMlUsdO79v/ktDBlE5B AgWKeJEP02QbhzPZ8IsONhMkWw2vwbGCYXAtw7B3g8g2gT2JTbLuDosgEf//dmf/ZeXH0WLKl GFdYVyB9EjSLRyaMtiVd0IDsEDpJD2V1ZGDat6x6gI8gErcmhXjEo1yz+Ut0tKFN7VlsNFQ6B kaA+K2whJYcv1H2MiX7zNtA4AdwDRTBx0QvJOfnf12/ucS2yX+GR0XVLXc0c5RJiAiWVsKkGY E08e3Tr6rlI/T4iDafFsd7ey1sLd9JwIq+mpL6OdmSzEqfgq5GhBNYzVBhbMpJGinovfdZZFK 4/j9umBEY243or8RCOY9iiGb4P+VWbxppV1mrMwzekVPA3mlk8Zv9ilcyWJdHqqNSpRqc7twM Rco/Jz3vCE3c/yoGNf0PMwzgJpGLB8Z8P1Xj/5qXzi5c/T8T1mTzRjTPFjgA1P8fgdTT94GDs jJFBthqHiXNC+U= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_180837_646711_554708EC X-CRM114-Status: GOOD ( 13.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds support for the new BCM2711 SoC found on the Raspberry Pi 4. Signed-off-by: Stefan Wahren --- arch/arm/mach-bcm/board_bcm2835.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c index d2b31a9..c09cf25 100644 --- a/arch/arm/mach-bcm/board_bcm2835.c +++ b/arch/arm/mach-bcm/board_bcm2835.c @@ -17,6 +17,7 @@ static const char * const bcm2835_compat[] = { "brcm,bcm2835", #endif #ifdef CONFIG_ARCH_MULTI_V7 + "brcm,bcm2711", "brcm,bcm2836", "brcm,bcm2837", #endif From patchwork Mon Jul 22 17:07:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11053097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 604F6138D for ; Mon, 22 Jul 2019 17:10:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3ECDD27F2B for ; Mon, 22 Jul 2019 17:10:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C4C328387; Mon, 22 Jul 2019 17:10:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E74CD27F2B for ; Mon, 22 Jul 2019 17:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=QhY5/FHbYHKRu6ZjC+uG/DH6VN1bhHCo8d+dlSB6mG4=; b=Xt+/745WQL5B7FiyWqHq0AXq0l blTNqaqSF8OK+OJCc85mguomXk2hi4uo+FyPYVoGeWBaUEglF7LCJ5Jf1sEchyW6eXlXFSJy72270 KqznNUWQsL3GFN90ywLB6nQRyMC+nIXmfa3OaEThOprg/vwOtWr8XErzh6msRJ/vsHhE17kj9RXwN nH09sA8S7FIIrLIrgJR80zV/6DM1G56aPiwRiOyCk6YQxduAW6vNna7Zndlsa3yR76vs8p7xpEVWQ dpnUBiYEif9/Cqy4Mi9GxmwDEmGIJdQrseBQ9wfu6SkqVdhBhP03z5T5tL2wOWRPmPw7Iob727D9D OOOtH1rA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpbpV-0005CP-FU; Mon, 22 Jul 2019 17:10:29 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnm-0002lg-DL; Mon, 22 Jul 2019 17:08:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563815285; bh=EbL5CImoTCVVX00tS6wWAuO1mCAtGAlTD/xIz61jUvw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Q1Sjflrs6PGfdyaG7tlO9s5TyKwidmc5HBmsHOT8R5pOQs3SQf0FXh6uJRrF+SKhl IVs54WqzspKO9bkapaY8OBl+bl4RN1Q2OOnnb05HE4Rbbtysdy6CPTl7vUslNTKsu3 N+6r5YK9PbR44Bs5EBuZ5Bxto9b90WEqNgB1dWVU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.131]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MYwQh-1huCKl41VD-00VdVS; Mon, 22 Jul 2019 19:08:05 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Matthias Brugger , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter Subject: [PATCH 16/18] ARM: dts: Add minimal Raspberry Pi 4 support Date: Mon, 22 Jul 2019 19:07:35 +0200 Message-Id: <1563815257-2648-4-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> References: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:2UFYjnKQq91doeum8H7kd4fK6G+D1FVzjo5X78ycNh3kJIKKMqa xKonAX0vimqxEDK4RVk1jgHBASW1dLK+4J8zHWxpdiPR1gSfY99tA/oqttVbLgoHzqhKarC f1qgNy/QRYoPgTbywzYXuZWNsrG/bBEITGyer3WV/BRE701WtOfEU+xVju76jqI+PqmN+OQ gn2c9Oa7MLJmvfNTAUtFw== X-UI-Out-Filterresults: notjunk:1;V03:K0:/SQGWrGBaiI=:PnOJWROYLaoYd0IaYIqxrH rs0kwAHjFGV7W7wAbrOUvfrBSytL4E1UQPYus3L4VLwNfUFKyqqEp+eLt5WuDO1Xx/QfdOltV PurOCEYShWhaiNTYWxW6OdnXmCM/flNqsqNcvb87TfjkVsy0Y/p1aQn7OP8/szzFPHqNwD/Zm G/whDflc7vExgUpFK745vEPUvsQNw+XdMQdiDIUdxsfoQjVVXVxWa99gZAFBaC7CJlJIl6Un8 LXvIZqtzLv4VVMgEgDbP4/u6UD5opIV9xCPFgGkiUPtSoeg3+lhTJZfp88ucPy2Jg+1l7zLoI h71sCCKCu5c5w+foUM2MwRGrS0VA402wW5mz6Q1q75fvGPf//LA4f18eBbLvSdU63Sp81Vkf/ 3MzTGUh4CVY6kTBxCGRftu7FtkWSAjBP1JedZjl8zFOc+7LaGVI+UVWiGLdXzQafDX4YDQ+D6 u+TtK/6jQ6TabZ4HMsqO1LfI9F67tGQiuF7Cb0F7U/d5/fgMn1jsGT2r8MAi2vnYiqxFnaFAs vfaoPqGZUS7Sm9Q6pt3tflIK+D2OsCnWGoQpezo8ed8RGk9UcW0M0wNDtMepHPyRWWlOTnE0/ fqfAuRKlovhGcc85gk+Z6/011U02VeJw6m5orcUD4GX9gCYDfDKPvlSJJM9SWBacFOjxfKQvf XTvQtHfkDIi5Hx0pPnQ/KMGazvGlkbetRTFDzr3vD5BhWIVr+R10AeBkG5HINEfj7w5QJQibY SuHN71z082ylN50tonNEiZ5GJhebxK/kW+8viUvIxVL6h4iKnKj2qpYJST99qjVRkJxOsi1sT ydRRYzH84z0p26E/gfljAaTIUZoqy2T+Tv/IDfZPy62G8FIHGAW7VwjM38qKrHm6ydCAWhSl+ 8bS8SJFOnDFLdneHW1lM4c2TrkwqORotHkV2AR8xmjRjzApx13hj/0P4GPK1r1oQJtNSdL780 yVVqoTbzhJXtkuVBFztrbBjF80iwXY3/PbplDHCe5sVXPn1RkiJlHdtagnQRPexkpvleVwHyv QHn5JZ52khd68oIjaE7KdWor/X36HD+8i4hxPVzVx6mgFb79qUwtgNECDMJZSs6if+6mhnKKM qZHt0OzlwJ6K9k= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_100842_987169_CF541EAD X-CRM114-Status: GOOD ( 18.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds minimal support for the new Raspberry Pi 4 without the fancy stuff like GENET, PCIe, XHCI, 40 bit DMA and V3D. The RPi 4 is available in 3 different variants (1, 2 and 4 GB RAM), so leave the memory size to zero and let the bootloader take care of it. Other differences to the Raspberry Pi 3: - additional GIC 400 Interrupt controller - new thermal IP and HWRNG - additional MMC interface (emmc2) - additional UART, I2C, SPI and PWM interfaces Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 120 ++++++ arch/arm/boot/dts/bcm2711.dtsi | 667 ++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm283x.dtsi | 2 +- 4 files changed, 789 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/bcm2711-rpi-4-b.dts create mode 100644 arch/arm/boot/dts/bcm2711.dtsi -- 2.7.4 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 9159fa2..031ca32 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -83,6 +83,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2837-rpi-3-b.dtb \ bcm2837-rpi-3-b-plus.dtb \ bcm2837-rpi-cm3-io3.dtb \ + bcm2711-rpi-4-b.dtb \ bcm2835-rpi-zero.dtb \ bcm2835-rpi-zero-w.dtb dtb-$(CONFIG_ARCH_BCM_5301X) += \ diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts new file mode 100644 index 0000000..806cd7b --- /dev/null +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -0,0 +1,120 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2711.dtsi" +#include "bcm2835-rpi.dtsi" + +/ { + compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; + model = "Raspberry Pi 4 Model B"; + + chosen { + /* 8250 auxiliary UART instead of pl011 */ + stdout-path = "serial1:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0 0 0x00000000>; + }; + + leds { + act { + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; + }; + + pwr { + label = "PWR"; + gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; + }; + }; + + 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"; + 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"; + }; +}; + +&firmware { + expgpio: gpio { + compatible = "raspberrypi,firmware-gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "BT_ON", + "WL_ON", + "PWR_LED_OFF", + "GLOBAL_RESET", + "VDD_SD_IO_SEL", + "CAM_GPIO", + "", + ""; + status = "okay"; + }; +}; + +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; + 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>; + broken-cd; + status = "okay"; +}; + +/* uart0 communicates with the BT module */ +&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 */ +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_gpio14>; + status = "okay"; +}; + +&vchiq { + interrupts = ; +}; diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi new file mode 100644 index 0000000..b05d7f3 --- /dev/null +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -0,0 +1,667 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "bcm283x.dtsi" + +#include +#include + +/ { + compatible = "brcm,bcm2711"; + + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gicv2>; + + soc { + ranges = <0x7e000000 0x0 0xfe000000 0x01800000>, + <0x7c000000 0x0 0xfc000000 0x02000000>, + <0x40000000 0x0 0xff800000 0x00800000>; + /* Emulate a contiguous 30-bit address range for DMA */ + dma-ranges = <0xc0000000 0x0 0x00000000 0x3c000000>; + + local_intc: local_intc@40000000 { + compatible = "brcm,bcm2836-l1-intc"; + reg = <0x40000000 0x100>; + }; + + gicv2: gic400@40041000 { + interrupt-controller; + #interrupt-cells = <3>; + compatible = "arm,gic-400"; + reg = <0x40041000 0x1000>, + <0x40042000 0x2000>, + <0x40044000 0x2000>, + <0x40046000 0x2000>; + }; + + dma: dma@7e007000 { + compatible = "brcm,bcm2835-dma"; + reg = <0x7e007000 0xb00>; + interrupts = , + , + , + , + , + , + , + /* DMA lite 7 - 10 */ + , + , + , + ; + interrupt-names = "dma0", + "dma1", + "dma2", + "dma3", + "dma4", + "dma5", + "dma6", + "dma7", + "dma8", + "dma9", + "dma10"; + #dma-cells = <1>; + brcm,dma-channel-mask = <0x07f5>; + }; + + pm: watchdog@7e100000 { + compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; + #power-domain-cells = <1>; + #reset-cells = <1>; + reg = <0x7e100000 0x114>, + <0x7e00a000 0x24>, + <0x7ec11000 0x20>; + clocks = <&clocks BCM2835_CLOCK_V3D>, + <&clocks BCM2835_CLOCK_PERI_IMAGE>, + <&clocks BCM2835_CLOCK_H264>, + <&clocks BCM2835_CLOCK_ISP>; + clock-names = "v3d", "peri_image", "h264", "isp"; + system-power-controller; + }; + + rng@7e104000 { + interrupts = ; + + /* RNG is incompatible to brcm,bcm2835-rng */ + status = "disabled"; + }; + + uart2: serial@7e201400 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201400 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + uart3: serial@7e201600 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201600 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + uart4: serial@7e201800 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201800 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + uart5: serial@7e201a00 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x7e201a00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_UART>, + <&clocks BCM2835_CLOCK_VPU>; + clock-names = "uartclk", "apb_pclk"; + arm,primecell-periphid = <0x00241011>; + status = "disabled"; + }; + + spi@7e204000 { + reg = <0x7e204000 0x0200>; + interrupts = ; + }; + + spi3: spi@7e204600 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204600 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi4: spi@7e204800 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204800 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi5: spi@7e204a00 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204a00 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi6: spi@7e204c00 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204c00 0x0200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@7e205600 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e205600 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@7e205800 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e205800 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c5: i2c@7e205a00 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e205a00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c6: i2c@7e205c00 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e205c00 0x200>; + interrupts = ; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + pixelvalve@7e206000 { + interrupts = ; + }; + + pixelvalve@7e207000 { + interrupts = ; + }; + + pwm1: pwm@7e20c800 { + compatible = "brcm,bcm2835-pwm"; + reg = <0x7e20c800 0x28>; + clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; + assigned-clock-rates = <10000000>; + #pwm-cells = <2>; + status = "disabled"; + }; + + emmc2: emmc2@7e340000 { + compatible = "brcm,bcm2711-emmc2"; + reg = <0x7e340000 0x100>; + interrupts = ; + clocks = <&clocks BCM2711_CLOCK_EMMC2>; + status = "disabled"; + }; + + hvs@7e400000 { + interrupts = ; + }; + + pixelvalve@7e807000 { + interrupts = ; + }; + }; + + arm-pmu { + /* + * N.B. the A72 PMU support only exists in arch/arm64, hence + * the fallback to the A53 version. + */ + compatible = "arm,cortex-a72-pmu", "arm,cortex-a53-pmu"; + interrupts = , + , + , + ; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + arm,cpu-registers-not-fw-configured; + always-on; + }; + + cpus: cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "brcm,bcm2836-smp"; // for ARM 32-bit + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <0>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000d8>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <1>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000e0>; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <2>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000e8>; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + reg = <3>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x000000f0>; + }; + }; +}; + +&clk_osc { + clock-frequency = <54000000>; +}; + +&clocks { + compatible = "brcm,bcm2711-cprman"; +}; + +&cpu_thermal { + coefficients = <(-487) 410040>; +}; + +&dsi0 { + interrupts = ; +}; + +&dsi1 { + interrupts = ; +}; + +&gpio { + compatible = "brcm,bcm2711-gpio"; + interrupts = , + , + , + ; + + gpclk0_gpio49: gpclk0_gpio49 { + brcm,pins = <49>; + brcm,function = ; + brcm,pull = ; + }; + gpclk1_gpio50: gpclk1_gpio50 { + brcm,pins = <50>; + brcm,function = ; + brcm,pull = ; + }; + gpclk2_gpio51: gpclk2_gpio51 { + brcm,pins = <51>; + brcm,function = ; + brcm,pull = ; + }; + + i2c0_gpio46: i2c0_gpio46 { + brcm,pins = <46 47>; + brcm,function = ; + }; + i2c1_gpio46: i2c1_gpio46 { + brcm,pins = <46 47>; + brcm,function = ; + }; + i2c3_gpio2: i2c3_gpio2 { + brcm,pins = <2 3>; + brcm,function = ; + }; + i2c3_gpio4: i2c3_gpio4 { + brcm,pins = <4 5>; + brcm,function = ; + }; + i2c4_gpio6: i2c4_gpio6 { + brcm,pins = <6 7>; + brcm,function = ; + }; + i2c4_gpio8: i2c4_gpio8 { + brcm,pins = <8 9>; + brcm,function = ; + }; + i2c5_gpio10: i2c5_gpio10 { + brcm,pins = <10 11>; + brcm,function = ; + }; + i2c5_gpio12: i2c5_gpio12 { + brcm,pins = <12 13>; + brcm,function = ; + }; + i2c6_gpio0: i2c6_gpio0 { + brcm,pins = <0 1>; + brcm,function = ; + }; + i2c6_gpio22: i2c6_gpio22 { + brcm,pins = <22 23>; + brcm,function = ; + }; + i2c_slave_gpio8: i2c_slave_gpio8 { + brcm,pins = <8 9 10 11>; + brcm,function = ; + }; + + jtag_gpio48: jtag_gpio48 { + brcm,pins = <48 49 50 51 52 53>; + brcm,function = ; + }; + + mii_gpio28: mii_gpio28 { + brcm,pins = <28 29 30 31>; + brcm,function = ; + }; + mii_gpio36: mii_gpio36 { + brcm,pins = <36 37 38 39>; + brcm,function = ; + }; + + pcm_gpio50: pcm_gpio50 { + brcm,pins = <50 51 52 53>; + brcm,function = ; + }; + + pwm0_0_gpio12: pwm0_0_gpio12 { + brcm,pins = <12>; + brcm,function = ; + }; + pwm0_0_gpio18: pwm0_0_gpio18 { + brcm,pins = <18>; + brcm,function = ; + }; + pwm1_0_gpio40: pwm1_0_gpio40 { + brcm,pins = <40>; + brcm,function = ; + }; + pwm0_1_gpio13: pwm0_1_gpio13 { + brcm,pins = <13>; + brcm,function = ; + }; + pwm0_1_gpio19: pwm0_1_gpio19 { + brcm,pins = <19>; + brcm,function = ; + }; + pwm1_1_gpio41: pwm1_1_gpio41 { + brcm,pins = <41>; + brcm,function = ; + }; + pwm0_1_gpio45: pwm0_1_gpio45 { + brcm,pins = <45>; + brcm,function = ; + }; + pwm0_0_gpio52: pwm0_0_gpio52 { + brcm,pins = <52>; + brcm,function = ; + brcm,pull = ; + }; + pwm0_1_gpio53: pwm0_1_gpio53 { + brcm,pins = <53>; + brcm,function = ; + brcm,pull = ; + }; + + /* The following group consists of: + * RGMII_START_STOP + * RGMII_RX_OK + */ + rgmii_gpio35: rgmii_gpio35 { + brcm,pins = <35 36>; + brcm,function = ; + }; + rgmii_irq_gpio34: rgmii_irq_gpio34 { + brcm,pins = <34>; + brcm,function = ; + }; + rgmii_irq_gpio39: rgmii_irq_gpio39 { + brcm,pins = <39>; + brcm,function = ; + }; + rgmii_mdio_gpio28: rgmii_mdio_gpio28 { + brcm,pins = <28 29>; + brcm,function = ; + }; + rgmii_mdio_gpio37: rgmii_mdio_gpio37 { + brcm,pins = <37 38>; + brcm,function = ; + }; + + spi0_gpio46: spi0_gpio46 { + brcm,pins = <46 47 48 49>; + brcm,function = ; + }; + spi2_gpio46: spi2_gpio46 { + brcm,pins = <46 47 48 49 50>; + brcm,function = ; + }; + spi3_gpio0: spi3_gpio0 { + brcm,pins = <0 1 2 3>; + brcm,function = ; + }; + spi4_gpio4: spi4_gpio4 { + brcm,pins = <4 5 6 7>; + brcm,function = ; + }; + spi5_gpio12: spi5_gpio12 { + brcm,pins = <12 13 14 15>; + brcm,function = ; + }; + spi6_gpio18: spi6_gpio18 { + brcm,pins = <18 19 20 21>; + brcm,function = ; + }; + + uart2_gpio0: uart2_gpio0 { + pin-tx { + brcm,pins = <0>; + brcm,function = ; + brcm,pull = ; + }; + pin-rx { + brcm,pins = <1>; + brcm,function = ; + brcm,pull = ; + }; + }; + uart2_ctsrts_gpio2: uart2_ctsrts_gpio2 { + pin-cts { + brcm,pins = <2>; + brcm,function = ; + brcm,pull = ; + }; + pin-rts { + brcm,pins = <3>; + brcm,function = ; + brcm,pull = ; + }; + }; + uart3_gpio4: uart3_gpio4 { + pin-tx { + brcm,pins = <4>; + brcm,function = ; + brcm,pull = ; + }; + pin-rx { + brcm,pins = <5>; + brcm,function = ; + brcm,pull = ; + }; + }; + uart3_ctsrts_gpio6: uart3_ctsrts_gpio6 { + pin-cts { + brcm,pins = <6>; + brcm,function = ; + brcm,pull = ; + }; + pin-rts { + brcm,pins = <7>; + brcm,function = ; + brcm,pull = ; + }; + }; + uart4_gpio8: uart4_gpio8 { + pin-tx { + brcm,pins = <8>; + brcm,function = ; + brcm,pull = ; + }; + pin-rx { + brcm,pins = <9>; + brcm,function = ; + brcm,pull = ; + }; + }; + uart4_ctsrts_gpio10: uart4_ctsrts_gpio10 { + pin-cts { + brcm,pins = <10>; + brcm,function = ; + brcm,pull = ; + }; + pin-rts { + brcm,pins = <11>; + brcm,function = ; + brcm,pull = ; + }; + }; + uart5_gpio12: uart5_gpio12 { + pin-tx { + brcm,pins = <12>; + brcm,function = ; + brcm,pull = ; + }; + pin-rx { + brcm,pins = <13>; + brcm,function = ; + brcm,pull = ; + }; + }; + uart5_ctsrts_gpio14: uart5_ctsrts_gpio14 { + pin-cts { + brcm,pins = <14>; + brcm,function = ; + brcm,pull = ; + }; + pin-rts { + brcm,pins = <15>; + brcm,function = ; + brcm,pull = ; + }; + }; +}; + +&vec { + interrupts = ; +}; + +&usb { + interrupts = ; +}; + +&hdmi { + interrupts = , + ; +}; + +&uart1 { + interrupts = ; +}; + +&spi1 { + interrupts = ; +}; + +&spi2 { + interrupts = ; +}; + +&sdhci { + interrupts = ; +}; + +&i2c0 { + interrupts = ; +}; + +&i2c1 { + interrupts = ; +}; + +&i2c2 { + interrupts = ; +}; + +&mailbox { + interrupts = ; +}; + +&sdhost { + interrupts = ; +}; + +&uart0 { + interrupts = ; +}; + +&txp { + interrupts = ; +}; diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 4329b17..2eea7b7 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -53,7 +53,7 @@ #address-cells = <1>; #size-cells = <1>; - txp@7e004000 { + txp: txp@7e004000 { compatible = "brcm,bcm2835-txp"; reg = <0x7e004000 0x20>; interrupts = <1 11>; From patchwork Mon Jul 22 17:07:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11053095 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 13FD11398 for ; Mon, 22 Jul 2019 17:10:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E783327F2B for ; Mon, 22 Jul 2019 17:10:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6DD7285B7; Mon, 22 Jul 2019 17:10:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7AC8027F2B for ; Mon, 22 Jul 2019 17:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=i/9ZlcSWHQReHwWyvRWI6cVyrHRhHrrZzQXc2Y7V/FQ=; b=NN3Eb26F6PTHMrWtTdFIfLeu0W UKKDwMXeOUTqUui8Dh0XfSdji2Oxov8r+aSHVtSXMWbUDZ+oJ2e1XmzblJYrx6y93I/MELsIJmWOv qs8wXzkDbVdlzh7IOo8KdLQLuRLdMNBQ+bfp6ttaFGcF4X6maj3l4Xd76SiYdd6n2ug7RI4sOhftU Zk2MnJVfNS1/xXdbAUoR64B90ynZfnwDYxAacv6AvrfX/0ZLjZt2AnI3G6XsFkOGIUzJ1Ombsir2M N/iMtTMEZQT86jPfpB0KX/uPkPPf4rOkcFwhMJy8kGlVBWhvRy1jaSq3ZGh3IGHJfsdOSPfQqbrk3 YB1XWODw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpbp4-0003jf-PG; Mon, 22 Jul 2019 17:10:03 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnb-0002cE-Cv for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2019 17:08:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563815285; bh=zsRxR3IHUAe+a4FnhRTcZN5Fxop1p9dlP5W0ADx11B8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=HkA2EOPGkQW7Kxs2i52RN4Xrt3jo8I8b3MAZCO9Br/unOvNEymwZiXVOUzPRTXP/w 7dYb06Ne1AQPdVEKBNlzEcUeHEf52e4/cBjyEPRC3ICeTUVRMD5jUKVj8zUl4vug7b uFvwsvFvMAeuMvtPJ4Wphvbj05cMKHJEImTBar/w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.131]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LbdiB-1iIIpi2r7r-00lFaU; Mon, 22 Jul 2019 19:08:05 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Matthias Brugger , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter Subject: [PATCH 17/18] arm64: dts: broadcom: Add reference to RPi 4 B Date: Mon, 22 Jul 2019 19:07:36 +0200 Message-Id: <1563815257-2648-5-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> References: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:7MG2Ce6sSm6kLNUB5FUMw5yNU+n92zlKvjeqC9ekbtO5t9JKqQa ZnQrUfY9IDM0QbTqL1ZhUy9jHxesahAs51UcqjJt7XaYepppz2y+P15z91/iBYOP2zZ7kFl 4qxLgy289cnHXi5nIbkheWfMZ1mP4Bu2tAASIrXuIUU74NX01UJqoG37WfaTP5n2qC293Gv ztA81Op6gAkImpFGYqLFQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:nBKYU/5lt2k=:vZhkVKq/GToArQD57WlEMM 7OvrhxwLyRdEw4FYj/Vf0sNUDFt0gC9QKl0z85IHiSFK1pk7/CIr2JnhLgm2Z02NpfAdL1Tad j41c2/4AnDm/mlAblGH21t6IDq1LCW1hBcks4oZF4FmjNRqgCJ5rzQ39w1gP9BLuxHFujLiPx mwig25txf18JLcBArW7kijrYsGBJYtE0NDEazVF+RDX6GFy78UstBBNauFmJzpaFVYevFTR6E BjD5yC890IX7OrhPtDWxNpmLDhGpA7GDSVSLAHo1CG6V9000AXpipE6hnM6rVCbZ323+t+uxA QJdspflmLxAWIWia4wasFHKJICCKrYgMyHd+LSjoVE8RbV7yKMPuCMiQ20TlwVG1eBqQlkjwN Wh3IBAYROHXT3dJ86A5mQVwcMgBHUl3W5Ecm57+iZBJz9OYeVf4IzFs4bj71xvMjv00NO0ojN ot7V4x3/1peFoeByxmqB9oyYRf3ufoxlCKQQkMUnO73H9GkWw72W60Dnd0YYKZbxoB4auG7G1 DexzoAoEFKs/d/C4JcZikicVbPLhpm+5xZNviemD/1XKO6m3htFu3zMXaeF+ATZJiOQ9CYYXY UlG7NT2kw9o04mAo3Bfnzfi/wMzxn0p2WiJn8n5QMoPTgOjJnGTyXsqPnXmHbqpuoo22M+Q/K ddsgX1ExjAM0b0TF0vuBi6MMtn8BIOq5AGVFtBE+1QG0WnyPAHZ8BIh6erJCdqbW/7QVTlyml PlMTvNcWZOCJZJKQeZAM8YrlCd6M9SIsw9RUa64miSopZqfLZK8iYRQPuaZ+2PCu8lVhawyd1 uz1gnXWhCIHTiPs+CyKKbHlm5cGK5PqN/axI9gOWR+G/CcgejrtEeDG1sEqzgvVqFi3sygdjN 6jWI3PKoUqDO1d1yA8RzMXub/QmXZWsUlLggtcThCgF81dhPq6vUYdukxovFhivf+azss4131 ymDmh80uQJLEj5aVMf7JwUX532HiYIOvSJrP3/yf5ChafZA8JAFlu6dPGL1oZlXxwOF2PvW8x EbH11NFXqPGF4fJF4Vpye2LlApbMgsC61dxCFpzeP2AMuBpDggHgQvvTw72uD+/g62hj1eJAo /C8zFD0nnLs/8M= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_100832_001965_2D4768F6 X-CRM114-Status: GOOD ( 13.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds a reference to the dts of the Raspberry Pi 4 B, so we don't need to maintain the content in arm64. Signed-off-by: Stefan Wahren --- arch/arm64/boot/dts/broadcom/Makefile | 3 ++- arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts -- 2.7.4 diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index d1d31cc..cb7de8d 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-a-plus.dtb \ +dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-4-b.dtb \ + bcm2837-rpi-3-a-plus.dtb \ bcm2837-rpi-3-b.dtb \ bcm2837-rpi-3-b-plus.dtb \ bcm2837-rpi-cm3-io3.dtb diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts new file mode 100644 index 0000000..d24c536 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts @@ -0,0 +1,2 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "arm/bcm2711-rpi-4-b.dts" From patchwork Mon Jul 22 17:07:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11053093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C53D6138D for ; Mon, 22 Jul 2019 17:09:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8FC5285A9 for ; Mon, 22 Jul 2019 17:09:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BCED27F2B; Mon, 22 Jul 2019 17:09:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4705327F2B for ; Mon, 22 Jul 2019 17:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=HfDNOUSubQ8ho5Tv4PuBtriNqy96DkVzWFIiRKBSy7M=; b=QKnkItkWxlnUrtIYmfFYt9oyTR BkIPTFyPr1Ql2Ac5xa/0R0MM+XHjE3FK/SbxPQoB+SNG+kz4Y6iGg+RbSoZVz9LY6/KhxgoSNrffV UkFdZwh/O4vIdFkjJS5gAxoG/qZwvspOafJwPLuIbkIuMy1MvISU6THEtTCcC4t7qrJ9kcMCwwV+s Cd3eRrNtWd+lFd2CJnc/cH5Bq9cOAHFN6M23GeO/zV7WzUw4u/7z9S3EgxQNeL8yFJ5gwb63sg4JM U0zryuO88C40b8TM9wvr+WRH+LuAv9AisMsET1H5w7gVwQlaX5W5YrJgNygFjRA89C8V6OiU0KQUd JAnzG5Mw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpbok-0003P5-LP; Mon, 22 Jul 2019 17:09:42 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpbnb-0002cd-HL for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2019 17:08:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563815286; bh=4VYJOdem6Xvc5GKoj1MdJCoWa0bgBVw0372KSDnlJ88=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=dT5CNo+XipWN1OV+kWC/xTbmr171UUPd4rLxqIlHPRHOeZ9VXfTHywbuB1/iAQ9qX 9gWc0zg9HsA2Ja5eJ50itsGVP4ArATzz7IkW1QcQdpgbEqIWJsIfvnyNjQPGB89rFG 8SgJ3sNBmsPXGw4XskSmBgSu1Q26eLuRbIRgQVxs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.131]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LjZn2-1iQrQE1P8y-00bf57; Mon, 22 Jul 2019 19:08:06 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Matthias Brugger , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter Subject: [PATCH 18/18] MAINTAINERS: Add BCM2711 to BCM2835 ARCH Date: Mon, 22 Jul 2019 19:07:37 +0200 Message-Id: <1563815257-2648-6-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> References: <1563815257-2648-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:fbWcM/cwfxzKEcCXiGWjElKaqnnMSGp6SBPLjHXtY6V0WTR4A57 Yy5eUXpIK+3iJ9vTCeUK1ByJG90AOX+sHjh2tLSNbaBXJQ3fmWVetFgcx2moLcsZacRrU+R 42bEaYNipWRmmNbvfu2HKjqzeoLD5id2nGJ2zUpu3qNGi6FNPdSivtbmmdvhmffBXSTUCY3 gTkhUHipdSygxEPTeOUYA== X-UI-Out-Filterresults: notjunk:1;V03:K0:D/ohtluw/Ec=:4Ocp42Dy8WgDSuv8+nxqrY cMaOdkkrsSp7k4iYVGxoZLgvdMfFsoPupdiPCfJMSnuooEN7b5V3AN9Y69oauLJNdSRCuwHiz uQ5xt/ZhYybLSverOoxLk4/2NvtTZ3Fm1dd+Q+0u5J2ys/c+lZP249co127e/Atw7u9j0xQ6z qYcVnSIOBjmiTipP+qz8H5xxGTygxsgtbXm2ZWh02VSawaJSe0K1+Z1l4ICFpuBsJnrg2tNMu q+TV88gBr2X37mIfcxKA+BYEg+7eYahu2KftSG2I/Bj6vmVJxJS3t/8xcVLEIU/fPF8YKssyZ 15Cd2n+QnJj+eZeJN6wzX7PH3llr/ER725gGRSnrIv1j6BXiuLeuFo/S0c/A+WgfCQCd/TZba PfQT7CtlJOf3AFk6fdBOLHVG1UQD4AQGCJtchz4lGPAztJSFgrJriD+H1hEM2+ELUal+NLk+4 XkKXe4NdCVE2MTAa39G/qyUyTwVP4ePtgKlClSultFtaJmz6Bee4LdAbIXcrx4/+bCh0znqfe zsCExpbogOAP4PnKQTqj2D5t9MZWjOyiDc8c/nbYZqN/cjgb22fulQyTfdvx8g0Mm+MXhNO/k 6JArpHNiJcje/Z9Z/604Ca9f29CZ2h6CplnTGbNDYneOyx8JxWyXcXesRJK3q+Bk1B8LagyRZ +bTQMBSjxq41Ci6/wssSjCKSgOBJWmP3YegZCaBJ9AvKXFXkP5qr4D8Hu33BS9T25CmLkgu7/ IG4ocusXeusw4WVxjOvivKEhnS1zZIe1N2+8HfZvAjlWUSKWT1XZdzd285RqQH6yd9OZ02j8R F7EdsHoxfdM3jA1wO7n20c9nz5fr3b9i63GkfVhOGmAIBqU2X8CuxVGFqLvRFjFQhbiB26DJN f6pRAxVPmPRoWuHh4pr4dAdpOxDPhjGw2bnv2lO9Qk+H2ef4SB+uH8T/9oHyhyMPyfn//1Tfx t4P2TXEQn0+EO8zaQSFY+Kzb9fdLe8qOhzPnAp9Ip8lOGKvjtVNNXdoAf4/qmiDKCMPffJOPj cfjpTcgFAAb50PcWVE8U6oylj6t/pXYTJG/Fxk1nvwYxUIO12nQgHsk6REbY1ZkP8S55EycIQ AJKEemX9d3gTn8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_100831_980447_CC8B8502 X-CRM114-Status: GOOD ( 12.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Clarify that BCM2711 belongs to the BCM2835 ARCH. Signed-off-by: Stefan Wahren --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/MAINTAINERS b/MAINTAINERS index c6fa7e8..ef75b7b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3137,7 +3137,7 @@ N: bcm216* N: kona F: arch/arm/mach-bcm/ -BROADCOM BCM2835 ARM ARCHITECTURE +BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE M: Eric Anholt M: Stefan Wahren L: bcm-kernel-feedback-list@broadcom.com @@ -3145,6 +3145,7 @@ L: linux-rpi-kernel@lists.infradead.org (moderated for non-subscribers) L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) T: git git://github.com/anholt/linux S: Maintained +N: bcm2711 N: bcm2835 F: drivers/staging/vc04_services