]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6q-tx6q-1110.dts
ff3603da588970f72d6733b9aa6dad23bc8bd080
[karo-tx-linux.git] / arch / arm / boot / dts / imx6q-tx6q-1110.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-1110 Module";
18         compatible = "karo,imx6q-tx6q", "fsl,imx6q";
19
20         aliases {
21                 display = &ldb;
22                 ipu1 = &ipu2;
23                 mxcfb0 = &mxcfb1;
24         };
25
26         backlight0: backlight0 {
27                 compatible = "pwm-backlight";
28                 pwms = <&pwm2 0 500000 0>;
29                 power-supply = <&reg_lcd0_pwr>;
30                 /*
31                  * a poor man's way to create a 1:1 relationship between
32                  * the PWM value and the actual duty cycle
33                  */
34                 brightness-levels = < 0  1  2  3  4  5  6  7  8  9
35                                      10 11 12 13 14 15 16 17 18 19
36                                      20 21 22 23 24 25 26 27 28 29
37                                      30 31 32 33 34 35 36 37 38 39
38                                      40 41 42 43 44 45 46 47 48 49
39                                      50 51 52 53 54 55 56 57 58 59
40                                      60 61 62 63 64 65 66 67 68 69
41                                      70 71 72 73 74 75 76 77 78 79
42                                      80 81 82 83 84 85 86 87 88 89
43                                      90 91 92 93 94 95 96 97 98 99
44                                     100>;
45                 default-brightness-level = <50>;
46         };
47
48         backlight1: backlight1 {
49                 compatible = "pwm-backlight";
50                 pwms = <&pwm1 0 500000 0>;
51                 power-supply = <&reg_lcd1_pwr>;
52                 /*
53                  * a poor man's way to create a 1:1 relationship between
54                  * the PWM value and the actual duty cycle
55                  */
56                 brightness-levels = < 0  1  2  3  4  5  6  7  8  9
57                                      10 11 12 13 14 15 16 17 18 19
58                                      20 21 22 23 24 25 26 27 28 29
59                                      30 31 32 33 34 35 36 37 38 39
60                                      40 41 42 43 44 45 46 47 48 49
61                                      50 51 52 53 54 55 56 57 58 59
62                                      60 61 62 63 64 65 66 67 68 69
63                                      70 71 72 73 74 75 76 77 78 79
64                                      80 81 82 83 84 85 86 87 88 89
65                                      90 91 92 93 94 95 96 97 98 99
66                                     100>;
67                 default-brightness-level = <50>;
68         };
69
70         mxcfb1: fb@0 {
71                 compatible = "fsl,mxc_sdc_fb";
72                 disp_dev = "ldb";
73                 interface_pix_fmt = "RGB666";
74                 mode_str ="LDB-XGA";
75                 default_bpp = <16>;
76                 int_clk = <0>;
77                 late_init = <0>;
78                 status = "okay";
79         };
80 };
81
82 &i2c3 {
83         polytouch1: eeti@04 {
84                 compatible = "eeti,egalax_ts";
85                 reg = <0x04>;
86                 pinctrl-names = "default";
87                 pinctrl-0 = <&pinctrl_eeti>;
88                 interrupt-parent = <&gpio3>;
89                 interrupts = <22 0>;
90                 wakeup-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
91                 linux,wakeup;
92         };
93 };
94
95 &iomuxc {
96         imx6q-tx6q-1110 {
97                 pinctrl_eeti: eetigrp {
98                         fsl,pins = <
99                                 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b1 /* Interrupt */
100                         >;
101                 };
102         };
103 };
104
105 &ipu2 {
106         status = "disabled";
107 };
108
109 &kpp {
110         status = "disabled"; /* pads partially clash with backlight1 PWM */
111 };
112
113 &ldb {
114         ipu_id = <0>;
115         disp_id = <0>;
116         ext_ref = <0>;
117         mode = "sep0";
118         sec_ipu_id = <1>;
119         sec_disp_id = <1>;
120         status = "okay";
121 };
122
123 &pwm1 {
124         status = "okay";
125 };
126
127 &reg_lcd0_pwr {
128         status = "okay";
129 };
130
131 &reg_lcd1_pwr {
132         status = "okay";
133 };
134
135 &sata {
136         status = "okay";
137 };