From: Michal Wilczynski Date: Thu, 16 Oct 2025 13:38:06 +0000 (+0200) Subject: riscv: dts: thead: Add PWM controller node X-Git-Tag: v6.19-rc1~100^2~31^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6b00b220d2a052b2bec8ee7ccaf2679faef8558;p=thirdparty%2Flinux.git riscv: dts: thead: Add PWM controller node Add the Device Tree node for the T-HEAD TH1520 SoC's PWM controller. Reviewed-by: Drew Fustini Tested-by: Drew Fustini Reviewed-by: Elle Rhumsaa Signed-off-by: Michal Wilczynski Signed-off-by: Drew Fustini --- diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index dfc868e5b19aa..c24d6b779fa44 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -514,6 +514,13 @@ status = "disabled"; }; + pwm: pwm@ffec01c000 { + compatible = "thead,th1520-pwm"; + reg = <0xff 0xec01c000 0x0 0x4000>; + clocks = <&clk CLK_PWM>; + #pwm-cells = <3>; + }; + clk: clock-controller@ffef010000 { compatible = "thead,th1520-clk-ap"; reg = <0xff 0xef010000 0x0 0x1000>;