]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6q-tx6q-1010.dts
updated Ka-Ro DTS files;LVDS display works
[karo-tx-linux.git] / arch / arm / boot / dts / imx6q-tx6q-1010.dts
1 /*
2  * Copyright 2014 Lothar Waßmann <LW@KARO-electronics.de>
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /dts-v1/;
13 #include "imx6q.dtsi"
14 #include "imx6qdl-tx6.dtsi"
15
16 / {
17         model = "Ka-Ro electronics TX6Q-1010 Module";
18         compatible = "karo,imx6q-tx6q", "fsl,imx6q";
19
20         aliases {
21                 display = &mxcfb3;
22                 mxcfb0 = &mxcfb1;
23                 mxcfb1 = &mxcfb2;
24                 mxcfb2 = &mxcfb3;
25                 mxcfb3 = &mxcfb4;
26         };
27
28         backlight: backlight {
29                 compatible = "pwm-backlight";
30                 pwms = <&pwm2 0 500000>;
31                 power-supply = <&reg_3v3>;
32                 /*
33                  * a poor man's way to create a 1:1 relationship between
34                  * the PWM value and the actual duty cycle
35                  */
36                 brightness-levels = < 0  1  2  3  4  5  6  7  8  9
37                                      10 11 12 13 14 15 16 17 18 19
38                                      20 21 22 23 24 25 26 27 28 29
39                                      30 31 32 33 34 35 36 37 38 39
40                                      40 41 42 43 44 45 46 47 48 49
41                                      50 51 52 53 54 55 56 57 58 59
42                                      60 61 62 63 64 65 66 67 68 69
43                                      70 71 72 73 74 75 76 77 78 79
44                                      80 81 82 83 84 85 86 87 88 89
45                                      90 91 92 93 94 95 96 97 98 99
46                                     100>;
47                 default-brightness-level = <50>;
48         };
49
50         mxcfb1: fb@0 {
51                 compatible = "fsl,mxc_sdc_fb";
52                 disp_dev = "ldb";
53                 interface_pix_fmt = "RGB666";
54                 mode_str ="LDB-XGA";
55                 default_bpp = <16>;
56                 int_clk = <0>;
57                 late_init = <0>;
58                 status = "disabled";
59         };
60
61         mxcfb2: fb@1 {
62                 compatible = "fsl,mxc_sdc_fb";
63                 disp_dev = "hdmi";
64                 interface_pix_fmt = "RGB24";
65                 mode_str ="1920x1080M@60";
66                 default_bpp = <24>;
67                 int_clk = <0>;
68                 late_init = <0>;
69                 status = "disabled";
70         };
71
72         mxcfb3: fb@2 {
73                 compatible = "fsl,mxc_sdc_fb";
74                 disp_dev = "lcd";
75                 interface_pix_fmt = "RGB24";
76                 mode_str ="CLAA-WVGA";
77                 default_bpp = <32>;
78                 int_clk = <1>;
79                 late_init = <0>;
80                 status = "okay";
81         };
82
83         mxcfb4: fb@3 {
84                 compatible = "fsl,mxc_sdc_fb";
85                 disp_dev = "ldb";
86                 interface_pix_fmt = "RGB666";
87                 mode_str ="LDB-XGA";
88                 default_bpp = <16>;
89                 int_clk = <0>;
90                 late_init = <0>;
91                 status = "disabled";
92         };
93
94         lcd@0 {
95                 compatible = "fsl,lcd";
96                 ipu_id = <0>;
97                 disp_id = <0>;
98                 default_ifmt = "RGB24";
99                 pinctrl-names = "default";
100                 pinctrl-0 = <&pinctrl_disp0_2>;
101                 status = "okay";
102         };
103 };
104
105 &ipu2 {
106 //      status = "disabled";
107 };
108
109 &reg_lcd1_pwr {
110         status = "okay";
111 };