Skip to content

Commit e5c2a35

Browse files
SuperDavidWuZhengShunQian
authored andcommitted
arm64: dts: rockchip: Add pwm nodes for rk3308b
Change-Id: I4dd43c44e35af1ac40754fc47bb4a4d602b45c73 Signed-off-by: David Wu <david.wu@rock-chips.com>
1 parent 8820178 commit e5c2a35

1 file changed

Lines changed: 88 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3308.dtsi

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,94 @@
603603
status = "disabled";
604604
};
605605

606+
pwm8: pwm@ff160000 {
607+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
608+
reg = <0x0 0xff160000 0x0 0x10>;
609+
#pwm-cells = <3>;
610+
pinctrl-names = "active";
611+
pinctrl-0 = <&pwm8_pin>;
612+
clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
613+
clock-names = "pwm", "pclk";
614+
status = "disabled";
615+
};
616+
617+
pwm9: pwm@ff160010 {
618+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
619+
reg = <0x0 0xff160010 0x0 0x10>;
620+
#pwm-cells = <3>;
621+
pinctrl-names = "active";
622+
pinctrl-0 = <&pwm9_pin>;
623+
clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
624+
clock-names = "pwm", "pclk";
625+
status = "disabled";
626+
};
627+
628+
pwm10: pwm@ff160020 {
629+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
630+
reg = <0x0 0xff160020 0x0 0x10>;
631+
#pwm-cells = <3>;
632+
pinctrl-names = "active";
633+
pinctrl-0 = <&pwm10_pin>;
634+
clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
635+
clock-names = "pwm", "pclk";
636+
status = "disabled";
637+
};
638+
639+
pwm11: pwm@ff160030 {
640+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
641+
reg = <0x0 0xff160030 0x0 0x10>;
642+
#pwm-cells = <3>;
643+
pinctrl-names = "active";
644+
pinctrl-0 = <&pwm11_pin>;
645+
clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
646+
clock-names = "pwm", "pclk";
647+
status = "disabled";
648+
};
649+
650+
pwm4: pwm@ff170000 {
651+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
652+
reg = <0x0 0xff170000 0x0 0x10>;
653+
#pwm-cells = <3>;
654+
pinctrl-names = "active";
655+
pinctrl-0 = <&pwm4_pin>;
656+
clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
657+
clock-names = "pwm", "pclk";
658+
status = "disabled";
659+
};
660+
661+
pwm5: pwm@ff170010 {
662+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
663+
reg = <0x0 0xff170010 0x0 0x10>;
664+
#pwm-cells = <3>;
665+
pinctrl-names = "active";
666+
pinctrl-0 = <&pwm5_pin>;
667+
clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
668+
clock-names = "pwm", "pclk";
669+
status = "disabled";
670+
};
671+
672+
pwm6: pwm@ff170020 {
673+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
674+
reg = <0x0 0xff170020 0x0 0x10>;
675+
#pwm-cells = <3>;
676+
pinctrl-names = "active";
677+
pinctrl-0 = <&pwm6_pin>;
678+
clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
679+
clock-names = "pwm", "pclk";
680+
status = "disabled";
681+
};
682+
683+
pwm7: pwm@ff170030 {
684+
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
685+
reg = <0x0 0xff170030 0x0 0x10>;
686+
#pwm-cells = <3>;
687+
pinctrl-names = "active";
688+
pinctrl-0 = <&pwm7_pin>;
689+
clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
690+
clock-names = "pwm", "pclk";
691+
status = "disabled";
692+
};
693+
606694
pwm0: pwm@ff180000 {
607695
compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
608696
reg = <0x0 0xff180000 0x0 0x10>;

0 commit comments

Comments
 (0)