[PATCH 03/13] ARM: dts: rockchip: rv1126: Add pwm2 node
Jagan Teki
jagan at edgeble.ai
Mon Jul 31 03:35:08 PDT 2023
Add PWM2 node for Rockchip RV1126.
Signed-off-by: Jagan Teki <jagan at edgeble.ai>
---
arch/arm/boot/dts/rockchip/rv1126.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi
index 1f07d0a4fa73..931a1ffc22e8 100644
--- a/arch/arm/boot/dts/rockchip/rv1126.dtsi
+++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi
@@ -203,6 +203,17 @@ uart1: serial at ff410000 {
status = "disabled";
};
+ pwm2: pwm at ff430020 {
+ compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
+ reg = <0xff430020 0x10>;
+ clock-names = "pwm", "pclk";
+ clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm2m0_pins>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
pmucru: clock-controller at ff480000 {
compatible = "rockchip,rv1126-pmucru";
reg = <0xff480000 0x1000>;
--
2.25.1
More information about the Linux-rockchip
mailing list