aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2022-09-14 11:10:45 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-09-19 16:33:43 +0200
commitb971612cc193b524b554fe53821f4dbb2a774c01 (patch)
tree1e6a81919dfa934e72e404a6c6e0853343c09589
parentMIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create() (diff)
downloadwireguard-linux-b971612cc193b524b554fe53821f4dbb2a774c01.tar.xz
wireguard-linux-b971612cc193b524b554fe53821f4dbb2a774c01.zip
mips: bmips: bcm63268: add TWD block binding
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>
-rw-r--r--arch/mips/boot/dts/brcm/bcm63268.dtsi18
1 files changed, 12 insertions, 6 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm63268.dtsi b/arch/mips/boot/dts/brcm/bcm63268.dtsi
index c3ce49ec675f..8926417a8fbc 100644
--- a/arch/mips/boot/dts/brcm/bcm63268.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm63268.dtsi
@@ -105,14 +105,20 @@
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 {