mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-28 14:07:11 +08:00
loongson: 2k1000: dtsi: add wtd dts node
2k1000 dtsi添加看门狗节点 Changelog: Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user