diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-09-09 06:14:20 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-09-18 10:53:46 -0400 |
commit | 97735da4e3fc2cad464994f615b0d2211f132497 (patch) | |
tree | cc30247d4b12182be41967ce10d8dded8f79174d | |
parent | 0a51d644c20f5c88fd3a659119d1903f74927082 (diff) |
ARM: at91/dt: declare sckc node on at91sam9g45
Declare the SCKC (Slow Clock Configuration) block and its clks.
Make use of the clk32k clk instead of slow_osc where appropriate.
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | arch/arm/boot/dts/at91sam9g45.dtsi | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index 857fd3e0b8a0..6d3d68e0d72d 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi | |||
@@ -165,7 +165,7 @@ | |||
165 | compatible = "atmel,at91rm9200-clk-master"; | 165 | compatible = "atmel,at91rm9200-clk-master"; |
166 | #clock-cells = <0>; | 166 | #clock-cells = <0>; |
167 | interrupts-extended = <&pmc AT91_PMC_MCKRDY>; | 167 | interrupts-extended = <&pmc AT91_PMC_MCKRDY>; |
168 | clocks = <&slow_xtal>, <&main>, <&plladiv>, <&utmi>; | 168 | clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>; |
169 | atmel,clk-output-range = <0 133333333>; | 169 | atmel,clk-output-range = <0 133333333>; |
170 | atmel,clk-divisors = <1 2 4 3>; | 170 | atmel,clk-divisors = <1 2 4 3>; |
171 | }; | 171 | }; |
@@ -181,7 +181,7 @@ | |||
181 | #address-cells = <1>; | 181 | #address-cells = <1>; |
182 | #size-cells = <0>; | 182 | #size-cells = <0>; |
183 | interrupt-parent = <&pmc>; | 183 | interrupt-parent = <&pmc>; |
184 | clocks = <&slow_xtal>, <&main>, <&plladiv>, <&utmi>, <&mck>; | 184 | clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>; |
185 | 185 | ||
186 | prog0: prog0 { | 186 | prog0: prog0 { |
187 | #clock-cells = <0>; | 187 | #clock-cells = <0>; |
@@ -1165,6 +1165,32 @@ | |||
1165 | atmel,can-isoc; | 1165 | atmel,can-isoc; |
1166 | }; | 1166 | }; |
1167 | }; | 1167 | }; |
1168 | |||
1169 | sckc@fffffd50 { | ||
1170 | compatible = "atmel,at91sam9x5-sckc"; | ||
1171 | reg = <0xfffffd50 0x4>; | ||
1172 | |||
1173 | slow_osc: slow_osc { | ||
1174 | compatible = "atmel,at91sam9x5-clk-slow-osc"; | ||
1175 | #clock-cells = <0>; | ||
1176 | atmel,startup-time-usec = <1200000>; | ||
1177 | clocks = <&slow_xtal>; | ||
1178 | }; | ||
1179 | |||
1180 | slow_rc_osc: slow_rc_osc { | ||
1181 | compatible = "atmel,at91sam9x5-clk-slow-rc-osc"; | ||
1182 | #clock-cells = <0>; | ||
1183 | atmel,startup-time-usec = <75>; | ||
1184 | clock-frequency = <32768>; | ||
1185 | clock-accuracy = <50000000>; | ||
1186 | }; | ||
1187 | |||
1188 | clk32k: slck { | ||
1189 | compatible = "atmel,at91sam9x5-clk-slow"; | ||
1190 | #clock-cells = <0>; | ||
1191 | clocks = <&slow_rc_osc &slow_osc>; | ||
1192 | }; | ||
1193 | }; | ||
1168 | }; | 1194 | }; |
1169 | 1195 | ||
1170 | fb0: fb@0x00500000 { | 1196 | fb0: fb@0x00500000 { |