summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm2836-rpi-2-b.dts
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-04-17 00:26:45 +0200
committerArnd Bergmann <arnd@arndb.de>2015-12-31 17:17:00 +0100
commit80534f095f182d9067a9ea02073b37f771f77d40 (patch)
treec6d609a489c0f1de9205f6586069b95d335023f4 /arch/arm/boot/dts/bcm2836-rpi-2-b.dts
parentARM: bcm2835: Move the CPU/peripheral include out of common RPi DT. (diff)
downloadlinux-80534f095f182d9067a9ea02073b37f771f77d40.tar.xz
linux-80534f095f182d9067a9ea02073b37f771f77d40.zip
ARM: bcm2835: Add devicetree for bcm2836 and Raspberry Pi 2 B
The Pi 2 B ends up like a Pi 1 B+, with the same peripherals and pinout, but the CPU and memory layout changed to use the 2836. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/bcm2836-rpi-2-b.dts')
-rw-r--r--arch/arm/boot/dts/bcm2836-rpi-2-b.dts35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts
new file mode 100644
index 000000000000..ff946661bd13
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts
@@ -0,0 +1,35 @@
+/dts-v1/;
+#include "bcm2836.dtsi"
+#include "bcm2835-rpi.dtsi"
+
+/ {
+ compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
+ model = "Raspberry Pi 2 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";
+ };
+ };
+};
+
+&gpio {
+ pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
+
+ /* I2S interface */
+ i2s_alt0: i2s_alt0 {
+ brcm,pins = <18 19 20 21>;
+ brcm,function = <BCM2835_FSEL_ALT0>;
+ };
+};