ARM: dts: rockchip: fix PWM clock found on RK3288 Socs
authorCaesar Wang <caesar.wang@rock-chips.com>
Tue, 9 Apr 2019 20:47:07 +0000 (13:47 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 19 May 2019 23:00:20 +0000 (01:00 +0200)
We use the new PWM IP on RK3288, but the PWM's clock indeed incorrect.

Signed-off-by: Caesar Wang <caesar.wang@rock-chips.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288.dtsi

index aa017ab..171231a 100644 (file)
                #pwm-cells = <3>;
                pinctrl-names = "default";
                pinctrl-0 = <&pwm0_pin>;
-               clocks = <&cru PCLK_PWM>;
+               clocks = <&cru PCLK_RKPWM>;
                clock-names = "pwm";
                status = "disabled";
        };
                #pwm-cells = <3>;
                pinctrl-names = "default";
                pinctrl-0 = <&pwm1_pin>;
-               clocks = <&cru PCLK_PWM>;
+               clocks = <&cru PCLK_RKPWM>;
                clock-names = "pwm";
                status = "disabled";
        };
                #pwm-cells = <3>;
                pinctrl-names = "default";
                pinctrl-0 = <&pwm2_pin>;
-               clocks = <&cru PCLK_PWM>;
+               clocks = <&cru PCLK_RKPWM>;
                clock-names = "pwm";
                status = "disabled";
        };
                #pwm-cells = <2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pwm3_pin>;
-               clocks = <&cru PCLK_PWM>;
+               clocks = <&cru PCLK_RKPWM>;
                clock-names = "pwm";
                status = "disabled";
        };