diff options
author | Rabin Vincent <rabin@rab.in> | 2015-01-19 16:26:06 -0500 |
---|---|---|
committer | Jesper Nilsson <jespern@axis.com> | 2015-03-25 04:50:46 -0400 |
commit | c8e840d8578a68a77cfd29f8cd68fb210855ce87 (patch) | |
tree | 2555f34a549caf3ffa7b450563013a39f5b73316 /arch/cris | |
parent | a9f75ac5a24cb94c2373daa3d73f90d22cf5d94b (diff) |
CRIS: add Axis 88 board device tree
Add a minimal device tree for the ETRAX FS SoC and the Axis 88 developer
board.
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/boot/dts/dev88.dts | 18 | ||||
-rw-r--r-- | arch/cris/boot/dts/etraxfs.dtsi | 38 |
2 files changed, 56 insertions, 0 deletions
diff --git a/arch/cris/boot/dts/dev88.dts b/arch/cris/boot/dts/dev88.dts new file mode 100644 index 000000000000..4fa5a3f9d0ec --- /dev/null +++ b/arch/cris/boot/dts/dev88.dts | |||
@@ -0,0 +1,18 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "etraxfs.dtsi" | ||
4 | |||
5 | / { | ||
6 | model = "Axis 88 Developer Board"; | ||
7 | compatible = "axis,dev88"; | ||
8 | |||
9 | aliases { | ||
10 | serial0 = &uart0; | ||
11 | }; | ||
12 | |||
13 | soc { | ||
14 | uart0: serial@b00260000 { | ||
15 | status = "okay"; | ||
16 | }; | ||
17 | }; | ||
18 | }; | ||
diff --git a/arch/cris/boot/dts/etraxfs.dtsi b/arch/cris/boot/dts/etraxfs.dtsi new file mode 100644 index 000000000000..909bcedc3565 --- /dev/null +++ b/arch/cris/boot/dts/etraxfs.dtsi | |||
@@ -0,0 +1,38 @@ | |||
1 | / { | ||
2 | #address-cells = <1>; | ||
3 | #size-cells = <1>; | ||
4 | interrupt-parent = <&intc>; | ||
5 | |||
6 | cpus { | ||
7 | #address-cells = <1>; | ||
8 | #size-cells = <0>; | ||
9 | |||
10 | cpu@0 { | ||
11 | device_type = "cpu"; | ||
12 | model = "axis,crisv32"; | ||
13 | reg = <0>; | ||
14 | }; | ||
15 | }; | ||
16 | |||
17 | soc { | ||
18 | compatible = "simple-bus"; | ||
19 | model = "etraxfs"; | ||
20 | #address-cells = <1>; | ||
21 | #size-cells = <1>; | ||
22 | ranges; | ||
23 | |||
24 | intc: interrupt-controller { | ||
25 | compatible = "axis,crisv32-intc"; | ||
26 | reg = <0xb001c000 0x1000>; | ||
27 | interrupt-controller; | ||
28 | #interrupt-cells = <1>; | ||
29 | }; | ||
30 | |||
31 | serial@b00260000 { | ||
32 | compatible = "axis,etraxfs-uart"; | ||
33 | reg = <0xb0026000 0x1000>; | ||
34 | interrupts = <68>; | ||
35 | status = "disabled"; | ||
36 | }; | ||
37 | }; | ||
38 | }; | ||