]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: dts: thead: Add PWM controller node
authorMichal Wilczynski <m.wilczynski@samsung.com>
Thu, 16 Oct 2025 13:38:06 +0000 (15:38 +0200)
committerDrew Fustini <fustini@kernel.org>
Tue, 28 Oct 2025 09:38:41 +0000 (09:38 +0000)
Add the Device Tree node for the T-HEAD TH1520 SoC's PWM controller.

Reviewed-by: Drew Fustini <fustini@kernel.org>
Tested-by: Drew Fustini <fustini@kernel.org>
Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Signed-off-by: Drew Fustini <fustini@kernel.org>
arch/riscv/boot/dts/thead/th1520.dtsi

index dfc868e5b19aad943f00c45132afb03f1551b932..c24d6b779fa448f83ee672e3578566f85ac93655 100644 (file)
                        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>;