|
91 | 91 | };
|
92 | 92 | };
|
93 | 93 |
|
94 |
| - backlight_lcd0: backlight-lcd0 { |
| 94 | + backlight_lcm0: backlight-lcm0 { |
95 | 95 | compatible = "pwm-backlight";
|
96 |
| - pwms = <&disp_pwm0 0 500000>; |
97 |
| - enable-gpios = <&pio 47 GPIO_ACTIVE_HIGH>; |
98 | 96 | brightness-levels = <0 1023>;
|
99 |
| - num-interpolated-steps = <1023>; |
100 | 97 | default-brightness-level = <576>;
|
| 98 | + num-interpolated-steps = <1023>; |
| 99 | + pwms = <&disp_pwm0 0 500000>; |
101 | 100 | };
|
102 | 101 |
|
103 | 102 | backlight_lcd1: backlight-lcd1 {
|
|
150 | 149 | };
|
151 | 150 | };
|
152 | 151 |
|
| 152 | + lcm0_iovcc: regulator-vio18-lcm0 { |
| 153 | + compatible = "regulator-fixed"; |
| 154 | + regulator-name = "vio18_lcm0"; |
| 155 | + enable-active-high; |
| 156 | + gpio = <&pio 47 GPIO_ACTIVE_HIGH>; |
| 157 | + pinctrl-names = "default"; |
| 158 | + pinctrl-0 = <&dsi0_vreg_en_pins>; |
| 159 | + vin-supply = <&mt6360_ldo2>; |
| 160 | + }; |
| 161 | + |
| 162 | + lcm0_vddp: regulator-vsys-lcm0 { |
| 163 | + compatible = "regulator-fixed"; |
| 164 | + regulator-name = "vsys_lcm0"; |
| 165 | + regulator-always-on; |
| 166 | + regulator-boot-on; |
| 167 | + vin-supply = <&mt6360_ldo1>; |
| 168 | + }; |
| 169 | + |
153 | 170 | wifi_fixed_3v3: regulator-2 {
|
154 | 171 | compatible = "regulator-fixed";
|
155 | 172 | regulator-name = "wifi_3v3";
|
|
163 | 180 |
|
164 | 181 | &disp_pwm0 {
|
165 | 182 | pinctrl-names = "default";
|
166 |
| - pinctrl-0 = <&pwm0_default_pins>; |
| 183 | + pinctrl-0 = <&disp_pwm0_pins>; |
167 | 184 | status = "okay";
|
168 | 185 | };
|
169 | 186 |
|
| 187 | +&dither0_in { |
| 188 | + remote-endpoint = <&gamma0_out>; |
| 189 | +}; |
| 190 | + |
| 191 | +&dither0_out { |
| 192 | + remote-endpoint = <&dsi0_in>; |
| 193 | +}; |
| 194 | + |
170 | 195 | &dmic_codec {
|
171 | 196 | wakeup-delay-ms = <200>;
|
172 | 197 | };
|
173 | 198 |
|
| 199 | +&dsi0 { |
| 200 | + #address-cells = <1>; |
| 201 | + #size-cells = <0>; |
| 202 | + status = "okay"; |
| 203 | + |
| 204 | + panel@0 { |
| 205 | + compatible = "startek,kd070fhfid078", "himax,hx8279"; |
| 206 | + reg = <0>; |
| 207 | + backlight = <&backlight_lcm0>; |
| 208 | + enable-gpios = <&pio 48 GPIO_ACTIVE_HIGH>; |
| 209 | + reset-gpios = <&pio 108 GPIO_ACTIVE_HIGH>; |
| 210 | + iovcc-supply = <&lcm0_iovcc>; |
| 211 | + vdd-supply = <&lcm0_vddp>; |
| 212 | + pinctrl-names = "default"; |
| 213 | + pinctrl-0 = <&panel_default_pins>; |
| 214 | + |
| 215 | + port { |
| 216 | + dsi_panel_in: endpoint { |
| 217 | + remote-endpoint = <&dsi0_out>; |
| 218 | + }; |
| 219 | + }; |
| 220 | + }; |
| 221 | + |
| 222 | + ports { |
| 223 | + #address-cells = <1>; |
| 224 | + #size-cells = <0>; |
| 225 | + |
| 226 | + port@0 { |
| 227 | + reg = <0>; |
| 228 | + dsi0_in: endpoint { |
| 229 | + remote-endpoint = <&dither0_out>; |
| 230 | + }; |
| 231 | + }; |
| 232 | + |
| 233 | + port@1 { |
| 234 | + reg = <1>; |
| 235 | + dsi0_out: endpoint { |
| 236 | + remote-endpoint = <&dsi_panel_in>; |
| 237 | + }; |
| 238 | + }; |
| 239 | + }; |
| 240 | +}; |
| 241 | + |
174 | 242 | ð {
|
175 | 243 | phy-mode ="rgmii-rxid";
|
176 | 244 | phy-handle = <ð_phy0>;
|
|
194 | 262 | };
|
195 | 263 | };
|
196 | 264 |
|
| 265 | +&gamma0_out { |
| 266 | + remote-endpoint = <&dither0_in>; |
| 267 | +}; |
| 268 | + |
197 | 269 | &gpu {
|
198 | 270 | mali-supply = <&mt6315_7_vbuck1>;
|
199 | 271 | status = "okay";
|
|
418 | 490 | domain-supply = <&mt6359_vsram_others_ldo_reg>;
|
419 | 491 | };
|
420 | 492 |
|
| 493 | +&mipi_tx0 { |
| 494 | + status = "okay"; |
| 495 | +}; |
| 496 | + |
421 | 497 | &mmc0 {
|
422 | 498 | status = "okay";
|
423 | 499 | pinctrl-names = "default", "state_uhs";
|
|
500 | 576 | mediatek,mic-type-2 = <1>; /* ACC */
|
501 | 577 | };
|
502 | 578 |
|
| 579 | +&ovl0_in { |
| 580 | + remote-endpoint = <&vdosys0_ep_main>; |
| 581 | +}; |
| 582 | + |
503 | 583 | &pcie0 {
|
504 | 584 | pinctrl-names = "default", "idle";
|
505 | 585 | pinctrl-0 = <&pcie0_default_pins>;
|
|
777 | 857 | };
|
778 | 858 | };
|
779 | 859 |
|
| 860 | + dsi0_vreg_en_pins: dsi0-vreg-en-pins { |
| 861 | + pins-pwr-en { |
| 862 | + pinmux = <PINMUX_GPIO47__FUNC_GPIO47>; |
| 863 | + output-low; |
| 864 | + }; |
| 865 | + }; |
| 866 | + |
| 867 | + panel_default_pins: panel-default-pins { |
| 868 | + pins-rst { |
| 869 | + pinmux = <PINMUX_GPIO108__FUNC_GPIO108>; |
| 870 | + output-high; |
| 871 | + }; |
| 872 | + |
| 873 | + pins-en { |
| 874 | + pinmux = <PINMUX_GPIO48__FUNC_GPIO48>; |
| 875 | + output-low; |
| 876 | + }; |
| 877 | + }; |
| 878 | + |
780 | 879 | pcie0_default_pins: pcie0-default-pins {
|
781 | 880 | pins {
|
782 | 881 | pinmux = <PINMUX_GPIO19__FUNC_WAKEN>,
|
|
803 | 902 | };
|
804 | 903 | };
|
805 | 904 |
|
806 |
| - pwm0_default_pins: pwm0-default-pins { |
807 |
| - pins-cmd-dat { |
| 905 | + disp_pwm0_pins: disp-pwm0-pins { |
| 906 | + pins-disp-pwm { |
808 | 907 | pinmux = <PINMUX_GPIO97__FUNC_DISP_PWM0>;
|
809 | 908 | };
|
810 | 909 | };
|
|
1015 | 1114 | status = "okay";
|
1016 | 1115 | };
|
1017 | 1116 |
|
| 1117 | +&vdosys0 { |
| 1118 | + port { |
| 1119 | + #address-cells = <1>; |
| 1120 | + #size-cells = <0>; |
| 1121 | + |
| 1122 | + vdosys0_ep_main: endpoint@0 { |
| 1123 | + reg = <0>; |
| 1124 | + remote-endpoint = <&ovl0_in>; |
| 1125 | + }; |
| 1126 | + }; |
| 1127 | +}; |
| 1128 | + |
1018 | 1129 | &xhci0 {
|
1019 | 1130 | status = "okay";
|
1020 | 1131 | };
|
|
0 commit comments