Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: at91/dt: sama5d3: use slow clock where necessary

The watchdog, the reset controller, the RTC, the shutdown controller, the
timer counters and the LCD PWM need the slow clock, add it where necessary.

[boris.brezillon@free-electrons.com: add tcb clocks]
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

+8 -4
+6 -2
arch/arm/boot/dts/sama5d3.dtsi
··· 145 145 compatible = "atmel,at91sam9x5-tcb"; 146 146 reg = <0xf0010000 0x100>; 147 147 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>; 148 - clocks = <&tcb0_clk>; 149 - clock-names = "t0_clk"; 148 + clocks = <&tcb0_clk>, <&clk32k>; 149 + clock-names = "t0_clk", "slow_clk"; 150 150 }; 151 151 152 152 i2c0: i2c@f0014000 { ··· 1261 1261 rstc@fffffe00 { 1262 1262 compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc"; 1263 1263 reg = <0xfffffe00 0x10>; 1264 + clocks = <&clk32k>; 1264 1265 }; 1265 1266 1266 1267 shutdown-controller@fffffe10 { 1267 1268 compatible = "atmel,at91sam9x5-shdwc"; 1268 1269 reg = <0xfffffe10 0x10>; 1270 + clocks = <&clk32k>; 1269 1271 }; 1270 1272 1271 1273 pit: timer@fffffe30 { ··· 1281 1279 compatible = "atmel,at91sam9260-wdt"; 1282 1280 reg = <0xfffffe40 0x10>; 1283 1281 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>; 1282 + clocks = <&clk32k>; 1284 1283 atmel,watchdog-type = "hardware"; 1285 1284 atmel,reset-type = "all"; 1286 1285 atmel,dbg-halt; ··· 1318 1315 compatible = "atmel,at91rm9200-rtc"; 1319 1316 reg = <0xfffffeb0 0x30>; 1320 1317 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 1318 + clocks = <&clk32k>; 1321 1319 }; 1322 1320 }; 1323 1321
+2 -2
arch/arm/boot/dts/sama5d3_tcb1.dtsi
··· 31 31 compatible = "atmel,at91sam9x5-tcb"; 32 32 reg = <0xf8014000 0x100>; 33 33 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>; 34 - clocks = <&tcb1_clk>; 35 - clock-names = "t0_clk"; 34 + clocks = <&tcb1_clk>, <&clk32k>; 35 + clock-names = "t0_clk", "slow_clk"; 36 36 }; 37 37 }; 38 38 };