diff options
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/sun4i-cubieboard.dts | 38 | ||||
-rw-r--r-- | arch/arm/boot/dts/sunxi.dtsi | 9 |
3 files changed, 49 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 9b2d3f061f13..4dd567b62d2a 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -84,7 +84,8 @@ dtb-$(CONFIG_ARCH_SPEAR3XX)+= spear300-evb.dtb \ | |||
84 | spear310-evb.dtb \ | 84 | spear310-evb.dtb \ |
85 | spear320-evb.dtb | 85 | spear320-evb.dtb |
86 | dtb-$(CONFIG_ARCH_SPEAR6XX)+= spear600-evb.dtb | 86 | dtb-$(CONFIG_ARCH_SPEAR6XX)+= spear600-evb.dtb |
87 | dtb-$(CONFIG_ARCH_SUNXI) += sun5i-olinuxino.dtb | 87 | dtb-$(CONFIG_ARCH_SUNXI) += sun4i-cubieboard.dtb \ |
88 | sun5i-olinuxino.dtb | ||
88 | dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \ | 89 | dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \ |
89 | tegra20-medcom-wide.dtb \ | 90 | tegra20-medcom-wide.dtb \ |
90 | tegra20-paz00.dtb \ | 91 | tegra20-paz00.dtb \ |
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 @@ | |||
1 | /* | ||
2 | * Copyright 2012 Stefan Roese | ||
3 | * Stefan Roese <sr@denx.de> | ||
4 | * | ||
5 | * The code contained herein is licensed under the GNU General Public | ||
6 | * License. You may obtain a copy of the GNU General Public License | ||
7 | * Version 2 or later at the following locations: | ||
8 | * | ||
9 | * http://www.opensource.org/licenses/gpl-license.html | ||
10 | * http://www.gnu.org/copyleft/gpl.html | ||
11 | */ | ||
12 | |||
13 | /dts-v1/; | ||
14 | /include/ "sun4i.dtsi" | ||
15 | |||
16 | / { | ||
17 | model = "Cubietech Cubieboard"; | ||
18 | compatible = "cubietech,cubieboard", "allwinner,sun4i"; | ||
19 | |||
20 | aliases { | ||
21 | serial0 = &uart0; | ||
22 | serial1 = &uart1; | ||
23 | }; | ||
24 | |||
25 | chosen { | ||
26 | bootargs = "earlyprintk console=ttyS0,115200"; | ||
27 | }; | ||
28 | |||
29 | soc { | ||
30 | uart0: uart@01c28000 { | ||
31 | status = "okay"; | ||
32 | }; | ||
33 | |||
34 | uart1: uart@01c28400 { | ||
35 | status = "okay"; | ||
36 | }; | ||
37 | }; | ||
38 | }; | ||
diff --git a/arch/arm/boot/dts/sunxi.dtsi b/arch/arm/boot/dts/sunxi.dtsi index 9e476deb8809..8284fbd7ddab 100644 --- a/arch/arm/boot/dts/sunxi.dtsi +++ b/arch/arm/boot/dts/sunxi.dtsi | |||
@@ -54,6 +54,15 @@ | |||
54 | #interrupt-cells = <1>; | 54 | #interrupt-cells = <1>; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | uart0: uart@01c28000 { | ||
58 | compatible = "ns8250"; | ||
59 | reg = <0x01c28000 0x400>; | ||
60 | interrupts = <1>; | ||
61 | reg-shift = <2>; | ||
62 | clock-frequency = <24000000>; | ||
63 | status = "disabled"; | ||
64 | }; | ||
65 | |||
57 | uart1: uart@01c28400 { | 66 | uart1: uart@01c28400 { |
58 | compatible = "ns8250"; | 67 | compatible = "ns8250"; |
59 | reg = <0x01c28400 0x400>; | 68 | reg = <0x01c28400 0x400>; |