您的位置:首页 > 其它

imx6 device tree lvds屏配置

2017-02-16 09:46 309 查看
imx6qdl-sabresd.dtsi中lvds接口显示配置如下:

&ldb {

status = "okay";

lvds-channel@0 {

fsl,data-mapping = "spwg";

fsl,data-width = <18>;

primary;

ipu_id = <1>;

disp_id = <0>;

status = "okay";

display-timings {

native-mode = <&timing0>;

timing0: hsd100pxn1 {

clock-frequency = <65000000>;

hactive = <1024>;

vactive = <768>;

hback-porch = <220>;

hfront-porch = <40>;

vback-porch = <21>;

vfront-porch = <7>;

hsync-len = <60>;

vsync-len = <10>;

};

};

};

lvds-channel@1 {

fsl,data-mapping = "spwg";

fsl,data-width = <18>;

/* primary; */

status = "okay";

display-timings {

native-mode = <&timing1>;

timing1: hsd100pxn1 {

clock-frequency = <65000000>;

hactive = <1024>;

vactive = <768>;

hback-porch = <220>;

hfront-porch = <40>;

vback-porch = <21>;

vfront-porch = <7>;

hsync-len = <60>;

vsync-len = <10>;

};

};

};

};
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  imx6 lvds device tree