fix rk3188 and 3288 fpga screen par define error
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / lcd-b101ew05.dtsi
1 /*
2  * RockChip. LCD_B101ew05
3  *
4  */
5
6 / {
7                 disp_power_ctr: power_ctr {
8                         rockchip,debug = <0>;
9                         lcd_en:lcd_en {
10                                 rockchip,power_type = <GPIO>;
11                                 gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
12                                 rockchip,delay = <10>;
13                         };
14
15                      /*   bl_en:bl_en {
16                                 rockchip,power_type = <GPIO>;
17                                 gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
18                                 rockchip,delay = <10>;
19                         };
20
21                         bl_ctr:bl_ctr {
22                                 rockchip,power_type = <GPIO>;
23                                 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
24                                 rockchip,delay = <10>;
25                         };
26
27                         lcd_rst:lcd_rst {
28                                 rockchip,power_type = <REGULATOR>;
29                                 rockchip,delay = <5>;
30                         };*/
31
32                 };
33
34                 disp_timings: display-timings {
35                         native-mode = <&timing0>;
36                         timing0: timing0 {
37                                 screen-ype = <SCREEN_LVDS>;
38                                 lvds-format = <LVDS_8BIT_2>;
39                                 out-face    = <OUT_D888_P666>;
40                                 clock-frequency = <71000000>;
41                                 hactive = <1280>;
42                                 vactive = <800>;
43                                 hback-porch = <100>;
44                                 hfront-porch = <18>;
45                                 vback-porch = <8>;
46                                 vfront-porch = <6>;
47                                 hsync-len = <10>;
48                                 vsync-len = <2>;
49                                 hsync-active = <0>;
50                                 vsync-active = <0>;
51                                 de-active = <0>;
52                                 pixelclk-active = <0>;
53                                 swap-rb = <0>;
54                                 swap-rg = <0>;
55                                 swap-gb = <0>;
56                         };
57                };
58 };