diff options
author | Matthias Klein <matthias.klein@linux.com> | 2014-11-20 13:52:45 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-11-20 14:17:25 +0300 |
commit | ba2a1d6959acfc387c20eae6480b1c4b3bbc5950 (patch) | |
tree | 8252c652b77f179d6b0324c341b502c0f84e7c8c /arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | |
parent | 498149dd1218625867d5139773c560f9f12193c9 (diff) | |
download | linux-ba2a1d6959acfc387c20eae6480b1c4b3bbc5950.tar.xz |
ARM: bcm2835: Add device tree for Raspberry Pi model B+
The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the
I2S interface.
Signed-off-by: Matthias Klein <matthias.klein@linux.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi-b-plus.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts new file mode 100644 index 000000000000..e479515099c3 --- /dev/null +++ b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts @@ -0,0 +1,30 @@ +/dts-v1/; +/include/ "bcm2835-rpi.dtsi" + +/ { + compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; + model = "Raspberry Pi Model B+"; + + 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 = <4>; /* alt0 */ + }; +}; |