aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood.dtsi
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-02 07:03:38 -0400
committerJason Cooper <jason@lakedaemon.net>2013-07-25 17:07:03 -0400
commit15f18591d63fa78da87121ba0687fe1f4bcc5468 (patch)
treea603aeaed274598c6a1386a4197889f62f3f9d85 /arch/arm/boot/dts/kirkwood.dtsi
parent953b710cd53718e5cef9d8c54231b8f234e4f67e (diff)
ARM: kirkwood: move device tree nodes to DT irqchip and clocksource
With recent support for true irqchip and clocksource drivers for Orion SoCs, now make use of it on DT enabled Kirkwood boards. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood.dtsi35
1 files changed, 27 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi
index e3f3f71ef991..1d6921d2d170 100644
--- a/arch/arm/boot/dts/kirkwood.dtsi
+++ b/arch/arm/boot/dts/kirkwood.dtsi
@@ -20,13 +20,6 @@
20 gpio0 = &gpio0; 20 gpio0 = &gpio0;
21 gpio1 = &gpio1; 21 gpio1 = &gpio1;
22 }; 22 };
23 intc: interrupt-controller {
24 compatible = "marvell,orion-intc", "marvell,intc";
25 interrupt-controller;
26 #interrupt-cells = <1>;
27 reg = <0xf1020204 0x04>,
28 <0xf1020214 0x04>;
29 };
30 23
31 ocp@f1000000 { 24 ocp@f1000000 {
32 compatible = "simple-bus"; 25 compatible = "simple-bus";
@@ -37,6 +30,30 @@
37 #address-cells = <1>; 30 #address-cells = <1>;
38 #size-cells = <1>; 31 #size-cells = <1>;
39 32
33 timer: timer@20300 {
34 compatible = "marvell,orion-timer";
35 reg = <0x20300 0x20>;
36 interrupt-parent = <&bridge_intc>;
37 interrupts = <1>, <2>;
38 clocks = <&core_clk 0>;
39 };
40
41 intc: main-interrupt-ctrl@20200 {
42 compatible = "marvell,orion-intc";
43 interrupt-controller;
44 #interrupt-cells = <1>;
45 reg = <0x20200 0x10>, <0x20210 0x10>;
46 };
47
48 bridge_intc: bridge-interrupt-ctrl@20110 {
49 compatible = "marvell,orion-bridge-intc";
50 interrupt-controller;
51 #interrupt-cells = <1>;
52 reg = <0x20110 0x8>;
53 interrupts = <1>;
54 marvell,#interrupts = <6>;
55 };
56
40 core_clk: core-clocks@10030 { 57 core_clk: core-clocks@10030 {
41 compatible = "marvell,kirkwood-core-clock"; 58 compatible = "marvell,kirkwood-core-clock";
42 reg = <0x10030 0x4>; 59 reg = <0x10030 0x4>;
@@ -103,9 +120,11 @@
103 #clock-cells = <1>; 120 #clock-cells = <1>;
104 }; 121 };
105 122
106 wdt@20300 { 123 wdt: watchdog-timer@20300 {
107 compatible = "marvell,orion-wdt"; 124 compatible = "marvell,orion-wdt";
108 reg = <0x20300 0x28>; 125 reg = <0x20300 0x28>;
126 interrupt-parent = <&bridge_intc>;
127 interrupts = <3>;
109 clocks = <&gate_clk 7>; 128 clocks = <&gate_clk 7>;
110 status = "okay"; 129 status = "okay";
111 }; 130 };