Skip to content

Commit 5e60ec0

Browse files
macromorganmmind
authored andcommitted
arm64: dts: rockchip: add panel to Anbernic RG353 series
Add support for the newly mainlined panel to the RG353 series of devices. Signed-off-by: Chris Morgan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 07099a5 commit 5e60ec0

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353x.dtsi

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,48 @@
2020
assigned-clock-rates = <1200000000>, <200000000>, <241500000>;
2121
};
2222

23+
&dsi_dphy0 {
24+
status = "okay";
25+
};
26+
27+
&dsi0 {
28+
status = "okay";
29+
#address-cells = <1>;
30+
#size-cells = <0>;
31+
32+
ports {
33+
dsi0_in: port@0 {
34+
reg = <0>;
35+
dsi0_in_vp1: endpoint {
36+
remote-endpoint = <&vp1_out_dsi0>;
37+
};
38+
};
39+
40+
dsi0_out: port@1 {
41+
reg = <1>;
42+
mipi_out_panel: endpoint {
43+
remote-endpoint = <&mipi_in_panel>;
44+
};
45+
};
46+
};
47+
48+
panel: panel@0 {
49+
compatible = "anbernic,rg353p-panel", "newvision,nv3051d";
50+
reg = <0>;
51+
backlight = <&backlight>;
52+
pinctrl-names = "default";
53+
pinctrl-0 = <&lcd_rst>;
54+
reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
55+
vdd-supply = <&vcc3v3_lcd0_n>;
56+
57+
port {
58+
mipi_in_panel: endpoint {
59+
remote-endpoint = <&mipi_out_panel>;
60+
};
61+
};
62+
};
63+
};
64+
2365
&gpio_keys_control {
2466
button-a {
2567
gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
@@ -55,6 +97,22 @@
5597
};
5698
};
5799

100+
&pinctrl {
101+
gpio-lcd {
102+
lcd_rst: lcd-rst {
103+
rockchip,pins =
104+
<4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
105+
};
106+
};
107+
};
108+
58109
&pwm4 {
59110
status = "okay";
60111
};
112+
113+
&vp1 {
114+
vp1_out_dsi0: endpoint@ROCKCHIP_VOP2_EP_MIPI0 {
115+
reg = <ROCKCHIP_VOP2_EP_MIPI0>;
116+
remote-endpoint = <&dsi0_in_vp1>;
117+
};
118+
};

0 commit comments

Comments
 (0)