loongson: 2k1000: dtsi: add wtd dts node

2k1000 dtsi添加看门狗节点

Changelog:
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
tao89959
2026-08-24 14:17:14 +08:00
committed by maoxiaochuan
parent 7c746d35e3
commit 71b15acd63
+23 -17
View File
@@ -635,26 +635,32 @@
status = "disabled";
};
pmc: power-management@1fe27000 {
compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon";
pmc: syscon@0x1fe27000 {
compatible = "syscon";
reg = <0x0 0x1fe27000 0x0 0x58>;
interrupt-parent = <&liointc1>;
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
loongson,suspend-address = <0x0 0x1c000500>;
};
syscon-reboot {
compatible = "syscon-reboot";
offset = <0x30>;
mask = <0x1>;
};
reboot {
compatible ="syscon-reboot";
regmap = <&pmc>;
offset = <0x30>;
mask = <0x1>;
};
syscon-poweroff {
compatible = "syscon-poweroff";
regmap = <&pmc>;
offset = <0x14>;
mask = <0x3c00>;
value = <0x3c00>;
};
poweroff {
compatible ="syscon-poweroff";
regmap = <&pmc>;
offset = <0x14>;
mask = <0x3c00>;
value = <0x3c00>;
};
wdt:watchdog@1fe27030{
compatible = "loongson,ls2x-wdt";
reg = <0 0x1fe27030 0 0xC>;
clocks = <&clk LOONGSON2_APB_CLK>;
clock-names = "wdt-clk";
status = "okay";
};
rtc0: rtc@1fe27800 {