All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: bcm2835: dt: Add Raspberry Pi Model A
@ 2016-01-25 20:40 Lubomir Rintel
       [not found] ` <1453754406-3739-1-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Lubomir Rintel @ 2016-01-25 20:40 UTC (permalink / raw)
  To: linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA

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

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

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index a4a6d70..d000814 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -60,6 +60,7 @@ dtb-$(CONFIG_ARCH_AXXIA) += \
 	axm5516-amarillo.dtb
 dtb-$(CONFIG_ARCH_BCM2835) += \
 	bcm2835-rpi-b.dtb \
+	bcm2835-rpi-a.dtb \
 	bcm2835-rpi-b-rev2.dtb \
 	bcm2835-rpi-b-plus.dtb \
 	bcm2835-rpi-a-plus.dtb \
diff --git a/arch/arm/boot/dts/bcm2835-rpi-a.dts b/arch/arm/boot/dts/bcm2835-rpi-a.dts
new file mode 100644
index 0000000..42d6bf8
--- /dev/null
+++ b/arch/arm/boot/dts/bcm2835-rpi-a.dts
@@ -0,0 +1,23 @@
+/dts-v1/;
+#include "bcm2835-rpi.dtsi"
+
+/ {
+	compatible = "raspberrypi,model-a", "brcm,bcm2835";
+	model = "Raspberry Pi Model A";
+
+	leds {
+		act {
+			gpios = <&gpio 16 1>;
+		};
+	};
+};
+
+&gpio {
+	pinctrl-0 = <&gpioout &alt0 &i2s_alt2 &alt3>;
+
+	/* I2S interface */
+	i2s_alt2: i2s_alt2 {
+		brcm,pins = <28 29 30 31>;
+		brcm,function = <BCM2835_FSEL_ALT2>;
+	};
+};
-- 
2.5.0

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

* Re: [PATCH] ARM: bcm2835: dt: Add Raspberry Pi Model A
       [not found] ` <1453754406-3739-1-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
@ 2016-01-25 20:56   ` Stephen Warren
  2016-02-03  1:59   ` Eric Anholt
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Warren @ 2016-01-25 20:56 UTC (permalink / raw)
  To: Lubomir Rintel
  Cc: linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Eric Anholt, Lee Jones

On 01/25/2016 01:40 PM, Lubomir Rintel wrote:
> This one is essentially the same as revision 2 B board (with the I2S on
> P5 header).

Acked-by: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>

I didn't look at the file in detail, but at a quick glance it makes sense.
--
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	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: bcm2835: dt: Add Raspberry Pi Model A
       [not found] ` <1453754406-3739-1-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
  2016-01-25 20:56   ` Stephen Warren
@ 2016-02-03  1:59   ` Eric Anholt
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Anholt @ 2016-02-03  1:59 UTC (permalink / raw)
  To: linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Lee Jones, Stephen Warren,
	Lubomir Rintel

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

Lubomir Rintel <lkundrak-NGH9Lh4a5iE@public.gmane.org> writes:

> This one is essentially the same as revision 2 B board (with the I2S on
> P5 header).
>
> Signed-off-by: Lubomir Rintel <lkundrak-NGH9Lh4a5iE@public.gmane.org>

Pulled to bcm2835-dt-next, with a rebase fix for
548c3a39e0359383839d43d0cb435dbb4de101e3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

end of thread, other threads:[~2016-02-03  1:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-25 20:40 [PATCH] ARM: bcm2835: dt: Add Raspberry Pi Model A Lubomir Rintel
     [not found] ` <1453754406-3739-1-git-send-email-lkundrak-NGH9Lh4a5iE@public.gmane.org>
2016-01-25 20:56   ` Stephen Warren
2016-02-03  1:59   ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.