Skip to content

Commit 8a19103

Browse files
rk-hgcrkhuangtao
authored andcommitted
ARM: dts: rockchip: Use rk3288 testout clock as refclk for rk628
hdmi2gvi 4kp60 case Change-Id: I476f075f08ce1df5fa88aa54a52ffb716e49138f Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
1 parent 48a729a commit 8a19103

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

arch/arm/boot/dts/rk3288-evb-rk628-hdmi2gvi-avb.dts

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@
6969
enable-gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
7070
};
7171

72-
&rk628_combtxphy {
73-
status = "okay";
74-
};
75-
7672
&firmware_android {
7773
compatible = "android,firmware";
7874
boot_devices = "ff0f0000.dwmmc";
@@ -111,6 +107,13 @@
111107
};
112108
};
113109

110+
&rk628 {
111+
pinctrl-names = "default";
112+
pinctrl-0 = <&test_clkout>;
113+
assigned-clocks = <&cru SCLK_TESTOUT_SRC>;
114+
assigned-clock-parents = <&xin24m>;
115+
};
116+
114117
&rk628_gvi {
115118
pinctrl-names = "default";
116119
pinctrl-0 = <&gvi_hpd_pins>, <&gvi_lock_pins>;
@@ -206,7 +209,22 @@
206209
status = "okay";
207210
};
208211

212+
&pinctrl {
213+
test {
214+
test_clkout: test-clkout {
215+
rockchip,pins = <0 17 RK_FUNC_1 &pcfg_pull_none>;
216+
};
217+
};
218+
};
219+
209220
&route_hdmi {
210221
connect = <&vopb_out_rgb>;
211222
status = "disabled";
212223
};
224+
225+
&xin_osc0_func {
226+
compatible = "fixed-factor-clock";
227+
clocks = <&cru SCLK_TESTOUT>;
228+
clock-mult = <1>;
229+
clock-div = <1>;
230+
};

0 commit comments

Comments
 (0)