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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/microchip/lan966x-pcb8309.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/arm/microchip/lan966x-pcb8309.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/microchip/lan966x-pcb8309.dts (Version linux-4.19.323)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * lan966x_pcb8309.dts - Device Tree file for     
  4  */                                               
  5 /dts-v1/;                                         
  6 #include "lan966x.dtsi"                           
  7 #include "dt-bindings/phy/phy-lan966x-serdes.h    
  8                                                   
  9 / {                                               
 10         model = "Microchip EVB - LAN9662";        
 11         compatible = "microchip,lan9662-pcb830    
 12                                                   
 13         aliases {                                 
 14                 serial0 = &usart3;                
 15                 i2c102 = &i2c102;                 
 16                 i2c103 = &i2c103;                 
 17         };                                        
 18                                                   
 19         chosen {                                  
 20                 stdout-path = "serial0:115200n    
 21         };                                        
 22                                                   
 23         gpio-restart {                            
 24                 compatible = "gpio-restart";      
 25                 gpios = <&gpio 56 GPIO_ACTIVE_    
 26                 priority = <200>;                 
 27         };                                        
 28                                                   
 29         i2c-mux {                                 
 30                 compatible = "i2c-mux";           
 31                 #address-cells = <1>;             
 32                 #size-cells = <0>;                
 33                 mux-controls = <&mux>;            
 34                 i2c-parent = <&i2c4>;             
 35                                                   
 36                 i2c102: i2c-sfp@1 {               
 37                         reg = <1>;                
 38                 };                                
 39                                                   
 40                 i2c103: i2c-sfp@2 {               
 41                         reg = <2>;                
 42                 };                                
 43         };                                        
 44                                                   
 45         leds {                                    
 46                 compatible = "gpio-leds";         
 47                                                   
 48                 led-s0-green {                    
 49                         label = "s0:green";       
 50                         gpios = <&sgpio_out 2     
 51                         default-state = "off";    
 52                 };                                
 53                                                   
 54                 led-s0-red {                      
 55                         label = "s0:red";         
 56                         gpios = <&sgpio_out 2     
 57                         default-state = "off";    
 58                 };                                
 59                                                   
 60                 led-s1-green {                    
 61                         label = "s1:green";       
 62                         gpios = <&sgpio_out 3     
 63                         default-state = "off";    
 64                 };                                
 65                                                   
 66                 led-s1-red {                      
 67                         label = "s1:red";         
 68                         gpios = <&sgpio_out 3     
 69                         default-state = "off";    
 70                 };                                
 71         };                                        
 72                                                   
 73         mux: mux-controller {                     
 74                 compatible = "gpio-mux";          
 75                 #mux-control-cells = <0>;         
 76                                                   
 77                 mux-gpios = <&sgpio_out 11 0 G    
 78                             <&sgpio_out 11 1 G    
 79         };                                        
 80                                                   
 81         sfp2: sfp2 {                              
 82                 compatible = "sff,sfp";           
 83                 i2c-bus = <&i2c102>;              
 84                 tx-disable-gpios = <&sgpio_out    
 85                 los-gpios = <&sgpio_in  2 0 GP    
 86                 mod-def0-gpios = <&sgpio_in  2    
 87                 tx-fault-gpios = <&sgpio_in  1    
 88         };                                        
 89                                                   
 90         sfp3: sfp3 {                              
 91                 compatible = "sff,sfp";           
 92                 i2c-bus = <&i2c103>;              
 93                 tx-disable-gpios = <&sgpio_out    
 94                 los-gpios = <&sgpio_in  3 0 GP    
 95                 mod-def0-gpios = <&sgpio_in  3    
 96                 tx-fault-gpios = <&sgpio_in  1    
 97         };                                        
 98 };                                                
 99                                                   
