ARM: sunxi: dt: Add support for the PineRiver Mini X-plus
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 24 Feb 2013 03:44:01 +0000 (19:44 -0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 10 Mar 2013 10:44:38 +0000 (11:44 +0100)
This board comes with an Allwinner A10, two external USB ports, a SD
Card reader, 1GB of RAM, the usual video connectors and an onboard wifi
chip.

Of course, the support is quite minimal for now...

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-mini-xplus.dts [new file with mode: 0644]

diff --git a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
new file mode 100644 (file)
index 0000000..4a7c35d
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2012 Maxime Ripard
+ *
+ * Maxime Ripard <maxime.ripard@free-electrons.com>
+ *
+ * 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 = "PineRiver Mini X-Plus";
+       compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10";
+
+       chosen {
+               bootargs = "earlyprintk console=ttyS0,115200";
+       };
+
+       soc {
+               uart0: uart@01c28000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart0_pins_a>;
+                       status = "okay";
+               };
+       };
+};