ARM: bcm2835: dt: Add Raspberry Pi Model B rev2
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 11 Oct 2015 19:37:16 +0000 (21:37 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 14 Oct 2015 22:35:56 +0000 (15:35 -0700)
This one has an extra P5 header (unpopulated) with I2S.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Eric Anholt <eric@anholt.net>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts [new file with mode: 0644]

index 233159d2eaab3eac34d47c4d4a9308b0d1bdec60..23d649344914ca4d76dc5b03cd7afbcb44fafbc9 100644 (file)
@@ -58,6 +58,7 @@ dtb-$(CONFIG_ARCH_AXXIA) += \
        axm5516-amarillo.dtb
 dtb-$(CONFIG_ARCH_BCM2835) += \
        bcm2835-rpi-b.dtb \
+       bcm2835-rpi-b-rev2.dtb \
        bcm2835-rpi-b-plus.dtb
 dtb-$(CONFIG_ARCH_BCM_5301X) += \
        bcm4708-asus-rt-ac56u.dtb \
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts b/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
new file mode 100644 (file)
index 0000000..eab8b59
--- /dev/null
@@ -0,0 +1,23 @@
+/dts-v1/;
+#include "bcm2835-rpi.dtsi"
+
+/ {
+       compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835";
+       model = "Raspberry Pi Model B rev2";
+
+       leds {
+               act {
+                       gpios = <&gpio 16 1>;
+               };
+       };
+};
+
+&gpio {
+       pinctrl-0 = <&gpioout &alt0 &i2s_alt2 &alt3>;
+
+       /* I2S interface */
+       i2s_alt2: i2s_alt2 {
+               brcm,pins = <28 29 30 31>;
+               brcm,function = <BCM2835_FSEL_ALT2>;
+       };
+};
This page took 0.027582 seconds and 5 git commands to generate.