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

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


  1 /*                                                
  2  * Copyright (c) 2017 MediaTek Inc.               
  3  * Author: YT Shen <yt.shen@mediatek.com>          
  4  *                                                
  5  * SPDX-License-Identifier: (GPL-2.0 OR MIT)      
  6  */                                               
  7                                                   
  8 /dts-v1/;                                         
  9 #include <dt-bindings/gpio/gpio.h>                
 10 #include "mt2712e.dtsi"                           
 11                                                   
 12 / {                                               
 13         model = "MediaTek MT2712 evaluation bo    
 14         chassis-type = "embedded";                
 15         compatible = "mediatek,mt2712-evb", "m    
 16                                                   
 17         aliases {                                 
 18                 serial0 = &uart0;                 
 19         };                                        
 20                                                   
 21         memory@40000000 {                         
 22                 device_type = "memory";           
 23                 reg = <0 0x40000000 0 0x800000    
 24         };                                        
 25                                                   
 26         chosen {                                  
 27                 stdout-path = "serial0:921600n    
 28         };                                        
 29                                                   
 30         cpus_fixed_vproc0: regulator-vproc-buc    
 31                 compatible = "regulator-fixed"    
 32                 regulator-name = "vproc_buck0"    
 33                 regulator-min-microvolt = <100    
 34                 regulator-max-microvolt = <100    
 35         };                                        
 36                                                   
 37         cpus_fixed_vproc1: regulator-vproc-buc    
 38                 compatible = "regulator-fixed"    
 39                 regulator-name = "vproc_buck1"    
 40                 regulator-min-microvolt = <100    
 41                 regulator-max-microvolt = <100    
 42         };                                        
 43                                                   
 44         extcon_usb: extcon_iddig {                
 45                 compatible = "linux,extcon-usb    
 46                 id-gpios = <&pio 12 GPIO_ACTIV    
 47         };                                        
 48                                                   
 49         extcon_usb1: extcon_iddig1 {              
 50                 compatible = "linux,extcon-usb    
 51                 id-gpios = <&pio 14 GPIO_ACTIV    
 52         };                                        
 53                                                   
 54         usb_p0_vbus: regulator-usb-p0-vbus {      
 55                 compatible = "regulator-fixed"    
 56                 regulator-name = "p0_vbus";       
 57                 regulator-min-microvolt = <500    
 58                 regulator-max-microvolt = <500    
 59                 gpio = <&pio 13 GPIO_ACTIVE_HI    
 60                 enable-active-high;               
 61         };                                        
 62                                                   
 63         usb_p1_vbus: regulator-usb-p1-vbus {      
 64                 compatible = "regulator-fixed"    
 65                 regulator-name = "p1_vbus";       
 66                 regulator-min-microvolt = <500    
 67                 regulator-max-microvolt = <500    
 68                 gpio = <&pio 15 GPIO_ACTIVE_HI    
 69                 enable-active-high;               
 70         };                                        
 71                                                   
 72         usb_p2_vbus: regulator-usb-p2-vbus {      
 73                 compatible = "regulator-fixed"    
 74                 regulator-name = "p2_vbus";       
 75                 regulator-min-microvolt = <500    
 76                 regulator-max-microvolt = <500    
 77                 gpio = <&pio 16 GPIO_ACTIVE_HI    
 78                 enable-active-high;               
 79         };                                        
 80                                                   
 81         usb_p3_vbus: regulator-usb-p3-vbus {      
 82                 compatible = "regulator-fixed"    
 83                 regulator-name = "p3_vbus";       
 84                 regulator-min-microvolt = <500    
 85                 regulator-max-microvolt = <500    
 86                 gpio = <&pio 17 GPIO_ACTIVE_HI    
 87                 enable-active-high;               
 88                 regulator-always-on;              
 89         };                                        
 90                                                   
 91 };                                                
 92                                                   
 93 &auxadc {                                         
 94         status = "okay";                          
 95 };                                                
 96                                                   
 97 &cpu0 {                                           
 98         proc-supply = <&cpus_fixed_vproc0>;       
 99 };                                                
