]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: at91/dt: sama5d4: use slow clock where necessary
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 29 Jul 2015 12:10:07 +0000 (14:10 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Aug 2015 09:58:48 +0000 (11:58 +0200)
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.

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

index 1fa8b3611a03dbd34bf53f2eadfee8db55705360..8d1de29e8da107ab8d6e746877b16032c3fb8d0b 100644 (file)
                                compatible = "atmel,at91sam9x5-tcb";
                                reg = <0xf801c000 0x100>;
                                interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>;
-                               clocks = <&tcb0_clk>;
-                               clock-names = "t0_clk";
+                               clocks = <&tcb0_clk>, <&clk32k>;
+                               clock-names = "t0_clk", "slow_clk";
                        };
 
                        macb0: ethernet@f8020000 {
                                compatible = "atmel,at91sam9x5-tcb";
                                reg = <0xfc020000 0x100>;
                                interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>;
-                               clocks = <&tcb1_clk>;
-                               clock-names = "t0_clk";
+                               clocks = <&tcb1_clk>, <&clk32k>;
+                               clock-names = "t0_clk", "slow_clk";
                        };
 
                        adc0: adc@fc034000 {
                        rstc@fc068600 {
                                compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc";
                                reg = <0xfc068600 0x10>;
+                               clocks = <&clk32k>;
                        };
 
                        shdwc@fc068610 {
                                compatible = "atmel,at91sam9x5-shdwc";
                                reg = <0xfc068610 0x10>;
+                               clocks = <&clk32k>;
                        };
 
                        pit: timer@fc068630 {
                        watchdog@fc068640 {
                                compatible = "atmel,at91sam9260-wdt";
                                reg = <0xfc068640 0x10>;
+                               clocks = <&clk32k>;
                                status = "disabled";
                        };
 
                                compatible = "atmel,at91rm9200-rtc";
                                reg = <0xfc0686b0 0x30>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
+                               clocks = <&clk32k>;
                        };
 
                        dbgu: serial@fc069000 {