]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mips: bmips: bcm63268: add TWD block binding
authorRafał Miłecki <rafal@milecki.pl>
Wed, 14 Sep 2022 09:10:45 +0000 (11:10 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 19 Sep 2022 14:33:43 +0000 (16:33 +0200)
TWD is an MFD block that contains timers, watchdog & some clocks / reset
controller.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/brcm/bcm63268.dtsi

index c3ce49ec675f3cd7e36ce56d936a07012606504f..8926417a8fbccc97bbc1d16c63b5c363d3b292a6 100644 (file)
                        interrupts = <2>, <3>;
                };
 
-               wdt: watchdog@1000009c {
-                       compatible = "brcm,bcm7038-wdt";
-                       reg = <0x1000009c 0xc>;
+               timer-mfd@10000080 {
+                       compatible = "brcm,bcm7038-twd", "simple-mfd", "syscon";
+                       reg = <0x10000080 0x30>;
+                       ranges = <0x0 0x10000080 0x30>;
 
-                       clocks = <&periph_osc>;
-                       clock-names = "refclk";
+                       wdt: watchdog@1c {
+                               compatible = "brcm,bcm7038-wdt";
+                               reg = <0x1c 0xc>;
 
-                       timeout-sec = <30>;
+                               clocks = <&periph_osc>;
+                               clock-names = "refclk";
+
+                               timeout-sec = <30>;
+                       };
                };
 
                uart0: serial@10000180 {