devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: bcm2835: dt: Add Raspberry Pi Zero
@ 2016-02-04  7:39 Lubomir Rintel
       [not found] ` <1454571546-25481-1-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Lubomir Rintel @ 2016-02-04  7:39 UTC (permalink / raw)
  To: linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Eric Anholt, Stephen Warren,
	Lubomir Rintel

Notable difference from the other Raspberry Pi boards is the lack of PWR LED.

Signed-off-by: Lubomir Rintel <lkundrak-NGH9Lh4a5iE@public.gmane.org>
---
 arch/arm/boot/dts/Makefile             |  3 ++-
 arch/arm/boot/dts/bcm2835-rpi-zero.dts | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/bcm2835-rpi-zero.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d000814..5d38b88 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -64,7 +64,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
 	bcm2835-rpi-b-rev2.dtb \
 	bcm2835-rpi-b-plus.dtb \
 	bcm2835-rpi-a-plus.dtb \
-	bcm2836-rpi-2-b.dtb
+	bcm2836-rpi-2-b.dtb \
+	bcm2835-rpi-zero.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-zero.dts b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
new file mode 100644
index 0000000..f9afc1a
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
@@ -0,0 +1,24 @@
+/dts-v1/;
+#include "bcm2835.dtsi"
+#include "bcm2835-rpi.dtsi"
+
+/ {
+	compatible = "raspberrypi,model-zero", "brcm,bcm2835";
+	model = "Raspberry Pi Zero";
+
+	leds {
+		act {
+			gpios = <&gpio 47 0>;
+		};
+	};
+};
+
+&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>;
+	};
+};
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-20 21:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04  7:39 [PATCH] ARM: bcm2835: dt: Add Raspberry Pi Zero Lubomir Rintel
     [not found] ` <1454571546-25481-1-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
2016-02-04  8:49   ` Noralf Trønnes
2016-02-07 10:33   ` Stefan Wahren
     [not found]     ` <841429508.164723.e944b9b3-11a0-4dc4-8c6d-62cb30e79b12.open-xchange-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
2016-02-18  3:02       ` Eric Anholt
2016-07-19 18:30   ` Stefan Wahren
     [not found]     ` <27632472.326220.2e5ba31c-16b8-46a6-a38b-8aa5236ec996.open-xchange-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
2016-07-20 19:36       ` Eric Anholt
     [not found]         ` <878tww6r0v.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2016-07-20 21:12           ` Stefan Wahren
     [not found]             ` <182687649.301236.37df541a-c292-4f81-b3d7-fcea47416b49.open-xchange-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
2016-07-20 21:30               ` Eric Anholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).