[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250619010754.3760612-4-chris.packham@alliedtelesis.co.nz>
Date: Thu, 19 Jun 2025 13:07:53 +1200
From: Chris Packham <chris.packham@...iedtelesis.co.nz>
To: tsbogend@...ha.franken.de,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
sander@...nheule.net,
markus.stockhausen@....de
Cc: linux-mips@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chris Packham <chris.packham@...iedtelesis.co.nz>
Subject: [PATCH 3/4] mips: dts: realtek: Add watchdog
The RTL9300 has an integrated watchdog. Add this to the devicetree.
This is taken from openwrt[1] the only difference is removing the
unnecessary second cell from the interrupts.
[1] - https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/realtek/dts/rtl930x.dtsi
Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
---
arch/mips/boot/dts/realtek/rtl930x.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/mips/boot/dts/realtek/rtl930x.dtsi b/arch/mips/boot/dts/realtek/rtl930x.dtsi
index 74b30704f188..77a854034aba 100644
--- a/arch/mips/boot/dts/realtek/rtl930x.dtsi
+++ b/arch/mips/boot/dts/realtek/rtl930x.dtsi
@@ -142,6 +142,20 @@ timer0: timer@...0 {
clocks = <&lx_clk>;
};
+ watchdog0: watchdog@...0 {
+ compatible = "realtek,rtl9300-wdt";
+ reg = <0x3260 0xc>;
+
+ realtek,reset-mode = "soc";
+
+ clocks = <&lx_clk>;
+ timeout-sec = <30>;
+
+ interrupt-parent = <&intc>;
+ interrupt-names = "phase1", "phase2";
+ interrupts = <5>, <6>;
+ };
+
snand: spi@...00 {
compatible = "realtek,rtl9301-snand";
reg = <0x1a400 0x44>;
--
2.49.0
Powered by blists - more mailing lists