100                                                   
101 &cpu1 {                                           
102         proc-supply = <&cpus_fixed_vproc0>;       
103 };                                                
104                                                   
105 &cpu2 {                                           
106         proc-supply = <&cpus_fixed_vproc1>;       
107 };                                                
108                                                   
109 &eth {                                            
110         phy-mode = "rgmii-rxid";                  
111         phy-handle = <&ethernet_phy0>;            
112         mediatek,tx-delay-ps = <1530>;            
113         snps,reset-gpio = <&pio 87 GPIO_ACTIVE    
114         snps,reset-delays-us = <0 10000 10000>    
115         pinctrl-names = "default", "sleep";       
116         pinctrl-0 = <&eth_default>;               
117         pinctrl-1 = <&eth_sleep>;                 
118         status = "okay";                          
119                                                   
120         mdio {                                    
121                 compatible = "snps,dwmac-mdio"    
122                 #address-cells = <1>;             
123                 #size-cells = <0>;                
124                 ethernet_phy0: ethernet-phy@5     
125                         compatible = "ethernet    
126                         reg = <0x5>;              
127                 };                                
128         };                                        
129 };                                                
130                                                   
131 &pio {                                            
132         eth_default: eth-default-pins {           
133                 tx_pins {                         
134                         pinmux = <MT2712_PIN_7    
135                                  <MT2712_PIN_7    
136                                  <MT2712_PIN_7    
137                                  <MT2712_PIN_7    
138                                  <MT2712_PIN_7    
139                                  <MT2712_PIN_7    
140                         drive-strength = <8>;     
141                 };                                
142                 rx_pins {                         
143                         pinmux = <MT2712_PIN_7    
144                                  <MT2712_PIN_7    
145                                  <MT2712_PIN_8    
146                                  <MT2712_PIN_8    
147                                  <MT2712_PIN_8    
148                                  <MT2712_PIN_8    
149                         input-enable;             
150                 };                                
151                 mdio_pins {                       
152                         pinmux = <MT2712_PIN_8    
153                                  <MT2712_PIN_8    
154                         drive-strength = <8>;     
155                         input-enable;             
156                 };                                
157         };                                        
158                                                   
159         eth_sleep: eth-sleep-pins {               
160                 tx_pins {                         
161                         pinmux = <MT2712_PIN_7    
162                                  <MT2712_PIN_7    
163                                  <MT2712_PIN_7    
164                                  <MT2712_PIN_7    
165                                  <MT2712_PIN_7    
166                                  <MT2712_PIN_7    
167                 };                                
168                 rx_pins {                         
169                         pinmux = <MT2712_PIN_7    
170                                  <MT2712_PIN_7    
171                                  <MT2712_PIN_8    
172                                  <MT2712_PIN_8    
173                                  <MT2712_PIN_8    
174                                  <MT2712_PIN_8    
175                         input-disable;            
176                 };                                
177                 mdio_pins {                       
178                         pinmux = <MT2712_PIN_8    
179                                  <MT2712_PIN_8    
180                         input-disable;            
181                         bias-disable;             
182                 };                                
183         };                                        
184                                                   
185         usb0_id_pins_float: usb0-iddig-pins {     
186                 pins_iddig {                      
187                         pinmux = <MT2712_PIN_1    
188                         bias-pull-up;             
189                 };                                
190         };                                        
191                                                   
192         usb1_id_pins_float: usb1-iddig-pins {     
193                 pins_iddig {                      
194                         pinmux = <MT2712_PIN_1    
195                         bias-pull-up;             
196                 };                                
197         };                                        
198 };                                                
199                                                   
200 &ssusb {                                          
201         vbus-supply = <&usb_p0_vbus>;             
202         extcon = <&extcon_usb>;                   
203         dr_mode = "otg";                          
204         wakeup-source;                            
205         mediatek,u3p-dis-msk = <0x1>;             
206         //enable-manual-drd;                      
207         //maximum-speed = "full-speed";           
208         pinctrl-names = "default";                
209         pinctrl-0 = <&usb0_id_pins_float>;        
210         status = "okay";                          
211 };                                                
212                                                   
213 &ssusb1 {                                         
214         vbus-supply = <&usb_p1_vbus>;             
215         extcon = <&extcon_usb1>;                  
216         dr_mode = "otg";                          
217         //mediatek,u3p-dis-msk = <0x1>;           
218         enable-manual-drd;                        
219         wakeup-source;                            
220         //maximum-speed = "full-speed";           
221         pinctrl-names = "default";                
222         pinctrl-0 = <&usb1_id_pins_float>;        
223         status = "okay";                          
224 };                                                
225                                                   
226 &uart0 {                                          
227         status = "okay";                          
228 };                                                
229                                                   
230 &usb_host0 {                                      
231         vbus-supply = <&usb_p2_vbus>;             
232         status = "okay";                          
233 };                                                
234                                                   
235 &usb_host1 {                                      
236         status = "okay";                          
237 };                                                
                                                      

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