ARM: at91/dt: at91sam9261: use slow clock where necessary
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 29 Jul 2015 12:09:54 +0000 (14:09 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Aug 2015 09:58:16 +0000 (11:58 +0200)
The watchdog, the reset controller, the real-time timer, the shutdown
controller and the timer counter need the slow clock, add it where
necessary.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91sam9261.dtsi

index b2c44a07a3d0eee7618da3390315f15c0a8daa9a..ce1e3e94a40c2084aa207f5332b2442334ba7d05 100644 (file)
                                interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>,
                                             <18 IRQ_TYPE_LEVEL_HIGH 0>,
                                             <19 IRQ_TYPE_LEVEL_HIGH 0>;
-                               clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>;
-                               clock-names = "t0_clk", "t1_clk", "t2_clk";
+                               clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>, <&slow_xtal>;
+                               clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
                        };
 
                        usb1: gadget@fffa4000 {
                        rstc@fffffd00 {
                                compatible = "atmel,at91sam9260-rstc";
                                reg = <0xfffffd00 0x10>;
+                               clocks = <&slow_xtal>;
                        };
 
                        shdwc@fffffd10 {
                                compatible = "atmel,at91sam9260-shdwc";
                                reg = <0xfffffd10 0x10>;
+                               clocks = <&slow_xtal>;
                        };
 
                        pit: timer@fffffd30 {
                                compatible = "atmel,at91sam9260-wdt";
                                reg = <0xfffffd40 0x10>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
+                               clocks = <&slow_xtal>;
                                status = "disabled";
                        };