diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-10-11 22:37:16 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-10-15 01:35:56 +0300 |
commit | 3f37169fb36497dec8f3fad14d835747d5552aa5 (patch) | |
tree | 98717874e4cf434290fbf3f2eadfb3178bcee2c6 /arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts | |
parent | 645dccb1c132d42dff26ef3d00cf0b903743d99e (diff) | |
download | linux-3f37169fb36497dec8f3fad14d835747d5552aa5.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ +/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>; + }; +}; |