Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: bcm2835: dt: Add Raspberry Pi Model A

This one is essentially the same as revision 2 B board (with the I2S on
P5 header).

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
[anholt: Rebased on bcm2835.dtsi -> bcm283x.dtsi change]
Signed-off-by: Eric Anholt <eric@anholt.net>

authored by

Lubomir Rintel and committed by
Eric Anholt
7a1298e3 68e2ef17

+25
+1
arch/arm/boot/dts/Makefile
··· 60 60 axm5516-amarillo.dtb 61 61 dtb-$(CONFIG_ARCH_BCM2835) += \ 62 62 bcm2835-rpi-b.dtb \ 63 + bcm2835-rpi-a.dtb \ 63 64 bcm2835-rpi-b-rev2.dtb \ 64 65 bcm2835-rpi-b-plus.dtb \ 65 66 bcm2835-rpi-a-plus.dtb \
+24
arch/arm/boot/dts/bcm2835-rpi-a.dts
··· 1 + /dts-v1/; 2 + #include "bcm2835.dtsi" 3 + #include "bcm2835-rpi.dtsi" 4 + 5 + / { 6 + compatible = "raspberrypi,model-a", "brcm,bcm2835"; 7 + model = "Raspberry Pi Model A"; 8 + 9 + leds { 10 + act { 11 + gpios = <&gpio 16 1>; 12 + }; 13 + }; 14 + }; 15 + 16 + &gpio { 17 + pinctrl-0 = <&gpioout &alt0 &i2s_alt2 &alt3>; 18 + 19 + /* I2S interface */ 20 + i2s_alt2: i2s_alt2 { 21 + brcm,pins = <28 29 30 31>; 22 + brcm,function = <BCM2835_FSEL_ALT2>; 23 + }; 24 + };