|
21 | 21 |
|
22 | 22 | / {
|
23 | 23 | aliases {
|
| 24 | + dsi0 = &disp_dsi0; |
24 | 25 | ethernet0 = ð
|
25 | 26 | i2c0 = &i2c0;
|
26 | 27 | i2c1 = &i2c1;
|
|
34 | 35 | serial0 = &uart0;
|
35 | 36 | };
|
36 | 37 |
|
| 38 | + backlight_lcm1: backlight-lcm1 { |
| 39 | + compatible = "pwm-backlight"; |
| 40 | + brightness-levels = <0 1023>; |
| 41 | + default-brightness-level = <576>; |
| 42 | + num-interpolated-steps = <1023>; |
| 43 | + power-supply = <®_vsys>; |
| 44 | + pwms = <&disp_pwm1 0 500000>; |
| 45 | + }; |
| 46 | + |
37 | 47 | chosen {
|
38 | 48 | stdout-path = "serial0:921600n8";
|
39 | 49 | };
|
|
227 | 237 | regulator-max-microvolt = <5000000>;
|
228 | 238 | enable-active-high;
|
229 | 239 | };
|
| 240 | + |
| 241 | + lcm1_iovcc: regulator-vio18-lcm1 { |
| 242 | + compatible = "regulator-fixed"; |
| 243 | + regulator-name = "vio18_lcm1"; |
| 244 | + regulator-min-microvolt = <1800000>; |
| 245 | + regulator-max-microvolt = <1800000>; |
| 246 | + enable-active-high; |
| 247 | + gpio = <&pio 111 GPIO_ACTIVE_HIGH>; |
| 248 | + pinctrl-names = "default"; |
| 249 | + pinctrl-0 = <&dsi0_vreg_en_pins>; |
| 250 | + vin-supply = <®_vsys>; |
| 251 | + }; |
| 252 | + |
| 253 | + lcm1_vddp: regulator-vsys-lcm1 { |
| 254 | + compatible = "regulator-fixed"; |
| 255 | + regulator-name = "vsys_lcm1"; |
| 256 | + regulator-min-microvolt = <4200000>; |
| 257 | + regulator-max-microvolt = <4200000>; |
| 258 | + regulator-always-on; |
| 259 | + regulator-boot-on; |
| 260 | + vin-supply = <®_vsys>; |
| 261 | + }; |
230 | 262 | };
|
231 | 263 |
|
232 | 264 | &adsp {
|
|
239 | 271 | status = "okay";
|
240 | 272 | };
|
241 | 273 |
|
| 274 | +&disp_dsi0 { |
| 275 | + #address-cells = <1>; |
| 276 | + #size-cells = <0>; |
| 277 | + status = "okay"; |
| 278 | + |
| 279 | + panel@0 { |
| 280 | + compatible = "startek,kd070fhfid078", "himax,hx8279"; |
| 281 | + reg = <0>; |
| 282 | + backlight = <&backlight_lcm1>; |
| 283 | + enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; |
| 284 | + reset-gpios = <&pio 25 GPIO_ACTIVE_HIGH>; |
| 285 | + iovcc-supply = <&lcm1_iovcc>; |
| 286 | + vdd-supply = <&lcm1_vddp>; |
| 287 | + pinctrl-names = "default"; |
| 288 | + pinctrl-0 = <&panel_default_pins>; |
| 289 | + |
| 290 | + port { |
| 291 | + dsi_panel_in: endpoint { |
| 292 | + remote-endpoint = <&dsi0_out>; |
| 293 | + }; |
| 294 | + }; |
| 295 | + }; |
| 296 | + |
| 297 | + ports { |
| 298 | + #address-cells = <1>; |
| 299 | + #size-cells = <0>; |
| 300 | + |
| 301 | + port@0 { |
| 302 | + reg = <0>; |
| 303 | + dsi0_in: endpoint { |
| 304 | + remote-endpoint = <&dither0_out>; |
| 305 | + }; |
| 306 | + }; |
| 307 | + |
| 308 | + port@1 { |
| 309 | + reg = <1>; |
| 310 | + dsi0_out: endpoint { |
| 311 | + remote-endpoint = <&dsi_panel_in>; |
| 312 | + }; |
| 313 | + }; |
| 314 | + }; |
| 315 | +}; |
| 316 | + |
| 317 | +&disp_pwm1 { |
| 318 | + pinctrl-names = "default"; |
| 319 | + pinctrl-0 = <&disp_pwm1_pins>; |
| 320 | + status = "okay"; |
| 321 | +}; |
| 322 | + |
| 323 | +&dither0_in { |
| 324 | + remote-endpoint = <&postmask0_out>; |
| 325 | +}; |
| 326 | + |
| 327 | +&dither0_out { |
| 328 | + remote-endpoint = <&dsi0_in>; |
| 329 | +}; |
| 330 | + |
| 331 | +&gamma0_out { |
| 332 | + remote-endpoint = <&postmask0_in>; |
| 333 | +}; |
| 334 | + |
242 | 335 | &gpu {
|
243 | 336 | mali-supply = <&mt6359_vproc2_buck_reg>;
|
244 | 337 | status = "okay";
|
|
390 | 483 | domain-supply = <&mt6359_vsram_others_ldo_reg>;
|
391 | 484 | };
|
392 | 485 |
|
| 486 | +&mipi_tx_config0 { |
| 487 | + status = "okay"; |
| 488 | +}; |
| 489 | + |
393 | 490 | &mmc0 {
|
394 | 491 | status = "okay";
|
395 | 492 | pinctrl-names = "default", "state_uhs";
|
|
499 | 596 | mediatek,mic-type-1 = <3>; /* DCC */
|
500 | 597 | };
|
501 | 598 |
|
| 599 | +&ovl0_in { |
| 600 | + remote-endpoint = <&vdosys0_ep_main>; |
| 601 | +}; |
| 602 | + |
502 | 603 | &pcie {
|
503 | 604 | pinctrl-names = "default";
|
504 | 605 | pinctrl-0 = <&pcie_default_pins>;
|
|
537 | 638 | };
|
538 | 639 | };
|
539 | 640 |
|
| 641 | + disp_pwm1_pins: disp-pwm1-pins { |
| 642 | + pins-pwm { |
| 643 | + pinmux = <PINMUX_GPIO30__FUNC_O_DISP_PWM1>; |
| 644 | + }; |
| 645 | + }; |
| 646 | + |
540 | 647 | dptx_pins: dptx-pins {
|
541 | 648 | pins-cmd-dat {
|
542 | 649 | pinmux = <PINMUX_GPIO46__FUNC_I0_DP_TX_HPD>;
|
|
857 | 964 | };
|
858 | 965 | };
|
859 | 966 |
|
860 |
| - panel_default_pins: panel-default-pins { |
861 |
| - pins-dcdc { |
862 |
| - pinmux = <PINMUX_GPIO45__FUNC_B_GPIO45>; |
863 |
| - output-low; |
864 |
| - }; |
865 |
| - |
866 |
| - pins-en { |
| 967 | + dsi0_vreg_en_pins: dsi0-vreg-en-pins { |
| 968 | + pins-pwr-en { |
867 | 969 | pinmux = <PINMUX_GPIO111__FUNC_B_GPIO111>;
|
868 | 970 | output-low;
|
869 | 971 | };
|
| 972 | + }; |
870 | 973 |
|
| 974 | + panel_default_pins: panel-default-pins { |
871 | 975 | pins-rst {
|
872 | 976 | pinmux = <PINMUX_GPIO25__FUNC_B_GPIO25>;
|
873 |
| - output-high; |
| 977 | + output-low; |
| 978 | + }; |
| 979 | + |
| 980 | + pins-en { |
| 981 | + pinmux = <PINMUX_GPIO45__FUNC_B_GPIO45>; |
| 982 | + output-low; |
874 | 983 | };
|
875 | 984 | };
|
876 | 985 |
|
|
1055 | 1164 | };
|
1056 | 1165 | };
|
1057 | 1166 |
|
| 1167 | +&postmask0_in { |
| 1168 | + remote-endpoint = <&gamma0_out>; |
| 1169 | +}; |
| 1170 | + |
| 1171 | +&postmask0_out { |
| 1172 | + remote-endpoint = <&dither0_in>; |
| 1173 | +}; |
| 1174 | + |
1058 | 1175 | &scp_cluster {
|
1059 | 1176 | status = "okay";
|
1060 | 1177 | };
|
|
1124 | 1241 | status = "okay";
|
1125 | 1242 | };
|
1126 | 1243 |
|
| 1244 | +&vdosys0 { |
| 1245 | + port { |
| 1246 | + #address-cells = <1>; |
| 1247 | + #size-cells = <0>; |
| 1248 | + |
| 1249 | + vdosys0_ep_main: endpoint@0 { |
| 1250 | + reg = <0>; |
| 1251 | + remote-endpoint = <&ovl0_in>; |
| 1252 | + }; |
| 1253 | + }; |
| 1254 | +}; |
| 1255 | + |
1127 | 1256 | &u3phy0 {
|
1128 | 1257 | status = "okay";
|
1129 | 1258 | };
|
|
0 commit comments