ARM: dts: aspeed: Add watchdog clocks
authorJoel Stanley <joel@jms.id.au>
Tue, 28 Nov 2017 12:13:46 +0000 (22:43 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Dec 2017 03:33:15 +0000 (14:03 +1030)
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 57194d80405139f8958deb2f0f49089135c15762..2b1bb31ce390fad339973c42ca326ab2b7d4cf8a 100644 (file)
                        wdt1: watchdog@1e785000 {
                                compatible = "aspeed,ast2400-wdt";
                                reg = <0x1e785000 0x1c>;
+                               clocks = <&syscon ASPEED_CLK_APB>;
                        };
 
                        wdt2: watchdog@1e785020 {
                                compatible = "aspeed,ast2400-wdt";
                                reg = <0x1e785020 0x1c>;
+                               clocks = <&syscon ASPEED_CLK_APB>;
                        };
 
                        vuart: serial@1e787000 {
index b6faaef2b1a7cecfdb4a0eee59d4a3e00545981c..95bb04e4cee248f95a9d56d052672b5aeacd112d 100644 (file)
                        wdt1: watchdog@1e785000 {
                                compatible = "aspeed,ast2500-wdt";
                                reg = <0x1e785000 0x20>;
+                               clocks = <&syscon ASPEED_CLK_APB>;
                        };
 
                        wdt2: watchdog@1e785020 {
                                compatible = "aspeed,ast2500-wdt";
                                reg = <0x1e785020 0x20>;
+                               clocks = <&syscon ASPEED_CLK_APB>;
                        };
 
                        wdt3: watchdog@1e785040 {
                                compatible = "aspeed,ast2500-wdt";
                                reg = <0x1e785040 0x20>;
+                               clocks = <&syscon ASPEED_CLK_APB>;
                                status = "disabled";
                        };