diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-11-17 09:22:28 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 08:46:50 -0500 |
commit | 1611f872513735ac7105535689c0dd668fbf1c04 (patch) | |
tree | d8fdd2f1f9b7df6b6e3543af6435b7d11f5da45e /arch/arm/boot/dts/kirkwood.dtsi | |
parent | 5b03df9ace680d7cdd34a69dfd85ca5f74159d18 (diff) |
ARM: Kirkwood: switch to DT clock providers
With true DT clock providers available switch Kirkwood clock setup in
DT- enabled boards. While AUXDATA can be removed completely from bus
probing, some devices still don't know about DT. Therefore, some clkdev
aliases are created until these devices also move to DT.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood.dtsi')
-rw-r--r-- | arch/arm/boot/dts/kirkwood.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi index 4e5b8154a5be..7a9fac0d4251 100644 --- a/arch/arm/boot/dts/kirkwood.dtsi +++ b/arch/arm/boot/dts/kirkwood.dtsi | |||
@@ -19,6 +19,12 @@ | |||
19 | #address-cells = <1>; | 19 | #address-cells = <1>; |
20 | #size-cells = <1>; | 20 | #size-cells = <1>; |
21 | 21 | ||
22 | core_clk: core-clocks@10030 { | ||
23 | compatible = "marvell,kirkwood-core-clock"; | ||
24 | reg = <0x10030 0x4>; | ||
25 | #clock-cells = <1>; | ||
26 | }; | ||
27 | |||
22 | gpio0: gpio@10100 { | 28 | gpio0: gpio@10100 { |
23 | compatible = "marvell,orion-gpio"; | 29 | compatible = "marvell,orion-gpio"; |
24 | #gpio-cells = <2>; | 30 | #gpio-cells = <2>; |
@@ -42,6 +48,7 @@ | |||
42 | reg = <0x12000 0x100>; | 48 | reg = <0x12000 0x100>; |
43 | reg-shift = <2>; | 49 | reg-shift = <2>; |
44 | interrupts = <33>; | 50 | interrupts = <33>; |
51 | clocks = <&gate_clk 7>; | ||
45 | /* set clock-frequency in board dts */ | 52 | /* set clock-frequency in board dts */ |
46 | status = "disabled"; | 53 | status = "disabled"; |
47 | }; | 54 | }; |
@@ -51,6 +58,7 @@ | |||
51 | reg = <0x12100 0x100>; | 58 | reg = <0x12100 0x100>; |
52 | reg-shift = <2>; | 59 | reg-shift = <2>; |
53 | interrupts = <34>; | 60 | interrupts = <34>; |
61 | clocks = <&gate_clk 7>; | ||
54 | /* set clock-frequency in board dts */ | 62 | /* set clock-frequency in board dts */ |
55 | status = "disabled"; | 63 | status = "disabled"; |
56 | }; | 64 | }; |
@@ -68,12 +76,21 @@ | |||
68 | cell-index = <0>; | 76 | cell-index = <0>; |
69 | interrupts = <23>; | 77 | interrupts = <23>; |
70 | reg = <0x10600 0x28>; | 78 | reg = <0x10600 0x28>; |
79 | clocks = <&gate_clk 7>; | ||
71 | status = "disabled"; | 80 | status = "disabled"; |
72 | }; | 81 | }; |
73 | 82 | ||
83 | gate_clk: clock-gating-control@2011c { | ||
84 | compatible = "marvell,kirkwood-gating-clock"; | ||
85 | reg = <0x2011c 0x4>; | ||
86 | clocks = <&core_clk 0>; | ||
87 | #clock-cells = <1>; | ||
88 | }; | ||
89 | |||
74 | wdt@20300 { | 90 | wdt@20300 { |
75 | compatible = "marvell,orion-wdt"; | 91 | compatible = "marvell,orion-wdt"; |
76 | reg = <0x20300 0x28>; | 92 | reg = <0x20300 0x28>; |
93 | clocks = <&gate_clk 7>; | ||
77 | status = "okay"; | 94 | status = "okay"; |
78 | }; | 95 | }; |
79 | 96 | ||
@@ -81,6 +98,8 @@ | |||
81 | compatible = "marvell,orion-sata"; | 98 | compatible = "marvell,orion-sata"; |
82 | reg = <0x80000 0x5000>; | 99 | reg = <0x80000 0x5000>; |
83 | interrupts = <21>; | 100 | interrupts = <21>; |
101 | clocks = <&gate_clk 14>, <&gate_clk 15>; | ||
102 | clock-names = "0", "1"; | ||
84 | status = "disabled"; | 103 | status = "disabled"; |
85 | }; | 104 | }; |
86 | 105 | ||
@@ -94,6 +113,7 @@ | |||
94 | reg = <0x3000000 0x400>; | 113 | reg = <0x3000000 0x400>; |
95 | chip-delay = <25>; | 114 | chip-delay = <25>; |
96 | /* set partition map and/or chip-delay in board dts */ | 115 | /* set partition map and/or chip-delay in board dts */ |
116 | clocks = <&gate_clk 7>; | ||
97 | status = "disabled"; | 117 | status = "disabled"; |
98 | }; | 118 | }; |
99 | 119 | ||
@@ -104,6 +124,7 @@ | |||
104 | #size-cells = <0>; | 124 | #size-cells = <0>; |
105 | interrupts = <29>; | 125 | interrupts = <29>; |
106 | clock-frequency = <100000>; | 126 | clock-frequency = <100000>; |
127 | clocks = <&gate_clk 7>; | ||
107 | status = "disabled"; | 128 | status = "disabled"; |
108 | }; | 129 | }; |
109 | 130 | ||
@@ -113,6 +134,7 @@ | |||
113 | <0xf5000000 0x800>; | 134 | <0xf5000000 0x800>; |
114 | reg-names = "regs", "sram"; | 135 | reg-names = "regs", "sram"; |
115 | interrupts = <22>; | 136 | interrupts = <22>; |
137 | clocks = <&gate_clk 17>; | ||
116 | status = "okay"; | 138 | status = "okay"; |
117 | }; | 139 | }; |
118 | }; | 140 | }; |