ARM: sunxi: Add device tree for Miniand Hackberry
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 8 Jan 2013 18:40:59 +0000 (19:40 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 8 Jan 2013 18:46:19 +0000 (19:46 +0100)
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/sun4i-a10-hackberry.dts [new file with mode: 0644]

index e44da40d984f7faa18bb8a32f51f5f1fe233f20a..b5dd25886f4a2843c3610b48e97b411cf645a4ab 100644 (file)
@@ -132,6 +132,7 @@ dtb-$(CONFIG_ARCH_SPEAR3XX)+= spear300-evb.dtb \
        spear320-hmi.dtb
 dtb-$(CONFIG_ARCH_SPEAR6XX)+= spear600-evb.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun4i-a10-cubieboard.dtb \
+       sun4i-a10-hackberry.dtb \
        sun5i-a13-olinuxino.dtb
 dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
        tegra20-medcom-wide.dtb \
diff --git a/arch/arm/boot/dts/sun4i-a10-hackberry.dts b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
new file mode 100644 (file)
index 0000000..f84549a
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * 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 = "Miniand Hackberry";
+       compatible = "miniand,hackberry", "allwinner,sun4i-a10";
+
+       chosen {
+               bootargs = "earlyprintk console=ttyS0,115200";
+       };
+
+       soc {
+               uart0: uart@01c28000 {
+                       status = "okay";
+               };
+       };
+};