arm64: dts: rockchip: rk3368-r88: Select xin32k from pwm1 out
authorZhangbin Tong <zebulun.tong@rock-chips.com>
Mon, 17 Jul 2017 08:00:22 +0000 (16:00 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 19 Jul 2017 06:33:57 +0000 (14:33 +0800)
Change-Id: Iff675d47600cd7bf1d30564ca82697ce3b1fd9f4
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3368-r88.dts

index 497c0ab78c871332f87ca2de2fd2db75d6ddacd5..9bddbb930ad3c7cd2c3fe4d8a170f6d9be5ae1e9 100644 (file)
        model = "Rockchip R88";
        compatible = "rockchip,r88", "rockchip,rk3368";
 
+       xin32k: xin32k {
+               status = "okay";
+               compatible = "pwm-clock";
+               #clock-cells = <0>;
+               clock-frequency = <32768>;
+               clock-output-names = "xin32k";
+               pwms = <&pwm1 0 30518 0>; /* 1 / 30518 ns = 32.7675 KHz */
+       };
+
        hdmi_sound: hdmi-sound {
                status = "okay";
                compatible = "simple-audio-card";
                rockchip,system-power-controller;
                wakeup-source;
                #clock-cells = <1>;
-               clock-output-names = "xin32k", "rk808-clkout2";
+               clock-output-names = "rk808-clkout1", "rk808-clkout2";
 
                vcc1-supply = <&vcc_sys>;
                vcc2-supply = <&vcc_sys>;
        >;
 };
 
+&pwm1 {
+       status = "okay";
+};
+
 &pwm3 {
        status = "okay";