summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Wilczynski <m.wilczynski@samsung.com>2025-10-16 16:38:06 +0300
committerDrew Fustini <fustini@kernel.org>2025-10-28 12:38:41 +0300
commitb6b00b220d2a052b2bec8ee7ccaf2679faef8558 (patch)
treef9528328c9b0aec2f5fdf06a3b4366c1dcd1d4c2
parentfac4be7b3d49ae7e32d8ae523343d7fe790772f9 (diff)
downloadlinux-b6b00b220d2a052b2bec8ee7ccaf2679faef8558.tar.xz
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 <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>
-rw-r--r--arch/riscv/boot/dts/thead/th1520.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi
index dfc868e5b19a..c24d6b779fa4 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>;