aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2016-08-21 11:10:03 -0400
committerEric Anholt <eric@anholt.net>2016-08-24 16:33:19 -0400
commitc8336249c1eeca288919e3286f7dd03ae1d8ceae (patch)
tree3eebda977177ec01bf7149f40de43f3ffb2688ac /arch/arm/boot
parent33fdf6fd764ed7deea87094f30d7d3dc76e154de (diff)
ARM: dts: bcm2835: Add Raspberry Pi Zero
The Raspberry Pi Zero is a minified version of model A+. It's notable there is no PWR LED and the ACT LED is inverted. Additionally the Pi Zero is capable of the USB peripheral mode. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/Makefile3
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-zero.dts40
2 files changed, 42 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index faacd52370d2..6576e3f000c9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -69,7 +69,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
69 bcm2835-rpi-b-rev2.dtb \ 69 bcm2835-rpi-b-rev2.dtb \
70 bcm2835-rpi-b-plus.dtb \ 70 bcm2835-rpi-b-plus.dtb \
71 bcm2835-rpi-a-plus.dtb \ 71 bcm2835-rpi-a-plus.dtb \
72 bcm2836-rpi-2-b.dtb 72 bcm2836-rpi-2-b.dtb \
73 bcm2835-rpi-zero.dtb
73dtb-$(CONFIG_ARCH_BCM_5301X) += \ 74dtb-$(CONFIG_ARCH_BCM_5301X) += \
74 bcm4708-asus-rt-ac56u.dtb \ 75 bcm4708-asus-rt-ac56u.dtb \
75 bcm4708-asus-rt-ac68u.dtb \ 76 bcm4708-asus-rt-ac68u.dtb \
diff --git a/arch/arm/boot/dts/bcm2835-rpi-zero.dts b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
new file mode 100644
index 000000000000..60e359fafc5b
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
@@ -0,0 +1,40 @@
1/*
2 * Copyright (C) 2016 Stefan Wahren <stefan.wahren@i2se.com>
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/dts-v1/;
13#include "bcm2835.dtsi"
14#include "bcm2835-rpi.dtsi"
15#include "bcm283x-rpi-usb-host.dtsi"
16
17/ {
18 compatible = "raspberrypi,model-zero", "brcm,bcm2835";
19 model = "Raspberry Pi Zero";
20
21 leds {
22 act {
23 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
24 };
25 };
26};
27
28&gpio {
29 pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
30
31 /* I2S interface */
32 i2s_alt0: i2s_alt0 {
33 brcm,pins = <18 19 20 21>;
34 brcm,function = <BCM2835_FSEL_ALT0>;
35 };
36};
37
38&hdmi {
39 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
40};