summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-10-11 22:37:17 +0300
committerEric Anholt <eric@anholt.net>2015-10-15 01:35:58 +0300
commit1cd99abb5c94733a43ee4dc81dd62e0f7d8c9ff0 (patch)
tree3adc05ee23bcd699178b19095e6fe78bb9406ad2 /arch
parent3f37169fb36497dec8f3fad14d835747d5552aa5 (diff)
downloadlinux-1cd99abb5c94733a43ee4dc81dd62e0f7d8c9ff0.tar.xz
ARM: bcm2835: dt: Add Raspberry Pi Model A+
Essentially the same as B+. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/Makefile3
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-a-plus.dts30
2 files changed, 32 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 23d649344914..aaaf299775f9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
new file mode 100644
index 000000000000..b2bff43b135c
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
@@ -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>;
+ };
+};