AIO-Rk3399Pro-JD4 为什么LVDS VCC电压一直为0
本帖最后由 RobinXu 于 2022-3-13 15:55 编辑DTS文件:rk3399pro-firefly-aiojd4-lvds.dts
/dts-v1/;
#include "rk3399pro-firefly-aiojd4.dtsi"
/ {
model = "AIO-RK3399pro-JD4 8.0 inch lvds (Android 9.0)";
compatible = "rockchip,rk3399pro-firefly-aiojd4-lvds", "rockchip,rk3399pro";
};
&backlight {
status = "okay";
pwms = <&pwm0 0 25000 1>;
brightness-levels = <
0 1 2 3 4 5 6 7
8 9 101112131415
1617181920212223
2425262728293031
3233343536373839
4041424344454647
4849505152535455
5657585960616263
6465666768697071
7273747576777879
8081828384858687
8889909192939495
96979899100 101 102 103
104 105 106 107 108 109 110 111
112 113 114 115 116 117 118 119
120 121 122 123 124 125 126 127
128 129 130 131 132 133 134 135
136 137 138 139 140 141 142 143
144 145 146 147 148 149 150 151
152 153 154 155 156 157 158 159
160 161 162 163 164 165 166 167
168 169 170 171 172 173 174 175
176 177 178 179 180 181 182 183
184 185 186 187 188 189 190 191
192 193 194 195 196 197 198 199
200 201 202 203 204 205 206 207
208 209 210 211 212 213 214 215
216 217 218 219 220 221 222 223
224 225 226 227 228 229 230 231
232 233 234 235 236 237 238 239
240 241 242 243 244 245 246 247
248 249 250 251 252 253 254 255
>;
default-brightness-level = <10>;
enable-gpios = <&gpio1 RK_PC5 GPIO_ACTIVE_HIGH>;
};
&dsi {
status = "okay";
rockchip,lane-rate = <864>;
panel@0 {
compatible ="simple-panel-dsi";
reg = <0>;
backlight = <&backlight>;
enable-gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>; // LCD_EN
//enable-tc-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>; // MIPI power enable
reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>; // LCD_Reset
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
dsi,format = <MIPI_DSI_FMT_RGB888>;
bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
dsi,lanes = <4>;
//dsi,channel = <0>;
reset-delay-ms = <20>;
init-delay-ms = <20>;
enable-delay-ms = <120>;
prepare-delay-ms = <120>;
//unprepare-delay-ms = <0>;
//disable-delay-ms = <20>;
//size,width = <120>;
//size,height = <170>;
status = "okay";
panel-init-sequence = [
29 02 06 3C 01 03 00 02 00
29 02 06 14 01 02 00 00 00
29 02 06 64 01 02 00 00 00
29 02 06 68 01 02 00 00 00
29 02 06 6C 01 02 00 00 00
29 02 06 70 01 02 00 00 00
29 02 06 34 01 1F 00 00 00
29 02 06 10 02 1F 00 00 00
29 02 06 04 01 01 00 00 00
29 02 06 04 02 01 00 00 00
29 02 06 50 04 20 01 F0 03
29 02 06 54 04 14 00 96 00
29 02 06 58 04 00 04 96 00
29 02 06 5C 04 05 00 0F 00
29 02 06 60 04 58 02 0F 00
29 02 06 64 04 01 00 00 00
29 02 06 A0 04 2D 80 44 00
29 02 06 A0 04 2D 80 04 00
29 02 06 04 05 04 00 00 00
29 02 06 9C 04 31 00 00 00
];
panel-exit-sequence = [
05 05 01 28
05 78 01 10
];
display-timings {
native-mode = <&timing0>;
compatible = "rockchip,display-timings";
timing0: timing0 {
clock-frequency = <51200000>;
hactive = <1024>;
vactive = <600>;
hback-porch = <160>;
hfront-porch = <150>;
hsync-len = <10>;
vback-porch = <16>;
vfront-porch = <14>;
vsync-len = <5>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
};
/* kernel启动时logo显示 */
&route_dsi {
status = "okay";
logo,mode = "center";
charge_logo,mode = "center";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
connect = <&vopb_out_dsi>;
};
&route_hdmi {
status = "okay";
logo,mode = "center";
};
//Uboot fb DSI
&vopb_out_dsi {
status = "okay";
};
&vopl_out_dsi {
status = "disabled";
};
&dsi_in_vopl {
status = "disabled";
};
&dsi_in_vopb {
status = "okay";
};
&pwm0 {
status = "okay";
};
&hdmi {
status = "okay";
rockchip,phy-table =
<742500000x8009 0x0004 0x0272>,
<165000000 0x802b 0x0004 0x0209>,
<297000000 0x8039 0x0005 0x028d>,
<594000000 0x8039 0x0000 0x00f6>,
<000000000 0x0000 0x0000 0x0000>;
};
&hdmi_dp_sound {
status = "okay";
};
&hdmi_in_vopb {
status = "disabled";
};
&hdmi_in_vopl {
status = "okay";
};
&dp_in_vopb {
status = "disabled";
};
&vopb {
assigned-clocks = <&cru DCLK_VOP0_DIV>;
assigned-clock-parents = <&cru PLL_CPLL>;
};
&vopl {
assigned-clocks = <&cru DCLK_VOP1_DIV>;
assigned-clock-parents = <&cru PLL_VPLL>;
};
&i2c4 {
status = "okay";
i2c-scl-rising-time-ns = <345>;
i2c-scl-falling-time-ns = <11>;
gslx680: gslx680@41 {
status = "okay";
compatible = "gslX680";
reg = <0x41>;
screen_max_x = <1024>;
screen_max_y = <600>;
touch-gpio = <&gpio4 RK_PD5 IRQ_TYPE_LEVEL_LOW>;
reset-gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
flip-x = <1>;
flip-y = <0>;
swap-xy = <0>;
gsl,fw = <1>;
};
};
板子启动信息:
……
……
Model: AIO-RK3399pro-JD4 8.0 inch lvds (Android 9.0)
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
Detailed mode clock 51200 kHz, flags
H: 1024 1174 1184 1344
V: 0600 0614 0619 0635
bus_format: 100a
final DSI-Link bandwidth: 864 Mbps x 4
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
……
……
屏信息:
只能自己来结帖了!
唉,这个论坛基本没啥用,对于我这种小白来说,太痛苦了。
不过,功夫不负有心人,终于还是点亮了。
你好,你是怎么调出来的呢?方便说下吗?
官方配套的屏幕, 安装图示插上不展示任何内容(黑屏)。 固件已经在sd卡上了,sd卡已插入主板上,主板已插入电源。 ps,插电脑显示器是可以看到界面的。求解,谢谢 你是不是没有接跳线帽呀,选择firefly的lvds用12V电压{:4_121:}
页:
[1]