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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-linksys-viper.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/marvell/kirkwood-linksys-viper.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/marvell/kirkwood-linksys-viper.dts (Version linux-4.15.18)


  1 // SPDX-License-Identifier: GPL-2.0               
  2 /*                                                
  3  * kirkwood-viper.dts - Device Tree file for L    
  4  *                                                
  5  * (c) 2013 Jonas Gorski <jogo@openwrt.org>        
  6  * (c) 2013 Deutsche Telekom Innovation Labora    
  7  * (c) 2014 Luka Perkov <luka@openwrt.org>         
  8  * (c) 2014 Randy C. Will <randall.will@gmail.c    
  9  *                                                
 10  */                                               
 11                                                   
 12 /dts-v1/;                                         
 13                                                   
 14 #include "kirkwood.dtsi"                          
 15 #include "kirkwood-6282.dtsi"                     
 16                                                   
 17 / {                                               
 18         model = "Linksys Viper (E4200v2 / EA45    
 19         compatible = "linksys,viper", "marvell    
 20                                                   
 21         memory {                                  
 22                 device_type = "memory";           
 23                 reg = <0x00000000 0x8000000>;     
 24         };                                        
 25                                                   
 26         aliases {                                 
 27                 serial0 = &uart0;                 
 28         };                                        
 29                                                   
 30         chosen {                                  
 31                 stdout-path = "serial0:115200n    
 32         };                                        
 33                                                   
 34         gpio_keys {                               
 35                 compatible = "gpio-keys";         
 36                 pinctrl-0 = < &pmx_btn_wps &pm    
 37                 pinctrl-names = "default";        
 38                                                   
 39                 button-wps {                      
 40                         label = "WPS Button";     
 41                         linux,code = <KEY_WPS_    
 42                         gpios = <&gpio1 15 GPI    
 43                 };                                
 44                                                   
 45                 button-reset {                    
 46                         label = "Reset Button"    
 47                         linux,code = <KEY_REST    
 48                         gpios = <&gpio1 16 GPI    
 49                 };                                
 50         };                                        
 51                                                   
 52         gpio-leds {                               
 53                 compatible = "gpio-leds";         
 54                 pinctrl-0 = < &pmx_led_white_h    
 55                 pinctrl-names = "default";        
 56                                                   
 57                 led-white-health {                
 58                         label = "viper:white:h    
 59                         gpios = <&gpio0 7 GPIO    
 60                 };                                
 61                                                   
 62                 led-white-pulse {                 
 63                         label = "viper:white:p    
 64                         gpios = <&gpio0 14 GPI    
 65                 };                                
 66         };                                        
 67 };                                                
 68                                                   
 69 &pinctrl {                                        
 70         pmx_led_white_health: pmx-led-white-he    
 71                 marvell,pins = "mpp7";            
 72                 marvell,function = "gpo";         
 73         };                                        
 74         pmx_led_white_pulse: pmx-led-white-pul    
 75                 marvell,pins = "mpp14";           
 76                 marvell,function = "gpio";        
 77         };                                        
 78         pmx_btn_wps: pmx-btn-wps {                
 79                 marvell,pins = "mpp47";           
 80                 marvell,function = "gpio";        
 81         };                                        
 82         pmx_btn_reset: pmx-btn-reset {            
 83                 marvell,pins = "mpp48";           
 84                 marvell,function = "gpio";        
 85         };                                        
 86 };                                                
 87                                                   
 88 &nand {                                           
 89         status = "okay";                          
 90         pinctrl-0 = <&pmx_nand>;                  
 91         pinctrl-names = "default";                
 92                                                   
 93         partitions {                              
 94                 compatible = "fixed-partitions    
 95                 #address-cells = <1>;             
 96                 #size-cells = <1>;                
 97                                                   
 98                 partition@0 {                     
 99                         label = "u-boot";         
100                         reg = <0x0 0x80000>;      
101                         read-only;                
102                 };                                
103                                                   
104                 partition@80000 {                 
105                         label = "u_env";          
106                         reg = <0x80000 0x20000    
107                 };                                
108                                                   
109                 partition@a0000 {                 
110                         label = "s_env";          
111                         reg = <0xA0000 0x20000    
112                 };                                
113                                                   
114                 partition@200000 {                
115                         label = "kernel";         
116                         reg = <0x200000 0x2A00    
117                 };                                
118                                                   
119                 partition@4a0000 {                
120                         label = "rootfs";         
121                         reg = <0x4A0000 0x1760    
122                 };                                
123                                                   
124                 partition@1c00000 {               
125                         label = "alt_kernel";     
126                         reg = <0x1C00000 0x2A0    
127                 };                                
128                                                   
129                 partition@1ea0000 {               
130                         label = "alt_rootfs";     
131                         reg = <0x1EA0000 0x176    
132                 };                                
133                                                   
134                 partition@3600000 {               
135                         label = "syscfg";         
136                         reg = <0x3600000 0x4A0    
137                 };                                
138                                                   
139                 partition@c0000 {                 
140                         label = "unused";         
141                         reg = <0xC0000 0x14000    
142                 };                                
143                                                   
144         };                                        
145 };                                                
146                                                   
147 &pciec {                                          
148         status = "okay";                          
149 };                                                
150                                                   
151 &pcie0 {                                          
152         status = "okay";                          
153 };                                                
154                                                   
155 &pcie1 {                                          
156         status = "okay";                          
157 };                                                
158                                                   
159 &mdio {                                           
160         status = "okay";                          
161                                                   
162         switch@10 {                               
163                 compatible = "marvell,mv88e608    
164                 #address-cells = <1>;             
165                 #size-cells = <0>;                
166                 reg = <16>;                       
167                                                   
168                 ports {                           
169                         #address-cells = <1>;     
170                         #size-cells = <0>;        
171                                                   
172                         port@0 {                  
173                                 reg = <0>;        
174                                 label = "ether    
175                         };                        
176                                                   
177                         port@1 {                  
178                                 reg = <1>;        
179                                 label = "ether    
180                         };                        
181                                                   
182                         port@2 {                  
183                                 reg = <2>;        
184                                 label = "ether    
185                         };                        
186                                                   
187                         port@3 {                  
188                                 reg = <3>;        
189                                 label = "ether    
190                         };                        
191                                                   
192                         port@4 {                  
193                                 reg = <4>;        
194                                 label = "inter    
195                         };                        
196                                                   
197                         port@5 {                  
198                                 reg = <5>;        
199                                 phy-mode = "rg    
200                                 ethernet = <&e    
201                                 fixed-link {      
202                                         speed     
203                                         full-d    
204                                 };                
205                         };                        
206                 };                                
207         };                                        
208 };                                                
209                                                   
210 &uart0 {                                          
211         status = "okay";                          
212 };                                                
213                                                   
214 /* eth0 is connected to a Marvell 88E6171 swit    
215  * fixed speed and duplex.                        
216  */                                               
217 &eth0 {                                           
218         status = "okay";                          
219         ethernet0-port@0 {                        
220                 speed = <1000>;                   
221                 duplex = <1>;                     
222                 phy-mode = "rgmii";               
223         };                                        
224 };                                                
225                                                   
226 /* eth1 is connected to the switch at port 6.     
227  * single CPU port. So leave this port disable    
228  */                                               
229 &eth1 {                                           
230         status = "disabled";                      
231 };                                                
232                                                   
233 /* There is no battery on the board, so the RT    
234  * time when there is no power, making it usel    
235  */                                               
236 &rtc {                                            
237         status = "disabled";                      
238 };                                                
239                                                   
                                                      

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