linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino
@ 2014-01-13 13:15 Zoltan HERPAI
  2014-01-15  8:14 ` Maxime Ripard
  2014-01-15  8:31 ` Maxime Ripard
  0 siblings, 2 replies; 3+ messages in thread
From: Zoltan HERPAI @ 2014-01-13 13:15 UTC (permalink / raw)
  To: linux-arm-kernel

>From b2cd1681fe988584028d280ca79249f4ebcb271c Mon Sep 17 00:00:00 2001
From: Zoltan HERPAI <wigyori@uid0.hu>
Date: Mon, 13 Jan 2014 14:00:12 +0100
Subject: [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

This patch will add a basic board support DT for the
LinkSprite pcDuino board.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
---
  arch/arm/boot/dts/Makefile              |    1 +
  arch/arm/boot/dts/sun4i-a10-pcduino.dts |   48 +++++++++++++++++++++++++++++++
  2 files changed, 49 insertions(+), 0 deletions(-)
  create mode 100644 arch/arm/boot/dts/sun4i-a10-pcduino.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b663ed7..a2e3620 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -253,6 +253,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += \
  	sun4i-a10-cubieboard.dtb \
  	sun4i-a10-mini-xplus.dtb \
  	sun4i-a10-hackberry.dtb \
+	sun4i-a10-pcduino.dtb \
  	sun5i-a10s-olinuxino-micro.dtb \
  	sun5i-a13-olinuxino.dtb \
  	sun5i-a13-olinuxino-micro.dtb \
diff --git a/arch/arm/boot/dts/sun4i-a10-pcduino.dts b/arch/arm/boot/dts/sun4i-a10-pcduino.dts
new file mode 100644
index 0000000..f5692a3
--- /dev/null
+++ b/arch/arm/boot/dts/sun4i-a10-pcduino.dts
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2014 Zoltan HERPAI
+ * Zoltan HERPAI <wigyori@uid0.hu>
+ *
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/dts-v1/;
+/include/ "sun4i-a10.dtsi"
+
+/ {
+	model = "LinkSprite pcDuino";
+	compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10";
+
+	soc at 01c00000 {
+		emac: ethernet at 01c0b000 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&emac_pins_a>;
+			phy = <&phy1>;
+			status = "okay";
+		};
+
+		mdio at 01c0b080 {
+			status = "okay";
+
+			phy1: ethernet-phy at 1 {
+				reg = <1>;
+			};
+		};
+
+		uart0: serial at 01c28000 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&uart0_pins_a>;
+			status = "okay";
+		};
+
+		i2c0: i2c at 01c2ac00 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&i2c0_pins_a>;
+			status = "okay";
+		};
+	};
+};
-- 
1.7.0.4

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

* [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino
  2014-01-13 13:15 [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino Zoltan HERPAI
@ 2014-01-15  8:14 ` Maxime Ripard
  2014-01-15  8:31 ` Maxime Ripard
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2014-01-15  8:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Mon, Jan 13, 2014 at 02:15:01PM +0100, Zoltan HERPAI wrote:
> From b2cd1681fe988584028d280ca79249f4ebcb271c Mon Sep 17 00:00:00 2001
> From: Zoltan HERPAI <wigyori@uid0.hu>
> Date: Mon, 13 Jan 2014 14:00:12 +0100
> Subject: [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino
> 
> This patch will add a basic board support DT for the
> LinkSprite pcDuino board.
> 
> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

Queued in sunxi/dt-for-3.15

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140115/23616294/attachment.sig>

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

* [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino
  2014-01-13 13:15 [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino Zoltan HERPAI
  2014-01-15  8:14 ` Maxime Ripard
@ 2014-01-15  8:31 ` Maxime Ripard
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2014-01-15  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 13, 2014 at 02:15:01PM +0100, Zoltan HERPAI wrote:
> From b2cd1681fe988584028d280ca79249f4ebcb271c Mon Sep 17 00:00:00 2001
> From: Zoltan HERPAI <wigyori@uid0.hu>
> Date: Mon, 13 Jan 2014 14:00:12 +0100
> Subject: [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino
> 
> This patch will add a basic board support DT for the
> LinkSprite pcDuino board.
> 
> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

Just a minor comment though, please use git send-email in the future
to send your patches.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140115/07e47466/attachment.sig>

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

end of thread, other threads:[~2014-01-15  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 13:15 [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino Zoltan HERPAI
2014-01-15  8:14 ` Maxime Ripard
2014-01-15  8:31 ` Maxime Ripard

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).