aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-04-08 05:38:50 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-05-31 05:25:51 -0400
commit978577ea21fb05c12511c25b71e493859e36892f (patch)
tree221022c7a9d1995da1a76a7cf2b4a193b1fff3cf /arch/arm/boot
parent351c2163f918e2a4218e0206f854dbec7799fda8 (diff)
ARM: u300: basic device tree support
This register the most basic peripherals and makes the U300 boot to prompt from a device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/ste-u300.dts86
2 files changed, 87 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b9f7121e6ecf..3dd1316a5a27 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -197,6 +197,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
197 tegra114-pluto.dtb 197 tegra114-pluto.dtb
198dtb-$(CONFIG_ARCH_VERSATILE) += versatile-ab.dtb \ 198dtb-$(CONFIG_ARCH_VERSATILE) += versatile-ab.dtb \
199 versatile-pb.dtb 199 versatile-pb.dtb
200dtb-$(CONFIG_ARCH_U300) += ste-u300.dtb
200dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2p-ca5s.dtb \ 201dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2p-ca5s.dtb \
201 vexpress-v2p-ca9.dtb \ 202 vexpress-v2p-ca9.dtb \
202 vexpress-v2p-ca15-tc1.dtb \ 203 vexpress-v2p-ca15-tc1.dtb \
diff --git a/arch/arm/boot/dts/ste-u300.dts b/arch/arm/boot/dts/ste-u300.dts
new file mode 100644
index 000000000000..9e423eb5aa0a
--- /dev/null
+++ b/arch/arm/boot/dts/ste-u300.dts
@@ -0,0 +1,86 @@
1/*
2 * Device Tree for the ST-Ericsson U300 Machine and SoC
3 */
4
5/dts-v1/;
6/include/ "skeleton.dtsi"
7
8/ {
9 model = "ST-Ericsson U300";
10 compatible = "stericsson,u300";
11 #address-cells = <1>;
12 #size-cells = <1>;
13
14 chosen {
15 bootargs = "root=/dev/ram0 console=ttyAMA0,115200n8 earlyprintk";
16 };
17
18 aliases {
19 serial0 = &uart0;
20 serial1 = &uart1;
21 };
22
23 memory {
24 reg = <0x48000000 0x03c00000>;
25 };
26
27 timer: timer@c0014000 {
28 compatible = "stericsson,u300-apptimer";
29 reg = <0xc0014000 0x1000>;
30 interrupt-parent = <&vica>;
31 interrupts = <24 25 26 27>;
32 };
33
34 gpio: gpio@c0016000 {
35 compatible = "stericsson,gpio-coh901";
36 reg = <0xc0016000 0x1000>;
37 interrupt-parent = <&vicb>;
38 interrupts = <0 1 2 18 21 22 23>;
39 interrupt-names = "gpio0", "gpio1", "gpio2", "gpio3",
40 "gpio4", "gpio5", "gpio6";
41 interrupt-controller;
42 #interrupt-cells = <2>;
43 gpio-controller;
44 #gpio-cells = <2>;
45 };
46
47 pinctrl: pinctrl@c0011000 {
48 compatible = "stericsson,pinctrl-u300";
49 reg = <0xc0011000 0x1000>;
50 };
51
52 amba {
53 compatible = "arm,amba-bus";
54 #address-cells = <1>;
55 #size-cells = <1>;
56 ranges;
57
58 vica: interrupt-controller@a0001000 {
59 compatible = "arm,versatile-vic";
60 interrupt-controller;
61 #interrupt-cells = <1>;
62 reg = <0xa0001000 0x20>;
63 };
64
65 vicb: interrupt-controller@a0002000 {
66 compatible = "arm,versatile-vic";
67 interrupt-controller;
68 #interrupt-cells = <1>;
69 reg = <0xa0002000 0x20>;
70 };
71
72 uart0: serial@c0013000 {
73 compatible = "arm,pl011", "arm,primecell";
74 reg = <0xc0013000 0x1000>;
75 interrupt-parent = <&vica>;
76 interrupts = <22>;
77 };
78
79 uart1: serial@c0007000 {
80 compatible = "arm,pl011", "arm,primecell";
81 reg = <0xc0007000 0x1000>;
82 interrupt-parent = <&vicb>;
83 interrupts = <20>;
84 };
85 };
86};