mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-25 20:47:11 +08:00
LoongArch: dts: Add PWM support to Loongson-2K2000
The module is supported, enable it. Reviewed-by: Yanteng Si <si.yanteng@linux.dev> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
committed by
maoxiaochuan
parent
ef0233db6c
commit
8f52efc76e
@@ -165,6 +165,66 @@
|
||||
interrupt-parent = <&eiointc>;
|
||||
};
|
||||
|
||||
pwm@100a0000 {
|
||||
compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm";
|
||||
reg = <0x0 0x100a0000 0x0 0x10>;
|
||||
interrupt-parent = <&pic>;
|
||||
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk LOONGSON2_MISC_CLK>;
|
||||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm@100a0100 {
|
||||
compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm";
|
||||
reg = <0x0 0x100a0100 0x0 0x10>;
|
||||
interrupt-parent = <&pic>;
|
||||
interrupts = <25 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk LOONGSON2_MISC_CLK>;
|
||||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm@100a0200 {
|
||||
compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm";
|
||||
reg = <0x0 0x100a0200 0x0 0x10>;
|
||||
interrupt-parent = <&pic>;
|
||||
interrupts = <26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk LOONGSON2_MISC_CLK>;
|
||||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm@100a0300 {
|
||||
compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm";
|
||||
reg = <0x0 0x100a0300 0x0 0x10>;
|
||||
interrupt-parent = <&pic>;
|
||||
interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk LOONGSON2_MISC_CLK>;
|
||||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm@100a0400 {
|
||||
compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm";
|
||||
reg = <0x0 0x100a0400 0x0 0x10>;
|
||||
interrupt-parent = <&pic>;
|
||||
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk LOONGSON2_MISC_CLK>;
|
||||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm@100a0500 {
|
||||
compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm";
|
||||
reg = <0x0 0x100a0500 0x0 0x10>;
|
||||
interrupt-parent = <&pic>;
|
||||
interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk LOONGSON2_MISC_CLK>;
|
||||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
rtc0: rtc@100d0100 {
|
||||
compatible = "loongson,ls2k2000-rtc", "loongson,ls7a-rtc";
|
||||
reg = <0x0 0x100d0100 0x0 0x100>;
|
||||
|
||||
Reference in New Issue
Block a user