Skip to content

Commit 4408897

Browse files
Zhangbin Tongrkhuangtao
authored andcommitted
arm64: dts: rockchip: rk3368-r88: Select xin32k from pwm1 out
Change-Id: Iff675d47600cd7bf1d30564ca82697ce3b1fd9f4 Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
1 parent 9c36f71 commit 4408897

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3368-r88.dts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@
4949
model = "Rockchip R88";
5050
compatible = "rockchip,r88", "rockchip,rk3368";
5151

52+
xin32k: xin32k {
53+
status = "okay";
54+
compatible = "pwm-clock";
55+
#clock-cells = <0>;
56+
clock-frequency = <32768>;
57+
clock-output-names = "xin32k";
58+
pwms = <&pwm1 0 30518 0>; /* 1 / 30518 ns = 32.7675 KHz */
59+
};
60+
5261
hdmi_sound: hdmi-sound {
5362
status = "okay";
5463
compatible = "simple-audio-card";
@@ -236,7 +245,7 @@
236245
rockchip,system-power-controller;
237246
wakeup-source;
238247
#clock-cells = <1>;
239-
clock-output-names = "xin32k", "rk808-clkout2";
248+
clock-output-names = "rk808-clkout1", "rk808-clkout2";
240249

241250
vcc1-supply = <&vcc_sys>;
242251
vcc2-supply = <&vcc_sys>;
@@ -654,6 +663,10 @@
654663
>;
655664
};
656665

666+
&pwm1 {
667+
status = "okay";
668+
};
669+
657670
&pwm3 {
658671
status = "okay";
659672

0 commit comments

Comments
 (0)