新手入门
- 积分
- 5
- 金钱
- 5
- 注册时间
- 2024-1-25
- 在线时间
- 1 小时
|
1金钱
现有一块3.5寸LCD-RGB 680X480屏幕,替换ATK 4.3寸 800X480原厂屏幕,修改设备树:
&lcdif{
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat
&pinctrl_lcdif_ctrl>;
display = <&display0>;
status = "okay";
display0: display {
bits-per-pixel = <24>; //16
bus-width = <24>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <20460000>; // 20000000
hactive = <640>;
vactive = <480>;
hfront-porch = <20>;
hback-porch = <20>;
hsync-len = <2>;
vback-porch = <6>;
vfront-porch = <12>;
vsync-len = <2>;
hsync-active = <0>; //0
vsync-active = <0>; //0
de-active = <1>;
pixelclk-active = <1>; //1
};
};
};
};
后屏幕没有显示,请问还需要修改哪些地方吗?
|
|