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

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


  1 // SPDX-License-Identifier: GPL-2.0               
  2 /*                                                
  3  * Copyright (C) 2014 Claudio Leite <leitec@sta    
  4  *                                                
  5  */                                               
  6                                                   
  7 /dts-v1/;                                         
  8                                                   
  9 #include "kirkwood.dtsi"                          
 10 #include "kirkwood-6281.dtsi"                     
 11                                                   
 12 / {                                               
 13         model = "D-Link DIR-665";                 
 14         compatible = "dlink,dir-665", "marvell    
 15                                                   
 16         memory {                                  
 17                 device_type = "memory";           
 18                 reg = <0x00000000 0x8000000>;     
 19         };                                        
 20                                                   
 21         chosen {                                  
 22                 bootargs = "console=ttyS0,1152    
 23                 stdout-path = &uart0;             
 24         };                                        
 25                                                   
 26         ocp@f1000000 {                            
 27                 pinctrl: pin-controller@10000     
 28                         pinctrl-0 =< &pmx_led_    
 29                                      &pmx_led_    
 30                                      &pmx_led_    
 31                                      &pmx_led_    
 32                                      &pmx_led_    
 33                                      &pmx_led_    
 34                                      &pmx_btn_    
 35                         pinctrl-names = "defau    
 36                                                   
 37                         pmx_led_usb: pmx-led-u    
 38                                 marvell,pins =    
 39                                 marvell,functi    
 40                         };                        
 41                         pmx_led_internet_blue:    
 42                                 marvell,pins =    
 43                                 marvell,functi    
 44                         };                        
 45                         pmx_led_internet_amber    
 46                                 marvell,pins =    
 47                                 marvell,functi    
 48                         };                        
 49                         pmx_led_5g: pmx-led-5g    
 50                                 marvell,pins =    
 51                                 marvell,functi    
 52                         };                        
 53                         pmx_led_status_blue: p    
 54                                 marvell,pins =    
 55                                 marvell,functi    
 56                         };                        
 57                         pmx_led_wps: pmx-led-w    
 58                                 marvell,pins =    
 59                                 marvell,functi    
 60                         };                        
 61                         pmx_led_status_amber:     
 62                                 marvell,pins =    
 63                                 marvell,functi    
 64                         };                        
 65                         pmx_led_24g: pmx-led-2    
 66                                 marvell,pins =    
 67                                 marvell,functi    
 68                         };                        
 69                         pmx_btn_restart: pmx-b    
 70                                 marvell,pins =    
 71                                 marvell,functi    
 72                         };                        
 73                         pmx_btn_wps: pmx-btn-w    
 74                                 marvell,pins =    
 75                                 marvell,functi    
 76                         };                        
 77                 };                                
 78                                                   
 79                 spi@10600 {                       
 80                         status = "okay";          
 81                         flash@0 {                 
 82                                 #address-cells    
 83                                 #size-cells =     
 84                                 compatible = "    
 85                                 spi-max-freque    
 86                                 reg = <0>;        
 87                                                   
 88                                 partition@0 {     
 89                                         label     
 90                                         reg =     
 91                                         read-o    
 92                                 };                
 93                                                   
 94                                 partition@3000    
 95                                         label     
 96                                         reg =     
 97                                         read-o    
 98                                 };                
 99                                                   
100                                 partition@4000    
101                                         label     
102                                         reg =     
103                                 };                
104                                                   
105                                 partition@1c00    
106                                         label     
107                                         reg =     
108                                 };                
109                                                   
110                                 cal_data: part    
111                                         label     
112                                         reg =     
113                                         read-o    
114                                 };                
115                                                   
116                                 partition@fd00    
117                                         label     
118                                         reg =     
119                                         read-o    
120                                 };                
121                         };                        
122                 };                                
123                                                   
124                 serial@12000 {                    
125                         status = "okay";          
126                 };                                
127                                                   
128                 i2c@11000 {                       
129                         status = "okay";          
130                 };                                
131                                                   
132                 ehci@50000 {                      
133                         status = "okay";          
134                 };                                
135         };                                        
136                                                   
137         gpio-leds {                               
138                 compatible = "gpio-leds";         
139                                                   
140                 led-blue-usb {                    
141                         label = "dir665:blue:u    
142                         gpios = <&gpio0 12 GPI    
143                 };                                
144                 led-blue-internet {               
145                         /* Can only be turned     
146                          * Ethernet port has L    
147                          */                       
148                         label = "dir665:blue:i    
149                         gpios = <&gpio1 10 GPI    
150                 };                                
151                 led-amber-internet {              
152                         label = "dir665:amber:    
153                         gpios = <&gpio1 11 GPI    
154                 };                                
155                 led-blue-wifi5g {                 
156                         label = "dir665:blue:5    
157                         gpios = <&gpio1 12 GPI    
158                 };                                
159                 led-blue-status {                 
160                         label = "dir665:blue:s    
161                         gpios = <&gpio1 13 GPI    
162                 };                                
163                 led-blue-wps {                    
164                         label = "dir665:blue:w    
165                         gpios = <&gpio1 15 GPI    
166                 };                                
167                 led-amber-status {                
168                         label = "dir665:amber:    
169                         gpios = <&gpio1 16 GPI    
170                 };                                
171                 led-blue-24g {                    
172                         label = "dir665:blue:2    
173                         gpios = <&gpio1 17 GPI    
174                 };                                
175         };                                        
176                                                   
177         gpio-keys {                               
178                 compatible = "gpio-keys";         
179                                                   
180                 button-reset {                    
181                         label = "reset";          
182                         linux,code = <KEY_REST    
183                         gpios = <&gpio0 28 GPI    
184                 };                                
185                 button-wps {                      
186                         label = "wps";            
187                         linux,code = <KEY_WPS_    
188                         gpios = <&gpio1 14 GPI    
189                 };                                
190         };                                        
191 };                                                
192                                                   
193 &mdio {                                           
194         status = "okay";                          
195                                                   
196         switch@0 {                                
197                 compatible = "marvell,mv88e608    
198                 #address-cells = <1>;             
199                 #size-cells = <0>;                
200                 reg = <0>;                        
201                                                   
202                 ports {                           
203                         #address-cells = <1>;     
204                         #size-cells = <0>;        
205                                                   
206                         port@0 {                  
207                                 reg = <0>;        
208                                 label = "lan4"    
209                         };                        
210                                                   
211                         port@1 {                  
212                                 reg = <1>;        
213                                 label = "lan3"    
214                         };                        
215                                                   
216                         port@2 {                  
217                                 reg = <2>;        
218                                 label = "lan2"    
219                         };                        
220                                                   
221                         port@3 {                  
222                                 reg = <3>;        
223                                 label = "lan1"    
224                         };                        
225                                                   
226                         port@4 {                  
227                                 reg = <4>;        
228                                 label = "wan";    
229                         };                        
230                                                   
231                         port@6 {                  
232                                 reg = <6>;        
233                                 phy-mode = "rg    
234                                 ethernet = <&e    
235                                 fixed-link {      
236                                         speed     
237                                         full-d    
238                                 };                
239                         };                        
240                 };                                
241         };                                        
242 };                                                
243                                                   
244 /* eth0 is connected to a Marvell 88E6171 swit    
245  * fixed speed and duplex. */                     
246 &eth0 {                                           
247         status = "okay";                          
248                                                   
249         ethernet0-port@0 {                        
250                 speed = <1000>;                   
251                 duplex = <1>;                     
252                 phy-mode = "rgmii";               
253         };                                        
254 };                                                
255                                                   
256 /* eth1 is connected to the switch as well. Ho    
257  * single CPU port. So leave this port disable    
258                                                   
259 &eth1 {                                           
260         status = "disabled";                      
261 };                                                
262                                                   
263 /* There is no battery on the boards, so the R    
264  * when there is no power, making it useless.     
265 &rtc {                                            
266         status = "disabled";                      
267 };                                                
268                                                   
269 &pciec {                                          
270         status = "okay";                          
271 };                                                
272                                                   
273 &pcie0 {                                          
274         status = "okay";                          
275 };                                                
                                                      

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