|
9 | 9 | #include <dt-bindings/gpio/gpio.h> |
10 | 10 |
|
11 | 11 | &{/} { |
12 | | - model = "Qualcomm Technologies, Inc. Lemans-evk Mezzanine"; |
| 12 | + model = "Qualcomm Technologies, Inc. Lemans-evk IFP Mezzanine"; |
13 | 13 |
|
14 | | - panel_lvds: panel-lvds@0 { |
15 | | - compatible = "panel-lvds"; |
16 | | - |
17 | | - data-mapping = "vesa-24"; |
18 | | - |
19 | | - width-mm = <476>; |
20 | | - height-mm = <268>; |
21 | | - |
22 | | - status = "okay"; |
23 | | - |
24 | | - panel-timing { |
25 | | - clock-frequency = <148500000>; |
26 | | - hactive = <1920>; |
27 | | - vactive = <1080>; |
28 | | - hfront-porch = <88>; |
29 | | - hback-porch = <148>; |
30 | | - hsync-len = <44>; |
31 | | - vfront-porch = <4>; |
32 | | - vback-porch = <36>; |
33 | | - vsync-len = <5>; |
34 | | - de-active = <1>; |
35 | | - }; |
36 | | - |
37 | | - ports { |
38 | | - #address-cells = <1>; |
39 | | - #size-cells = <0>; |
40 | | - |
41 | | - port@0 { |
42 | | - reg = <0>; |
43 | | - |
44 | | - dual-lvds-odd-pixels; |
45 | | - panel_in_lvds_odd: endpoint { |
46 | | - remote-endpoint = <<9211c_out_odd>; |
47 | | - }; |
48 | | - }; |
49 | | - |
50 | | - port@1 { |
51 | | - reg = <1>; |
52 | | - |
53 | | - dual-lvds-even-pixels; |
54 | | - panel_in_lvds_even: endpoint { |
55 | | - remote-endpoint = <<9211c_out_even>; |
56 | | - }; |
57 | | - }; |
58 | | - }; |
59 | | - }; |
60 | | - |
61 | | - lcd_disp_bias: regulator-lcd-disp-bias { |
62 | | - compatible = "regulator-fixed"; |
63 | | - regulator-name = "lcd_disp_bias"; |
64 | | - regulator-min-microvolt = <5500000>; |
65 | | - regulator-max-microvolt = <5500000>; |
66 | | - gpio = <&expander3 1 GPIO_ACTIVE_HIGH>; |
67 | | - enable-active-high; |
68 | | - }; |
69 | | - |
70 | | - vreg_0p9: regulator-vreg-0p9 { |
| 14 | + vreg_0p9: regulator-0v9 { |
71 | 15 | compatible = "regulator-fixed"; |
72 | 16 | regulator-name = "VREG_0P9"; |
73 | 17 |
|
74 | 18 | regulator-min-microvolt = <900000>; |
75 | 19 | regulator-max-microvolt = <900000>; |
76 | 20 | regulator-always-on; |
77 | 21 | regulator-boot-on; |
78 | | - |
79 | | - vin-supply = <&vreg_3p3>; |
80 | 22 | }; |
81 | 23 |
|
82 | | - vreg_1p8: regulator-vreg-1p8 { |
| 24 | + vreg_1p8: regulator-1v8 { |
83 | 25 | compatible = "regulator-fixed"; |
84 | 26 | regulator-name = "VREG_1P8"; |
85 | 27 |
|
86 | 28 | regulator-min-microvolt = <1800000>; |
87 | 29 | regulator-max-microvolt = <1800000>; |
88 | 30 | regulator-always-on; |
89 | 31 | regulator-boot-on; |
90 | | - |
91 | | - vin-supply = <&vreg_4p2>; |
92 | | - }; |
93 | | - |
94 | | - vreg_3p3: regulator-vreg-3p3 { |
95 | | - compatible = "regulator-fixed"; |
96 | | - regulator-name = "VREG_3P3"; |
97 | | - |
98 | | - regulator-min-microvolt = <3300000>; |
99 | | - regulator-max-microvolt = <3300000>; |
100 | | - regulator-always-on; |
101 | | - regulator-boot-on; |
102 | | - |
103 | | - vin-supply = <&vreg_4p2>; |
104 | | - }; |
105 | | - |
106 | | - vreg_4p2: regulator-vreg-4p2 { |
107 | | - compatible = "regulator-fixed"; |
108 | | - regulator-name = "VREG_4P2"; |
109 | | - |
110 | | - regulator-min-microvolt = <4200000>; |
111 | | - regulator-max-microvolt = <4200000>; |
112 | | - regulator-always-on; |
113 | | - regulator-boot-on; |
114 | | - |
115 | | - vin-supply = <&vreg_sys_pwr>; |
116 | | - }; |
117 | | - |
118 | | - vreg_sys_pwr: regulator-vreg-sys-pwr { |
119 | | - compatible = "regulator-fixed"; |
120 | | - regulator-name = "VREG_SYS_PWR"; |
121 | | - |
122 | | - regulator-min-microvolt = <24000000>; |
123 | | - regulator-max-microvolt = <24000000>; |
124 | | - regulator-always-on; |
125 | | - regulator-boot-on; |
126 | 32 | }; |
127 | 33 | }; |
128 | 34 |
|
|
214 | 120 | }; |
215 | 121 | }; |
216 | 122 |
|
217 | | -&i2c1 { |
218 | | - qcom,load-firmware; |
219 | | - qcom,xfer-mode = <1>; |
220 | | - pinctrl-names = "default"; |
221 | | - pinctrl-0 = <&qup_i2c1_default>; |
222 | | - |
223 | | - status = "okay"; |
224 | | - |
225 | | - lt9211c_codec: lvds-bridge@2d { |
226 | | - compatible = "lontium,lt9211c"; |
227 | | - reg = <0x2d>; |
228 | | - reset-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; |
229 | | - vcc-supply = <&vreg_s4a>; |
230 | | - |
231 | | - status = "okay"; |
232 | | - |
233 | | - ports { |
234 | | - #address-cells = <1>; |
235 | | - #size-cells = <0>; |
236 | | - |
237 | | - port@0 { |
238 | | - reg = <0>; |
239 | | - |
240 | | - lt9211c_in: endpoint { |
241 | | - data-lanes = <0 1 2 3>; |
242 | | - remote-endpoint = <&mdss0_dsi0_out>; |
243 | | - }; |
244 | | - }; |
245 | | - |
246 | | - port@2 { |
247 | | - reg = <2>; |
248 | | - |
249 | | - lt9211c_out_odd: endpoint { |
250 | | - remote-endpoint = <&panel_in_lvds_odd>; |
251 | | - }; |
252 | | - }; |
253 | | - |
254 | | - port@3 { |
255 | | - reg = <3>; |
256 | | - |
257 | | - lt9211c_out_even: endpoint { |
258 | | - remote-endpoint = <&panel_in_lvds_even>; |
259 | | - }; |
260 | | - }; |
261 | | - }; |
262 | | - }; |
263 | | - |
264 | | -}; |
265 | | - |
266 | 123 | &i2c18 { |
267 | 124 | #address-cells = <1>; |
268 | 125 | #size-cells = <0>; |
|
284 | 141 | }; |
285 | 142 | }; |
286 | 143 |
|
287 | | -&mdss0 { |
288 | | - status = "okay"; |
289 | | -}; |
290 | | - |
291 | | -&mdss0_dsi0 { |
292 | | - vdda-supply = <&vreg_l1c>; |
293 | | - power-supply = <&lcd_disp_bias>; |
294 | | - status = "okay"; |
295 | | -}; |
296 | | - |
297 | | -&mdss0_dsi0_out { |
298 | | - data-lanes = <0 1 2 3>; |
299 | | - remote-endpoint = <<9211c_in>; |
300 | | -}; |
301 | | - |
302 | | -&mdss0_dsi0_phy { |
303 | | - vdds-supply = <&vreg_l4a>; |
304 | | - status = "okay"; |
305 | | -}; |
306 | | - |
307 | 144 | &pcie0 { |
308 | 145 | iommu-map = <0x0 &pcie_smmu 0x0 0x1>, |
309 | 146 | <0x100 &pcie_smmu 0x1 0x1>, |
|
417 | 254 | tc9563_resx_n: tc9563-resx-state { |
418 | 255 | pins = "gpio140"; |
419 | 256 | function = "gpio"; |
420 | | - |
421 | 257 | bias-disable; |
422 | | - input-disable; |
423 | | - output-enable; |
424 | | - power-source = <0>; |
| 258 | + /* Reset pin of tc9563 is active low hence set default |
| 259 | + * state of this pin to output-high. |
| 260 | + */ |
| 261 | + output-high; |
425 | 262 | }; |
426 | 263 | }; |
0 commit comments