Skip to content

Commit 4552637

Browse files
mahdichiJoshua-Riek
authored andcommitted
arm64: dts: rk3588-fxblox-rk1: add edp and user leds (torvalds#134)
* rk3588-fxblox-rk1a dd edp and user leds to dts * Update rk3588-fxblox-rk1.dts
1 parent b98eaf2 commit 4552637

File tree

1 file changed

+88
-6
lines changed

1 file changed

+88
-6
lines changed

Diff for: arch/arm64/boot/dts/rockchip/rk3588-fxblox-rk1.dts

+88-6
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,18 @@
205205
led_blue {
206206
gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
207207
default-state = "off";
208-
};
208+
};
209+
210+
user-led1 {
211+
gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>;
212+
linux,default-trigger = "heartbeat";
213+
default-state = "on";
214+
};
215+
216+
user-led2 {
217+
gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
218+
default-state = "off";
219+
};
209220
};
210221

211222
fan0: pwm-fan {
@@ -215,6 +226,39 @@
215226
cooling-levels = <90 110 130 150 170 190 210 230 255>;
216227
pwms = <&pwm1 0 10000 0>;
217228
};
229+
230+
panel-edp0 {
231+
compatible = "simple-panel";
232+
prepare-delay-ms = <120>;
233+
enable-delay-ms = <120>;
234+
unprepare-delay-ms = <120>;
235+
disable-delay-ms = <120>;
236+
width-mm = <129>;
237+
height-mm = <171>;
238+
239+
panel-timing {
240+
clock-frequency = <148500000>;
241+
hactive = <1920>;
242+
vactive = <1080>;
243+
hfront-porch = <88>;
244+
hsync-len = <44>;
245+
hback-porch = <148>;
246+
vfront-porch = <4>;
247+
vsync-len = <5>;
248+
vback-porch = <36>;
249+
hsync-active = <0>;
250+
vsync-active = <0>;
251+
de-active = <0>;
252+
pixelclk-active = <0>;
253+
};
254+
255+
port {
256+
panel_in_edp0: endpoint {
257+
data-lanes = <2>;
258+
remote-endpoint = <&edp0_out_panel>;
259+
};
260+
};
261+
};
218262
};
219263

220264
&av1d {
@@ -598,7 +642,6 @@
598642
&display_subsystem {
599643
clocks = <&hdptxphy_hdmi_clk0>, <&hdptxphy_hdmi_clk1>;
600644
clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll";
601-
602645
route {
603646
route_dp0: route-dp0 {
604647
status = "ok";
@@ -615,8 +658,17 @@
615658
logo,kernel = "logo_kernel.bmp";
616659
logo,mode = "center";
617660
charge_logo,mode = "center";
618-
connect = <&vp2_out_dp1>;
619-
};
661+
connect = <&vp1_out_dp1>;
662+
};
663+
664+
route_edp0: route-edp0 {
665+
status = "ok";
666+
logo,uboot = "logo.bmp";
667+
logo,kernel = "logo_kernel.bmp";
668+
logo,mode = "center";
669+
charge_logo,mode = "center";
670+
connect = <&vp2_out_edp0>;
671+
};
620672
};
621673
};
622674

@@ -1030,7 +1082,7 @@
10301082
status = "okay";
10311083
};
10321084

1033-
&dp1_in_vp2 {
1085+
&dp1_in_vp1 {
10341086
status = "okay";
10351087
};
10361088

@@ -1041,7 +1093,7 @@
10411093

10421094
&route_dp1 {
10431095
status = "okay";
1044-
connect = <&vp2_out_dp1>;
1096+
connect = <&vp1_out_dp1>;
10451097
};
10461098

10471099
&spdif_tx2 {
@@ -1255,3 +1307,33 @@
12551307
};
12561308
};
12571309

1310+
&edp0 {
1311+
force-hpd;
1312+
status = "okay";
1313+
1314+
ports {
1315+
port@1 {
1316+
reg = <1>;
1317+
edp0_out_panel: endpoint {
1318+
remote-endpoint = <&panel_in_edp0>;
1319+
};
1320+
};
1321+
};
1322+
};
1323+
1324+
1325+
&edp0_in_vp2 {
1326+
status = "okay";
1327+
};
1328+
1329+
&hdptxphy0 {
1330+
status = "okay";
1331+
};
1332+
1333+
&spdif_tx3 {
1334+
status = "okay";
1335+
};
1336+
1337+
&hdptxphy0 {
1338+
status = "okay";
1339+
};

0 commit comments

Comments
 (0)