summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-06-07 14:05:45 +0300
committerEric Anholt <eric@anholt.net>2016-06-08 01:21:55 +0300
commit9d56c22a78616e79b911f8078e883dac75e513e2 (patch)
tree451bf658f5a9f52866556944093b58e86e4f3624 /arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
parent2f4cd8d0a5193bd205f0bf77648763c5f982ae4a (diff)
downloadlinux-9d56c22a78616e79b911f8078e883dac75e513e2.tar.xz
ARM: bcm2835: Add devicetree for the Raspberry Pi 3.
While this devicetree also works for booting in 32-bit mode, it's placed in arm64 since it's a 64-bit CPU (as suggested by Arnd). Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Stephen Warren <swarren@wwwdotorg.org> (v1) Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts')
-rw-r--r--arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
new file mode 100644
index 000000000000..223793dc9041
--- /dev/null
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
@@ -0,0 +1,29 @@
+/dts-v1/;
+#include "bcm2837.dtsi"
+#include "../../../../arm/boot/dts/bcm2835-rpi.dtsi"
+
+/ {
+ compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
+ model = "Raspberry Pi 3 Model B";
+
+ memory {
+ reg = <0 0x40000000>;
+ };
+
+ leds {
+ act {
+ gpios = <&gpio 47 0>;
+ };
+
+ pwr {
+ label = "PWR";
+ gpios = <&gpio 35 0>;
+ default-state = "keep";
+ linux,default-trigger = "default-on";
+ };
+ };
+};
+
+&uart1 {
+ status = "okay";
+};