Skip to content

Commit

Permalink
ARM: bcm2835: dt: Add Raspberry Pi Model A+
Browse files Browse the repository at this point in the history
Essentially the same as B+.

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 3f37169 commit 1cd99ab
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ dtb-$(CONFIG_ARCH_AXXIA) += \
dtb-$(CONFIG_ARCH_BCM2835) += \
bcm2835-rpi-b.dtb \
bcm2835-rpi-b-rev2.dtb \
bcm2835-rpi-b-plus.dtb
bcm2835-rpi-b-plus.dtb \
bcm2835-rpi-a-plus.dtb
dtb-$(CONFIG_ARCH_BCM_5301X) += \
bcm4708-asus-rt-ac56u.dtb \
bcm4708-asus-rt-ac68u.dtb \
Expand Down
30 changes: 30 additions & 0 deletions arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/dts-v1/;
#include "bcm2835-rpi.dtsi"

/ {
compatible = "raspberrypi,model-a-plus", "brcm,bcm2835";
model = "Raspberry Pi Model A+";

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 = <BCM2835_FSEL_ALT0>;
};
};

0 comments on commit 1cd99ab

Please sign in to comment.