Skip to contentSkip to conversation

mips: bmips: bcm63268: add TWD block binding

PATCH Applied Rafał Miłecki 2 participants 2 messages Sep 14, 2022 – Sep 19, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: bmips: bcm63268: add TWD block binding

From: Rafał Miłecki <[email protected]>

TWD is an MFD block that contains timers, watchdog & some clocks / reset controller.

---
It's the same patch as in the
[PATCH RFC RFT] mips: bmips: bcm63268: add TWD block binding (sent back in January)

---
 arch/mips/boot/dts/brcm/bcm63268.dtsi | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)
arch/mips/boot/dts/brcm/bcm63268.dtsi +12 -6
index c3ce49ec675f..8926417a8fbc 100644
@@ -105,14 +105,20 @@ periph_intc: interrupt-controller@10000020 {
 			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 {
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

TWD is an MFD block that contains timers, watchdog & some clocks / reset controller.

Quoted 8 lines

---
It's the same patch as in the
[PATCH RFC RFT] mips: bmips: bcm63268: add TWD block binding (sent back in January)

---
 arch/mips/boot/dts/brcm/bcm63268.dtsi | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]