From patchwork Thu Nov 15 23:00:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10685277 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 8C67213B5 for ; Thu, 15 Nov 2018 23:02:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7CFFA2D5FE for ; Thu, 15 Nov 2018 23:02:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 70A6F2D60A; Thu, 15 Nov 2018 23:02:07 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 263022D5FE for ; Thu, 15 Nov 2018 23:02:07 +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=sEv5JymjXjtyBLDSVkK8vwo/dC7cBHo8wHDk+6I40NQ=; b=aOI6dEwfXZfy8rBCOP3WQyZtcK 9PjJANayiedXcUwZDqGGEWJdq2J3da6FY1lTxLut2n+6cQSmNIrnf2Tm6se1mdOZbCIHYrNmOcBKp EMhp9FO0pG0Dabu5uimlJ9dSn71d3ItUUmfDpWtkMj6GyNjlgBAsA4xA4eIIb2Md/H1q1mwwL8Ntl 8H+LcXnz5XlK+iuo5yS3ijHwlOeMVX3vLTdLd3u13imdBB5/1wVJNSFTM93jg3A22ok8uRl5SFQF5 90sNJIcolfu42EAaL4EMjjY4HEO525zh/0MpvG1eQNGtU+y58AIFHfsqfEeGZfhdWkaGGxUQD8DG4 cA/Qgm/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQe1-0006Cs-2d; Thu, 15 Nov 2018 23:01:53 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQd3-000562-Ip; Thu, 15 Nov 2018 23:00:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=sSSHHM2la0WeROyzmYWM96YEvxB2bAItSjxNXPrMErU=; b=LJXozM5aAIgzcsZnEtrdUlClg nv1RfHupRbugz29oTAuAKD9kOUL8za14//nK0fzMhqxlK58rx8/5by9THsGIOTd4n693eGsRk0Nd8 m5epcVJkIksJeM36XcY6VHg0NhEhkwTDvM8MKY6RBjR9rHRBgbH6uWsQ9csBlnz0Sb0yiPhOdi4er foxw6nbb46auM6DT0gnlaxCt9nyunw0fDYozqwnuzqgy+nAF8cCWPfSJVrCzorhp4AhZ52JLyzIyc N1NRY+lfusOb9aEZZOybZQfBKneaQCkHGFmN40G8RdbmpFe1F/1xsLEqDeHRigyRvAsAWtJ74VLh6 ymKKOFqeA==; Received: from mout.kundenserver.de ([217.72.192.74]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQcz-0000P0-Ti; Thu, 15 Nov 2018 23:00:51 +0000 Received: from localhost.localdomain ([37.4.249.153]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N3sVq-1fNak13wTA-00zlz0; Fri, 16 Nov 2018 00:00:30 +0100 From: Stefan Wahren To: Rob Herring , Mark Rutland , Florian Fainelli , Ray Jui , Scott Branden , Eric Anholt , Phil Elwell , Arnd Bergmann Subject: [PATCH V2 1/3] dt-bindings: bcm: Add Raspberry Pi 3 A+ Date: Fri, 16 Nov 2018 00:00:02 +0100 Message-Id: <1542322805-6211-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542322805-6211-1-git-send-email-stefan.wahren@i2se.com> References: <1542322805-6211-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:4I7QrXYH2W429NNY/DFyHgKI6BImmBunfJDIQ38JVYgyHppB9oA amvUmr8EDtKe6LxaE5P6ZMjOCFs33Z/u3eOdkIJTP6lR02myD22MB4vKvIy6h56bRhPRbZ5 MgN1URee8Nk62PcHfZzg6bp7dJzH9GSvCEtPm2dlisPiqvGTHFhh7kq2zAEbyRfMhU1OvwB Q+cJqJISXtKa/ED3XzF/Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:hjnUbWnJbVc=:q3DISlFZeBqGhumr6aGx1J M8Gmm+bLJfnsiPg+6NFWAAs1Qs5GaGbpfJUw9tIQIm1OeJDr15ae7YbY2gZjnHvwDxRjXVJnb r1dklac61K4Sj/Htwx+6qxqJUcpsMkFMDQc26tq6D4qHIDWMmYrATKDUnq+Ic5NTtvVxp8jEj C6EBW4ljAd86WDKY72efjjWQJtIJ7tSZsCz2YQRhzrq4mJ8mVvaIxM9n28HfTtL0OH7iNDzhx RdZhlHQ/WqCLVJCaYul8JB0zclnIVUsoR1AMj4boyso0WaB4JYNJp7A4z+G3KE7xhYTF2x+n/ fGt6RWeWi3TZ3k8YzVxTcySDJhYdH9RXyu8vGcyTLWKi16P6ekYcz0M7/KVze+O/2uyIoRsvc DvJdQ+dqSvYTHRx45krz36hjZOUvK0mpExROb9VwKHhMcWwR7VyfnF2Qp9MmgGLpf9GRVY6Ab o9dHSgcuG77/3CvwfYRXsA4HxUe21iIFGyssrEe+jJElqCFK4HIS43yKO1FgPuGrFZV61v9nN JwqnFwplIb8IOw3UHdjZEy62CxWT5+nWdvAFDOC7KFfoKYOeFVYjO4Z8x46BZrrZ80iekfJFQ iwqkzP24tEEe862W3BuFpw8NAmL1X3bceaslB1FPQo25dlJNM2MAXgR1Gic2FDeZ2M9VJ7cbK FzIQmDJBYIrpZlHmTJ1IN7zXFAG9HwbOhuIWXPHHnD7uzLqhr2XS861B7eSMJyFamTriCA4XS 4WchN22YdlUHmJe+UU6TtxdrNYH7o0w5jE6rFpkkLAPleLrGejPVEs+mZBl4gm9Kx3VA8mDy9 mZXlvbQBgd4WjOXiYEkZd/fu9q4Lg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_180050_693902_AA0387F5 X-CRM114-Status: GOOD ( 10.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org 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 the root properties for the Raspberry Pi 3 A+ . Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt index 0dcc3ea..245328f 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt @@ -30,6 +30,10 @@ 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"; From patchwork Thu Nov 15 23:00:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10685271 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 33E5C13B5 for ; Thu, 15 Nov 2018 23:01:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25D292D5AF for ; Thu, 15 Nov 2018 23:01:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19C222D5E9; Thu, 15 Nov 2018 23:01:04 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 9DF1C2D5E0 for ; Thu, 15 Nov 2018 23:01:03 +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=Fy8Rzb9qUuFVFocweYlqkJiSUgBRFBLG6fZGvIOrOIc=; b=lCX/OFX0Li2/xfOhe1rXTluz/G N8ARG4cha0xCdh93C4I3FDukDcEcRIxvGDZO+Cz9Dl/ZQHBWI7UqkjF9wd7ewhxnnLNKALGR2mD1g wmRY7vqP9vEcD3eYbZIyg17jylo5Kq1TVhkpGgFTmsF7Sifm6gOQdTCfqHi+UqqY1VBbcrXFP+njm 1qUEACaxrwKWSq4/f6d9l+Cx5BbnuA5bOwBAffufd02uIP+wHHbye0Hn9LZ4PWXfX7IRZyJ7Is32o oL/JlsA0qOpe/42A2uND4evkdCKladK6kjZfiBEwCSKc6IS6mGpunGrk7EfAalXMb8D52ssBaluIL OfZXWPMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQd4-00057h-2S; Thu, 15 Nov 2018 23:00:54 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQd1-000551-Fv; Thu, 15 Nov 2018 23:00:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=6c/dFOrIr5qPOCKMLmk55UwbcyAOlQ6myU2Kh/AC+VY=; b=fmjETxEJvZQCAr01k6KCIJhZD N8HKwLi1WcCPjQdhqKbx41TI91gTJsnohaBHIGdrr1ti2ED0zaf3f0Bkj0VTX4RMC3SFbxMn2+jYe RPZNj6ukxmvKkIrQr0WRSNouU8mS/DP4xOcqpBfaISzoiW9LIxdJe00HTB3ZUyJB7N448UfRWlxDo Gs4/Arzfcdpo4WmI3aUcQXEKbF+a60yklBQocPp2afpaLP1G/MemuiNCjW1cAblFFSU0bik3YLHi7 8WVYzBuZ/oR1DXB9/qX+CdqWnDwAY31RZ9pe7qmX2164jsjMmv6QKEsZcai4LUaKi/iTJk58BYO7H 8j5NlRBGQ==; Received: from mout.kundenserver.de ([217.72.192.73]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQcy-0002is-Kh; Thu, 15 Nov 2018 23:00:50 +0000 Received: from localhost.localdomain ([37.4.249.153]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MAwTn-1gC71j1hhR-00BODb; Fri, 16 Nov 2018 00:00:30 +0100 From: Stefan Wahren To: Rob Herring , Mark Rutland , Florian Fainelli , Ray Jui , Scott Branden , Eric Anholt , Phil Elwell , Arnd Bergmann Subject: [PATCH V2 2/3] ARM: dts: add Raspberry Pi 3 A+ Date: Fri, 16 Nov 2018 00:00:03 +0100 Message-Id: <1542322805-6211-3-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542322805-6211-1-git-send-email-stefan.wahren@i2se.com> References: <1542322805-6211-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:JRuuYsxnMrpaYSe2tcgFac28RY4+wIbmJjgqHjqc8qkUG5Vowp1 IsyXL/1/kot3Sx6suRJHEwELAfTRMzzicw7fnuEO/p3ec0HHkn72UmuCGryQkNeZK+llEM2 qK+kl+PrfuNeCM21d8y9QPy+BCV5Wi3MbLpiL3iou84AgMfFYEXshYyEhfpNTd4OwmQKsBf xPDyftijJ68cpFRk14pvA== X-UI-Out-Filterresults: notjunk:1;V01:K0:0K9lObGmg+g=:1ajqw5oSPqTSxIUFJ1e/o+ kpAMiglCYSq3A+0lDGLmBc+uDbmi5fxlez2sklNRZyMNHd/Tv4sNXp0KHHxPXOwKVuIABwJHw sqxBmgJDUMIg5j/lpv7HanT3bZOmg8S6kpSrCfyiJoQrpWJgu7SQp4L24es8WkLU/5dELAaM5 DdbsISljwJm1Mgi3gxShQ6c2UVMZRCQCLeBxTQtAfqY5gm+GJbiBb7LLUEN+bk2QBgkLbpHkd sBnS7cVVuS3PkSlXLNltabF6XJgBgmIlkTiOORc/dLT9JbX2cRMIF2/C5VBKuZNaBWdSuRWJ0 HKCUylZqGkhfMojQkwvNuLQDyKEcKCmI7VHiL+BQsUrtzUb7ShpjGcirYjDDmGsbnrdr6tFeP bZ3qgqVrsY5xEkSmDIuIA3OMZjfLTBmWQDVh5diTd99x/D4FIW85BF/hazThXE8lzRic3i/ED QfXWYDBGm5UbOZWxIqvV7VUKnPKU+tU2bVsyBeZxw5ZZlMP4E8ihrV5/H3hOCll6oJscBBYUW hQFrIG6v5S/9B+EWCs4kxgGJFhwOSj3Yb1jDcPVL4OjXlQE2DNPw95MMNkyLxOGJAUKJTZUQV uLMOk5ybQKscbnUbQ7vjTHWTlgLBR6fOhmYA6Op8CzcZUMpkjLyxGNa2MUBhX9uH9MgXBPghs RZu2CsUHe50/8vEzKhH6uol9/hB2kgFQPxi+MY8ANvcIqzzYYIpAxzKu0m3mnGh5iBg45/HbP mVDW7V/j3HELA4Mt4mysCV8muM8/ur2yU0PF1pwvobshJR4nFTHPdphkYtuaP6Pc+0Mabu50V 7f+FOgSES+xM9ALNK1m83CVAEZjiw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_230048_724254_206D82DC X-CRM114-Status: GOOD ( 17.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org 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 The Raspberry Pi 3 A+ is similar to the Pi 3 B+ but has only 512 MB RAM, 1 USB 2.0 port and no Ethernet. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts | 107 +++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b0e966d..15bbd0d 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -79,6 +79,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ bcm2835-rpi-a-plus.dtb \ bcm2835-rpi-cm1-io1.dtb \ bcm2836-rpi-2-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/arm/boot/dts/bcm2837-rpi-3-a-plus.dts b/arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts new file mode 100644 index 0000000..75785dd --- /dev/null +++ b/arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts @@ -0,0 +1,107 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2837.dtsi" +#include "bcm2836-rpi.dtsi" +#include "bcm283x-rpi-usb-host.dtsi" + +/ { + compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837"; + model = "Raspberry Pi 3 Model A+"; + + chosen { + /* 8250 auxiliary UART instead of pl011 */ + stdout-path = "serial1:115200n8"; + }; + + memory { + reg = <0 0x20000000>; + }; + + leds { + act { + gpios = <&gpio 29 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_HIGH>; + }; +}; + +&firmware { + expgpio: gpio { + compatible = "raspberrypi,firmware-gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "BT_ON", + "WL_ON", + "STATUS_LED", + "", + "", + "CAM_GPIO0", + "CAM_GPIO1", + ""; + status = "okay"; + }; +}; + +&hdmi { + hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>; +}; + +&pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pwm0_gpio40 &pwm1_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>; + 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"; + pinctrl-0 = <&sdhost_gpio48>; + status = "okay"; + bus-width = <4>; +}; + +/* 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"; +}; From patchwork Thu Nov 15 23:00:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10685273 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 3DF1F13B5 for ; Thu, 15 Nov 2018 23:01:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F6772D5DE for ; Thu, 15 Nov 2018 23:01:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 229F82D5EC; Thu, 15 Nov 2018 23:01:07 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 A16F92D5E3 for ; Thu, 15 Nov 2018 23:01:06 +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=+5aXVBDuhsf4X0jMgQ8xR4efumoVVoatzsIltl/K+zM=; b=qf/C2iBLot0H2m0Us0+7CiFsM7 RhkPMqWv/5tkSa6Edv27v598wK0AGLc0jqPsUzNmGZdWcW1m1+bLz3wO4niBxwvfK7pMmScLNkBja hojWgjUMGUTthf9B6JV3wta4n0d+yCrAhlG7f3XF2fSb/DubmpO08xaWID0+PSggQ3tUFyUV30Oxr Q+MrpaZHK1uWKt2E/mOzRkVk1za62paww9gnV7Sc5bTb4m1vOSd9u5Df95YvCOof/y2mCYGETPSv0 7vDNS6wYaf3PWw93KV7P35v7/rHd0C+cHq2PedZuUe/jM1BvdATHFAAoL7hvVBKegeF/T6JDfkXZN coOvCJFQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQdD-0005Il-Mj; Thu, 15 Nov 2018 23:01:03 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQd1-000555-Gz; Thu, 15 Nov 2018 23:00:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=MNIx4bY/HWgemx04uSz2vxUFYDmot4Fy2yECUu/NCME=; b=Jv51Z6YeHmb+o70ySHzKv2rSQ x7VF0Wjr9ZWyfjgavOdM4OSBE+HnicP1UUInM+prB+IiyNeaEFXgHHEdNzN1v1yygI0ewp6h5IYqu EBVkPjHRJmQQf0ez2os2gCsM5Qr0Z23b99DnfbnB8NFTkKA8jJ1gDgd9CZrSu8ibqwTTUdlgbShlg vslcPekS1XKasI+wURaCHhHbYmKviOhqSQqSgncpDkM3z88ceZcdpznkmtdC68LlbrGJRc9igC/29 fzRgqQSz5342scEYxyO81dDRDx6ay0AbYWLp3RQfaQPsycWXa6mMnypNn+f/hKYC5WwZgSaVg+JTh cLXU5WCPA==; Received: from mout.kundenserver.de ([217.72.192.74]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNQcy-0002it-LL; Thu, 15 Nov 2018 23:00:50 +0000 Received: from localhost.localdomain ([37.4.249.153]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mf0FY-1fqoZ23eTC-00gaRM; Fri, 16 Nov 2018 00:00:30 +0100 From: Stefan Wahren To: Rob Herring , Mark Rutland , Florian Fainelli , Ray Jui , Scott Branden , Eric Anholt , Phil Elwell , Arnd Bergmann Subject: [PATCH V2 3/3] arm64: dts: broadcom: Add reference to RPi 3 A+ Date: Fri, 16 Nov 2018 00:00:04 +0100 Message-Id: <1542322805-6211-4-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542322805-6211-1-git-send-email-stefan.wahren@i2se.com> References: <1542322805-6211-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:7EqLibRrlBPoQVF0eVHvCGL+pvGs4uKmxxMhk2zcuBIth8jEp77 FGjo2zVJyOYR1CzI53zm9XABIowwuwi0hb8GKGeiMmHT3VhNDeFGZoW9fLN6F+CcqqQSfiI Esd6/0gH3eZd3G6lUW6sbkieefJ65dMN36d8/cXeirSJUV8/btBv7LnN7NX1q5jlbuZcuOR yRvGUUpQa8Er2ktL8NusQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:pHG603EKLTg=:PlmCgR8FD1dmPppHNqhyoZ zyXtNpLbH4f52YvgT+BnUPBqyhdiNo6Uqu45ScxdQ23oUsYhzojoVAzCw6AAc1rfjJiNZkK9F 0XDSD9G1JrqefrnHxhjUqu4ag4eiS3DtMugXsDvMgjr++hx/PTgAg7tbbIvE065DbsQag1Flx 2O8LjdIty85e/3K0MTw2rg9rmM8IoK6MC7f/H0a1ou8y+HPzbn+vsxHOU0Whm7H+vLYBL/dM1 /mNcEApaX5c0iyIlYSceRGQIGBPkDqt2SiStg0I5LV3QCzhTuXm0grJXR5uDUAeHeWAmKJHUA D34cNVLRUl9B3i9fezUHBk4Gz0zE3rWL3g4J1rdyFMlgqPnKyNtMnFf9YgXl0PJhiavZxD9Je t6XpgZH6eo1VA2U8nNKSILyafHUqwKGRcQomanjZfQITPIn5migDG9kU75tBQA0pLIKdY+V9y sxgJv8VfgFKVo5z5hHZHYCTTqJET8jzYL2uJH4F/MbLl7MrN6o6JhPh5HdM8UQbuJl0o0cQyf +RKudRDDdspG7+OiGcQQQXHIbWlMqCtUlenZhsYqdda8A5pNkXIf2ktBxSTJ8Y09OH/CgYi/I 5WEVVcOW1X6mfZ7Wdl7wK1At3vKt3MU3co552NVOnzOB2u+Bd8wsCSMlY3DPncPhKgMY61fHu tyDXb0meYDEhcUZFVhsdiQVK2NMyj30Aog4Wxj3cKLYUqvPS4rihgMiNuztLyqG1Nsb7SQpqN dzfxUdGE6KQICPHShYko1s62Xu/p/at3b9qwF3nngzLeUb2zPKVREnxki9lT8U+lP5AsO7vyt Ks9MbJKqFCxnlVXdi96Fr++Mtuh7g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_230048_746422_41AF4054 X-CRM114-Status: GOOD ( 15.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org 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 3 A+, 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/bcm2837-rpi-3-a-plus.dts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-a-plus.dts diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index 667ca98..d1d31cc 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-b.dtb \ +dtb-$(CONFIG_ARCH_BCM2835) += 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/bcm2837-rpi-3-a-plus.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-a-plus.dts new file mode 100644 index 0000000..f0ec56a --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-a-plus.dts @@ -0,0 +1,2 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "arm/bcm2837-rpi-3-a-plus.dts"