100 &aes {                                            
101         status = "disabled"; /* Reserved by se    
102 };                                                
103                                                   
104 &flx3 {                                           
105         atmel,flexcom-mode = <ATMEL_FLEXCOM_MO    
106         status = "okay";                          
107                                                   
108         usart3: serial@200 {                      
109                 pinctrl-0 = <&fc3_b_pins>;        
110                 pinctrl-names = "default";        
111                 status = "okay";                  
112         };                                        
113 };                                                
114                                                   
115 &flx4 {                                           
116         atmel,flexcom-mode = <ATMEL_FLEXCOM_MO    
117         status = "okay";                          
118                                                   
119         i2c4: i2c@600 {                           
120                 compatible = "microchip,sam9x6    
121                 reg = <0x600 0x200>;              
122                 interrupts = <GIC_SPI 52 IRQ_T    
123                 clocks = <&nic_clk>;              
124                 pinctrl-0 = <&fc4_b_pins>;        
125                 pinctrl-names = "default";        
126                 i2c-analog-filter;                
127                 i2c-digital-filter;               
128                 i2c-digital-filter-width-ns =     
129                 i2c-sda-hold-time-ns = <1500>;    
130                 status = "okay";                  
131         };                                        
132 };                                                
133                                                   
134 &gpio {                                           
135         fc3_b_pins: fc3-b-pins {                  
136                 /* RXD, TXD */                    
137                 pins = "GPIO_52", "GPIO_53";      
138                 function = "fc3_b";               
139         };                                        
140                                                   
141         fc4_b_pins: fc4-b-pins {                  
142                 /* SCL, SDA */                    
143                 pins = "GPIO_57", "GPIO_58";      
144                 function = "fc4_b";               
145         };                                        
146                                                   
147         pps_out_pins: pps-out-pins {              
148                 /* 1pps output */                 
149                 pins = "GPIO_38";                 
150                 function = "ptpsync_3";           
151         };                                        
152                                                   
153         ptp_ext_pins: ptp-ext-pins {              
154                 /* 1pps input */                  
155                 pins = "GPIO_39";                 
156                 function = "ptpsync_4";           
157         };                                        
158                                                   
159         sgpio_a_pins: sgpio-a-pins {              
160                 /* SCK, D0, D1, LD */             
161                 pins = "GPIO_32", "GPIO_33", "    
162                 function = "sgpio_a";             
163         };                                        
164 };                                                
165                                                   
166 &mdio1 {                                          
167         status = "okay";                          
168 };                                                
169                                                   
170 &phy0 {                                           
171         status = "okay";                          
172 };                                                
173                                                   
174 &phy1 {                                           
175         status = "okay";                          
176 };                                                
177                                                   
178 &port0 {                                          
179         phy-handle = <&phy0>;                     
180         phy-mode = "gmii";                        
181         phys = <&serdes 0 CU(0)>;                 
182         status = "okay";                          
183 };                                                
184                                                   
185 &port1 {                                          
186         phy-handle = <&phy1>;                     
187         phy-mode = "gmii";                        
188         phys = <&serdes 1 CU(1)>;                 
189         status = "okay";                          
190 };                                                
191                                                   
192 &port2 {                                          
193         sfp = <&sfp2>;                            
194         managed = "in-band-status";               
195         phy-mode = "sgmii";                       
196         phys = <&serdes 2 SERDES6G(0)>;           
197         status = "okay";                          
198 };                                                
199                                                   
200 &port3 {                                          
201         sfp = <&sfp3>;                            
202         managed = "in-band-status";               
203         phy-mode = "sgmii";                       
204         phys = <&serdes 3 SERDES6G(1)>;           
205         status = "okay";                          
206 };                                                
207                                                   
208 &serdes {                                         
209         status = "okay";                          
210 };                                                
211                                                   
212 &sgpio {                                          
213         pinctrl-0 = <&sgpio_a_pins>;              
214         pinctrl-names = "default";                
215         microchip,sgpio-port-ranges = <0 3>, <    
216         status = "okay";                          
217                                                   
218         gpio@0 {                                  
219                 ngpios = <64>;                    
220         };                                        
221         gpio@1 {                                  
222                 ngpios = <64>;                    
223         };                                        
224 };                                                
225                                                   
226 &switch {                                         
227         pinctrl-0 = <&pps_out_pins>, <&ptp_ext    
228         pinctrl-names = "default";                
229         status = "okay";                          
230 };                                                
                                                      

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