aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-10-11 15:37:16 -0400
committerEric Anholt <eric@anholt.net>2015-10-14 18:35:56 -0400
commit3f37169fb36497dec8f3fad14d835747d5552aa5 (patch)
tree98717874e4cf434290fbf3f2eadfb3178bcee2c6
parent645dccb1c132d42dff26ef3d00cf0b903743d99e (diff)
ARM: bcm2835: dt: Add Raspberry Pi Model B rev2
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>
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts23
2 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 233159d2eaab..23d649344914 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -58,6 +58,7 @@ dtb-$(CONFIG_ARCH_AXXIA) += \
58 axm5516-amarillo.dtb 58 axm5516-amarillo.dtb
59dtb-$(CONFIG_ARCH_BCM2835) += \ 59dtb-$(CONFIG_ARCH_BCM2835) += \
60 bcm2835-rpi-b.dtb \ 60 bcm2835-rpi-b.dtb \
61 bcm2835-rpi-b-rev2.dtb \
61 bcm2835-rpi-b-plus.dtb 62 bcm2835-rpi-b-plus.dtb
62dtb-$(CONFIG_ARCH_BCM_5301X) += \ 63dtb-$(CONFIG_ARCH_BCM_5301X) += \
63 bcm4708-asus-rt-ac56u.dtb \ 64 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
index 000000000000..eab8b5916e8a
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
@@ -0,0 +1,23 @@
1/dts-v1/;
2#include "bcm2835-rpi.dtsi"
3
4/ {
5 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835";
6 model = "Raspberry Pi Model B rev2";
7
8 leds {
9 act {
10 gpios = <&gpio 16 1>;
11 };
12 };
13};
14
15&gpio {
16 pinctrl-0 = <&gpioout &alt0 &i2s_alt2 &alt3>;
17
18 /* I2S interface */
19 i2s_alt2: i2s_alt2 {
20 brcm,pins = <28 29 30 31>;
21 brcm,function = <BCM2835_FSEL_ALT2>;
22 };
23};