|
63 | 63 | pulldown-ohm = <0>;
|
64 | 64 | io-channels = <&auxadc 0>;
|
65 | 65 | };
|
| 66 | + |
| 67 | + connector { |
| 68 | + compatible = "hdmi-connector"; |
| 69 | + label = "hdmi"; |
| 70 | + type = "d"; |
| 71 | + |
| 72 | + port { |
| 73 | + hdmi_connector_in: endpoint { |
| 74 | + remote-endpoint = <&hdmi_connector_out>; |
| 75 | + }; |
| 76 | + }; |
| 77 | + }; |
66 | 78 | };
|
67 | 79 |
|
68 | 80 | &auxadc {
|
|
120 | 132 | pinctrl-0 = <&i2c6_pins>;
|
121 | 133 | status = "okay";
|
122 | 134 | clock-frequency = <100000>;
|
| 135 | + #address-cells = <1>; |
| 136 | + #size-cells = <0>; |
| 137 | + |
| 138 | + it66121hdmitx: hdmitx@4c { |
| 139 | + compatible = "ite,it66121"; |
| 140 | + reg = <0x4c>; |
| 141 | + pinctrl-names = "default"; |
| 142 | + pinctrl-0 = <&ite_pins>; |
| 143 | + reset-gpios = <&pio 160 GPIO_ACTIVE_LOW>; |
| 144 | + interrupt-parent = <&pio>; |
| 145 | + interrupts = <4 IRQ_TYPE_LEVEL_LOW>; |
| 146 | + vcn33-supply = <&mt6358_vcn33_reg>; |
| 147 | + vcn18-supply = <&mt6358_vcn18_reg>; |
| 148 | + vrf12-supply = <&mt6358_vrf12_reg>; |
| 149 | + |
| 150 | + ports { |
| 151 | + #address-cells = <1>; |
| 152 | + #size-cells = <0>; |
| 153 | + |
| 154 | + port@0 { |
| 155 | + reg = <0>; |
| 156 | + |
| 157 | + it66121_in: endpoint { |
| 158 | + bus-width = <12>; |
| 159 | + remote-endpoint = <&dpi_out>; |
| 160 | + }; |
| 161 | + }; |
| 162 | + |
| 163 | + port@1 { |
| 164 | + reg = <1>; |
| 165 | + |
| 166 | + hdmi_connector_out: endpoint { |
| 167 | + remote-endpoint = <&hdmi_connector_in>; |
| 168 | + }; |
| 169 | + }; |
| 170 | + }; |
| 171 | + }; |
123 | 172 | };
|
124 | 173 |
|
125 | 174 | &keyboard {
|
|
362 | 411 | input-enable;
|
363 | 412 | };
|
364 | 413 | };
|
| 414 | + |
| 415 | + ite_pins: ite-pins { |
| 416 | + pins-irq { |
| 417 | + pinmux = <PINMUX_GPIO4__FUNC_GPIO4>; |
| 418 | + input-enable; |
| 419 | + bias-pull-up; |
| 420 | + }; |
| 421 | + |
| 422 | + pins-rst { |
| 423 | + pinmux = <PINMUX_GPIO160__FUNC_GPIO160>; |
| 424 | + output-high; |
| 425 | + }; |
| 426 | + }; |
| 427 | + |
| 428 | + dpi_func_pins: dpi-func-pins { |
| 429 | + pins-dpi { |
| 430 | + pinmux = <PINMUX_GPIO12__FUNC_I2S5_BCK>, |
| 431 | + <PINMUX_GPIO46__FUNC_I2S5_LRCK>, |
| 432 | + <PINMUX_GPIO47__FUNC_I2S5_DO>, |
| 433 | + <PINMUX_GPIO13__FUNC_DBPI_D0>, |
| 434 | + <PINMUX_GPIO14__FUNC_DBPI_D1>, |
| 435 | + <PINMUX_GPIO15__FUNC_DBPI_D2>, |
| 436 | + <PINMUX_GPIO16__FUNC_DBPI_D3>, |
| 437 | + <PINMUX_GPIO17__FUNC_DBPI_D4>, |
| 438 | + <PINMUX_GPIO18__FUNC_DBPI_D5>, |
| 439 | + <PINMUX_GPIO19__FUNC_DBPI_D6>, |
| 440 | + <PINMUX_GPIO20__FUNC_DBPI_D7>, |
| 441 | + <PINMUX_GPIO21__FUNC_DBPI_D8>, |
| 442 | + <PINMUX_GPIO22__FUNC_DBPI_D9>, |
| 443 | + <PINMUX_GPIO23__FUNC_DBPI_D10>, |
| 444 | + <PINMUX_GPIO24__FUNC_DBPI_D11>, |
| 445 | + <PINMUX_GPIO25__FUNC_DBPI_HSYNC>, |
| 446 | + <PINMUX_GPIO26__FUNC_DBPI_VSYNC>, |
| 447 | + <PINMUX_GPIO27__FUNC_DBPI_DE>, |
| 448 | + <PINMUX_GPIO28__FUNC_DBPI_CK>; |
| 449 | + }; |
| 450 | + }; |
| 451 | + |
| 452 | + dpi_idle_pins: dpi-idle-pins { |
| 453 | + pins-idle { |
| 454 | + pinmux = <PINMUX_GPIO12__FUNC_GPIO12>, |
| 455 | + <PINMUX_GPIO46__FUNC_GPIO46>, |
| 456 | + <PINMUX_GPIO47__FUNC_GPIO47>, |
| 457 | + <PINMUX_GPIO13__FUNC_GPIO13>, |
| 458 | + <PINMUX_GPIO14__FUNC_GPIO14>, |
| 459 | + <PINMUX_GPIO15__FUNC_GPIO15>, |
| 460 | + <PINMUX_GPIO16__FUNC_GPIO16>, |
| 461 | + <PINMUX_GPIO17__FUNC_GPIO17>, |
| 462 | + <PINMUX_GPIO18__FUNC_GPIO18>, |
| 463 | + <PINMUX_GPIO19__FUNC_GPIO19>, |
| 464 | + <PINMUX_GPIO20__FUNC_GPIO20>, |
| 465 | + <PINMUX_GPIO21__FUNC_GPIO21>, |
| 466 | + <PINMUX_GPIO22__FUNC_GPIO22>, |
| 467 | + <PINMUX_GPIO23__FUNC_GPIO23>, |
| 468 | + <PINMUX_GPIO24__FUNC_GPIO24>, |
| 469 | + <PINMUX_GPIO25__FUNC_GPIO25>, |
| 470 | + <PINMUX_GPIO26__FUNC_GPIO26>, |
| 471 | + <PINMUX_GPIO27__FUNC_GPIO27>, |
| 472 | + <PINMUX_GPIO28__FUNC_GPIO28>; |
| 473 | + }; |
| 474 | + }; |
365 | 475 | };
|
366 | 476 |
|
367 | 477 | &pmic {
|
|
412 | 522 | status = "okay";
|
413 | 523 | };
|
414 | 524 |
|
415 |
| -&dsi0 { |
416 |
| - status = "disabled"; |
| 525 | +&dpi0 { |
| 526 | + pinctrl-names = "default", "sleep"; |
| 527 | + pinctrl-0 = <&dpi_func_pins>; |
| 528 | + pinctrl-1 = <&dpi_idle_pins>; |
| 529 | + status = "okay"; |
| 530 | + |
| 531 | + port { |
| 532 | + dpi_out: endpoint { |
| 533 | + remote-endpoint = <&it66121_in>; |
| 534 | + }; |
| 535 | + }; |
417 | 536 | };
|
0 commit comments