rk3568 dsi1 mipi屏设备树配置
时间: 2023-07-25 07:08:55 浏览: 283
迅为国产RK3568开发板Android移植 LCD 屏幕
以下是rk3568 dsi1 mipi屏设备树配置的示例:
```
&dsi {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
dsi_port: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
panel_in: endpoint@0 {
remote-endpoint = <&dsi_port>;
bus-width = <4>;
data-lanes = <0 1 2 3>;
clock-lanes = <4>;
hsync-active = <0>;
vsync-active = <0>;
bit-mapping-format = <1>;
fsl,data-mapping = "spwg";
fsl,data-enable-active = <0>;
fsl,data-enable-inactive = <1>;
fsl,de-active = <0>;
fsl,de-inactive = <1>;
fsl,hsa-active = <0>;
fsl,hsa-inactive = <1>;
fsl,hbp-active = <0>;
fsl,hbp-inactive = <1>;
fsl,hline-byte = <656>;
fsl,vsa-active = <0>;
fsl,vsa-inactive = <1>;
fsl,vbp-active = <0>;
fsl,vbp-inactive = <1>;
fsl,vfp-active = <0>;
fsl,vfp-inactive = <1>;
fsl,vactive-byte = <2720>;
fsl,pixel-format = <0x18>;
fsl,video-mode = <0>;
fsl,dsi-bta-enable = <0>;
fsl,bta-hsaprepare = <0>;
fsl,bta-lp = <0>;
};
};
```
请注意,这只是示例设备树配置,具体配置取决于你使用的具体硬件。
阅读全文