REL 1.0
Page 23 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
2.4
BSP Customization
This section explains the information about steps to customize the platform devices information for customer
specific devices and to customize the file systems for other user configurations.
2.4.1
Display device
This chapter describes how to set up the display device in the device tree. Here, the LCD display is connected in
LVDS0 channel. The LCD display supports 800x480 resolution, RGB666 pixel format and 16 bpp.
Add the display formats in the frame buffer as mentioned below.
mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB666";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
Add the display timing parameters such as horizontal and vertical active period, blanking period, pixel clock,
etc., as mentioned below.
&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
primary;
crtc = "ipu1-di0";
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: ldb-wvga {
clock-frequency = <33260000>;
hactive = <800>;
vactive = <480>;
hback-porch = <88>;
hfront-porch = <40>;
vback-porch = <33>;
vfront-porch = <10>;
hsync-len = <128>;
vsync-len = <2>;
};
};
};
};