summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-cubieboard.dts
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-11-19 12:09:42 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2012-11-20 15:36:34 +0100
commitf055f1f682b84b3b785813f5c11efacab6001253 (patch)
treef540d68c770dc7a4cb0ca162aa73c36336b55b01 /arch/arm/boot/dts/sun4i-cubieboard.dts
parentaa25115aff14a149a6b611fe54776c142e483781 (diff)
downloadlwn-f055f1f682b84b3b785813f5c11efacab6001253.tar.gz
lwn-f055f1f682b84b3b785813f5c11efacab6001253.zip
ARM: sunxi: Add sun4i and cubieboard support
This patch adds support for the Cubieboard based on the Allwinner A10/sun4i SoC. Currently only UART is supported. Other devices will eventually follow. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-cubieboard.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-cubieboard.dts38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-cubieboard.dts b/arch/arm/boot/dts/sun4i-cubieboard.dts
new file mode 100644
index 000000000000..f4ca126ad994
--- /dev/null
+++ b/arch/arm/boot/dts/sun4i-cubieboard.dts
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2012 Stefan Roese
+ * Stefan Roese <sr@denx.de>
+ *
+ * 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.dtsi"
+
+/ {
+ model = "Cubietech Cubieboard";
+ compatible = "cubietech,cubieboard", "allwinner,sun4i";
+
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
+ chosen {
+ bootargs = "earlyprintk console=ttyS0,115200";
+ };
+
+ soc {
+ uart0: uart@01c28000 {
+ status = "okay";
+ };
+
+ uart1: uart@01c28400 {
+ status = "okay";
+ };
+ };
+};