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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/mediatek/mt8395-genio-1200-evk.dts

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/mt8395-genio-1200-evk.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/mediatek/mt8395-genio-1200-evk.dts (Architecture m68k)


  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)        1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (C) 2023 MediaTek Inc.                 3  * Copyright (C) 2023 MediaTek Inc.
  4  * Author: Ben Lok <ben.lok@mediatek.com>            4  * Author: Ben Lok <ben.lok@mediatek.com>
  5  *         Macpaul Lin <macpaul.lin@mediatek.co      5  *         Macpaul Lin <macpaul.lin@mediatek.com>
  6  */                                                 6  */
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include "mt8195.dtsi"                              9 #include "mt8195.dtsi"
 10 #include "mt6359.dtsi"                             10 #include "mt6359.dtsi"
 11 #include <dt-bindings/gpio/gpio.h>                 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/input/input.h>               12 #include <dt-bindings/input/input.h>
 13 #include <dt-bindings/interrupt-controller/irq     13 #include <dt-bindings/interrupt-controller/irq.h>
 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h     14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
 15 #include <dt-bindings/regulator/mediatek,mt636     15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
 16 #include <dt-bindings/spmi/spmi.h>                 16 #include <dt-bindings/spmi/spmi.h>
 17 #include <dt-bindings/usb/pd.h>                    17 #include <dt-bindings/usb/pd.h>
 18                                                    18 
 19 / {                                                19 / {
 20         model = "MediaTek Genio 1200 EVK-P1V2-     20         model = "MediaTek Genio 1200 EVK-P1V2-EMMC";
 21         compatible = "mediatek,mt8395-evk", "m     21         compatible = "mediatek,mt8395-evk", "mediatek,mt8395",
 22                      "mediatek,mt8195";            22                      "mediatek,mt8195";
 23                                                    23 
 24         aliases {                                  24         aliases {
 25                 serial0 = &uart0;                  25                 serial0 = &uart0;
 26                 ethernet0 = &eth;                  26                 ethernet0 = &eth;
 27         };                                         27         };
 28                                                    28 
 29         chosen {                                   29         chosen {
 30                 stdout-path = "serial0:921600n     30                 stdout-path = "serial0:921600n8";
 31         };                                         31         };
 32                                                    32 
 33         firmware {                                 33         firmware {
 34                 optee {                            34                 optee {
 35                         compatible = "linaro,o     35                         compatible = "linaro,optee-tz";
 36                         method = "smc";            36                         method = "smc";
 37                 };                                 37                 };
 38         };                                         38         };
 39                                                    39 
 40         memory@40000000 {                          40         memory@40000000 {
 41                 device_type = "memory";            41                 device_type = "memory";
 42                 reg = <0 0x40000000 0x2 0x0000     42                 reg = <0 0x40000000 0x2 0x00000000>;
 43         };                                         43         };
 44                                                    44 
 45         reserved-memory {                          45         reserved-memory {
 46                 #address-cells = <2>;              46                 #address-cells = <2>;
 47                 #size-cells = <2>;                 47                 #size-cells = <2>;
 48                 ranges;                            48                 ranges;
 49                                                    49 
 50                 /*                                 50                 /*
 51                  * 12 MiB reserved for OP-TEE      51                  * 12 MiB reserved for OP-TEE (BL32)
 52                  * +-----------------------+ 0     52                  * +-----------------------+ 0x43e0_0000
 53                  * |      SHMEM 2MiB       |       53                  * |      SHMEM 2MiB       |
 54                  * +-----------------------+ 0     54                  * +-----------------------+ 0x43c0_0000
 55                  * |        | TA_RAM  8MiB |       55                  * |        | TA_RAM  8MiB |
 56                  * + TZDRAM +--------------+ 0     56                  * + TZDRAM +--------------+ 0x4340_0000
 57                  * |        | TEE_RAM 2MiB |       57                  * |        | TEE_RAM 2MiB |
 58                  * +-----------------------+ 0     58                  * +-----------------------+ 0x4320_0000
 59                  */                                59                  */
 60                 optee_reserved: optee@43200000     60                 optee_reserved: optee@43200000 {
 61                         no-map;                    61                         no-map;
 62                         reg = <0 0x43200000 0      62                         reg = <0 0x43200000 0 0x00c00000>;
 63                 };                                 63                 };
 64                                                    64 
 65                 scp_mem: memory@50000000 {         65                 scp_mem: memory@50000000 {
 66                         compatible = "shared-d     66                         compatible = "shared-dma-pool";
 67                         reg = <0 0x50000000 0      67                         reg = <0 0x50000000 0 0x2900000>;
 68                         no-map;                    68                         no-map;
 69                 };                                 69                 };
 70                                                    70 
 71                 vpu_mem: memory@53000000 {         71                 vpu_mem: memory@53000000 {
 72                         compatible = "shared-d     72                         compatible = "shared-dma-pool";
 73                         reg = <0 0x53000000 0      73                         reg = <0 0x53000000 0 0x1400000>; /* 20 MB */
 74                 };                                 74                 };
 75                                                    75 
 76                 /* 2 MiB reserved for ARM Trus     76                 /* 2 MiB reserved for ARM Trusted Firmware (BL31) */
 77                 bl31_secmon_mem: memory@546000     77                 bl31_secmon_mem: memory@54600000 {
 78                         no-map;                    78                         no-map;
 79                         reg = <0 0x54600000 0x     79                         reg = <0 0x54600000 0x0 0x200000>;
 80                 };                                 80                 };
 81                                                    81 
 82                 snd_dma_mem: memory@60000000 {     82                 snd_dma_mem: memory@60000000 {
 83                         compatible = "shared-d     83                         compatible = "shared-dma-pool";
 84                         reg = <0 0x60000000 0      84                         reg = <0 0x60000000 0 0x1100000>;
 85                         no-map;                    85                         no-map;
 86                 };                                 86                 };
 87                                                    87 
 88                 apu_mem: memory@62000000 {         88                 apu_mem: memory@62000000 {
 89                         compatible = "shared-d     89                         compatible = "shared-dma-pool";
 90                         reg = <0 0x62000000 0      90                         reg = <0 0x62000000 0 0x1400000>; /* 20 MB */
 91                 };                                 91                 };
 92         };                                         92         };
 93                                                    93 
 94         backlight_lcd0: backlight-lcd0 {           94         backlight_lcd0: backlight-lcd0 {
 95                 compatible = "pwm-backlight";      95                 compatible = "pwm-backlight";
 96                 pwms = <&disp_pwm0 0 500000>;      96                 pwms = <&disp_pwm0 0 500000>;
 97                 enable-gpios = <&pio 47 GPIO_A     97                 enable-gpios = <&pio 47 GPIO_ACTIVE_HIGH>;
 98                 brightness-levels = <0 1023>;      98                 brightness-levels = <0 1023>;
 99                 num-interpolated-steps = <1023     99                 num-interpolated-steps = <1023>;
100                 default-brightness-level = <57    100                 default-brightness-level = <576>;
101         };                                        101         };
102                                                   102 
103         backlight_lcd1: backlight-lcd1 {          103         backlight_lcd1: backlight-lcd1 {
104                 compatible = "pwm-backlight";     104                 compatible = "pwm-backlight";
105                 pwms = <&disp_pwm1 0 500000>;     105                 pwms = <&disp_pwm1 0 500000>;
106                 enable-gpios = <&pio 46 GPIO_A    106                 enable-gpios = <&pio 46 GPIO_ACTIVE_HIGH>;
107                 brightness-levels = <0 1023>;     107                 brightness-levels = <0 1023>;
108                 num-interpolated-steps = <1023    108                 num-interpolated-steps = <1023>;
109                 default-brightness-level = <57    109                 default-brightness-level = <576>;
110         };                                        110         };
111                                                   111 
112         can_clk: can-clk {                        112         can_clk: can-clk {
113                 compatible = "fixed-clock";       113                 compatible = "fixed-clock";
114                 #clock-cells = <0>;               114                 #clock-cells = <0>;
115                 clock-frequency = <20000000>;     115                 clock-frequency = <20000000>;
116                 clock-output-names = "can-clk"    116                 clock-output-names = "can-clk";
117         };                                        117         };
118                                                   118 
119         edp_panel_fixed_3v3: regulator-0 {        119         edp_panel_fixed_3v3: regulator-0 {
120                 compatible = "regulator-fixed"    120                 compatible = "regulator-fixed";
121                 regulator-name = "edp_panel_3v    121                 regulator-name = "edp_panel_3v3";
122                 regulator-min-microvolt = <330    122                 regulator-min-microvolt = <3300000>;
123                 regulator-max-microvolt = <330    123                 regulator-max-microvolt = <3300000>;
124                 enable-active-high;               124                 enable-active-high;
125                 gpio = <&pio 6 GPIO_ACTIVE_HIG    125                 gpio = <&pio 6 GPIO_ACTIVE_HIGH>;
126                 pinctrl-names = "default";        126                 pinctrl-names = "default";
127                 pinctrl-0 = <&edp_panel_3v3_en    127                 pinctrl-0 = <&edp_panel_3v3_en_pins>;
128         };                                        128         };
129                                                   129 
130         edp_panel_fixed_12v: regulator-1 {        130         edp_panel_fixed_12v: regulator-1 {
131                 compatible = "regulator-fixed"    131                 compatible = "regulator-fixed";
132                 regulator-name = "edp_backligh    132                 regulator-name = "edp_backlight_12v";
133                 regulator-min-microvolt = <120    133                 regulator-min-microvolt = <12000000>;
134                 regulator-max-microvolt = <120    134                 regulator-max-microvolt = <12000000>;
135                 enable-active-high;               135                 enable-active-high;
136                 gpio = <&pio 96 GPIO_ACTIVE_HI    136                 gpio = <&pio 96 GPIO_ACTIVE_HIGH>;
137                 pinctrl-names = "default";        137                 pinctrl-names = "default";
138                 pinctrl-0 = <&edp_panel_12v_en    138                 pinctrl-0 = <&edp_panel_12v_en_pins>;
139         };                                        139         };
140                                                   140 
141         keys: gpio-keys {                         141         keys: gpio-keys {
142                 compatible = "gpio-keys";         142                 compatible = "gpio-keys";
143                                                   143 
144                 button-volume-up {                144                 button-volume-up {
145                         wakeup-source;            145                         wakeup-source;
146                         debounce-interval = <1    146                         debounce-interval = <100>;
147                         gpios = <&pio 106 GPIO    147                         gpios = <&pio 106 GPIO_ACTIVE_LOW>;
148                         label = "volume_up";      148                         label = "volume_up";
149                         linux,code = <KEY_VOLU    149                         linux,code = <KEY_VOLUMEUP>;
150                 };                                150                 };
151         };                                        151         };
152                                                   152 
153         wifi_fixed_3v3: regulator-2 {             153         wifi_fixed_3v3: regulator-2 {
154                 compatible = "regulator-fixed"    154                 compatible = "regulator-fixed";
155                 regulator-name = "wifi_3v3";      155                 regulator-name = "wifi_3v3";
156                 regulator-min-microvolt = <330    156                 regulator-min-microvolt = <3300000>;
157                 regulator-max-microvolt = <330    157                 regulator-max-microvolt = <3300000>;
158                 gpio = <&pio 135 GPIO_ACTIVE_H    158                 gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
159                 enable-active-high;               159                 enable-active-high;
160                 regulator-always-on;              160                 regulator-always-on;
161         };                                        161         };
162 };                                                162 };
163                                                   163 
164 &disp_pwm0 {                                      164 &disp_pwm0 {
165         pinctrl-names = "default";                165         pinctrl-names = "default";
166         pinctrl-0 = <&pwm0_default_pins>;         166         pinctrl-0 = <&pwm0_default_pins>;
167         status = "okay";                          167         status = "okay";
168 };                                                168 };
169                                                   169 
170 &dmic_codec {                                     170 &dmic_codec {
171         wakeup-delay-ms = <200>;                  171         wakeup-delay-ms = <200>;
172 };                                                172 };
173                                                   173 
174 &eth {                                            174 &eth {
175         phy-mode ="rgmii-rxid";                   175         phy-mode ="rgmii-rxid";
176         phy-handle = <&eth_phy0>;                 176         phy-handle = <&eth_phy0>;
177         snps,reset-gpio = <&pio 93 GPIO_ACTIVE    177         snps,reset-gpio = <&pio 93 GPIO_ACTIVE_HIGH>;
178         snps,reset-delays-us = <0 10000 10000>    178         snps,reset-delays-us = <0 10000 10000>;
179         mediatek,tx-delay-ps = <2030>;            179         mediatek,tx-delay-ps = <2030>;
180         mediatek,mac-wol;                         180         mediatek,mac-wol;
181         pinctrl-names = "default", "sleep";       181         pinctrl-names = "default", "sleep";
182         pinctrl-0 = <&eth_default_pins>;          182         pinctrl-0 = <&eth_default_pins>;
183         pinctrl-1 = <&eth_sleep_pins>;            183         pinctrl-1 = <&eth_sleep_pins>;
184         status = "okay";                          184         status = "okay";
185                                                   185 
186         mdio {                                    186         mdio {
187                 compatible = "snps,dwmac-mdio"    187                 compatible = "snps,dwmac-mdio";
188                 #address-cells = <1>;             188                 #address-cells = <1>;
189                 #size-cells = <0>;                189                 #size-cells = <0>;
190                 eth_phy0: eth-phy0@1 {            190                 eth_phy0: eth-phy0@1 {
191                         compatible = "ethernet    191                         compatible = "ethernet-phy-id001c.c916";
192                         reg = <0x1>;              192                         reg = <0x1>;
193                 };                                193                 };
194         };                                        194         };
195 };                                                195 };
196                                                   196 
197 &i2c0 {                                           197 &i2c0 {
198         clock-frequency = <400000>;               198         clock-frequency = <400000>;
199         pinctrl-0 = <&i2c0_pins>;                 199         pinctrl-0 = <&i2c0_pins>;
200         pinctrl-names = "default";                200         pinctrl-names = "default";
201         status = "okay";                          201         status = "okay";
202 };                                                202 };
203                                                   203 
204 &i2c1 {                                           204 &i2c1 {
205         clock-frequency = <400000>;               205         clock-frequency = <400000>;
206         pinctrl-0 = <&i2c1_pins>;                 206         pinctrl-0 = <&i2c1_pins>;
207         pinctrl-names = "default";                207         pinctrl-names = "default";
208         status = "okay";                          208         status = "okay";
209                                                   209 
210         touchscreen@5d {                          210         touchscreen@5d {
211                 compatible = "goodix,gt9271";     211                 compatible = "goodix,gt9271";
212                 reg = <0x5d>;                     212                 reg = <0x5d>;
213                 interrupts-extended = <&pio 13    213                 interrupts-extended = <&pio 132 IRQ_TYPE_EDGE_RISING>;
214                 irq-gpios = <&pio 132 GPIO_ACT    214                 irq-gpios = <&pio 132 GPIO_ACTIVE_HIGH>;
215                 reset-gpios = <&pio 133 GPIO_A    215                 reset-gpios = <&pio 133 GPIO_ACTIVE_HIGH>;
216                 AVDD28-supply = <&mt6360_ldo1>    216                 AVDD28-supply = <&mt6360_ldo1>;
217                 pinctrl-names = "default";        217                 pinctrl-names = "default";
218                 pinctrl-0 = <&touch_pins>;        218                 pinctrl-0 = <&touch_pins>;
219         };                                        219         };
220 };                                                220 };
221                                                   221 
222 &i2c2 {                                           222 &i2c2 {
223         clock-frequency = <400000>;               223         clock-frequency = <400000>;
224         pinctrl-0 = <&i2c2_pins>;                 224         pinctrl-0 = <&i2c2_pins>;
225         pinctrl-names = "default";                225         pinctrl-names = "default";
226         status = "okay";                          226         status = "okay";
227 };                                                227 };
228                                                   228 
229 &i2c6 {                                           229 &i2c6 {
230         clock-frequency = <400000>;               230         clock-frequency = <400000>;
231         pinctrl-0 = <&i2c6_pins>;                 231         pinctrl-0 = <&i2c6_pins>;
232         pinctrl-names = "default";                232         pinctrl-names = "default";
233         #address-cells = <1>;                     233         #address-cells = <1>;
234         #size-cells = <0>;                        234         #size-cells = <0>;
235         status = "okay";                          235         status = "okay";
236                                                   236 
237         mt6360: pmic@34 {                         237         mt6360: pmic@34 {
238                 compatible = "mediatek,mt6360"    238                 compatible = "mediatek,mt6360";
239                 reg = <0x34>;                     239                 reg = <0x34>;
240                 interrupt-parent = <&pio>;        240                 interrupt-parent = <&pio>;
241                 interrupts = <128 IRQ_TYPE_EDG    241                 interrupts = <128 IRQ_TYPE_EDGE_FALLING>;
242                 interrupt-names = "IRQB";         242                 interrupt-names = "IRQB";
243                 interrupt-controller;             243                 interrupt-controller;
244                 #interrupt-cells = <1>;           244                 #interrupt-cells = <1>;
245                 pinctrl-0 = <&mt6360_pins>;       245                 pinctrl-0 = <&mt6360_pins>;
246                                                   246 
247                 charger {                         247                 charger {
248                         compatible = "mediatek    248                         compatible = "mediatek,mt6360-chg";
249                         richtek,vinovp-microvo    249                         richtek,vinovp-microvolt = <14500000>;
250                                                   250 
251                         otg_vbus_regulator: us    251                         otg_vbus_regulator: usb-otg-vbus-regulator {
252                                 regulator-name    252                                 regulator-name = "usb-otg-vbus";
253                                 regulator-min-    253                                 regulator-min-microvolt = <4425000>;
254                                 regulator-max-    254                                 regulator-max-microvolt = <5825000>;
255                         };                        255                         };
256                 };                                256                 };
257                                                   257 
258                 regulator {                       258                 regulator {
259                         compatible = "mediatek    259                         compatible = "mediatek,mt6360-regulator";
260                         LDO_VIN3-supply = <&mt    260                         LDO_VIN3-supply = <&mt6360_buck2>;
261                                                   261 
262                         mt6360_buck1: buck1 {     262                         mt6360_buck1: buck1 {
263                                 regulator-name    263                                 regulator-name = "emi_vdd2";
264                                 regulator-min-    264                                 regulator-min-microvolt = <300000>;
265                                 regulator-max-    265                                 regulator-max-microvolt = <1300000>;
266                                 regulator-allo    266                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
267                                                   267                                                            MT6360_OPMODE_LP
268                                                   268                                                            MT6360_OPMODE_ULP>;
269                                 regulator-alwa    269                                 regulator-always-on;
270                         };                        270                         };
271                                                   271 
272                         mt6360_buck2: buck2 {     272                         mt6360_buck2: buck2 {
273                                 regulator-name    273                                 regulator-name = "emi_vddq";
274                                 regulator-min-    274                                 regulator-min-microvolt = <300000>;
275                                 regulator-max-    275                                 regulator-max-microvolt = <1300000>;
276                                 regulator-allo    276                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
277                                                   277                                                            MT6360_OPMODE_LP
278                                                   278                                                            MT6360_OPMODE_ULP>;
279                                 regulator-alwa    279                                 regulator-always-on;
280                         };                        280                         };
281                                                   281 
282                         mt6360_ldo1: ldo1 {       282                         mt6360_ldo1: ldo1 {
283                                 regulator-name    283                                 regulator-name = "tp1_p3v0";
284                                 regulator-min-    284                                 regulator-min-microvolt = <3300000>;
285                                 regulator-max-    285                                 regulator-max-microvolt = <3300000>;
286                                 regulator-allo    286                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
287                                                   287                                                            MT6360_OPMODE_LP>;
288                                 regulator-alwa    288                                 regulator-always-on;
289                         };                        289                         };
290                                                   290 
291                         mt6360_ldo2: ldo2 {       291                         mt6360_ldo2: ldo2 {
292                                 regulator-name    292                                 regulator-name = "panel1_p1v8";
293                                 regulator-min-    293                                 regulator-min-microvolt = <1800000>;
294                                 regulator-max-    294                                 regulator-max-microvolt = <1800000>;
295                                 regulator-allo    295                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
296                                                   296                                                            MT6360_OPMODE_LP>;
297                         };                        297                         };
298                                                   298 
299                         mt6360_ldo3: ldo3 {       299                         mt6360_ldo3: ldo3 {
300                                 regulator-name    300                                 regulator-name = "vmc_pmu";
301                                 regulator-min-    301                                 regulator-min-microvolt = <1200000>;
302                                 regulator-max-    302                                 regulator-max-microvolt = <3600000>;
303                                 regulator-allo    303                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
304                                                   304                                                            MT6360_OPMODE_LP>;
305                         };                        305                         };
306                                                   306 
307                         mt6360_ldo5: ldo5 {       307                         mt6360_ldo5: ldo5 {
308                                 regulator-name    308                                 regulator-name = "vmch_pmu";
309                                 regulator-min-    309                                 regulator-min-microvolt = <2700000>;
310                                 regulator-max-    310                                 regulator-max-microvolt = <3600000>;
311                                 regulator-allo    311                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
312                                                   312                                                            MT6360_OPMODE_LP>;
313                         };                        313                         };
314                                                   314 
315                         /* This is a measure p    315                         /* This is a measure point, which name is mt6360_ldo1 on schematic */
316                         mt6360_ldo6: ldo6 {       316                         mt6360_ldo6: ldo6 {
317                                 regulator-name    317                                 regulator-name = "mt6360_ldo1";
318                                 regulator-min-    318                                 regulator-min-microvolt = <500000>;
319                                 regulator-max-    319                                 regulator-max-microvolt = <2100000>;
320                                 regulator-allo    320                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
321                                                   321                                                            MT6360_OPMODE_LP>;
322                         };                        322                         };
323                                                   323 
324                         mt6360_ldo7: ldo7 {       324                         mt6360_ldo7: ldo7 {
325                                 regulator-name    325                                 regulator-name = "emi_vmddr_en";
326                                 regulator-min-    326                                 regulator-min-microvolt = <500000>;
327                                 regulator-max-    327                                 regulator-max-microvolt = <2100000>;
328                                 regulator-allo    328                                 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
329                                                   329                                                            MT6360_OPMODE_LP>;
330                                 regulator-alwa    330                                 regulator-always-on;
331                         };                        331                         };
332                 };                                332                 };
333         };                                        333         };
334 };                                                334 };
335                                                   335 
336 &mfg0 {                                           336 &mfg0 {
337         domain-supply = <&mt6315_7_vbuck1>;       337         domain-supply = <&mt6315_7_vbuck1>;
338 };                                                338 };
339                                                   339 
340 &mmc0 {                                           340 &mmc0 {
341         status = "okay";                          341         status = "okay";
342         pinctrl-names = "default", "state_uhs"    342         pinctrl-names = "default", "state_uhs";
343         pinctrl-0 = <&mmc0_default_pins>;         343         pinctrl-0 = <&mmc0_default_pins>;
344         pinctrl-1 = <&mmc0_uhs_pins>;             344         pinctrl-1 = <&mmc0_uhs_pins>;
345         bus-width = <8>;                          345         bus-width = <8>;
346         max-frequency = <200000000>;              346         max-frequency = <200000000>;
347         cap-mmc-highspeed;                        347         cap-mmc-highspeed;
348         mmc-hs200-1_8v;                           348         mmc-hs200-1_8v;
349         mmc-hs400-1_8v;                           349         mmc-hs400-1_8v;
350         cap-mmc-hw-reset;                         350         cap-mmc-hw-reset;
351         no-sdio;                                  351         no-sdio;
352         no-sd;                                    352         no-sd;
353         hs400-ds-delay = <0x14c11>;               353         hs400-ds-delay = <0x14c11>;
354         vmmc-supply = <&mt6359_vemc_1_ldo_reg>    354         vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
355         vqmmc-supply = <&mt6359_vufs_ldo_reg>;    355         vqmmc-supply = <&mt6359_vufs_ldo_reg>;
356         non-removable;                            356         non-removable;
357 };                                                357 };
358                                                   358 
359 &mmc1 {                                           359 &mmc1 {
360         pinctrl-names = "default", "state_uhs"    360         pinctrl-names = "default", "state_uhs";
361         pinctrl-0 = <&mmc1_default_pins>;         361         pinctrl-0 = <&mmc1_default_pins>;
362         pinctrl-1 = <&mmc1_uhs_pins>;             362         pinctrl-1 = <&mmc1_uhs_pins>;
363         bus-width = <4>;                          363         bus-width = <4>;
364         max-frequency = <200000000>;              364         max-frequency = <200000000>;
365         cap-sd-highspeed;                         365         cap-sd-highspeed;
366         sd-uhs-sdr50;                             366         sd-uhs-sdr50;
367         sd-uhs-sdr104;                            367         sd-uhs-sdr104;
368         no-mmc;                                   368         no-mmc;
369         no-sdio;                                  369         no-sdio;
370         vmmc-supply = <&mt6360_ldo5>;             370         vmmc-supply = <&mt6360_ldo5>;
371         vqmmc-supply = <&mt6360_ldo3>;            371         vqmmc-supply = <&mt6360_ldo3>;
372         status = "okay";                          372         status = "okay";
373         non-removable;                            373         non-removable;
374 };                                                374 };
375                                                   375 
376 &mt6359_vaud18_ldo_reg {                          376 &mt6359_vaud18_ldo_reg {
377         regulator-always-on;                      377         regulator-always-on;
378 };                                                378 };
379                                                   379 
380 &mt6359_vbbck_ldo_reg {                           380 &mt6359_vbbck_ldo_reg {
381         regulator-always-on;                      381         regulator-always-on;
382 };                                                382 };
383                                                   383 
384 /* For USB Hub */                                 384 /* For USB Hub */
385 &mt6359_vcamio_ldo_reg {                          385 &mt6359_vcamio_ldo_reg {
386         regulator-always-on;                      386         regulator-always-on;
387 };                                                387 };
388                                                   388 
389 &mt6359_vcn33_2_bt_ldo_reg {                      389 &mt6359_vcn33_2_bt_ldo_reg {
390         regulator-min-microvolt = <3300000>;      390         regulator-min-microvolt = <3300000>;
391         regulator-max-microvolt = <3300000>;      391         regulator-max-microvolt = <3300000>;
392 };                                                392 };
393                                                   393 
394 &mt6359_vcore_buck_reg {                          394 &mt6359_vcore_buck_reg {
395         regulator-always-on;                      395         regulator-always-on;
396 };                                                396 };
397                                                   397 
398 &mt6359_vgpu11_buck_reg {                         398 &mt6359_vgpu11_buck_reg {
399         regulator-always-on;                      399         regulator-always-on;
400 };                                                400 };
401                                                   401 
402 &mt6359_vpu_buck_reg {                            402 &mt6359_vpu_buck_reg {
403         regulator-always-on;                      403         regulator-always-on;
404 };                                                404 };
405                                                   405 
406 &mt6359_vrf12_ldo_reg {                           406 &mt6359_vrf12_ldo_reg {
407         regulator-always-on;                      407         regulator-always-on;
408 };                                                408 };
409                                                   409 
410 &mt6359codec {                                    410 &mt6359codec {
411         mediatek,mic-type-0 = <1>; /* ACC */      411         mediatek,mic-type-0 = <1>; /* ACC */
412         mediatek,mic-type-1 = <3>; /* DCC */      412         mediatek,mic-type-1 = <3>; /* DCC */
413         mediatek,mic-type-2 = <1>; /* ACC */      413         mediatek,mic-type-2 = <1>; /* ACC */
414 };                                                414 };
415                                                   415 
416 &pcie0 {                                          416 &pcie0 {
417         pinctrl-names = "default", "idle";        417         pinctrl-names = "default", "idle";
418         pinctrl-0 = <&pcie0_default_pins>;        418         pinctrl-0 = <&pcie0_default_pins>;
419         pinctrl-1 = <&pcie0_idle_pins>;           419         pinctrl-1 = <&pcie0_idle_pins>;
420         status = "okay";                          420         status = "okay";
421 };                                                421 };
422                                                   422 
423 &pcie1 {                                          423 &pcie1 {
424         pinctrl-names = "default";                424         pinctrl-names = "default";
425         pinctrl-0 = <&pcie1_default_pins>;        425         pinctrl-0 = <&pcie1_default_pins>;
426         status = "disabled";                      426         status = "disabled";
427 };                                                427 };
428                                                   428 
429 &pciephy {                                        429 &pciephy {
430         status = "okay";                          430         status = "okay";
431 };                                                431 };
432                                                   432 
433 &pio {                                            433 &pio {
434         audio_default_pins: audio-default-pins    434         audio_default_pins: audio-default-pins {
435                 pins-cmd-dat {                    435                 pins-cmd-dat {
436                         pinmux = <PINMUX_GPIO6    436                         pinmux = <PINMUX_GPIO61__FUNC_DMIC1_CLK>,
437                                  <PINMUX_GPIO6    437                                  <PINMUX_GPIO62__FUNC_DMIC1_DAT>,
438                                  <PINMUX_GPIO6    438                                  <PINMUX_GPIO65__FUNC_PCM_DO>,
439                                  <PINMUX_GPIO6    439                                  <PINMUX_GPIO66__FUNC_PCM_CLK>,
440                                  <PINMUX_GPIO6    440                                  <PINMUX_GPIO67__FUNC_PCM_DI>,
441                                  <PINMUX_GPIO6    441                                  <PINMUX_GPIO68__FUNC_PCM_SYNC>,
442                                  <PINMUX_GPIO6    442                                  <PINMUX_GPIO69__FUNC_AUD_CLK_MOSI>,
443                                  <PINMUX_GPIO7    443                                  <PINMUX_GPIO70__FUNC_AUD_SYNC_MOSI>,
444                                  <PINMUX_GPIO7    444                                  <PINMUX_GPIO71__FUNC_AUD_DAT_MOSI0>,
445                                  <PINMUX_GPIO7    445                                  <PINMUX_GPIO72__FUNC_AUD_DAT_MOSI1>,
446                                  <PINMUX_GPIO7    446                                  <PINMUX_GPIO73__FUNC_AUD_DAT_MISO0>,
447                                  <PINMUX_GPIO7    447                                  <PINMUX_GPIO74__FUNC_AUD_DAT_MISO1>,
448                                  <PINMUX_GPIO7    448                                  <PINMUX_GPIO75__FUNC_AUD_DAT_MISO2>;
449                 };                                449                 };
450         };                                        450         };
451                                                   451 
452         disp_pwm1_default_pins: disp-pwm1-defa    452         disp_pwm1_default_pins: disp-pwm1-default-pins {
453                 pins1 {                           453                 pins1 {
454                         pinmux = <PINMUX_GPIO1    454                         pinmux = <PINMUX_GPIO104__FUNC_DISP_PWM1>;
455                 };                                455                 };
456         };                                        456         };
457                                                   457 
458         edp_panel_12v_en_pins: edp-panel-12v-e    458         edp_panel_12v_en_pins: edp-panel-12v-en-pins {
459                 pins1 {                           459                 pins1 {
460                         pinmux = <PINMUX_GPIO9    460                         pinmux = <PINMUX_GPIO96__FUNC_GPIO96>;
461                         output-high;              461                         output-high;
462                 };                                462                 };
463         };                                        463         };
464                                                   464 
465         edp_panel_3v3_en_pins: edp-panel-3v3-e    465         edp_panel_3v3_en_pins: edp-panel-3v3-en-pins {
466                 pins1 {                           466                 pins1 {
467                         pinmux = <PINMUX_GPIO6    467                         pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
468                         output-high;              468                         output-high;
469                 };                                469                 };
470         };                                        470         };
471                                                   471 
472         eth_default_pins: eth-default-pins {      472         eth_default_pins: eth-default-pins {
473                 pins-cc {                         473                 pins-cc {
474                         pinmux = <PINMUX_GPIO8    474                         pinmux = <PINMUX_GPIO85__FUNC_GBE_TXC>,
475                                  <PINMUX_GPIO8    475                                  <PINMUX_GPIO86__FUNC_GBE_RXC>,
476                                  <PINMUX_GPIO8    476                                  <PINMUX_GPIO87__FUNC_GBE_RXDV>,
477                                  <PINMUX_GPIO8    477                                  <PINMUX_GPIO88__FUNC_GBE_TXEN>;
478                         drive-strength = <8>;     478                         drive-strength = <8>;
479                 };                                479                 };
480                                                   480 
481                 pins-mdio {                       481                 pins-mdio {
482                         pinmux = <PINMUX_GPIO8    482                         pinmux = <PINMUX_GPIO89__FUNC_GBE_MDC>,
483                                  <PINMUX_GPIO9    483                                  <PINMUX_GPIO90__FUNC_GBE_MDIO>;
484                         input-enable;             484                         input-enable;
485                 };                                485                 };
486                                                   486 
487                 pins-power {                      487                 pins-power {
488                         pinmux = <PINMUX_GPIO9    488                         pinmux = <PINMUX_GPIO91__FUNC_GPIO91>,
489                                  <PINMUX_GPIO9    489                                  <PINMUX_GPIO92__FUNC_GPIO92>;
490                         output-high;              490                         output-high;
491                 };                                491                 };
492                                                   492 
493                 pins-rxd {                        493                 pins-rxd {
494                         pinmux = <PINMUX_GPIO8    494                         pinmux = <PINMUX_GPIO81__FUNC_GBE_RXD3>,
495                                  <PINMUX_GPIO8    495                                  <PINMUX_GPIO82__FUNC_GBE_RXD2>,
496                                  <PINMUX_GPIO8    496                                  <PINMUX_GPIO83__FUNC_GBE_RXD1>,
497                                  <PINMUX_GPIO8    497                                  <PINMUX_GPIO84__FUNC_GBE_RXD0>;
498                 };                                498                 };
499                                                   499 
500                 pins-txd {                        500                 pins-txd {
501                         pinmux = <PINMUX_GPIO7    501                         pinmux = <PINMUX_GPIO77__FUNC_GBE_TXD3>,
502                                  <PINMUX_GPIO7    502                                  <PINMUX_GPIO78__FUNC_GBE_TXD2>,
503                                  <PINMUX_GPIO7    503                                  <PINMUX_GPIO79__FUNC_GBE_TXD1>,
504                                  <PINMUX_GPIO8    504                                  <PINMUX_GPIO80__FUNC_GBE_TXD0>;
505                         drive-strength = <8>;     505                         drive-strength = <8>;
506                 };                                506                 };
507         };                                        507         };
508                                                   508 
509         eth_sleep_pins: eth-sleep-pins {          509         eth_sleep_pins: eth-sleep-pins {
510                 pins-cc {                         510                 pins-cc {
511                         pinmux = <PINMUX_GPIO8    511                         pinmux = <PINMUX_GPIO85__FUNC_GPIO85>,
512                                  <PINMUX_GPIO8    512                                  <PINMUX_GPIO86__FUNC_GPIO86>,
513                                  <PINMUX_GPIO8    513                                  <PINMUX_GPIO87__FUNC_GPIO87>,
514                                  <PINMUX_GPIO8    514                                  <PINMUX_GPIO88__FUNC_GPIO88>;
515                 };                                515                 };
516                                                   516 
517                 pins-mdio {                       517                 pins-mdio {
518                         pinmux = <PINMUX_GPIO8    518                         pinmux = <PINMUX_GPIO89__FUNC_GPIO89>,
519                                  <PINMUX_GPIO9    519                                  <PINMUX_GPIO90__FUNC_GPIO90>;
520                         input-disable;            520                         input-disable;
521                         bias-disable;             521                         bias-disable;
522                 };                                522                 };
523                                                   523 
524                 pins-rxd {                        524                 pins-rxd {
525                         pinmux = <PINMUX_GPIO8    525                         pinmux = <PINMUX_GPIO81__FUNC_GPIO81>,
526                                  <PINMUX_GPIO8    526                                  <PINMUX_GPIO82__FUNC_GPIO82>,
527                                  <PINMUX_GPIO8    527                                  <PINMUX_GPIO83__FUNC_GPIO83>,
528                                  <PINMUX_GPIO8    528                                  <PINMUX_GPIO84__FUNC_GPIO84>;
529                 };                                529                 };
530                                                   530 
531                 pins-txd {                        531                 pins-txd {
532                         pinmux = <PINMUX_GPIO7    532                         pinmux = <PINMUX_GPIO77__FUNC_GPIO77>,
533                                  <PINMUX_GPIO7    533                                  <PINMUX_GPIO78__FUNC_GPIO78>,
534                                  <PINMUX_GPIO7    534                                  <PINMUX_GPIO79__FUNC_GPIO79>,
535                                  <PINMUX_GPIO8    535                                  <PINMUX_GPIO80__FUNC_GPIO80>;
536                 };                                536                 };
537         };                                        537         };
538                                                   538 
539         gpio_key_pins: gpio-keys-pins {           539         gpio_key_pins: gpio-keys-pins {
540                 pins {                            540                 pins {
541                         pinmux = <PINMUX_GPIO1    541                         pinmux = <PINMUX_GPIO106__FUNC_GPIO106>;
542                         bias-pull-up;             542                         bias-pull-up;
543                         input-enable;             543                         input-enable;
544                 };                                544                 };
545         };                                        545         };
546                                                   546 
547         i2c0_pins: i2c0-pins {                    547         i2c0_pins: i2c0-pins {
548                 pins {                            548                 pins {
549                         pinmux = <PINMUX_GPIO8    549                         pinmux = <PINMUX_GPIO8__FUNC_SDA0>,
550                                  <PINMUX_GPIO9    550                                  <PINMUX_GPIO9__FUNC_SCL0>;
551                         bias-pull-up = <MTK_PU    551                         bias-pull-up = <MTK_PULL_SET_RSEL_111>;
552                         drive-strength-microam    552                         drive-strength-microamp = <1000>;
553                 };                                553                 };
554         };                                        554         };
555                                                   555 
556         i2c1_pins: i2c1-pins {                    556         i2c1_pins: i2c1-pins {
557                 pins {                            557                 pins {
558                         pinmux = <PINMUX_GPIO1    558                         pinmux = <PINMUX_GPIO10__FUNC_SDA1>,
559                                  <PINMUX_GPIO1    559                                  <PINMUX_GPIO11__FUNC_SCL1>;
560                         bias-pull-up = <MTK_PU    560                         bias-pull-up = <MTK_PULL_SET_RSEL_111>;
561                         drive-strength-microam    561                         drive-strength-microamp = <1000>;
562                 };                                562                 };
563         };                                        563         };
564                                                   564 
565         i2c2_pins: i2c2-pins {                    565         i2c2_pins: i2c2-pins {
566                 pins {                            566                 pins {
567                         pinmux = <PINMUX_GPIO1    567                         pinmux = <PINMUX_GPIO12__FUNC_SDA2>,
568                                  <PINMUX_GPIO1    568                                  <PINMUX_GPIO13__FUNC_SCL2>;
569                         bias-pull-up = <MTK_PU    569                         bias-pull-up = <MTK_PULL_SET_RSEL_111>;
570                         drive-strength = <6>;     570                         drive-strength = <6>;
571                 };                                571                 };
572         };                                        572         };
573                                                   573 
574         i2c6_pins: i2c6-pins {                    574         i2c6_pins: i2c6-pins {
575                 pins {                            575                 pins {
576                         pinmux = <PINMUX_GPIO2    576                         pinmux = <PINMUX_GPIO25__FUNC_SDA6>,
577                                  <PINMUX_GPIO2    577                                  <PINMUX_GPIO26__FUNC_SCL6>;
578                         bias-pull-up;             578                         bias-pull-up;
579                 };                                579                 };
580         };                                        580         };
581                                                   581 
582         mmc0_default_pins: mmc0-default-pins {    582         mmc0_default_pins: mmc0-default-pins {
583                 pins-clk {                        583                 pins-clk {
584                         pinmux = <PINMUX_GPIO1    584                         pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
585                         drive-strength = <6>;     585                         drive-strength = <6>;
586                         bias-pull-down = <MTK_    586                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
587                 };                                587                 };
588                                                   588 
589                 pins-cmd-dat {                    589                 pins-cmd-dat {
590                         pinmux = <PINMUX_GPIO1    590                         pinmux = <PINMUX_GPIO126__FUNC_MSDC0_DAT0>,
591                                  <PINMUX_GPIO1    591                                  <PINMUX_GPIO125__FUNC_MSDC0_DAT1>,
592                                  <PINMUX_GPIO1    592                                  <PINMUX_GPIO124__FUNC_MSDC0_DAT2>,
593                                  <PINMUX_GPIO1    593                                  <PINMUX_GPIO123__FUNC_MSDC0_DAT3>,
594                                  <PINMUX_GPIO1    594                                  <PINMUX_GPIO119__FUNC_MSDC0_DAT4>,
595                                  <PINMUX_GPIO1    595                                  <PINMUX_GPIO118__FUNC_MSDC0_DAT5>,
596                                  <PINMUX_GPIO1    596                                  <PINMUX_GPIO117__FUNC_MSDC0_DAT6>,
597                                  <PINMUX_GPIO1    597                                  <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
598                                  <PINMUX_GPIO1    598                                  <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
599                         input-enable;             599                         input-enable;
600                         drive-strength = <6>;     600                         drive-strength = <6>;
601                         bias-pull-up = <MTK_PU    601                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
602                 };                                602                 };
603                                                   603 
604                 pins-rst {                        604                 pins-rst {
605                         pinmux = <PINMUX_GPIO1    605                         pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
606                         drive-strength = <6>;     606                         drive-strength = <6>;
607                         bias-pull-up = <MTK_PU    607                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
608                 };                                608                 };
609         };                                        609         };
610                                                   610 
611         mmc0_uhs_pins: mmc0-uhs-pins {            611         mmc0_uhs_pins: mmc0-uhs-pins {
612                 pins-clk {                        612                 pins-clk {
613                         pinmux = <PINMUX_GPIO1    613                         pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
614                         drive-strength = <8>;     614                         drive-strength = <8>;
615                         bias-pull-down = <MTK_    615                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
616                 };                                616                 };
617                                                   617 
618                 pins-cmd-dat {                    618                 pins-cmd-dat {
619                         pinmux = <PINMUX_GPIO1    619                         pinmux = <PINMUX_GPIO126__FUNC_MSDC0_DAT0>,
620                                  <PINMUX_GPIO1    620                                  <PINMUX_GPIO125__FUNC_MSDC0_DAT1>,
621                                  <PINMUX_GPIO1    621                                  <PINMUX_GPIO124__FUNC_MSDC0_DAT2>,
622                                  <PINMUX_GPIO1    622                                  <PINMUX_GPIO123__FUNC_MSDC0_DAT3>,
623                                  <PINMUX_GPIO1    623                                  <PINMUX_GPIO119__FUNC_MSDC0_DAT4>,
624                                  <PINMUX_GPIO1    624                                  <PINMUX_GPIO118__FUNC_MSDC0_DAT5>,
625                                  <PINMUX_GPIO1    625                                  <PINMUX_GPIO117__FUNC_MSDC0_DAT6>,
626                                  <PINMUX_GPIO1    626                                  <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
627                                  <PINMUX_GPIO1    627                                  <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
628                         input-enable;             628                         input-enable;
629                         drive-strength = <8>;     629                         drive-strength = <8>;
630                         bias-pull-up = <MTK_PU    630                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
631                 };                                631                 };
632                                                   632 
633                 pins-ds {                         633                 pins-ds {
634                         pinmux = <PINMUX_GPIO1    634                         pinmux = <PINMUX_GPIO127__FUNC_MSDC0_DSL>;
635                         drive-strength = <8>;     635                         drive-strength = <8>;
636                         bias-pull-down = <MTK_    636                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
637                 };                                637                 };
638                                                   638 
639                 pins-rst {                        639                 pins-rst {
640                         pinmux = <PINMUX_GPIO1    640                         pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
641                         drive-strength = <8>;     641                         drive-strength = <8>;
642                         bias-pull-up = <MTK_PU    642                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
643                 };                                643                 };
644         };                                        644         };
645                                                   645 
646         mmc1_default_pins: mmc1-default-pins {    646         mmc1_default_pins: mmc1-default-pins {
647                 pins-clk {                        647                 pins-clk {
648                         pinmux = <PINMUX_GPIO1    648                         pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>;
649                         drive-strength = <8>;     649                         drive-strength = <8>;
650                         bias-pull-down = <MTK_    650                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
651                 };                                651                 };
652                                                   652 
653                 pins-cmd-dat {                    653                 pins-cmd-dat {
654                         pinmux = <PINMUX_GPIO1    654                         pinmux = <PINMUX_GPIO110__FUNC_MSDC1_CMD>,
655                                  <PINMUX_GPIO1    655                                  <PINMUX_GPIO112__FUNC_MSDC1_DAT0>,
656                                  <PINMUX_GPIO1    656                                  <PINMUX_GPIO113__FUNC_MSDC1_DAT1>,
657                                  <PINMUX_GPIO1    657                                  <PINMUX_GPIO114__FUNC_MSDC1_DAT2>,
658                                  <PINMUX_GPIO1    658                                  <PINMUX_GPIO115__FUNC_MSDC1_DAT3>;
659                         input-enable;             659                         input-enable;
660                         drive-strength = <8>;     660                         drive-strength = <8>;
661                         bias-pull-up = <MTK_PU    661                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
662                 };                                662                 };
663         };                                        663         };
664                                                   664 
665         mmc1_uhs_pins: mmc1-uhs-pins {            665         mmc1_uhs_pins: mmc1-uhs-pins {
666                 pins-clk {                        666                 pins-clk {
667                         pinmux = <PINMUX_GPIO1    667                         pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>;
668                         drive-strength = <8>;     668                         drive-strength = <8>;
669                         bias-pull-down = <MTK_    669                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
670                 };                                670                 };
671                                                   671 
672                 pins-cmd-dat {                    672                 pins-cmd-dat {
673                         pinmux = <PINMUX_GPIO1    673                         pinmux = <PINMUX_GPIO110__FUNC_MSDC1_CMD>,
674                                  <PINMUX_GPIO1    674                                  <PINMUX_GPIO112__FUNC_MSDC1_DAT0>,
675                                  <PINMUX_GPIO1    675                                  <PINMUX_GPIO113__FUNC_MSDC1_DAT1>,
676                                  <PINMUX_GPIO1    676                                  <PINMUX_GPIO114__FUNC_MSDC1_DAT2>,
677                                  <PINMUX_GPIO1    677                                  <PINMUX_GPIO115__FUNC_MSDC1_DAT3>;
678                         input-enable;             678                         input-enable;
679                         drive-strength = <8>;     679                         drive-strength = <8>;
680                         bias-pull-up = <MTK_PU    680                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
681                 };                                681                 };
682         };                                        682         };
683                                                   683 
684         mt6360_pins: mt6360-pins {                684         mt6360_pins: mt6360-pins {
685                 pins {                            685                 pins {
686                         pinmux = <PINMUX_GPIO1    686                         pinmux = <PINMUX_GPIO17__FUNC_GPIO17>,
687                                  <PINMUX_GPIO1    687                                  <PINMUX_GPIO128__FUNC_GPIO128>;
688                         input-enable;             688                         input-enable;
689                         bias-pull-up;             689                         bias-pull-up;
690                 };                                690                 };
691         };                                        691         };
692                                                   692 
693         pcie0_default_pins: pcie0-default-pins    693         pcie0_default_pins: pcie0-default-pins {
694                 pins {                            694                 pins {
695                         pinmux = <PINMUX_GPIO1    695                         pinmux = <PINMUX_GPIO19__FUNC_WAKEN>,
696                                  <PINMUX_GPIO2    696                                  <PINMUX_GPIO20__FUNC_PERSTN>,
697                                  <PINMUX_GPIO2    697                                  <PINMUX_GPIO21__FUNC_CLKREQN>;
698                         bias-pull-up;             698                         bias-pull-up;
699                 };                                699                 };
700         };                                        700         };
701                                                   701 
702         pcie0_idle_pins: pcie0-idle-pins {        702         pcie0_idle_pins: pcie0-idle-pins {
703                 pins {                            703                 pins {
704                         pinmux = <PINMUX_GPIO2    704                         pinmux = <PINMUX_GPIO20__FUNC_GPIO20>;
705                         bias-disable;             705                         bias-disable;
706                         output-low;               706                         output-low;
707                 };                                707                 };
708         };                                        708         };
709                                                   709 
710         pcie1_default_pins: pcie1-default-pins    710         pcie1_default_pins: pcie1-default-pins {
711                 pins {                            711                 pins {
712                         pinmux = <PINMUX_GPIO2    712                         pinmux = <PINMUX_GPIO22__FUNC_PERSTN_1>,
713                                  <PINMUX_GPIO2    713                                  <PINMUX_GPIO23__FUNC_CLKREQN_1>,
714                                  <PINMUX_GPIO2    714                                  <PINMUX_GPIO24__FUNC_WAKEN_1>;
715                         bias-pull-up;             715                         bias-pull-up;
716                 };                                716                 };
717         };                                        717         };
718                                                   718 
719         pwm0_default_pins: pwm0-default-pins {    719         pwm0_default_pins: pwm0-default-pins {
720                 pins-cmd-dat {                    720                 pins-cmd-dat {
721                         pinmux = <PINMUX_GPIO9    721                         pinmux = <PINMUX_GPIO97__FUNC_DISP_PWM0>;
722                 };                                722                 };
723         };                                        723         };
724                                                   724 
725         spi1_pins: spi1-pins {                    725         spi1_pins: spi1-pins {
726                 pins {                            726                 pins {
727                         pinmux = <PINMUX_GPIO1    727                         pinmux = <PINMUX_GPIO136__FUNC_SPIM1_CSB>,
728                                  <PINMUX_GPIO1    728                                  <PINMUX_GPIO137__FUNC_SPIM1_CLK>,
729                                  <PINMUX_GPIO1    729                                  <PINMUX_GPIO138__FUNC_SPIM1_MO>,
730                                  <PINMUX_GPIO1    730                                  <PINMUX_GPIO139__FUNC_SPIM1_MI>;
731                         bias-disable;             731                         bias-disable;
732                 };                                732                 };
733         };                                        733         };
734                                                   734 
735         spi2_pins: spi-pins {                     735         spi2_pins: spi-pins {
736                 pins {                            736                 pins {
737                         pinmux = <PINMUX_GPIO1    737                         pinmux = <PINMUX_GPIO140__FUNC_SPIM2_CSB>,
738                                  <PINMUX_GPIO1    738                                  <PINMUX_GPIO141__FUNC_SPIM2_CLK>,
739                                  <PINMUX_GPIO1    739                                  <PINMUX_GPIO142__FUNC_SPIM2_MO>,
740                                  <PINMUX_GPIO1    740                                  <PINMUX_GPIO143__FUNC_SPIM2_MI>;
741                         bias-disable;             741                         bias-disable;
742                 };                                742                 };
743         };                                        743         };
744                                                   744 
745         touch_pins: touch-pins {                  745         touch_pins: touch-pins {
746                 pins-irq {                        746                 pins-irq {
747                         pinmux = <PINMUX_GPIO1    747                         pinmux = <PINMUX_GPIO132__FUNC_GPIO132>;
748                         input-enable;             748                         input-enable;
749                         bias-disable;             749                         bias-disable;
750                 };                                750                 };
751                                                   751 
752                 pins-reset {                      752                 pins-reset {
753                         pinmux = <PINMUX_GPIO1    753                         pinmux = <PINMUX_GPIO133__FUNC_GPIO133>;
754                         output-high;              754                         output-high;
755                 };                                755                 };
756         };                                        756         };
757                                                   757 
758         uart0_pins: uart0-pins {                  758         uart0_pins: uart0-pins {
759                 pins {                            759                 pins {
760                         pinmux = <PINMUX_GPIO9    760                         pinmux = <PINMUX_GPIO98__FUNC_UTXD0>,
761                                  <PINMUX_GPIO9    761                                  <PINMUX_GPIO99__FUNC_URXD0>;
762                 };                                762                 };
763         };                                        763         };
764                                                   764 
765         uart1_pins: uart1-pins {                  765         uart1_pins: uart1-pins {
766                 pins {                            766                 pins {
767                         pinmux = <PINMUX_GPIO1    767                         pinmux = <PINMUX_GPIO100__FUNC_URTS1>,
768                                  <PINMUX_GPIO1    768                                  <PINMUX_GPIO101__FUNC_UCTS1>,
769                                  <PINMUX_GPIO1    769                                  <PINMUX_GPIO102__FUNC_UTXD1>,
770                                  <PINMUX_GPIO1    770                                  <PINMUX_GPIO103__FUNC_URXD1>;
771                 };                                771                 };
772         };                                        772         };
773 };                                                773 };
774                                                   774 
775 &pmic {                                           775 &pmic {
776         interrupts-extended = <&pio 222 IRQ_TY    776         interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
777 };                                                777 };
778                                                   778 
779 &scp {                                            779 &scp {
780         memory-region = <&scp_mem>;               780         memory-region = <&scp_mem>;
781         status = "okay";                          781         status = "okay";
782 };                                                782 };
783                                                   783 
784 &spi1 {                                           784 &spi1 {
785         pinctrl-0 = <&spi1_pins>;                 785         pinctrl-0 = <&spi1_pins>;
786         pinctrl-names = "default";                786         pinctrl-names = "default";
787         mediatek,pad-select = <0>;                787         mediatek,pad-select = <0>;
788         #address-cells = <1>;                     788         #address-cells = <1>;
789         #size-cells = <0>;                        789         #size-cells = <0>;
790         status = "okay";                          790         status = "okay";
791         cs-gpios = <&pio 64 GPIO_ACTIVE_LOW>;     791         cs-gpios = <&pio 64 GPIO_ACTIVE_LOW>;
792                                                   792 
793         can0: can@0 {                             793         can0: can@0 {
794                 compatible = "microchip,mcp251    794                 compatible = "microchip,mcp2518fd";
795                 reg = <0>;                        795                 reg = <0>;
796                 clocks = <&can_clk>;              796                 clocks = <&can_clk>;
797                 spi-max-frequency = <20000000>    797                 spi-max-frequency = <20000000>;
798                 interrupts-extended = <&pio 16    798                 interrupts-extended = <&pio 16 IRQ_TYPE_LEVEL_LOW>;
799                 vdd-supply = <&mt6359_vcn33_2_    799                 vdd-supply = <&mt6359_vcn33_2_bt_ldo_reg>;
800                 xceiver-supply = <&mt6359_vcn3    800                 xceiver-supply = <&mt6359_vcn33_2_bt_ldo_reg>;
801         };                                        801         };
802 };                                                802 };
803                                                   803 
804 &spi2 {                                           804 &spi2 {
805         pinctrl-0 = <&spi2_pins>;                 805         pinctrl-0 = <&spi2_pins>;
806         pinctrl-names = "default";                806         pinctrl-names = "default";
807         mediatek,pad-select = <0>;                807         mediatek,pad-select = <0>;
808         #address-cells = <1>;                     808         #address-cells = <1>;
809         #size-cells = <0>;                        809         #size-cells = <0>;
810         status = "okay";                          810         status = "okay";
811 };                                                811 };
812                                                   812 
813 &spmi {                                           813 &spmi {
814         #address-cells = <2>;                     814         #address-cells = <2>;
815         #size-cells = <0>;                        815         #size-cells = <0>;
816                                                   816 
817         mt6315_6: pmic@6 {                        817         mt6315_6: pmic@6 {
818                 compatible = "mediatek,mt6315-    818                 compatible = "mediatek,mt6315-regulator";
819                 reg = <0x6 SPMI_USID>;            819                 reg = <0x6 SPMI_USID>;
820                                                   820 
821                 regulators {                      821                 regulators {
822                         mt6315_6_vbuck1: vbuck    822                         mt6315_6_vbuck1: vbuck1 {
823                                 regulator-comp    823                                 regulator-compatible = "vbuck1";
824                                 regulator-name    824                                 regulator-name = "Vbcpu";
825                                 regulator-min-    825                                 regulator-min-microvolt = <300000>;
826                                 regulator-max-    826                                 regulator-max-microvolt = <1193750>;
827                                 regulator-enab    827                                 regulator-enable-ramp-delay = <256>;
828                                 regulator-allo    828                                 regulator-allowed-modes = <0 1 2>;
829                                 regulator-alwa    829                                 regulator-always-on;
830                         };                        830                         };
831                 };                                831                 };
832         };                                        832         };
833                                                   833 
834         mt6315_7: pmic@7 {                        834         mt6315_7: pmic@7 {
835                 compatible = "mediatek,mt6315-    835                 compatible = "mediatek,mt6315-regulator";
836                 reg = <0x7 SPMI_USID>;            836                 reg = <0x7 SPMI_USID>;
837                                                   837 
838                 regulators {                      838                 regulators {
839                         mt6315_7_vbuck1: vbuck    839                         mt6315_7_vbuck1: vbuck1 {
840                                 regulator-comp    840                                 regulator-compatible = "vbuck1";
841                                 regulator-name    841                                 regulator-name = "Vgpu";
842                                 regulator-min-    842                                 regulator-min-microvolt = <300000>;
843                                 regulator-max-    843                                 regulator-max-microvolt = <1193750>;
844                                 regulator-enab    844                                 regulator-enable-ramp-delay = <256>;
845                                 regulator-allo    845                                 regulator-allowed-modes = <0 1 2>;
846                         };                        846                         };
847                 };                                847                 };
848         };                                        848         };
849 };                                                849 };
850                                                   850 
851 &u3phy0 {                                         851 &u3phy0 {
852         status = "okay";                          852         status = "okay";
853 };                                                853 };
854                                                   854 
855 &u3phy1 {                                         855 &u3phy1 {
856         status = "okay";                          856         status = "okay";
857                                                   857 
858         u3port1: usb-phy@700 {                    858         u3port1: usb-phy@700 {
859                 mediatek,force-mode;              859                 mediatek,force-mode;
860         };                                        860         };
861 };                                                861 };
862                                                   862 
863 &u3phy2 {                                         863 &u3phy2 {
864         status = "okay";                          864         status = "okay";
865 };                                                865 };
866                                                   866 
867 &u3phy3 {                                         867 &u3phy3 {
868         status = "okay";                          868         status = "okay";
869 };                                                869 };
870                                                   870 
871 &uart0 {                                          871 &uart0 {
872         pinctrl-0 = <&uart0_pins>;                872         pinctrl-0 = <&uart0_pins>;
873         pinctrl-names = "default";                873         pinctrl-names = "default";
874         status = "okay";                          874         status = "okay";
875 };                                                875 };
876                                                   876 
877 &uart1 {                                          877 &uart1 {
878         pinctrl-0 = <&uart1_pins>;                878         pinctrl-0 = <&uart1_pins>;
879         pinctrl-names = "default";                879         pinctrl-names = "default";
880         status = "okay";                          880         status = "okay";
881 };                                                881 };
882                                                   882 
883 &ufsphy {                                         883 &ufsphy {
884         status = "disabled";                      884         status = "disabled";
885 };                                                885 };
886                                                   886 
887 &ssusb0 {                                         887 &ssusb0 {
888         vusb33-supply = <&mt6359_vusb_ldo_reg>    888         vusb33-supply = <&mt6359_vusb_ldo_reg>;
889         status = "okay";                          889         status = "okay";
890 };                                                890 };
891                                                   891 
892 &ssusb2 {                                         892 &ssusb2 {
893         vusb33-supply = <&mt6359_vusb_ldo_reg>    893         vusb33-supply = <&mt6359_vusb_ldo_reg>;
894         status = "okay";                          894         status = "okay";
895 };                                                895 };
896                                                   896 
897 &ssusb3 {                                         897 &ssusb3 {
898         vusb33-supply = <&mt6359_vusb_ldo_reg>    898         vusb33-supply = <&mt6359_vusb_ldo_reg>;
899         status = "okay";                          899         status = "okay";
900 };                                                900 };
901                                                   901 
902 &xhci0 {                                          902 &xhci0 {
903         status = "okay";                          903         status = "okay";
904 };                                                904 };
905                                                   905 
906 &xhci1 {                                          906 &xhci1 {
907         vusb33-supply = <&mt6359_vusb_ldo_reg>    907         vusb33-supply = <&mt6359_vusb_ldo_reg>;
908         status = "okay";                          908         status = "okay";
909 };                                                909 };
910                                                   910 
911 &xhci2 {                                          911 &xhci2 {
912         status = "okay";                          912         status = "okay";
913 };                                                913 };
914                                                   914 
915 &xhci3 {                                          915 &xhci3 {
916         status = "okay";                          916         status = "okay";
917 };                                                917 };
                                                      

~ [ 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