Skip to content

Commit 91976c7

Browse files
bivvyrkhuangtao
authored andcommitted
ARM: dts: rockchip: Use rk3288 testout clock as refclk for rk628 hdmi board
Change-Id: I88e156a47f8a486281b340855e8fa85606a2a5c5 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
1 parent 62670d0 commit 91976c7

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@
3939
status = "okay";
4040
};
4141

42+
&xin_osc0_func {
43+
compatible = "fixed-factor-clock";
44+
clocks = <&cru SCLK_TESTOUT>;
45+
clock-mult = <1>;
46+
clock-div = <1>;
47+
};
48+
49+
&rk628 {
50+
pinctrl-names = "default";
51+
pinctrl-0 = <&test_clkout>;
52+
assigned-clocks = <&cru SCLK_TESTOUT_SRC>;
53+
assigned-clock-parents = <&xin24m>;
54+
};
55+
4256
&rk628_hdmi {
4357
status = "okay";
4458

@@ -114,3 +128,11 @@
114128
connect = <&vopl_out_rgb>;
115129
status = "disabled";
116130
};
131+
132+
&pinctrl {
133+
test {
134+
test_clkout: test-clkout {
135+
rockchip,pins = <0 17 RK_FUNC_1 &pcfg_pull_none>;
136+
};
137+
};
138+
};

0 commit comments

Comments
 (0)