|
205 | 205 | led_blue {
|
206 | 206 | gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
|
207 | 207 | 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 | + }; |
209 | 220 | };
|
210 | 221 |
|
211 | 222 | fan0: pwm-fan {
|
|
215 | 226 | cooling-levels = <90 110 130 150 170 190 210 230 255>;
|
216 | 227 | pwms = <&pwm1 0 10000 0>;
|
217 | 228 | };
|
| 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 | + }; |
218 | 262 | };
|
219 | 263 |
|
220 | 264 | &av1d {
|
|
598 | 642 | &display_subsystem {
|
599 | 643 | clocks = <&hdptxphy_hdmi_clk0>, <&hdptxphy_hdmi_clk1>;
|
600 | 644 | clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll";
|
601 |
| - |
602 | 645 | route {
|
603 | 646 | route_dp0: route-dp0 {
|
604 | 647 | status = "ok";
|
|
615 | 658 | logo,kernel = "logo_kernel.bmp";
|
616 | 659 | logo,mode = "center";
|
617 | 660 | 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 | + }; |
620 | 672 | };
|
621 | 673 | };
|
622 | 674 |
|
|
1030 | 1082 | status = "okay";
|
1031 | 1083 | };
|
1032 | 1084 |
|
1033 |
| -&dp1_in_vp2 { |
| 1085 | +&dp1_in_vp1 { |
1034 | 1086 | status = "okay";
|
1035 | 1087 | };
|
1036 | 1088 |
|
|
1041 | 1093 |
|
1042 | 1094 | &route_dp1 {
|
1043 | 1095 | status = "okay";
|
1044 |
| - connect = <&vp2_out_dp1>; |
| 1096 | + connect = <&vp1_out_dp1>; |
1045 | 1097 | };
|
1046 | 1098 |
|
1047 | 1099 | &spdif_tx2 {
|
|
1255 | 1307 | };
|
1256 | 1308 | };
|
1257 | 1309 |
|
| 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