Skip to content

Commit

Permalink
ARM: bcm2835: dt: Add Raspberry Pi Model B rev2
Browse files Browse the repository at this point in the history
This one has an extra P5 header (unpopulated) with I2S.

Signed-off-by: Lubomir Rintel <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
  • Loading branch information
lkundrak authored and anholt committed Oct 14, 2015
1 parent 645dccb commit 3f37169
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
23 changes: 23 additions & 0 deletions arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
Original file line number Diff line number Diff line change
@@ -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>;
};
};

0 comments on commit 3f37169

Please sign in to comment.