8617377
From patchwork Wed Feb  8 22:40:24 2017
8617377
Content-Type: text/plain; charset="utf-8"
8617377
MIME-Version: 1.0
8617377
Content-Transfer-Encoding: 7bit
8617377
Subject: ARM: dts: Add devicetree for the Raspberry Pi 3, for arm32 (v3)
8617377
From: Eric Anholt <eric@anholt.net>
8617377
X-Patchwork-Id: 9563699
8617377
Message-Id: <20170208224024.30415-1-eric@anholt.net>
8617377
To: Florian Fainelli <f.fainelli@gmail.com>, Rob Herring <robh+dt@kernel.org>, 
8617377
 Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org
8617377
Cc: Stephen Warren <swarren@wwwdotorg.org>, Lee Jones <lee@kernel.org>,
8617377
 linux-kernel@vger.kernel.org, Eric Anholt <eric@anholt.net>,
8617377
 bcm-kernel-feedback-list@broadcom.com,
8617377
 linux-rpi-kernel@lists.infradead.org, 
8617377
 linux-arm-kernel@lists.infradead.org, Gerd Hoffmann <kraxel@redhat.com>
8617377
Date: Wed,  8 Feb 2017 14:40:24 -0800
2c530ad
8617377
Raspbian and Fedora have decided to support the Pi3 in 32-bit mode for
8617377
now, so it's useful to be able to test that mode on an upstream
8617377
kernel.  It's also been useful for me to use the same board for 32-bit
8617377
and 64-bit development.
8617377
8617377
Signed-off-by: Eric Anholt <eric@anholt.net>
df68cbf
---
8617377
8617377
v1: Gerd's patch that put the ../../../arm64/... link in the Makefile
8617377
v2: Michael's patch that #included from ../../../arm64/... in a new
8617377
    bcm2837-rpi-3-b.dts.
8617377
v3: Mine, using symlinks to make sure that we don't break the split DT
8617377
    tree.
8617377
8617377
 arch/arm/boot/dts/Makefile            | 1 +
8617377
 arch/arm/boot/dts/bcm2837-rpi-3-b.dts | 1 +
8617377
 arch/arm/boot/dts/bcm2837.dtsi        | 1 +
8617377
 3 files changed, 3 insertions(+)
8617377
 create mode 120000 arch/arm/boot/dts/bcm2837-rpi-3-b.dts
8617377
 create mode 120000 arch/arm/boot/dts/bcm2837.dtsi
df68cbf
df68cbf
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
8617377
index 6576e3f000c9..416fdcedf5a1 100644
df68cbf
--- a/arch/arm/boot/dts/Makefile
df68cbf
+++ b/arch/arm/boot/dts/Makefile
8617377
@@ -70,6 +70,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
da8efd5
 	bcm2835-rpi-b-plus.dtb \
df68cbf
 	bcm2835-rpi-a-plus.dtb \
9ed1be9
 	bcm2836-rpi-2-b.dtb \
8617377
+	bcm2837-rpi-3-b.dtb \
8617377
 	bcm2835-rpi-zero.dtb
df68cbf
 dtb-$(CONFIG_ARCH_BCM_5301X) += \
df68cbf
 	bcm4708-asus-rt-ac56u.dtb \
8617377
diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
8617377
new file mode 120000
8617377
index 000000000000..ceebc0e163fb
8617377
--- /dev/null
8617377
+++ b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
8617377
@@ -0,0 +1 @@
8617377
+../../../arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
8617377
\ No newline at end of file
8617377
diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi
8617377
new file mode 120000
8617377
index 000000000000..53f1cd2bba47
8617377
--- /dev/null
8617377
+++ b/arch/arm/boot/dts/bcm2837.dtsi
8617377
@@ -0,0 +1 @@
8617377
+../../../arm64/boot/dts/broadcom/bcm2837.dtsi
8617377
\ No newline at end of file