.. | .. |
---|
46 | 46 | clock-frequency = <26000000>; |
---|
47 | 47 | }; |
---|
48 | 48 | |
---|
| 49 | + lcd_backlight: backlight { |
---|
| 50 | + compatible = "pwm-backlight"; |
---|
| 51 | + |
---|
| 52 | + pwms = <&pwm3 0 5000000>; |
---|
| 53 | + brightness-levels = <0 4 8 16 32 64 128 255>; |
---|
| 54 | + default-brightness-level = <7>; |
---|
| 55 | + enable-gpios = <&gpio5 14 GPIO_ACTIVE_HIGH>; |
---|
| 56 | + }; |
---|
| 57 | + |
---|
| 58 | + lvds-receiver { |
---|
| 59 | + compatible = "ti,ds90cf384a", "lvds-decoder"; |
---|
| 60 | + power-supply = <&vcc_3v3_tft1>; |
---|
| 61 | + |
---|
| 62 | + ports { |
---|
| 63 | + #address-cells = <1>; |
---|
| 64 | + #size-cells = <0>; |
---|
| 65 | + |
---|
| 66 | + port@0 { |
---|
| 67 | + reg = <0>; |
---|
| 68 | + lvds_receiver_in: endpoint { |
---|
| 69 | + remote-endpoint = <&lvds0_out>; |
---|
| 70 | + }; |
---|
| 71 | + }; |
---|
| 72 | + port@1 { |
---|
| 73 | + reg = <1>; |
---|
| 74 | + lvds_receiver_out: endpoint { |
---|
| 75 | + remote-endpoint = <&panel_in>; |
---|
| 76 | + }; |
---|
| 77 | + }; |
---|
| 78 | + }; |
---|
| 79 | + }; |
---|
| 80 | + |
---|
| 81 | + panel { |
---|
| 82 | + compatible = "edt,etm0700g0dh6"; |
---|
| 83 | + backlight = <&lcd_backlight>; |
---|
| 84 | + power-supply = <&vcc_3v3_tft1>; |
---|
| 85 | + |
---|
| 86 | + port { |
---|
| 87 | + panel_in: endpoint { |
---|
| 88 | + remote-endpoint = <&lvds_receiver_out>; |
---|
| 89 | + }; |
---|
| 90 | + }; |
---|
| 91 | + }; |
---|
| 92 | + |
---|
49 | 93 | reg_1p5v: 1p5v { |
---|
50 | 94 | compatible = "regulator-fixed"; |
---|
51 | 95 | regulator-name = "1P5V"; |
---|
.. | .. |
---|
70 | 114 | }; |
---|
71 | 115 | }; |
---|
72 | 116 | |
---|
| 117 | + vcc_3v3_tft1: regulator-panel { |
---|
| 118 | + compatible = "regulator-fixed"; |
---|
| 119 | + |
---|
| 120 | + regulator-name = "vcc-3v3-tft1"; |
---|
| 121 | + regulator-min-microvolt = <3300000>; |
---|
| 122 | + regulator-max-microvolt = <3300000>; |
---|
| 123 | + enable-active-high; |
---|
| 124 | + startup-delay-us = <500>; |
---|
| 125 | + gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>; |
---|
| 126 | + }; |
---|
| 127 | + |
---|
73 | 128 | vcc_sdhi1: regulator-vcc-sdhi1 { |
---|
74 | 129 | compatible = "regulator-fixed"; |
---|
75 | 130 | |
---|
.. | .. |
---|
89 | 144 | |
---|
90 | 145 | gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>; |
---|
91 | 146 | gpios-states = <1>; |
---|
92 | | - states = <3300000 1 |
---|
93 | | - 1800000 0>; |
---|
| 147 | + states = <3300000 1>, <1800000 0>; |
---|
94 | 148 | }; |
---|
95 | 149 | }; |
---|
96 | 150 | |
---|
.. | .. |
---|
114 | 168 | pinctrl-names = "default"; |
---|
115 | 169 | |
---|
116 | 170 | status = "okay"; |
---|
| 171 | +}; |
---|
| 172 | + |
---|
| 173 | +&cmt0 { |
---|
| 174 | + status = "okay"; |
---|
| 175 | +}; |
---|
| 176 | + |
---|
| 177 | +&du { |
---|
| 178 | + status = "okay"; |
---|
| 179 | +}; |
---|
| 180 | + |
---|
| 181 | +&gpio2 { |
---|
| 182 | + touch-interrupt { |
---|
| 183 | + gpio-hog; |
---|
| 184 | + gpios = <12 GPIO_ACTIVE_LOW>; |
---|
| 185 | + input; |
---|
| 186 | + }; |
---|
117 | 187 | }; |
---|
118 | 188 | |
---|
119 | 189 | &hsusb { |
---|
.. | .. |
---|
143 | 213 | VDDIO-supply = <®_3p3v>; |
---|
144 | 214 | VDDD-supply = <®_1p5v>; |
---|
145 | 215 | }; |
---|
| 216 | + |
---|
| 217 | + touch: touchpanel@38 { |
---|
| 218 | + compatible = "edt,edt-ft5406"; |
---|
| 219 | + reg = <0x38>; |
---|
| 220 | + interrupt-parent = <&gpio2>; |
---|
| 221 | + interrupts = <12 IRQ_TYPE_EDGE_FALLING>; |
---|
| 222 | + vcc-supply = <&vcc_3v3_tft1>; |
---|
| 223 | + }; |
---|
| 224 | +}; |
---|
| 225 | + |
---|
| 226 | +&lvds0 { |
---|
| 227 | + status = "okay"; |
---|
| 228 | + |
---|
| 229 | + ports { |
---|
| 230 | + port@1 { |
---|
| 231 | + lvds0_out: endpoint { |
---|
| 232 | + remote-endpoint = <&lvds_receiver_in>; |
---|
| 233 | + }; |
---|
| 234 | + }; |
---|
| 235 | + }; |
---|
146 | 236 | }; |
---|
147 | 237 | |
---|
148 | 238 | &pci0 { |
---|
.. | .. |
---|
160 | 250 | clock-frequency = <100000000>; |
---|
161 | 251 | }; |
---|
162 | 252 | |
---|
163 | | -&pciec { |
---|
164 | | - status = "okay"; |
---|
165 | | -}; |
---|
166 | | - |
---|
167 | 253 | &pfc { |
---|
168 | 254 | can0_pins: can0 { |
---|
169 | 255 | groups = "can0_data_d"; |
---|
.. | .. |
---|
178 | 264 | i2c2_pins: i2c2 { |
---|
179 | 265 | groups = "i2c2"; |
---|
180 | 266 | function = "i2c2"; |
---|
| 267 | + }; |
---|
| 268 | + |
---|
| 269 | + pwm3_pins: pwm3 { |
---|
| 270 | + groups = "pwm3"; |
---|
| 271 | + function = "pwm3"; |
---|
181 | 272 | }; |
---|
182 | 273 | |
---|
183 | 274 | scif0_pins: scif0 { |
---|
.. | .. |
---|
218 | 309 | }; |
---|
219 | 310 | }; |
---|
220 | 311 | |
---|
| 312 | +&pwm3 { |
---|
| 313 | + pinctrl-0 = <&pwm3_pins>; |
---|
| 314 | + pinctrl-names = "default"; |
---|
| 315 | + status = "okay"; |
---|
| 316 | +}; |
---|
| 317 | + |
---|
221 | 318 | &rcar_sound { |
---|
222 | 319 | pinctrl-0 = <&sound_pins>; |
---|
223 | 320 | pinctrl-names = "default"; |
---|
.. | .. |
---|
234 | 331 | }; |
---|
235 | 332 | }; |
---|
236 | 333 | |
---|
| 334 | +&rwdt { |
---|
| 335 | + timeout-sec = <60>; |
---|
| 336 | + status = "okay"; |
---|
| 337 | +}; |
---|
| 338 | + |
---|
237 | 339 | &scif0 { |
---|
238 | 340 | pinctrl-0 = <&scif0_pins>; |
---|
239 | 341 | pinctrl-names = "default"; |
---|