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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/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 /arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/mediatek/mt8395-genio-1200-evk.dts (Version linux-5.18.19)


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