~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/mediatek/mt8195-cherry.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/mediatek/mt8195-cherry.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/mediatek/mt8195-cherry.dtsi (Version linux-6.8.12)


  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)        1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (C) 2021 MediaTek Inc.                 3  * Copyright (C) 2021 MediaTek Inc.
  4  */                                                 4  */
  5                                                     5 
  6 #include <dt-bindings/gpio/gpio.h>                  6 #include <dt-bindings/gpio/gpio.h>
  7 #include <dt-bindings/spmi/spmi.h>                  7 #include <dt-bindings/spmi/spmi.h>
  8 #include "mt8195.dtsi"                              8 #include "mt8195.dtsi"
  9 #include "mt6359.dtsi"                              9 #include "mt6359.dtsi"
 10                                                    10 
 11 / {                                                11 / {
 12         aliases {                                  12         aliases {
 13                 i2c0 = &i2c0;                      13                 i2c0 = &i2c0;
 14                 i2c1 = &i2c1;                      14                 i2c1 = &i2c1;
 15                 i2c2 = &i2c2;                      15                 i2c2 = &i2c2;
 16                 i2c3 = &i2c3;                      16                 i2c3 = &i2c3;
 17                 i2c4 = &i2c4;                      17                 i2c4 = &i2c4;
 18                 i2c5 = &i2c5;                      18                 i2c5 = &i2c5;
 19                 i2c7 = &i2c7;                      19                 i2c7 = &i2c7;
 20                 mmc0 = &mmc0;                      20                 mmc0 = &mmc0;
 21                 mmc1 = &mmc1;                      21                 mmc1 = &mmc1;
 22                 serial0 = &uart0;                  22                 serial0 = &uart0;
 23         };                                         23         };
 24                                                    24 
 25         backlight_lcd0: backlight-lcd0 {           25         backlight_lcd0: backlight-lcd0 {
 26                 compatible = "pwm-backlight";      26                 compatible = "pwm-backlight";
 27                 brightness-levels = <0 1023>;      27                 brightness-levels = <0 1023>;
 28                 default-brightness-level = <57     28                 default-brightness-level = <576>;
 29                 enable-gpios = <&pio 82 GPIO_A     29                 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
 30                 num-interpolated-steps = <1023     30                 num-interpolated-steps = <1023>;
 31                 pwms = <&disp_pwm0 0 500000>;      31                 pwms = <&disp_pwm0 0 500000>;
 32                 power-supply = <&ppvar_sys>;       32                 power-supply = <&ppvar_sys>;
 33         };                                         33         };
 34                                                    34 
 35         chosen {                                   35         chosen {
 36                 stdout-path = "serial0:115200n     36                 stdout-path = "serial0:115200n8";
 37         };                                         37         };
 38                                                    38 
 39         dmic-codec {                               39         dmic-codec {
 40                 compatible = "dmic-codec";         40                 compatible = "dmic-codec";
 41                 num-channels = <2>;                41                 num-channels = <2>;
 42                 wakeup-delay-ms = <50>;            42                 wakeup-delay-ms = <50>;
 43         };                                         43         };
 44                                                    44 
 45         memory@40000000 {                          45         memory@40000000 {
 46                 device_type = "memory";            46                 device_type = "memory";
 47                 reg = <0 0x40000000 0 0x800000     47                 reg = <0 0x40000000 0 0x80000000>;
 48         };                                         48         };
 49                                                    49 
 50         pp3300_disp_x: regulator-pp3300-disp-x     50         pp3300_disp_x: regulator-pp3300-disp-x {
 51                 compatible = "regulator-fixed"     51                 compatible = "regulator-fixed";
 52                 regulator-name = "pp3300_disp_     52                 regulator-name = "pp3300_disp_x";
 53                 regulator-min-microvolt = <330     53                 regulator-min-microvolt = <3300000>;
 54                 regulator-max-microvolt = <330     54                 regulator-max-microvolt = <3300000>;
 55                 regulator-enable-ramp-delay =      55                 regulator-enable-ramp-delay = <2500>;
 56                 enable-active-high;                56                 enable-active-high;
 57                 gpio = <&pio 55 GPIO_ACTIVE_HI     57                 gpio = <&pio 55 GPIO_ACTIVE_HIGH>;
 58                 pinctrl-names = "default";         58                 pinctrl-names = "default";
 59                 pinctrl-0 = <&panel_fixed_pins     59                 pinctrl-0 = <&panel_fixed_pins>;
 60                 vin-supply = <&pp3300_z2>;         60                 vin-supply = <&pp3300_z2>;
 61         };                                         61         };
 62                                                    62 
 63         /* system wide LDO 3.3V power rail */      63         /* system wide LDO 3.3V power rail */
 64         pp3300_z5: regulator-pp3300-ldo-z5 {       64         pp3300_z5: regulator-pp3300-ldo-z5 {
 65                 compatible = "regulator-fixed"     65                 compatible = "regulator-fixed";
 66                 regulator-name = "pp3300_ldo_z     66                 regulator-name = "pp3300_ldo_z5";
 67                 regulator-always-on;               67                 regulator-always-on;
 68                 regulator-boot-on;                 68                 regulator-boot-on;
 69                 regulator-min-microvolt = <330     69                 regulator-min-microvolt = <3300000>;
 70                 regulator-max-microvolt = <330     70                 regulator-max-microvolt = <3300000>;
 71                 vin-supply = <&ppvar_sys>;         71                 vin-supply = <&ppvar_sys>;
 72         };                                         72         };
 73                                                    73 
 74         /* separately switched 3.3V power rail     74         /* separately switched 3.3V power rail */
 75         pp3300_s3: regulator-pp3300-s3 {           75         pp3300_s3: regulator-pp3300-s3 {
 76                 compatible = "regulator-fixed"     76                 compatible = "regulator-fixed";
 77                 regulator-name = "pp3300_s3";      77                 regulator-name = "pp3300_s3";
 78                 /* automatically sequenced by      78                 /* automatically sequenced by PMIC EXT_PMIC_EN2 */
 79                 regulator-always-on;               79                 regulator-always-on;
 80                 regulator-boot-on;                 80                 regulator-boot-on;
 81                 regulator-min-microvolt = <330     81                 regulator-min-microvolt = <3300000>;
 82                 regulator-max-microvolt = <330     82                 regulator-max-microvolt = <3300000>;
 83                 vin-supply = <&pp3300_z2>;         83                 vin-supply = <&pp3300_z2>;
 84         };                                         84         };
 85                                                    85 
 86         /* system wide 3.3V power rail */          86         /* system wide 3.3V power rail */
 87         pp3300_z2: regulator-pp3300-z2 {           87         pp3300_z2: regulator-pp3300-z2 {
 88                 compatible = "regulator-fixed"     88                 compatible = "regulator-fixed";
 89                 regulator-name = "pp3300_z2";      89                 regulator-name = "pp3300_z2";
 90                 /* EN pin tied to pp4200_z2, w     90                 /* EN pin tied to pp4200_z2, which is controlled by EC */
 91                 regulator-always-on;               91                 regulator-always-on;
 92                 regulator-boot-on;                 92                 regulator-boot-on;
 93                 regulator-min-microvolt = <330     93                 regulator-min-microvolt = <3300000>;
 94                 regulator-max-microvolt = <330     94                 regulator-max-microvolt = <3300000>;
 95                 vin-supply = <&ppvar_sys>;         95                 vin-supply = <&ppvar_sys>;
 96         };                                         96         };
 97                                                    97 
 98         /* system wide 4.2V power rail */          98         /* system wide 4.2V power rail */
 99         pp4200_z2: regulator-pp4200-z2 {           99         pp4200_z2: regulator-pp4200-z2 {
100                 compatible = "regulator-fixed"    100                 compatible = "regulator-fixed";
101                 regulator-name = "pp4200_z2";     101                 regulator-name = "pp4200_z2";
102                 /* controlled by EC */            102                 /* controlled by EC */
103                 regulator-always-on;              103                 regulator-always-on;
104                 regulator-boot-on;                104                 regulator-boot-on;
105                 regulator-min-microvolt = <420    105                 regulator-min-microvolt = <4200000>;
106                 regulator-max-microvolt = <420    106                 regulator-max-microvolt = <4200000>;
107                 vin-supply = <&ppvar_sys>;        107                 vin-supply = <&ppvar_sys>;
108         };                                        108         };
109                                                   109 
110         /* system wide switching 5.0V power ra    110         /* system wide switching 5.0V power rail */
111         pp5000_s5: regulator-pp5000-s5 {          111         pp5000_s5: regulator-pp5000-s5 {
112                 compatible = "regulator-fixed"    112                 compatible = "regulator-fixed";
113                 regulator-name = "pp5000_s5";     113                 regulator-name = "pp5000_s5";
114                 /* controlled by EC */            114                 /* controlled by EC */
115                 regulator-always-on;              115                 regulator-always-on;
116                 regulator-boot-on;                116                 regulator-boot-on;
117                 regulator-min-microvolt = <500    117                 regulator-min-microvolt = <5000000>;
118                 regulator-max-microvolt = <500    118                 regulator-max-microvolt = <5000000>;
119                 vin-supply = <&ppvar_sys>;        119                 vin-supply = <&ppvar_sys>;
120         };                                        120         };
121                                                   121 
122         /* system wide semi-regulated power ra    122         /* system wide semi-regulated power rail from battery or USB */
123         ppvar_sys: regulator-ppvar-sys {          123         ppvar_sys: regulator-ppvar-sys {
124                 compatible = "regulator-fixed"    124                 compatible = "regulator-fixed";
125                 regulator-name = "ppvar_sys";     125                 regulator-name = "ppvar_sys";
126                 regulator-always-on;              126                 regulator-always-on;
127                 regulator-boot-on;                127                 regulator-boot-on;
128         };                                        128         };
129                                                   129 
130         /* Murata NCP03WF104F05RL */              130         /* Murata NCP03WF104F05RL */
131         tboard_thermistor1: thermal-sensor-t1     131         tboard_thermistor1: thermal-sensor-t1 {
132                 compatible = "generic-adc-ther    132                 compatible = "generic-adc-thermal";
133                 #thermal-sensor-cells = <0>;      133                 #thermal-sensor-cells = <0>;
134                 io-channels = <&auxadc 0>;        134                 io-channels = <&auxadc 0>;
135                 io-channel-names = "sensor-cha    135                 io-channel-names = "sensor-channel";
136                 temperature-lookup-table = <      136                 temperature-lookup-table = <    (-10000) 1553
137                                                   137                                                 (-5000) 1485
138                                                   138                                                 0 1406
139                                                   139                                                 5000 1317
140                                                   140                                                 10000 1219
141                                                   141                                                 15000 1115
142                                                   142                                                 20000 1007
143                                                   143                                                 25000 900
144                                                   144                                                 30000 796
145                                                   145                                                 35000 697
146                                                   146                                                 40000 605
147                                                   147                                                 45000 523
148                                                   148                                                 50000 449
149                                                   149                                                 55000 384
150                                                   150                                                 60000 327
151                                                   151                                                 65000 279
152                                                   152                                                 70000 237
153                                                   153                                                 75000 202
154                                                   154                                                 80000 172
155                                                   155                                                 85000 147
156                                                   156                                                 90000 125
157                                                   157                                                 95000 107
158                                                   158                                                 100000 92
159                                                   159                                                 105000 79
160                                                   160                                                 110000 68
161                                                   161                                                 115000 59
162                                                   162                                                 120000 51
163                                                   163                                                 125000 44>;
164         };                                        164         };
165                                                   165 
166         tboard_thermistor2: thermal-sensor-t2     166         tboard_thermistor2: thermal-sensor-t2 {
167                 compatible = "generic-adc-ther    167                 compatible = "generic-adc-thermal";
168                 #thermal-sensor-cells = <0>;      168                 #thermal-sensor-cells = <0>;
169                 io-channels = <&auxadc 1>;        169                 io-channels = <&auxadc 1>;
170                 io-channel-names = "sensor-cha    170                 io-channel-names = "sensor-channel";
171                 temperature-lookup-table = <      171                 temperature-lookup-table = <    (-10000) 1553
172                                                   172                                                 (-5000) 1485
173                                                   173                                                 0 1406
174                                                   174                                                 5000 1317
175                                                   175                                                 10000 1219
176                                                   176                                                 15000 1115
177                                                   177                                                 20000 1007
178                                                   178                                                 25000 900
179                                                   179                                                 30000 796
180                                                   180                                                 35000 697
181                                                   181                                                 40000 605
182                                                   182                                                 45000 523
183                                                   183                                                 50000 449
184                                                   184                                                 55000 384
185                                                   185                                                 60000 327
186                                                   186                                                 65000 279
187                                                   187                                                 70000 237
188                                                   188                                                 75000 202
189                                                   189                                                 80000 172
190                                                   190                                                 85000 147
191                                                   191                                                 90000 125
192                                                   192                                                 95000 107
193                                                   193                                                 100000 92
194                                                   194                                                 105000 79
195                                                   195                                                 110000 68
196                                                   196                                                 115000 59
197                                                   197                                                 120000 51
198                                                   198                                                 125000 44>;
199         };                                        199         };
200                                                   200 
201         usb_vbus: regulator-5v0-usb-vbus {        201         usb_vbus: regulator-5v0-usb-vbus {
202                 compatible = "regulator-fixed"    202                 compatible = "regulator-fixed";
203                 regulator-name = "usb-vbus";      203                 regulator-name = "usb-vbus";
204                 regulator-min-microvolt = <500    204                 regulator-min-microvolt = <5000000>;
205                 regulator-max-microvolt = <500    205                 regulator-max-microvolt = <5000000>;
206                 enable-active-high;               206                 enable-active-high;
207                 regulator-always-on;              207                 regulator-always-on;
208         };                                        208         };
209                                                   209 
210         reserved_memory: reserved-memory {        210         reserved_memory: reserved-memory {
211                 #address-cells = <2>;             211                 #address-cells = <2>;
212                 #size-cells = <2>;                212                 #size-cells = <2>;
213                 ranges;                           213                 ranges;
214                                                   214 
215                 scp_mem: memory@50000000 {        215                 scp_mem: memory@50000000 {
216                         compatible = "shared-d    216                         compatible = "shared-dma-pool";
217                         reg = <0 0x50000000 0     217                         reg = <0 0x50000000 0 0x2900000>;
218                         no-map;                   218                         no-map;
219                 };                                219                 };
220                                                   220 
221                 adsp_mem: memory@60000000 {       221                 adsp_mem: memory@60000000 {
222                         compatible = "shared-d    222                         compatible = "shared-dma-pool";
223                         reg = <0 0x60000000 0     223                         reg = <0 0x60000000 0 0xd80000>;
224                         no-map;                   224                         no-map;
225                 };                                225                 };
226                                                   226 
227                 afe_mem: memory@60d80000 {        227                 afe_mem: memory@60d80000 {
228                         compatible = "shared-d    228                         compatible = "shared-dma-pool";
229                         reg = <0 0x60d80000 0     229                         reg = <0 0x60d80000 0 0x100000>;
230                         no-map;                   230                         no-map;
231                 };                                231                 };
232                                                   232 
233                 adsp_device_mem: memory@60e800    233                 adsp_device_mem: memory@60e80000 {
234                         compatible = "shared-d    234                         compatible = "shared-dma-pool";
235                         reg = <0 0x60e80000 0     235                         reg = <0 0x60e80000 0 0x280000>;
236                         no-map;                   236                         no-map;
237                 };                                237                 };
238         };                                        238         };
239                                                   239 
240         spk_amplifier: rt1019p {                  240         spk_amplifier: rt1019p {
241                 compatible = "realtek,rt1019p"    241                 compatible = "realtek,rt1019p";
242                 label = "rt1019p";                242                 label = "rt1019p";
243                 #sound-dai-cells = <0>;        << 
244                 pinctrl-names = "default";        243                 pinctrl-names = "default";
245                 pinctrl-0 = <&rt1019p_pins_def    244                 pinctrl-0 = <&rt1019p_pins_default>;
246                 sdb-gpios = <&pio 100 GPIO_ACT    245                 sdb-gpios = <&pio 100 GPIO_ACTIVE_HIGH>;
247         };                                        246         };
248 };                                                247 };
249                                                   248 
250 &adsp {                                           249 &adsp {
251         status = "okay";                          250         status = "okay";
252                                                   251 
253         memory-region = <&adsp_device_mem>, <&    252         memory-region = <&adsp_device_mem>, <&adsp_mem>;
254 };                                                253 };
255                                                   254 
256 &afe {                                            255 &afe {
257         status = "okay";                          256         status = "okay";
258                                                   257 
259         mediatek,etdm-in2-cowork-source = <2>;    258         mediatek,etdm-in2-cowork-source = <2>;
260         mediatek,etdm-out2-cowork-source = <0>    259         mediatek,etdm-out2-cowork-source = <0>;
261         memory-region = <&afe_mem>;               260         memory-region = <&afe_mem>;
262 };                                                261 };
263                                                   262 
264 &auxadc {                                         263 &auxadc {
265         status = "okay";                          264         status = "okay";
266 };                                                265 };
267                                                   266 
268 &cpu0 {                                           267 &cpu0 {
269         cpu-supply = <&mt6359_vcore_buck_reg>;    268         cpu-supply = <&mt6359_vcore_buck_reg>;
270 };                                                269 };
271                                                   270 
272 &cpu1 {                                           271 &cpu1 {
273         cpu-supply = <&mt6359_vcore_buck_reg>;    272         cpu-supply = <&mt6359_vcore_buck_reg>;
274 };                                                273 };
275                                                   274 
276 &cpu2 {                                           275 &cpu2 {
277         cpu-supply = <&mt6359_vcore_buck_reg>;    276         cpu-supply = <&mt6359_vcore_buck_reg>;
278 };                                                277 };
279                                                   278 
280 &cpu3 {                                           279 &cpu3 {
281         cpu-supply = <&mt6359_vcore_buck_reg>;    280         cpu-supply = <&mt6359_vcore_buck_reg>;
282 };                                                281 };
283                                                   282 
284 &cpu4 {                                           283 &cpu4 {
285         cpu-supply = <&mt6315_6_vbuck1>;          284         cpu-supply = <&mt6315_6_vbuck1>;
286 };                                                285 };
287                                                   286 
288 &cpu5 {                                           287 &cpu5 {
289         cpu-supply = <&mt6315_6_vbuck1>;          288         cpu-supply = <&mt6315_6_vbuck1>;
290 };                                                289 };
291                                                   290 
292 &cpu6 {                                           291 &cpu6 {
293         cpu-supply = <&mt6315_6_vbuck1>;          292         cpu-supply = <&mt6315_6_vbuck1>;
294 };                                                293 };
295                                                   294 
296 &cpu7 {                                           295 &cpu7 {
297         cpu-supply = <&mt6315_6_vbuck1>;          296         cpu-supply = <&mt6315_6_vbuck1>;
298 };                                                297 };
299                                                   298 
300 &dp_intf0 {                                       299 &dp_intf0 {
301         status = "okay";                          300         status = "okay";
302                                                   301 
303         port {                                    302         port {
304                 dp_intf0_out: endpoint {          303                 dp_intf0_out: endpoint {
305                         remote-endpoint = <&ed    304                         remote-endpoint = <&edp_in>;
306                 };                                305                 };
307         };                                        306         };
308 };                                                307 };
309                                                   308 
310 &dp_intf1 {                                       309 &dp_intf1 {
311         status = "okay";                          310         status = "okay";
312                                                   311 
313         port {                                    312         port {
314                 dp_intf1_out: endpoint {          313                 dp_intf1_out: endpoint {
315                         remote-endpoint = <&dp    314                         remote-endpoint = <&dptx_in>;
316                 };                                315                 };
317         };                                        316         };
318 };                                                317 };
319                                                   318 
320 &edp_tx {                                         319 &edp_tx {
321         status = "okay";                          320         status = "okay";
322                                                   321 
323         pinctrl-names = "default";                322         pinctrl-names = "default";
324         pinctrl-0 = <&edptx_pins_default>;        323         pinctrl-0 = <&edptx_pins_default>;
325                                                   324 
326         ports {                                   325         ports {
327                 #address-cells = <1>;             326                 #address-cells = <1>;
328                 #size-cells = <0>;                327                 #size-cells = <0>;
329                                                   328 
330                 port@0 {                          329                 port@0 {
331                         reg = <0>;                330                         reg = <0>;
332                         edp_in: endpoint {        331                         edp_in: endpoint {
333                                 remote-endpoin    332                                 remote-endpoint = <&dp_intf0_out>;
334                         };                        333                         };
335                 };                                334                 };
336                                                   335 
337                 port@1 {                          336                 port@1 {
338                         reg = <1>;                337                         reg = <1>;
339                         edp_out: endpoint {       338                         edp_out: endpoint {
340                                 data-lanes = <    339                                 data-lanes = <0 1 2 3>;
341                                 remote-endpoin    340                                 remote-endpoint = <&panel_in>;
342                         };                        341                         };
343                 };                                342                 };
344         };                                        343         };
345                                                   344 
346         aux-bus {                                 345         aux-bus {
347                 panel {                           346                 panel {
348                         compatible = "edp-pane    347                         compatible = "edp-panel";
349                         power-supply = <&pp330    348                         power-supply = <&pp3300_disp_x>;
350                         backlight = <&backligh    349                         backlight = <&backlight_lcd0>;
351                         port {                    350                         port {
352                                 panel_in: endp    351                                 panel_in: endpoint {
353                                         remote    352                                         remote-endpoint = <&edp_out>;
354                                 };                353                                 };
355                         };                        354                         };
356                 };                                355                 };
357         };                                        356         };
358 };                                                357 };
359                                                   358 
360 &disp_pwm0 {                                      359 &disp_pwm0 {
361         status = "okay";                          360         status = "okay";
362                                                   361 
363         pinctrl-names = "default";                362         pinctrl-names = "default";
364         pinctrl-0 = <&disp_pwm0_pin_default>;     363         pinctrl-0 = <&disp_pwm0_pin_default>;
365 };                                                364 };
366                                                   365 
367 &dp_tx {                                          366 &dp_tx {
368         status = "okay";                          367         status = "okay";
369                                                   368 
370         #sound-dai-cells = <0>;                << 
371         pinctrl-names = "default";                369         pinctrl-names = "default";
372         pinctrl-0 = <&dptx_pin>;                  370         pinctrl-0 = <&dptx_pin>;
373                                                   371 
374         ports {                                   372         ports {
375                 #address-cells = <1>;             373                 #address-cells = <1>;
376                 #size-cells = <0>;                374                 #size-cells = <0>;
377                                                   375 
378                 port@0 {                          376                 port@0 {
379                         reg = <0>;                377                         reg = <0>;
380                         dptx_in: endpoint {       378                         dptx_in: endpoint {
381                                 remote-endpoin    379                                 remote-endpoint = <&dp_intf1_out>;
382                         };                        380                         };
383                 };                                381                 };
384                                                   382 
385                 port@1 {                          383                 port@1 {
386                         reg = <1>;                384                         reg = <1>;
387                         dptx_out: endpoint {      385                         dptx_out: endpoint {
388                                 data-lanes = <    386                                 data-lanes = <0 1 2 3>;
389                         };                        387                         };
390                 };                                388                 };
391         };                                        389         };
392 };                                                390 };
393                                                   391 
394 &gic {                                            392 &gic {
395         mediatek,broken-save-restore-fw;          393         mediatek,broken-save-restore-fw;
396 };                                                394 };
397                                                   395 
398 &gpu {                                            396 &gpu {
399         status = "okay";                          397         status = "okay";
400         mali-supply = <&mt6315_7_vbuck1>;         398         mali-supply = <&mt6315_7_vbuck1>;
401 };                                                399 };
402                                                   400 
403 &i2c0 {                                           401 &i2c0 {
404         status = "okay";                          402         status = "okay";
405                                                   403 
406         clock-frequency = <400000>;               404         clock-frequency = <400000>;
407         pinctrl-names = "default";                405         pinctrl-names = "default";
408         pinctrl-0 = <&i2c0_pins>;                 406         pinctrl-0 = <&i2c0_pins>;
409 };                                                407 };
410                                                   408 
411 &i2c1 {                                           409 &i2c1 {
412         status = "okay";                          410         status = "okay";
413                                                   411 
414         clock-frequency = <400000>;               412         clock-frequency = <400000>;
415         i2c-scl-internal-delay-ns = <12500>;      413         i2c-scl-internal-delay-ns = <12500>;
416         pinctrl-names = "default";                414         pinctrl-names = "default";
417         pinctrl-0 = <&i2c1_pins>;                 415         pinctrl-0 = <&i2c1_pins>;
418                                                   416 
419         trackpad@15 {                             417         trackpad@15 {
420                 compatible = "elan,ekth3000";     418                 compatible = "elan,ekth3000";
421                 reg = <0x15>;                     419                 reg = <0x15>;
422                 interrupts-extended = <&pio 6     420                 interrupts-extended = <&pio 6 IRQ_TYPE_LEVEL_LOW>;
423                 pinctrl-names = "default";        421                 pinctrl-names = "default";
424                 pinctrl-0 = <&trackpad_pins>;     422                 pinctrl-0 = <&trackpad_pins>;
425                 vcc-supply = <&pp3300_s3>;        423                 vcc-supply = <&pp3300_s3>;
426                 wakeup-source;                    424                 wakeup-source;
427         };                                        425         };
428 };                                                426 };
429                                                   427 
430 &i2c2 {                                           428 &i2c2 {
431         status = "okay";                          429         status = "okay";
432                                                   430 
433         clock-frequency = <400000>;               431         clock-frequency = <400000>;
434         pinctrl-names = "default";                432         pinctrl-names = "default";
435         pinctrl-0 = <&i2c2_pins>;                 433         pinctrl-0 = <&i2c2_pins>;
436                                                   434 
437         audio_codec: codec@1a {                   435         audio_codec: codec@1a {
438                 /* Realtek RT5682i or RT5682s,    436                 /* Realtek RT5682i or RT5682s, sharing the same configuration */
439                 reg = <0x1a>;                     437                 reg = <0x1a>;
440                 interrupts-extended = <&pio 89    438                 interrupts-extended = <&pio 89 IRQ_TYPE_EDGE_BOTH>;
441                 #sound-dai-cells = <0>;        << 
442                 realtek,jd-src = <1>;             439                 realtek,jd-src = <1>;
443                                                   440 
444                 AVDD-supply = <&mt6359_vio18_l    441                 AVDD-supply = <&mt6359_vio18_ldo_reg>;
445                 MICVDD-supply = <&pp3300_z2>;     442                 MICVDD-supply = <&pp3300_z2>;
446                 VBAT-supply = <&pp3300_z5>;       443                 VBAT-supply = <&pp3300_z5>;
447         };                                        444         };
448 };                                                445 };
449                                                   446 
450 &i2c3 {                                           447 &i2c3 {
451         status = "okay";                          448         status = "okay";
452                                                   449 
453         clock-frequency = <400000>;               450         clock-frequency = <400000>;
454         pinctrl-names = "default";                451         pinctrl-names = "default";
455         pinctrl-0 = <&i2c3_pins>;                 452         pinctrl-0 = <&i2c3_pins>;
456                                                   453 
457         tpm@50 {                                  454         tpm@50 {
458                 compatible = "google,cr50";       455                 compatible = "google,cr50";
459                 reg = <0x50>;                     456                 reg = <0x50>;
460                 interrupts-extended = <&pio 88    457                 interrupts-extended = <&pio 88 IRQ_TYPE_EDGE_FALLING>;
461                 pinctrl-names = "default";        458                 pinctrl-names = "default";
462                 pinctrl-0 = <&cr50_int>;          459                 pinctrl-0 = <&cr50_int>;
463         };                                        460         };
464 };                                                461 };
465                                                   462 
466 &i2c4 {                                           463 &i2c4 {
467         status = "okay";                          464         status = "okay";
468                                                   465 
469         clock-frequency = <400000>;               466         clock-frequency = <400000>;
470         pinctrl-names = "default";                467         pinctrl-names = "default";
471         pinctrl-0 = <&i2c4_pins>;                 468         pinctrl-0 = <&i2c4_pins>;
472                                                   469 
473         ts_10: touchscreen@10 {                   470         ts_10: touchscreen@10 {
474                 compatible = "hid-over-i2c";      471                 compatible = "hid-over-i2c";
475                 reg = <0x10>;                     472                 reg = <0x10>;
476                 hid-descr-addr = <0x0001>;        473                 hid-descr-addr = <0x0001>;
477                 interrupts-extended = <&pio 92    474                 interrupts-extended = <&pio 92 IRQ_TYPE_LEVEL_LOW>;
478                 pinctrl-names = "default";        475                 pinctrl-names = "default";
479                 pinctrl-0 = <&touchscreen_pins    476                 pinctrl-0 = <&touchscreen_pins>;
480                 post-power-on-delay-ms = <10>;    477                 post-power-on-delay-ms = <10>;
481                 vdd-supply = <&pp3300_s3>;        478                 vdd-supply = <&pp3300_s3>;
482                 status = "disabled";              479                 status = "disabled";
483         };                                        480         };
484 };                                                481 };
485                                                   482 
486 &i2c5 {                                           483 &i2c5 {
487         status = "okay";                          484         status = "okay";
488                                                   485 
489         clock-frequency = <400000>;               486         clock-frequency = <400000>;
490         pinctrl-names = "default";                487         pinctrl-names = "default";
491         pinctrl-0 = <&i2c5_pins>;                 488         pinctrl-0 = <&i2c5_pins>;
492 };                                                489 };
493                                                   490 
494 &i2c7 {                                           491 &i2c7 {
495         status = "okay";                          492         status = "okay";
496                                                   493 
497         clock-frequency = <400000>;               494         clock-frequency = <400000>;
498         pinctrl-names = "default";                495         pinctrl-names = "default";
499         pinctrl-0 = <&i2c7_pins>;                 496         pinctrl-0 = <&i2c7_pins>;
500                                                   497 
501         pmic@34 {                                 498         pmic@34 {
502                 #interrupt-cells = <2>;           499                 #interrupt-cells = <2>;
503                 compatible = "mediatek,mt6360"    500                 compatible = "mediatek,mt6360";
504                 reg = <0x34>;                     501                 reg = <0x34>;
505                 interrupt-controller;             502                 interrupt-controller;
506                 interrupts-extended = <&pio 13    503                 interrupts-extended = <&pio 130 IRQ_TYPE_EDGE_FALLING>;
507                 interrupt-names = "IRQB";         504                 interrupt-names = "IRQB";
508                 pinctrl-names = "default";        505                 pinctrl-names = "default";
509                 pinctrl-0 = <&subpmic_default>    506                 pinctrl-0 = <&subpmic_default>;
510                 wakeup-source;                    507                 wakeup-source;
511         };                                        508         };
512 };                                                509 };
513                                                   510 
514 &mfg0 {                                           511 &mfg0 {
515         domain-supply = <&mt6315_7_vbuck1>;       512         domain-supply = <&mt6315_7_vbuck1>;
516 };                                                513 };
517                                                   514 
518 &mfg1 {                                           515 &mfg1 {
519         domain-supply = <&mt6359_vsram_others_    516         domain-supply = <&mt6359_vsram_others_ldo_reg>;
520 };                                                517 };
521                                                   518 
522 &mmc0 {                                           519 &mmc0 {
523         status = "okay";                          520         status = "okay";
524                                                   521 
525         bus-width = <8>;                          522         bus-width = <8>;
526         cap-mmc-highspeed;                        523         cap-mmc-highspeed;
527         cap-mmc-hw-reset;                         524         cap-mmc-hw-reset;
528         hs400-ds-delay = <0x14c11>;               525         hs400-ds-delay = <0x14c11>;
529         max-frequency = <200000000>;              526         max-frequency = <200000000>;
530         mmc-hs200-1_8v;                           527         mmc-hs200-1_8v;
531         mmc-hs400-1_8v;                           528         mmc-hs400-1_8v;
532         no-sdio;                                  529         no-sdio;
533         no-sd;                                    530         no-sd;
534         non-removable;                            531         non-removable;
535         pinctrl-names = "default", "state_uhs"    532         pinctrl-names = "default", "state_uhs";
536         pinctrl-0 = <&mmc0_pins_default>;         533         pinctrl-0 = <&mmc0_pins_default>;
537         pinctrl-1 = <&mmc0_pins_uhs>;             534         pinctrl-1 = <&mmc0_pins_uhs>;
538         vmmc-supply = <&mt6359_vemc_1_ldo_reg>    535         vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
539         vqmmc-supply = <&mt6359_vufs_ldo_reg>;    536         vqmmc-supply = <&mt6359_vufs_ldo_reg>;
540 };                                                537 };
541                                                   538 
542 &mmc1 {                                           539 &mmc1 {
543         status = "okay";                          540         status = "okay";
544                                                   541 
545         bus-width = <4>;                          542         bus-width = <4>;
546         cap-sd-highspeed;                         543         cap-sd-highspeed;
547         cd-gpios = <&pio 54 GPIO_ACTIVE_LOW>;     544         cd-gpios = <&pio 54 GPIO_ACTIVE_LOW>;
548         max-frequency = <200000000>;              545         max-frequency = <200000000>;
549         no-mmc;                                   546         no-mmc;
550         no-sdio;                                  547         no-sdio;
551         pinctrl-names = "default", "state_uhs"    548         pinctrl-names = "default", "state_uhs";
552         pinctrl-0 = <&mmc1_pins_default>, <&mm    549         pinctrl-0 = <&mmc1_pins_default>, <&mmc1_pins_detect>;
553         pinctrl-1 = <&mmc1_pins_default>;         550         pinctrl-1 = <&mmc1_pins_default>;
554         sd-uhs-sdr50;                             551         sd-uhs-sdr50;
555         sd-uhs-sdr104;                            552         sd-uhs-sdr104;
556         vmmc-supply = <&mt_pmic_vmch_ldo_reg>;    553         vmmc-supply = <&mt_pmic_vmch_ldo_reg>;
557         vqmmc-supply = <&mt_pmic_vmc_ldo_reg>;    554         vqmmc-supply = <&mt_pmic_vmc_ldo_reg>;
558 };                                                555 };
559                                                   556 
560 &mt6359codec {                                    557 &mt6359codec {
561         mediatek,dmic-mode = <1>;  /* one-wire    558         mediatek,dmic-mode = <1>;  /* one-wire */
562         mediatek,mic-type-0 = <2>; /* DMIC */     559         mediatek,mic-type-0 = <2>; /* DMIC */
563 };                                                560 };
564                                                   561 
565 /* for CPU-L */                                   562 /* for CPU-L */
566 &mt6359_vcore_buck_reg {                          563 &mt6359_vcore_buck_reg {
567         regulator-always-on;                      564         regulator-always-on;
568 };                                                565 };
569                                                   566 
570 /* for CORE */                                    567 /* for CORE */
571 &mt6359_vgpu11_buck_reg {                         568 &mt6359_vgpu11_buck_reg {
572         regulator-always-on;                      569         regulator-always-on;
573 };                                                570 };
574                                                   571 
575 &mt6359_vgpu11_sshub_buck_reg {                   572 &mt6359_vgpu11_sshub_buck_reg {
576         regulator-always-on;                      573         regulator-always-on;
577         regulator-min-microvolt = <550000>;       574         regulator-min-microvolt = <550000>;
578         regulator-max-microvolt = <550000>;       575         regulator-max-microvolt = <550000>;
579 };                                                576 };
580                                                   577 
581 /* for CORE SRAM */                               578 /* for CORE SRAM */
582 &mt6359_vpu_buck_reg {                            579 &mt6359_vpu_buck_reg {
583         regulator-always-on;                      580         regulator-always-on;
584 };                                                581 };
585                                                   582 
586 &mt6359_vrf12_ldo_reg {                           583 &mt6359_vrf12_ldo_reg {
587         regulator-always-on;                      584         regulator-always-on;
588 };                                                585 };
589                                                   586 
590 /* for GPU SRAM */                                587 /* for GPU SRAM */
591 &mt6359_vsram_others_ldo_reg {                    588 &mt6359_vsram_others_ldo_reg {
592         regulator-min-microvolt = <750000>;       589         regulator-min-microvolt = <750000>;
593         regulator-max-microvolt = <750000>;       590         regulator-max-microvolt = <750000>;
594 };                                                591 };
595                                                   592 
596 &mt6359_vufs_ldo_reg {                            593 &mt6359_vufs_ldo_reg {
597         regulator-always-on;                      594         regulator-always-on;
598 };                                                595 };
599                                                   596 
600 &nor_flash {                                      597 &nor_flash {
601         status = "okay";                          598         status = "okay";
602                                                   599 
603         pinctrl-names = "default";                600         pinctrl-names = "default";
604         pinctrl-0 = <&nor_pins_default>;          601         pinctrl-0 = <&nor_pins_default>;
605                                                   602 
606         flash@0 {                                 603         flash@0 {
607                 compatible = "jedec,spi-nor";     604                 compatible = "jedec,spi-nor";
608                 reg = <0>;                        605                 reg = <0>;
609                 spi-max-frequency = <52000000>    606                 spi-max-frequency = <52000000>;
610                 spi-rx-bus-width = <2>;           607                 spi-rx-bus-width = <2>;
611                 spi-tx-bus-width = <2>;           608                 spi-tx-bus-width = <2>;
612         };                                        609         };
613 };                                                610 };
614                                                   611 
615 &pcie1 {                                          612 &pcie1 {
616         status = "okay";                          613         status = "okay";
617                                                   614 
618         pinctrl-names = "default";                615         pinctrl-names = "default";
619         pinctrl-0 = <&pcie1_pins_default>;        616         pinctrl-0 = <&pcie1_pins_default>;
620 };                                                617 };
621                                                   618 
622 &pio {                                            619 &pio {
623         mediatek,rsel-resistance-in-si-unit;      620         mediatek,rsel-resistance-in-si-unit;
624         pinctrl-names = "default";                621         pinctrl-names = "default";
625         pinctrl-0 = <&pio_default>;               622         pinctrl-0 = <&pio_default>;
626                                                   623 
627         /* 144 lines */                           624         /* 144 lines */
628         gpio-line-names =                         625         gpio-line-names =
629                 "I2S_SPKR_MCLK",                  626                 "I2S_SPKR_MCLK",
630                 "I2S_SPKR_DATAIN",                627                 "I2S_SPKR_DATAIN",
631                 "I2S_SPKR_LRCK",                  628                 "I2S_SPKR_LRCK",
632                 "I2S_SPKR_BCLK",                  629                 "I2S_SPKR_BCLK",
633                 "EC_AP_INT_ODL",                  630                 "EC_AP_INT_ODL",
634                 /*                                631                 /*
635                  * AP_FLASH_WP_L is crossystem    632                  * AP_FLASH_WP_L is crossystem ABI. Schematics
636                  * call it AP_FLASH_WP_ODL.       633                  * call it AP_FLASH_WP_ODL.
637                  */                               634                  */
638                 "AP_FLASH_WP_L",                  635                 "AP_FLASH_WP_L",
639                 "TCHPAD_INT_ODL",                 636                 "TCHPAD_INT_ODL",
640                 "EDP_HPD_1V8",                    637                 "EDP_HPD_1V8",
641                 "AP_I2C_CAM_SDA",                 638                 "AP_I2C_CAM_SDA",
642                 "AP_I2C_CAM_SCL",                 639                 "AP_I2C_CAM_SCL",
643                 "AP_I2C_TCHPAD_SDA_1V8",          640                 "AP_I2C_TCHPAD_SDA_1V8",
644                 "AP_I2C_TCHPAD_SCL_1V8",          641                 "AP_I2C_TCHPAD_SCL_1V8",
645                 "AP_I2C_AUD_SDA",                 642                 "AP_I2C_AUD_SDA",
646                 "AP_I2C_AUD_SCL",                 643                 "AP_I2C_AUD_SCL",
647                 "AP_I2C_TPM_SDA_1V8",             644                 "AP_I2C_TPM_SDA_1V8",
648                 "AP_I2C_TPM_SCL_1V8",             645                 "AP_I2C_TPM_SCL_1V8",
649                 "AP_I2C_TCHSCR_SDA_1V8",          646                 "AP_I2C_TCHSCR_SDA_1V8",
650                 "AP_I2C_TCHSCR_SCL_1V8",          647                 "AP_I2C_TCHSCR_SCL_1V8",
651                 "EC_AP_HPD_OD",                   648                 "EC_AP_HPD_OD",
652                 "",                               649                 "",
653                 "PCIE_NVME_RST_L",                650                 "PCIE_NVME_RST_L",
654                 "PCIE_NVME_CLKREQ_ODL",           651                 "PCIE_NVME_CLKREQ_ODL",
655                 "PCIE_RST_1V8_L",                 652                 "PCIE_RST_1V8_L",
656                 "PCIE_CLKREQ_1V8_ODL",            653                 "PCIE_CLKREQ_1V8_ODL",
657                 "PCIE_WAKE_1V8_ODL",              654                 "PCIE_WAKE_1V8_ODL",
658                 "CLK_24M_CAM0",                   655                 "CLK_24M_CAM0",
659                 "CAM1_SEN_EN",                    656                 "CAM1_SEN_EN",
660                 "AP_I2C_PWR_SCL_1V8",             657                 "AP_I2C_PWR_SCL_1V8",
661                 "AP_I2C_PWR_SDA_1V8",             658                 "AP_I2C_PWR_SDA_1V8",
662                 "AP_I2C_MISC_SCL",                659                 "AP_I2C_MISC_SCL",
663                 "AP_I2C_MISC_SDA",                660                 "AP_I2C_MISC_SDA",
664                 "EN_PP5000_HDMI_X",               661                 "EN_PP5000_HDMI_X",
665                 "AP_HDMITX_HTPLG",                662                 "AP_HDMITX_HTPLG",
666                 "",                               663                 "",
667                 "AP_HDMITX_SCL_1V8",              664                 "AP_HDMITX_SCL_1V8",
668                 "AP_HDMITX_SDA_1V8",              665                 "AP_HDMITX_SDA_1V8",
669                 "AP_RTC_CLK32K",                  666                 "AP_RTC_CLK32K",
670                 "AP_EC_WATCHDOG_L",               667                 "AP_EC_WATCHDOG_L",
671                 "SRCLKENA0",                      668                 "SRCLKENA0",
672                 "SRCLKENA1",                      669                 "SRCLKENA1",
673                 "PWRAP_SPI0_CS_L",                670                 "PWRAP_SPI0_CS_L",
674                 "PWRAP_SPI0_CK",                  671                 "PWRAP_SPI0_CK",
675                 "PWRAP_SPI0_MOSI",                672                 "PWRAP_SPI0_MOSI",
676                 "PWRAP_SPI0_MISO",                673                 "PWRAP_SPI0_MISO",
677                 "SPMI_SCL",                       674                 "SPMI_SCL",
678                 "SPMI_SDA",                       675                 "SPMI_SDA",
679                 "",                               676                 "",
680                 "",                               677                 "",
681                 "",                               678                 "",
682                 "I2S_HP_DATAIN",                  679                 "I2S_HP_DATAIN",
683                 "I2S_HP_MCLK",                    680                 "I2S_HP_MCLK",
684                 "I2S_HP_BCK",                     681                 "I2S_HP_BCK",
685                 "I2S_HP_LRCK",                    682                 "I2S_HP_LRCK",
686                 "I2S_HP_DATAOUT",                 683                 "I2S_HP_DATAOUT",
687                 "SD_CD_ODL",                      684                 "SD_CD_ODL",
688                 "EN_PP3300_DISP_X",               685                 "EN_PP3300_DISP_X",
689                 "TCHSCR_RST_1V8_L",               686                 "TCHSCR_RST_1V8_L",
690                 "TCHSCR_REPORT_DISABLE",          687                 "TCHSCR_REPORT_DISABLE",
691                 "EN_PP3300_WLAN_X",               688                 "EN_PP3300_WLAN_X",
692                 "BT_KILL_1V8_L",                  689                 "BT_KILL_1V8_L",
693                 "I2S_SPKR_DATAOUT",               690                 "I2S_SPKR_DATAOUT",
694                 "WIFI_KILL_1V8_L",                691                 "WIFI_KILL_1V8_L",
695                 "BEEP_ON",                        692                 "BEEP_ON",
696                 "SCP_I2C_SENSOR_SCL_1V8",         693                 "SCP_I2C_SENSOR_SCL_1V8",
697                 "SCP_I2C_SENSOR_SDA_1V8",         694                 "SCP_I2C_SENSOR_SDA_1V8",
698                 "",                               695                 "",
699                 "",                               696                 "",
700                 "",                               697                 "",
701                 "",                               698                 "",
702                 "AUD_CLK_MOSI",                   699                 "AUD_CLK_MOSI",
703                 "AUD_SYNC_MOSI",                  700                 "AUD_SYNC_MOSI",
704                 "AUD_DAT_MOSI0",                  701                 "AUD_DAT_MOSI0",
705                 "AUD_DAT_MOSI1",                  702                 "AUD_DAT_MOSI1",
706                 "AUD_DAT_MISO0",                  703                 "AUD_DAT_MISO0",
707                 "AUD_DAT_MISO1",                  704                 "AUD_DAT_MISO1",
708                 "AUD_DAT_MISO2",                  705                 "AUD_DAT_MISO2",
709                 "SCP_VREQ_VAO",                   706                 "SCP_VREQ_VAO",
710                 "AP_SPI_GSC_TPM_CLK",             707                 "AP_SPI_GSC_TPM_CLK",
711                 "AP_SPI_GSC_TPM_MOSI",            708                 "AP_SPI_GSC_TPM_MOSI",
712                 "AP_SPI_GSC_TPM_CS_L",            709                 "AP_SPI_GSC_TPM_CS_L",
713                 "AP_SPI_GSC_TPM_MISO",            710                 "AP_SPI_GSC_TPM_MISO",
714                 "EN_PP1000_CAM_X",                711                 "EN_PP1000_CAM_X",
715                 "AP_EDP_BKLTEN",                  712                 "AP_EDP_BKLTEN",
716                 "",                               713                 "",
717                 "USB3_HUB_RST_L",                 714                 "USB3_HUB_RST_L",
718                 "",                               715                 "",
719                 "WLAN_ALERT_ODL",                 716                 "WLAN_ALERT_ODL",
720                 "EC_IN_RW_ODL",                   717                 "EC_IN_RW_ODL",
721                 "GSC_AP_INT_ODL",                 718                 "GSC_AP_INT_ODL",
722                 "HP_INT_ODL",                     719                 "HP_INT_ODL",
723                 "CAM0_RST_L",                     720                 "CAM0_RST_L",
724                 "CAM1_RST_L",                     721                 "CAM1_RST_L",
725                 "TCHSCR_INT_1V8_L",               722                 "TCHSCR_INT_1V8_L",
726                 "CAM1_DET_L",                     723                 "CAM1_DET_L",
727                 "RST_ALC1011_L",                  724                 "RST_ALC1011_L",
728                 "",                               725                 "",
729                 "",                               726                 "",
730                 "BL_PWM_1V8",                     727                 "BL_PWM_1V8",
731                 "UART_AP_TX_DBG_RX",              728                 "UART_AP_TX_DBG_RX",
732                 "UART_DBG_TX_AP_RX",              729                 "UART_DBG_TX_AP_RX",
733                 "EN_SPKR",                        730                 "EN_SPKR",
734                 "AP_EC_WARM_RST_REQ",             731                 "AP_EC_WARM_RST_REQ",
735                 "UART_SCP_TX_DBGCON_RX",          732                 "UART_SCP_TX_DBGCON_RX",
736                 "UART_DBGCON_TX_SCP_RX",          733                 "UART_DBGCON_TX_SCP_RX",
737                 "",                               734                 "",
738                 "",                               735                 "",
739                 "KPCOL0",                         736                 "KPCOL0",
740                 "",                               737                 "",
741                 "MT6315_GPU_INT",                 738                 "MT6315_GPU_INT",
742                 "MT6315_PROC_BC_INT",             739                 "MT6315_PROC_BC_INT",
743                 "SD_CMD",                         740                 "SD_CMD",
744                 "SD_CLK",                         741                 "SD_CLK",
745                 "SD_DAT0",                        742                 "SD_DAT0",
746                 "SD_DAT1",                        743                 "SD_DAT1",
747                 "SD_DAT2",                        744                 "SD_DAT2",
748                 "SD_DAT3",                        745                 "SD_DAT3",
749                 "EMMC_DAT7",                      746                 "EMMC_DAT7",
750                 "EMMC_DAT6",                      747                 "EMMC_DAT6",
751                 "EMMC_DAT5",                      748                 "EMMC_DAT5",
752                 "EMMC_DAT4",                      749                 "EMMC_DAT4",
753                 "EMMC_RSTB",                      750                 "EMMC_RSTB",
754                 "EMMC_CMD",                       751                 "EMMC_CMD",
755                 "EMMC_CLK",                       752                 "EMMC_CLK",
756                 "EMMC_DAT3",                      753                 "EMMC_DAT3",
757                 "EMMC_DAT2",                      754                 "EMMC_DAT2",
758                 "EMMC_DAT1",                      755                 "EMMC_DAT1",
759                 "EMMC_DAT0",                      756                 "EMMC_DAT0",
760                 "EMMC_DSL",                       757                 "EMMC_DSL",
761                 "",                               758                 "",
762                 "",                               759                 "",
763                 "MT6360_INT_ODL",                 760                 "MT6360_INT_ODL",
764                 "SCP_JTAG0_TRSTN",                761                 "SCP_JTAG0_TRSTN",
765                 "AP_SPI_EC_CS_L",                 762                 "AP_SPI_EC_CS_L",
766                 "AP_SPI_EC_CLK",                  763                 "AP_SPI_EC_CLK",
767                 "AP_SPI_EC_MOSI",                 764                 "AP_SPI_EC_MOSI",
768                 "AP_SPI_EC_MISO",                 765                 "AP_SPI_EC_MISO",
769                 "SCP_JTAG0_TMS",                  766                 "SCP_JTAG0_TMS",
770                 "SCP_JTAG0_TCK",                  767                 "SCP_JTAG0_TCK",
771                 "SCP_JTAG0_TDO",                  768                 "SCP_JTAG0_TDO",
772                 "SCP_JTAG0_TDI",                  769                 "SCP_JTAG0_TDI",
773                 "AP_SPI_FLASH_CS_L",              770                 "AP_SPI_FLASH_CS_L",
774                 "AP_SPI_FLASH_CLK",               771                 "AP_SPI_FLASH_CLK",
775                 "AP_SPI_FLASH_MOSI",              772                 "AP_SPI_FLASH_MOSI",
776                 "AP_SPI_FLASH_MISO";              773                 "AP_SPI_FLASH_MISO";
777                                                   774 
778         aud_pins_default: audio-default-pins {    775         aud_pins_default: audio-default-pins {
779                 pins-cmd-dat {                    776                 pins-cmd-dat {
780                     pinmux = <PINMUX_GPIO69__F    777                     pinmux = <PINMUX_GPIO69__FUNC_AUD_CLK_MOSI>,
781                              <PINMUX_GPIO70__F    778                              <PINMUX_GPIO70__FUNC_AUD_SYNC_MOSI>,
782                              <PINMUX_GPIO71__F    779                              <PINMUX_GPIO71__FUNC_AUD_DAT_MOSI0>,
783                              <PINMUX_GPIO72__F    780                              <PINMUX_GPIO72__FUNC_AUD_DAT_MOSI1>,
784                              <PINMUX_GPIO73__F    781                              <PINMUX_GPIO73__FUNC_AUD_DAT_MISO0>,
785                              <PINMUX_GPIO74__F    782                              <PINMUX_GPIO74__FUNC_AUD_DAT_MISO1>,
786                              <PINMUX_GPIO75__F    783                              <PINMUX_GPIO75__FUNC_AUD_DAT_MISO2>,
787                              <PINMUX_GPIO0__FU    784                              <PINMUX_GPIO0__FUNC_TDMIN_MCK>,
788                              <PINMUX_GPIO1__FU    785                              <PINMUX_GPIO1__FUNC_TDMIN_DI>,
789                              <PINMUX_GPIO2__FU    786                              <PINMUX_GPIO2__FUNC_TDMIN_LRCK>,
790                              <PINMUX_GPIO3__FU    787                              <PINMUX_GPIO3__FUNC_TDMIN_BCK>,
791                              <PINMUX_GPIO60__F    788                              <PINMUX_GPIO60__FUNC_I2SO2_D0>,
792                              <PINMUX_GPIO49__F    789                              <PINMUX_GPIO49__FUNC_I2SIN_D0>,
793                              <PINMUX_GPIO50__F    790                              <PINMUX_GPIO50__FUNC_I2SO1_MCK>,
794                              <PINMUX_GPIO51__F    791                              <PINMUX_GPIO51__FUNC_I2SO1_BCK>,
795                              <PINMUX_GPIO52__F    792                              <PINMUX_GPIO52__FUNC_I2SO1_WS>,
796                              <PINMUX_GPIO53__F    793                              <PINMUX_GPIO53__FUNC_I2SO1_D0>;
797                 };                                794                 };
798                                                   795 
799                 pins-hp-jack-int-odl {            796                 pins-hp-jack-int-odl {
800                         pinmux = <PINMUX_GPIO8    797                         pinmux = <PINMUX_GPIO89__FUNC_GPIO89>;
801                         input-enable;             798                         input-enable;
802                         bias-pull-up = <MTK_PU    799                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
803                 };                                800                 };
804         };                                        801         };
805                                                   802 
806         cr50_int: cr50-irq-default-pins {         803         cr50_int: cr50-irq-default-pins {
807                 pins-gsc-ap-int-odl {             804                 pins-gsc-ap-int-odl {
808                         pinmux = <PINMUX_GPIO8    805                         pinmux = <PINMUX_GPIO88__FUNC_GPIO88>;
809                         input-enable;             806                         input-enable;
810                 };                                807                 };
811         };                                        808         };
812                                                   809 
813         cros_ec_int: cros-ec-irq-default-pins     810         cros_ec_int: cros-ec-irq-default-pins {
814                 pins-ec-ap-int-odl {              811                 pins-ec-ap-int-odl {
815                         pinmux = <PINMUX_GPIO4    812                         pinmux = <PINMUX_GPIO4__FUNC_GPIO4>;
816                         bias-pull-up = <MTK_PU    813                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
817                         input-enable;             814                         input-enable;
818                 };                                815                 };
819         };                                        816         };
820                                                   817 
821         edptx_pins_default: edptx-default-pins    818         edptx_pins_default: edptx-default-pins {
822                 pins-cmd-dat {                    819                 pins-cmd-dat {
823                         pinmux = <PINMUX_GPIO7    820                         pinmux = <PINMUX_GPIO7__FUNC_EDP_TX_HPD>;
824                         bias-pull-up;             821                         bias-pull-up;
825                 };                                822                 };
826         };                                        823         };
827                                                   824 
828         disp_pwm0_pin_default: disp-pwm0-defau    825         disp_pwm0_pin_default: disp-pwm0-default-pins {
829                 pins-disp-pwm {                   826                 pins-disp-pwm {
830                         pinmux = <PINMUX_GPIO8    827                         pinmux = <PINMUX_GPIO82__FUNC_GPIO82>,
831                                  <PINMUX_GPIO9    828                                  <PINMUX_GPIO97__FUNC_DISP_PWM0>;
832                 };                                829                 };
833         };                                        830         };
834                                                   831 
835         dptx_pin: dptx-default-pins {             832         dptx_pin: dptx-default-pins {
836                 pins-cmd-dat {                    833                 pins-cmd-dat {
837                         pinmux = <PINMUX_GPIO1    834                         pinmux = <PINMUX_GPIO18__FUNC_DP_TX_HPD>;
838                         bias-pull-up;             835                         bias-pull-up;
839                 };                                836                 };
840         };                                        837         };
841                                                   838 
842         i2c0_pins: i2c0-default-pins {            839         i2c0_pins: i2c0-default-pins {
843                 pins-bus {                        840                 pins-bus {
844                         pinmux = <PINMUX_GPIO8    841                         pinmux = <PINMUX_GPIO8__FUNC_SDA0>,
845                                  <PINMUX_GPIO9    842                                  <PINMUX_GPIO9__FUNC_SCL0>;
846                         bias-disable;             843                         bias-disable;
847                         drive-strength-microam    844                         drive-strength-microamp = <1000>;
848                 };                                845                 };
849         };                                        846         };
850                                                   847 
851         i2c1_pins: i2c1-default-pins {            848         i2c1_pins: i2c1-default-pins {
852                 pins-bus {                        849                 pins-bus {
853                         pinmux = <PINMUX_GPIO1    850                         pinmux = <PINMUX_GPIO10__FUNC_SDA1>,
854                                  <PINMUX_GPIO1    851                                  <PINMUX_GPIO11__FUNC_SCL1>;
855                         bias-pull-up = <1000>;    852                         bias-pull-up = <1000>;
856                         drive-strength-microam    853                         drive-strength-microamp = <1000>;
857                 };                                854                 };
858         };                                        855         };
859                                                   856 
860         i2c2_pins: i2c2-default-pins {            857         i2c2_pins: i2c2-default-pins {
861                 pins-bus {                        858                 pins-bus {
862                         pinmux = <PINMUX_GPIO1    859                         pinmux = <PINMUX_GPIO12__FUNC_SDA2>,
863                                  <PINMUX_GPIO1    860                                  <PINMUX_GPIO13__FUNC_SCL2>;
864                         bias-disable;             861                         bias-disable;
865                         drive-strength-microam    862                         drive-strength-microamp = <1000>;
866                 };                                863                 };
867         };                                        864         };
868                                                   865 
869         i2c3_pins: i2c3-default-pins {            866         i2c3_pins: i2c3-default-pins {
870                 pins-bus {                        867                 pins-bus {
871                         pinmux = <PINMUX_GPIO1    868                         pinmux = <PINMUX_GPIO14__FUNC_SDA3>,
872                                  <PINMUX_GPIO1    869                                  <PINMUX_GPIO15__FUNC_SCL3>;
873                         bias-pull-up = <1000>;    870                         bias-pull-up = <1000>;
874                         drive-strength-microam    871                         drive-strength-microamp = <1000>;
875                 };                                872                 };
876         };                                        873         };
877                                                   874 
878         i2c4_pins: i2c4-default-pins {            875         i2c4_pins: i2c4-default-pins {
879                 pins-bus {                        876                 pins-bus {
880                         pinmux = <PINMUX_GPIO1    877                         pinmux = <PINMUX_GPIO16__FUNC_SDA4>,
881                                  <PINMUX_GPIO1    878                                  <PINMUX_GPIO17__FUNC_SCL4>;
882                         bias-pull-up = <1000>;    879                         bias-pull-up = <1000>;
883                         drive-strength = <4>;     880                         drive-strength = <4>;
884                 };                                881                 };
885         };                                        882         };
886                                                   883 
887         i2c5_pins: i2c5-default-pins {            884         i2c5_pins: i2c5-default-pins {
888                 pins-bus {                        885                 pins-bus {
889                         pinmux = <PINMUX_GPIO2    886                         pinmux = <PINMUX_GPIO29__FUNC_SCL5>,
890                                  <PINMUX_GPIO3    887                                  <PINMUX_GPIO30__FUNC_SDA5>;
891                         bias-disable;             888                         bias-disable;
892                         drive-strength-microam    889                         drive-strength-microamp = <1000>;
893                 };                                890                 };
894         };                                        891         };
895                                                   892 
896         i2c7_pins: i2c7-default-pins {            893         i2c7_pins: i2c7-default-pins {
897                 pins-bus {                        894                 pins-bus {
898                         pinmux = <PINMUX_GPIO2    895                         pinmux = <PINMUX_GPIO27__FUNC_SCL7>,
899                                  <PINMUX_GPIO2    896                                  <PINMUX_GPIO28__FUNC_SDA7>;
900                         bias-disable;             897                         bias-disable;
901                 };                                898                 };
902         };                                        899         };
903                                                   900 
904         mmc0_pins_default: mmc0-default-pins {    901         mmc0_pins_default: mmc0-default-pins {
905                 pins-cmd-dat {                    902                 pins-cmd-dat {
906                         pinmux = <PINMUX_GPIO1    903                         pinmux = <PINMUX_GPIO126__FUNC_MSDC0_DAT0>,
907                                  <PINMUX_GPIO1    904                                  <PINMUX_GPIO125__FUNC_MSDC0_DAT1>,
908                                  <PINMUX_GPIO1    905                                  <PINMUX_GPIO124__FUNC_MSDC0_DAT2>,
909                                  <PINMUX_GPIO1    906                                  <PINMUX_GPIO123__FUNC_MSDC0_DAT3>,
910                                  <PINMUX_GPIO1    907                                  <PINMUX_GPIO119__FUNC_MSDC0_DAT4>,
911                                  <PINMUX_GPIO1    908                                  <PINMUX_GPIO118__FUNC_MSDC0_DAT5>,
912                                  <PINMUX_GPIO1    909                                  <PINMUX_GPIO117__FUNC_MSDC0_DAT6>,
913                                  <PINMUX_GPIO1    910                                  <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
914                                  <PINMUX_GPIO1    911                                  <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
915                         input-enable;             912                         input-enable;
916                         drive-strength = <6>;     913                         drive-strength = <6>;
917                         bias-pull-up = <MTK_PU    914                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
918                 };                                915                 };
919                                                   916 
920                 pins-clk {                        917                 pins-clk {
921                         pinmux = <PINMUX_GPIO1    918                         pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
922                         drive-strength = <6>;     919                         drive-strength = <6>;
923                         bias-pull-down = <MTK_    920                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
924                 };                                921                 };
925                                                   922 
926                 pins-rst {                        923                 pins-rst {
927                         pinmux = <PINMUX_GPIO1    924                         pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
928                         drive-strength = <6>;     925                         drive-strength = <6>;
929                         bias-pull-up = <MTK_PU    926                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
930                 };                                927                 };
931         };                                        928         };
932                                                   929 
933         mmc0_pins_uhs: mmc0-uhs-pins {            930         mmc0_pins_uhs: mmc0-uhs-pins {
934                 pins-cmd-dat {                    931                 pins-cmd-dat {
935                         pinmux = <PINMUX_GPIO1    932                         pinmux = <PINMUX_GPIO126__FUNC_MSDC0_DAT0>,
936                                  <PINMUX_GPIO1    933                                  <PINMUX_GPIO125__FUNC_MSDC0_DAT1>,
937                                  <PINMUX_GPIO1    934                                  <PINMUX_GPIO124__FUNC_MSDC0_DAT2>,
938                                  <PINMUX_GPIO1    935                                  <PINMUX_GPIO123__FUNC_MSDC0_DAT3>,
939                                  <PINMUX_GPIO1    936                                  <PINMUX_GPIO119__FUNC_MSDC0_DAT4>,
940                                  <PINMUX_GPIO1    937                                  <PINMUX_GPIO118__FUNC_MSDC0_DAT5>,
941                                  <PINMUX_GPIO1    938                                  <PINMUX_GPIO117__FUNC_MSDC0_DAT6>,
942                                  <PINMUX_GPIO1    939                                  <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
943                                  <PINMUX_GPIO1    940                                  <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
944                         input-enable;             941                         input-enable;
945                         drive-strength = <8>;     942                         drive-strength = <8>;
946                         bias-pull-up = <MTK_PU    943                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
947                 };                                944                 };
948                                                   945 
949                 pins-clk {                        946                 pins-clk {
950                         pinmux = <PINMUX_GPIO1    947                         pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
951                         drive-strength = <8>;     948                         drive-strength = <8>;
952                         bias-pull-down = <MTK_    949                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
953                 };                                950                 };
954                                                   951 
955                 pins-ds {                         952                 pins-ds {
956                         pinmux = <PINMUX_GPIO1    953                         pinmux = <PINMUX_GPIO127__FUNC_MSDC0_DSL>;
957                         drive-strength = <8>;     954                         drive-strength = <8>;
958                         bias-pull-down = <MTK_    955                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
959                 };                                956                 };
960                                                   957 
961                 pins-rst {                        958                 pins-rst {
962                         pinmux = <PINMUX_GPIO1    959                         pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
963                         drive-strength = <8>;     960                         drive-strength = <8>;
964                         bias-pull-up = <MTK_PU    961                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
965                 };                                962                 };
966         };                                        963         };
967                                                   964 
968         mmc1_pins_detect: mmc1-detect-pins {      965         mmc1_pins_detect: mmc1-detect-pins {
969                 pins-insert {                     966                 pins-insert {
970                         pinmux = <PINMUX_GPIO5    967                         pinmux = <PINMUX_GPIO54__FUNC_GPIO54>;
971                         bias-pull-up;             968                         bias-pull-up;
972                 };                                969                 };
973         };                                        970         };
974                                                   971 
975         mmc1_pins_default: mmc1-default-pins {    972         mmc1_pins_default: mmc1-default-pins {
976                 pins-cmd-dat {                    973                 pins-cmd-dat {
977                         pinmux = <PINMUX_GPIO1    974                         pinmux = <PINMUX_GPIO110__FUNC_MSDC1_CMD>,
978                                  <PINMUX_GPIO1    975                                  <PINMUX_GPIO112__FUNC_MSDC1_DAT0>,
979                                  <PINMUX_GPIO1    976                                  <PINMUX_GPIO113__FUNC_MSDC1_DAT1>,
980                                  <PINMUX_GPIO1    977                                  <PINMUX_GPIO114__FUNC_MSDC1_DAT2>,
981                                  <PINMUX_GPIO1    978                                  <PINMUX_GPIO115__FUNC_MSDC1_DAT3>;
982                         input-enable;             979                         input-enable;
983                         drive-strength = <8>;     980                         drive-strength = <8>;
984                         bias-pull-up = <MTK_PU    981                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
985                 };                                982                 };
986                                                   983 
987                 pins-clk {                        984                 pins-clk {
988                         pinmux = <PINMUX_GPIO1    985                         pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>;
989                         drive-strength = <8>;     986                         drive-strength = <8>;
990                         bias-pull-down = <MTK_    987                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
991                 };                                988                 };
992         };                                        989         };
993                                                   990 
994         nor_pins_default: nor-default-pins {      991         nor_pins_default: nor-default-pins {
995                 pins-ck-io {                      992                 pins-ck-io {
996                         pinmux = <PINMUX_GPIO1    993                         pinmux = <PINMUX_GPIO142__FUNC_SPINOR_IO0>,
997                                  <PINMUX_GPIO1    994                                  <PINMUX_GPIO141__FUNC_SPINOR_CK>,
998                                  <PINMUX_GPIO1    995                                  <PINMUX_GPIO143__FUNC_SPINOR_IO1>;
999                         drive-strength = <6>;     996                         drive-strength = <6>;
1000                         bias-pull-down;          997                         bias-pull-down;
1001                 };                               998                 };
1002                                                  999 
1003                 pins-cs {                        1000                 pins-cs {
1004                         pinmux = <PINMUX_GPIO    1001                         pinmux = <PINMUX_GPIO140__FUNC_SPINOR_CS>;
1005                         drive-strength = <6>;    1002                         drive-strength = <6>;
1006                         bias-pull-up;            1003                         bias-pull-up;
1007                 };                               1004                 };
1008         };                                       1005         };
1009                                                  1006 
1010         pcie0_pins_default: pcie0-default-pin    1007         pcie0_pins_default: pcie0-default-pins {
1011                 pins-bus {                       1008                 pins-bus {
1012                         pinmux = <PINMUX_GPIO    1009                         pinmux = <PINMUX_GPIO19__FUNC_WAKEN>,
1013                                  <PINMUX_GPIO    1010                                  <PINMUX_GPIO20__FUNC_PERSTN>,
1014                                  <PINMUX_GPIO    1011                                  <PINMUX_GPIO21__FUNC_CLKREQN>;
1015                                  bias-pull-up    1012                                  bias-pull-up;
1016                 };                               1013                 };
1017         };                                       1014         };
1018                                                  1015 
1019         pcie1_pins_default: pcie1-default-pin    1016         pcie1_pins_default: pcie1-default-pins {
1020                 pins-bus {                       1017                 pins-bus {
1021                         pinmux = <PINMUX_GPIO    1018                         pinmux = <PINMUX_GPIO22__FUNC_PERSTN_1>,
1022                                  <PINMUX_GPIO    1019                                  <PINMUX_GPIO23__FUNC_CLKREQN_1>,
1023                                  <PINMUX_GPIO    1020                                  <PINMUX_GPIO24__FUNC_WAKEN_1>;
1024                                  bias-pull-up    1021                                  bias-pull-up;
1025                 };                               1022                 };
1026         };                                       1023         };
1027                                                  1024 
1028         panel_fixed_pins: panel-pwr-default-p    1025         panel_fixed_pins: panel-pwr-default-pins {
1029                 pins-vreg-en {                   1026                 pins-vreg-en {
1030                         pinmux = <PINMUX_GPIO    1027                         pinmux = <PINMUX_GPIO55__FUNC_GPIO55>;
1031                 };                               1028                 };
1032         };                                       1029         };
1033                                                  1030 
1034         pio_default: pio-default-pins {          1031         pio_default: pio-default-pins {
1035                 pins-wifi-enable {               1032                 pins-wifi-enable {
1036                         pinmux = <PINMUX_GPIO    1033                         pinmux = <PINMUX_GPIO58__FUNC_GPIO58>;
1037                         output-high;             1034                         output-high;
1038                         drive-strength = <14>    1035                         drive-strength = <14>;
1039                 };                               1036                 };
1040                                                  1037 
1041                 pins-low-power-pd {              1038                 pins-low-power-pd {
1042                         pinmux = <PINMUX_GPIO    1039                         pinmux = <PINMUX_GPIO25__FUNC_GPIO25>,
1043                                  <PINMUX_GPIO    1040                                  <PINMUX_GPIO26__FUNC_GPIO26>,
1044                                  <PINMUX_GPIO    1041                                  <PINMUX_GPIO46__FUNC_GPIO46>,
1045                                  <PINMUX_GPIO    1042                                  <PINMUX_GPIO47__FUNC_GPIO47>,
1046                                  <PINMUX_GPIO    1043                                  <PINMUX_GPIO48__FUNC_GPIO48>,
1047                                  <PINMUX_GPIO    1044                                  <PINMUX_GPIO65__FUNC_GPIO65>,
1048                                  <PINMUX_GPIO    1045                                  <PINMUX_GPIO66__FUNC_GPIO66>,
1049                                  <PINMUX_GPIO    1046                                  <PINMUX_GPIO67__FUNC_GPIO67>,
1050                                  <PINMUX_GPIO    1047                                  <PINMUX_GPIO68__FUNC_GPIO68>,
1051                                  <PINMUX_GPIO    1048                                  <PINMUX_GPIO128__FUNC_GPIO128>,
1052                                  <PINMUX_GPIO    1049                                  <PINMUX_GPIO129__FUNC_GPIO129>;
1053                         input-enable;            1050                         input-enable;
1054                         bias-pull-down;          1051                         bias-pull-down;
1055                 };                               1052                 };
1056                                                  1053 
1057                 pins-low-power-pupd {            1054                 pins-low-power-pupd {
1058                         pinmux = <PINMUX_GPIO    1055                         pinmux = <PINMUX_GPIO77__FUNC_GPIO77>,
1059                                  <PINMUX_GPIO    1056                                  <PINMUX_GPIO78__FUNC_GPIO78>,
1060                                  <PINMUX_GPIO    1057                                  <PINMUX_GPIO79__FUNC_GPIO79>,
1061                                  <PINMUX_GPIO    1058                                  <PINMUX_GPIO80__FUNC_GPIO80>,
1062                                  <PINMUX_GPIO    1059                                  <PINMUX_GPIO83__FUNC_GPIO83>,
1063                                  <PINMUX_GPIO    1060                                  <PINMUX_GPIO85__FUNC_GPIO85>,
1064                                  <PINMUX_GPIO    1061                                  <PINMUX_GPIO90__FUNC_GPIO90>,
1065                                  <PINMUX_GPIO    1062                                  <PINMUX_GPIO91__FUNC_GPIO91>,
1066                                  <PINMUX_GPIO    1063                                  <PINMUX_GPIO93__FUNC_GPIO93>,
1067                                  <PINMUX_GPIO    1064                                  <PINMUX_GPIO94__FUNC_GPIO94>,
1068                                  <PINMUX_GPIO    1065                                  <PINMUX_GPIO95__FUNC_GPIO95>,
1069                                  <PINMUX_GPIO    1066                                  <PINMUX_GPIO96__FUNC_GPIO96>,
1070                                  <PINMUX_GPIO    1067                                  <PINMUX_GPIO104__FUNC_GPIO104>,
1071                                  <PINMUX_GPIO    1068                                  <PINMUX_GPIO105__FUNC_GPIO105>,
1072                                  <PINMUX_GPIO    1069                                  <PINMUX_GPIO107__FUNC_GPIO107>;
1073                         input-enable;            1070                         input-enable;
1074                         bias-pull-down = <MTK    1071                         bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
1075                 };                               1072                 };
1076         };                                       1073         };
1077                                                  1074 
1078         rt1019p_pins_default: rt1019p-default    1075         rt1019p_pins_default: rt1019p-default-pins {
1079                 pins-amp-sdb {                   1076                 pins-amp-sdb {
1080                         pinmux = <PINMUX_GPIO    1077                         pinmux = <PINMUX_GPIO100__FUNC_GPIO100>;
1081                         output-low;              1078                         output-low;
1082                 };                               1079                 };
1083         };                                       1080         };
1084                                                  1081 
1085         scp_pins: scp-default-pins {             1082         scp_pins: scp-default-pins {
1086                 pins-vreq {                      1083                 pins-vreq {
1087                         pinmux = <PINMUX_GPIO    1084                         pinmux = <PINMUX_GPIO76__FUNC_SCP_VREQ_VAO>;
1088                         bias-disable;            1085                         bias-disable;
1089                         input-enable;            1086                         input-enable;
1090                 };                               1087                 };
1091         };                                       1088         };
1092                                                  1089 
1093         spi0_pins: spi0-default-pins {           1090         spi0_pins: spi0-default-pins {
1094                 pins-cs-mosi-clk {               1091                 pins-cs-mosi-clk {
1095                         pinmux = <PINMUX_GPIO    1092                         pinmux = <PINMUX_GPIO132__FUNC_SPIM0_CSB>,
1096                                  <PINMUX_GPIO    1093                                  <PINMUX_GPIO134__FUNC_SPIM0_MO>,
1097                                  <PINMUX_GPIO    1094                                  <PINMUX_GPIO133__FUNC_SPIM0_CLK>;
1098                         bias-disable;            1095                         bias-disable;
1099                 };                               1096                 };
1100                                                  1097 
1101                 pins-miso {                      1098                 pins-miso {
1102                         pinmux = <PINMUX_GPIO    1099                         pinmux = <PINMUX_GPIO135__FUNC_SPIM0_MI>;
1103                         bias-pull-down;          1100                         bias-pull-down;
1104                 };                               1101                 };
1105         };                                       1102         };
1106                                                  1103 
1107         subpmic_default: subpmic-default-pins    1104         subpmic_default: subpmic-default-pins {
1108                 subpmic_pin_irq: pins-subpmic    1105                 subpmic_pin_irq: pins-subpmic-int-n {
1109                         pinmux = <PINMUX_GPIO    1106                         pinmux = <PINMUX_GPIO130__FUNC_GPIO130>;
1110                         input-enable;            1107                         input-enable;
1111                         bias-pull-up;            1108                         bias-pull-up;
1112                 };                               1109                 };
1113         };                                       1110         };
1114                                                  1111 
1115         trackpad_pins: trackpad-default-pins     1112         trackpad_pins: trackpad-default-pins {
1116                 pins-int-n {                     1113                 pins-int-n {
1117                         pinmux = <PINMUX_GPIO    1114                         pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
1118                         input-enable;            1115                         input-enable;
1119                         bias-pull-up;            1116                         bias-pull-up;
1120                 };                               1117                 };
1121         };                                       1118         };
1122                                                  1119 
1123         touchscreen_pins: touchscreen-default    1120         touchscreen_pins: touchscreen-default-pins {
1124                 pins-int-n {                     1121                 pins-int-n {
1125                         pinmux = <PINMUX_GPIO    1122                         pinmux = <PINMUX_GPIO92__FUNC_GPIO92>;
1126                         input-enable;            1123                         input-enable;
1127                         bias-pull-up = <MTK_P    1124                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1128                 };                               1125                 };
1129                 pins-rst {                       1126                 pins-rst {
1130                         pinmux = <PINMUX_GPIO    1127                         pinmux = <PINMUX_GPIO56__FUNC_GPIO56>;
1131                         output-high;             1128                         output-high;
1132                 };                               1129                 };
1133                 pins-report-sw {                 1130                 pins-report-sw {
1134                         pinmux = <PINMUX_GPIO    1131                         pinmux = <PINMUX_GPIO57__FUNC_GPIO57>;
1135                         output-low;              1132                         output-low;
1136                 };                               1133                 };
1137         };                                       1134         };
1138 };                                               1135 };
1139                                                  1136 
1140 &pmic {                                          1137 &pmic {
1141         interrupts-extended = <&pio 222 IRQ_T    1138         interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
1142 };                                               1139 };
1143                                                  1140 
1144 &scp {                                           1141 &scp {
1145         status = "okay";                         1142         status = "okay";
1146                                                  1143 
1147         firmware-name = "mediatek/mt8195/scp.    1144         firmware-name = "mediatek/mt8195/scp.img";
1148         memory-region = <&scp_mem>;              1145         memory-region = <&scp_mem>;
1149         pinctrl-names = "default";               1146         pinctrl-names = "default";
1150         pinctrl-0 = <&scp_pins>;                 1147         pinctrl-0 = <&scp_pins>;
1151                                                  1148 
1152         cros-ec-rpmsg {                          1149         cros-ec-rpmsg {
1153                 compatible = "google,cros-ec-    1150                 compatible = "google,cros-ec-rpmsg";
1154                 mediatek,rpmsg-name = "cros-e    1151                 mediatek,rpmsg-name = "cros-ec-rpmsg";
1155         };                                       1152         };
1156 };                                               1153 };
1157                                                  1154 
1158 &sound {                                         1155 &sound {
1159         status = "okay";                         1156         status = "okay";
1160                                                  1157 
1161         mediatek,adsp = <&adsp>;                 1158         mediatek,adsp = <&adsp>;
1162         mediatek,dai-link =                      1159         mediatek,dai-link =
1163                 "DL10_FE", "DPTX_BE", "ETDM1_    1160                 "DL10_FE", "DPTX_BE", "ETDM1_IN_BE", "ETDM2_IN_BE",
1164                 "ETDM1_OUT_BE", "ETDM2_OUT_BE    1161                 "ETDM1_OUT_BE", "ETDM2_OUT_BE","UL_SRC1_BE",
1165                 "AFE_SOF_DL2", "AFE_SOF_DL3",    1162                 "AFE_SOF_DL2", "AFE_SOF_DL3", "AFE_SOF_UL4", "AFE_SOF_UL5";
1166         pinctrl-names = "default";               1163         pinctrl-names = "default";
1167         pinctrl-0 = <&aud_pins_default>;         1164         pinctrl-0 = <&aud_pins_default>;
1168                                               << 
1169         audio-routing =                       << 
1170                 "Headphone", "HPOL",          << 
1171                 "Headphone", "HPOR",          << 
1172                 "IN1P", "Headset Mic",        << 
1173                 "Ext Spk", "Speaker";         << 
1174                                               << 
1175         mm-dai-link {                         << 
1176                 link-name = "ETDM1_IN_BE";    << 
1177                 mediatek,clk-provider = "cpu" << 
1178         };                                    << 
1179                                               << 
1180         hs-playback-dai-link {                << 
1181                 link-name = "ETDM1_OUT_BE";   << 
1182                 mediatek,clk-provider = "cpu" << 
1183                 codec {                       << 
1184                         sound-dai = <&audio_c << 
1185                 };                            << 
1186         };                                    << 
1187                                               << 
1188         hs-capture-dai-link {                 << 
1189                 link-name = "ETDM2_IN_BE";    << 
1190                 mediatek,clk-provider = "cpu" << 
1191                 codec {                       << 
1192                         sound-dai = <&audio_c << 
1193                 };                            << 
1194         };                                    << 
1195                                               << 
1196         spk-playback-dai-link {               << 
1197                 link-name = "ETDM2_OUT_BE";   << 
1198                 mediatek,clk-provider = "cpu" << 
1199                 codec {                       << 
1200                         sound-dai = <&spk_amp << 
1201                 };                            << 
1202         };                                    << 
1203                                               << 
1204         displayport-dai-link {                << 
1205                 link-name = "DPTX_BE";        << 
1206                 codec {                       << 
1207                         sound-dai = <&dp_tx>; << 
1208                 };                            << 
1209         };                                    << 
1210 };                                               1165 };
1211                                                  1166 
1212 &spi0 {                                          1167 &spi0 {
1213         status = "okay";                         1168         status = "okay";
1214                                                  1169 
1215         pinctrl-names = "default";               1170         pinctrl-names = "default";
1216         pinctrl-0 = <&spi0_pins>;                1171         pinctrl-0 = <&spi0_pins>;
1217         mediatek,pad-select = <0>;               1172         mediatek,pad-select = <0>;
1218                                                  1173 
1219         cros_ec: ec@0 {                          1174         cros_ec: ec@0 {
1220                 #address-cells = <1>;            1175                 #address-cells = <1>;
1221                 #size-cells = <0>;               1176                 #size-cells = <0>;
1222                                                  1177 
1223                 compatible = "google,cros-ec-    1178                 compatible = "google,cros-ec-spi";
1224                 reg = <0>;                       1179                 reg = <0>;
1225                 interrupts-extended = <&pio 4    1180                 interrupts-extended = <&pio 4 IRQ_TYPE_LEVEL_LOW>;
1226                 pinctrl-names = "default";       1181                 pinctrl-names = "default";
1227                 pinctrl-0 = <&cros_ec_int>;      1182                 pinctrl-0 = <&cros_ec_int>;
1228                 spi-max-frequency = <3000000>    1183                 spi-max-frequency = <3000000>;
1229                 wakeup-source;                !! 1184 
                                                   >> 1185                 keyboard-backlight {
                                                   >> 1186                         compatible = "google,cros-kbd-led-backlight";
                                                   >> 1187                 };
1230                                                  1188 
1231                 i2c_tunnel: i2c-tunnel {         1189                 i2c_tunnel: i2c-tunnel {
1232                         compatible = "google,    1190                         compatible = "google,cros-ec-i2c-tunnel";
1233                         google,remote-bus = <    1191                         google,remote-bus = <0>;
1234                         #address-cells = <1>;    1192                         #address-cells = <1>;
1235                         #size-cells = <0>;       1193                         #size-cells = <0>;
1236                 };                               1194                 };
1237                                                  1195 
1238                 mt_pmic_vmc_ldo_reg: regulato    1196                 mt_pmic_vmc_ldo_reg: regulator@0 {
1239                         compatible = "google,    1197                         compatible = "google,cros-ec-regulator";
1240                         reg = <0>;               1198                         reg = <0>;
1241                         regulator-name = "mt_    1199                         regulator-name = "mt_pmic_vmc_ldo";
1242                         regulator-min-microvo    1200                         regulator-min-microvolt = <1200000>;
1243                         regulator-max-microvo    1201                         regulator-max-microvolt = <3600000>;
1244                 };                               1202                 };
1245                                                  1203 
1246                 mt_pmic_vmch_ldo_reg: regulat    1204                 mt_pmic_vmch_ldo_reg: regulator@1 {
1247                         compatible = "google,    1205                         compatible = "google,cros-ec-regulator";
1248                         reg = <1>;               1206                         reg = <1>;
1249                         regulator-name = "mt_    1207                         regulator-name = "mt_pmic_vmch_ldo";
1250                         regulator-min-microvo    1208                         regulator-min-microvolt = <2700000>;
1251                         regulator-max-microvo    1209                         regulator-max-microvolt = <3600000>;
1252                 };                               1210                 };
1253                                                  1211 
1254                 typec {                          1212                 typec {
1255                         compatible = "google,    1213                         compatible = "google,cros-ec-typec";
1256                         #address-cells = <1>;    1214                         #address-cells = <1>;
1257                         #size-cells = <0>;       1215                         #size-cells = <0>;
1258                                                  1216 
1259                         usb_c0: connector@0 {    1217                         usb_c0: connector@0 {
1260                                 compatible =     1218                                 compatible = "usb-c-connector";
1261                                 reg = <0>;       1219                                 reg = <0>;
1262                                 power-role =     1220                                 power-role = "dual";
1263                                 data-role = "    1221                                 data-role = "host";
1264                                 try-power-rol    1222                                 try-power-role = "source";
1265                         };                       1223                         };
1266                                                  1224 
1267                         usb_c1: connector@1 {    1225                         usb_c1: connector@1 {
1268                                 compatible =     1226                                 compatible = "usb-c-connector";
1269                                 reg = <1>;       1227                                 reg = <1>;
1270                                 power-role =     1228                                 power-role = "dual";
1271                                 data-role = "    1229                                 data-role = "host";
1272                                 try-power-rol    1230                                 try-power-role = "source";
1273                         };                       1231                         };
1274                 };                               1232                 };
1275         };                                       1233         };
1276 };                                               1234 };
1277                                                  1235 
1278 &spmi {                                          1236 &spmi {
1279         #address-cells = <2>;                    1237         #address-cells = <2>;
1280         #size-cells = <0>;                       1238         #size-cells = <0>;
1281                                                  1239 
1282         mt6315@6 {                               1240         mt6315@6 {
1283                 compatible = "mediatek,mt6315    1241                 compatible = "mediatek,mt6315-regulator";
1284                 reg = <0x6 SPMI_USID>;           1242                 reg = <0x6 SPMI_USID>;
1285                                                  1243 
1286                 regulators {                     1244                 regulators {
1287                         mt6315_6_vbuck1: vbuc    1245                         mt6315_6_vbuck1: vbuck1 {
1288                                 regulator-com    1246                                 regulator-compatible = "vbuck1";
1289                                 regulator-nam    1247                                 regulator-name = "Vbcpu";
1290                                 regulator-min    1248                                 regulator-min-microvolt = <400000>;
1291                                 regulator-max    1249                                 regulator-max-microvolt = <1193750>;
1292                                 regulator-ena    1250                                 regulator-enable-ramp-delay = <256>;
1293                                 regulator-ram    1251                                 regulator-ramp-delay = <6250>;
1294                                 regulator-all    1252                                 regulator-allowed-modes = <0 1 2>;
1295                                 regulator-alw    1253                                 regulator-always-on;
1296                         };                       1254                         };
1297                 };                               1255                 };
1298         };                                       1256         };
1299                                                  1257 
1300         mt6315@7 {                               1258         mt6315@7 {
1301                 compatible = "mediatek,mt6315    1259                 compatible = "mediatek,mt6315-regulator";
1302                 reg = <0x7 SPMI_USID>;           1260                 reg = <0x7 SPMI_USID>;
1303                                                  1261 
1304                 regulators {                     1262                 regulators {
1305                         mt6315_7_vbuck1: vbuc    1263                         mt6315_7_vbuck1: vbuck1 {
1306                                 regulator-com    1264                                 regulator-compatible = "vbuck1";
1307                                 regulator-nam    1265                                 regulator-name = "Vgpu";
1308                                 regulator-min    1266                                 regulator-min-microvolt = <400000>;
1309                                 regulator-max    1267                                 regulator-max-microvolt = <1193750>;
1310                                 regulator-ena    1268                                 regulator-enable-ramp-delay = <256>;
1311                                 regulator-ram    1269                                 regulator-ramp-delay = <6250>;
1312                                 regulator-all    1270                                 regulator-allowed-modes = <0 1 2>;
1313                         };                       1271                         };
1314                 };                               1272                 };
1315         };                                       1273         };
1316 };                                               1274 };
1317                                                  1275 
1318 &thermal_zones {                                 1276 &thermal_zones {
1319         soc-area-thermal {                       1277         soc-area-thermal {
1320                 polling-delay = <1000>;          1278                 polling-delay = <1000>;
1321                 polling-delay-passive = <250>    1279                 polling-delay-passive = <250>;
1322                 thermal-sensors = <&tboard_th    1280                 thermal-sensors = <&tboard_thermistor1>;
1323                                                  1281 
1324                 trips {                          1282                 trips {
1325                         trip-crit {              1283                         trip-crit {
1326                                 temperature =    1284                                 temperature = <84000>;
1327                                 hysteresis =     1285                                 hysteresis = <1000>;
1328                                 type = "criti    1286                                 type = "critical";
1329                         };                       1287                         };
1330                 };                               1288                 };
1331         };                                       1289         };
1332                                                  1290 
1333         pmic-area-thermal {                      1291         pmic-area-thermal {
1334                 polling-delay = <1000>;          1292                 polling-delay = <1000>;
1335                 polling-delay-passive = <0>;     1293                 polling-delay-passive = <0>;
1336                 thermal-sensors = <&tboard_th    1294                 thermal-sensors = <&tboard_thermistor2>;
1337                                                  1295 
1338                 trips {                          1296                 trips {
1339                         trip-crit {              1297                         trip-crit {
1340                                 temperature =    1298                                 temperature = <84000>;
1341                                 hysteresis =     1299                                 hysteresis = <1000>;
1342                                 type = "criti    1300                                 type = "critical";
1343                         };                       1301                         };
1344                 };                               1302                 };
1345         };                                       1303         };
1346 };                                               1304 };
1347                                                  1305 
1348 &u3phy0 {                                        1306 &u3phy0 {
1349         status = "okay";                         1307         status = "okay";
1350 };                                               1308 };
1351                                                  1309 
1352 &u3phy1 {                                        1310 &u3phy1 {
1353         status = "okay";                         1311         status = "okay";
1354 };                                               1312 };
1355                                                  1313 
1356 &u3phy2 {                                        1314 &u3phy2 {
1357         status = "okay";                         1315         status = "okay";
1358 };                                               1316 };
1359                                                  1317 
1360 &u3phy3 {                                        1318 &u3phy3 {
1361         status = "okay";                         1319         status = "okay";
1362 };                                               1320 };
1363                                                  1321 
1364 &uart0 {                                         1322 &uart0 {
1365         status = "okay";                         1323         status = "okay";
1366 };                                               1324 };
1367                                                  1325 
1368 /*                                            << 
1369  * For the USB Type-C ports the role and alte << 
1370  * done by the EC so we set dr_mode to host t << 
1371  */                                           << 
1372 &ssusb0 {                                     << 
1373         dr_mode = "host";                     << 
1374         vusb33-supply = <&mt6359_vusb_ldo_reg << 
1375         status = "okay";                      << 
1376 };                                            << 
1377                                               << 
1378 &ssusb2 {                                     << 
1379         dr_mode = "host";                     << 
1380         vusb33-supply = <&mt6359_vusb_ldo_reg << 
1381         status = "okay";                      << 
1382 };                                            << 
1383                                               << 
1384 &ssusb3 {                                     << 
1385         dr_mode = "host";                     << 
1386         vusb33-supply = <&mt6359_vusb_ldo_reg << 
1387         status = "okay";                      << 
1388 };                                            << 
1389                                               << 
1390 &xhci0 {                                         1326 &xhci0 {
1391         status = "okay";                         1327         status = "okay";
1392                                                  1328 
1393         rx-fifo-depth = <3072>;                  1329         rx-fifo-depth = <3072>;
                                                   >> 1330         vusb33-supply = <&mt6359_vusb_ldo_reg>;
1394         vbus-supply = <&usb_vbus>;               1331         vbus-supply = <&usb_vbus>;
1395 };                                               1332 };
1396                                                  1333 
1397 &xhci1 {                                         1334 &xhci1 {
1398         status = "okay";                         1335         status = "okay";
1399                                                  1336 
1400         phys = <&u2port1 PHY_TYPE_USB2>;      << 
1401         rx-fifo-depth = <3072>;                  1337         rx-fifo-depth = <3072>;
1402         vusb33-supply = <&mt6359_vusb_ldo_reg    1338         vusb33-supply = <&mt6359_vusb_ldo_reg>;
1403         vbus-supply = <&usb_vbus>;               1339         vbus-supply = <&usb_vbus>;
1404         mediatek,u3p-dis-msk = <1>;           << 
1405 };                                               1340 };
1406                                                  1341 
1407 &xhci2 {                                         1342 &xhci2 {
1408         status = "okay";                         1343         status = "okay";
                                                   >> 1344 
                                                   >> 1345         vusb33-supply = <&mt6359_vusb_ldo_reg>;
1409         vbus-supply = <&usb_vbus>;               1346         vbus-supply = <&usb_vbus>;
1410 };                                               1347 };
1411                                                  1348 
1412 &xhci3 {                                         1349 &xhci3 {
1413         status = "okay";                         1350         status = "okay";
1414                                                  1351 
1415         /* MT7921's USB Bluetooth has issues     1352         /* MT7921's USB Bluetooth has issues with USB2 LPM */
1416         usb2-lpm-disable;                        1353         usb2-lpm-disable;
                                                   >> 1354         vusb33-supply = <&mt6359_vusb_ldo_reg>;
1417         vbus-supply = <&usb_vbus>;               1355         vbus-supply = <&usb_vbus>;
1418 };                                               1356 };
1419                                                  1357 
1420 #include <arm/cros-ec-keyboard.dtsi>             1358 #include <arm/cros-ec-keyboard.dtsi>
1421 #include <arm/cros-ec-sbs.dtsi>                  1359 #include <arm/cros-ec-sbs.dtsi>
1422                                                  1360 
1423 &keyboard_controller {                           1361 &keyboard_controller {
1424         function-row-physmap = <                 1362         function-row-physmap = <
1425                 MATRIX_KEY(0x00, 0x02, 0)        1363                 MATRIX_KEY(0x00, 0x02, 0)       /* T1 */
1426                 MATRIX_KEY(0x03, 0x02, 0)        1364                 MATRIX_KEY(0x03, 0x02, 0)       /* T2 */
1427                 MATRIX_KEY(0x02, 0x02, 0)        1365                 MATRIX_KEY(0x02, 0x02, 0)       /* T3 */
1428                 MATRIX_KEY(0x01, 0x02, 0)        1366                 MATRIX_KEY(0x01, 0x02, 0)       /* T4 */
1429                 MATRIX_KEY(0x03, 0x04, 0)        1367                 MATRIX_KEY(0x03, 0x04, 0)       /* T5 */
1430                 MATRIX_KEY(0x02, 0x04, 0)        1368                 MATRIX_KEY(0x02, 0x04, 0)       /* T6 */
1431                 MATRIX_KEY(0x01, 0x04, 0)        1369                 MATRIX_KEY(0x01, 0x04, 0)       /* T7 */
1432                 MATRIX_KEY(0x02, 0x09, 0)        1370                 MATRIX_KEY(0x02, 0x09, 0)       /* T8 */
1433                 MATRIX_KEY(0x01, 0x09, 0)        1371                 MATRIX_KEY(0x01, 0x09, 0)       /* T9 */
1434                 MATRIX_KEY(0x00, 0x04, 0)        1372                 MATRIX_KEY(0x00, 0x04, 0)       /* T10 */
1435                                               << 
1436                 /* T11 to T13 are present onl << 
1437                 MATRIX_KEY(0x00, 0x01, 0)     << 
1438                 MATRIX_KEY(0x01, 0x05, 0)     << 
1439                 MATRIX_KEY(0x03, 0x05, 0)     << 
1440         >;                                       1373         >;
1441                                                  1374 
1442         linux,keymap = <                         1375         linux,keymap = <
1443                 MATRIX_KEY(0x00, 0x02, KEY_BA    1376                 MATRIX_KEY(0x00, 0x02, KEY_BACK)
1444                 MATRIX_KEY(0x03, 0x02, KEY_RE    1377                 MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
1445                 MATRIX_KEY(0x02, 0x02, KEY_ZO    1378                 MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
1446                 MATRIX_KEY(0x01, 0x02, KEY_SC    1379                 MATRIX_KEY(0x01, 0x02, KEY_SCALE)
1447                 MATRIX_KEY(0x03, 0x04, KEY_SY    1380                 MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
1448                 MATRIX_KEY(0x02, 0x04, KEY_BR    1381                 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
1449                 MATRIX_KEY(0x01, 0x04, KEY_BR    1382                 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
1450                 MATRIX_KEY(0x02, 0x09, KEY_MU    1383                 MATRIX_KEY(0x02, 0x09, KEY_MUTE)
1451                 MATRIX_KEY(0x01, 0x09, KEY_VO    1384                 MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
1452                 MATRIX_KEY(0x00, 0x04, KEY_VO    1385                 MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
1453                                                  1386 
1454                 CROS_STD_MAIN_KEYMAP             1387                 CROS_STD_MAIN_KEYMAP
1455         >;                                       1388         >;
1456 };                                               1389 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php