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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/broadcom/bcm47094-dlink-dir-890l.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/broadcom/bcm47094-dlink-dir-890l.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/broadcom/bcm47094-dlink-dir-890l.dts (Version linux-4.4.302)


  1 // SPDX-License-Identifier: GPL-2.0-or-later O    
  2 /*                                                
  3  * Device tree for D-Link DIR-890L                
  4  * D-Link calls this board "WRGAC36"              
  5  * this router has the same looks and form fac    
  6  *                                                
  7  * Some differences from DIR-885L include a se    
  8  * for USB2 and USB3, a separate VCC supply fo    
  9  * router/extender switch is mounted (there is    
 10  * PCB) so this device is a pure router. Also     
 11  * order.                                         
 12  *                                                
 13  * Based on the device tree for DIR-885L          
 14  * Copyright (C) 2016 Rafał Miłecki <zajec5@g    
 15  * Copyright (C) 2022 Linus Walleij               
 16  */                                               
 17                                                   
 18 /dts-v1/;                                         
 19                                                   
 20 #include "bcm47094.dtsi"                          
 21 #include "bcm5301x-nand-cs0-bch1.dtsi"            
 22                                                   
 23 / {                                               
 24         compatible = "dlink,dir-890l", "brcm,b    
 25         model = "D-Link DIR-890L";                
 26                                                   
 27         chosen {                                  
 28                 bootargs = "console=ttyS0,1152    
 29         };                                        
 30                                                   
 31         memory@0 {                                
 32                 device_type = "memory";           
 33                 reg = <0x00000000 0x08000000>,    
 34                       <0x88000000 0x08000000>;    
 35         };                                        
 36                                                   
 37         leds {                                    
 38                 /*                                
 39                  * LED information is derived     
 40                  * conveniently lists all the     
 41                  */                               
 42                 compatible = "gpio-leds";         
 43                                                   
 44                 led-power-white {                 
 45                         label = "bcm53xx:white    
 46                         gpios = <&chipcommon 0    
 47                         linux,default-trigger     
 48                 };                                
 49                                                   
 50                 led-wan-white {                   
 51                         label = "bcm53xx:white    
 52                         gpios = <&chipcommon 1    
 53                 };                                
 54                                                   
 55                 led-power-amber {                 
 56                         label = "bcm53xx:amber    
 57                         gpios = <&chipcommon 2    
 58                 };                                
 59                                                   
 60                 led-wan-amber {                   
 61                         label = "bcm53xx:amber    
 62                         gpios = <&chipcommon 3    
 63                 };                                
 64                                                   
 65                 led-usb3-white {                  
 66                         label = "bcm53xx:white    
 67                         gpios = <&chipcommon 8    
 68                         trigger-sources = <&xh    
 69                         linux,default-trigger     
 70                 };                                
 71                                                   
 72                 led-usb2-white {                  
 73                         label = "bcm53xx:white    
 74                         gpios = <&chipcommon 1    
 75                         trigger-sources = <&oh    
 76                         linux,default-trigger     
 77                 };                                
 78                                                   
 79                 led-2ghz {                        
 80                         label = "bcm53xx:white    
 81                         gpios = <&chipcommon 1    
 82                 };                                
 83                                                   
 84                 led-5ghz {                        
 85                         label = "bcm53xx:white    
 86                         gpios = <&chipcommon 1    
 87                 };                                
 88         };                                        
 89                                                   
 90         gpio-keys {                               
 91                 compatible = "gpio-keys";         
 92                                                   
 93                 button-wps {                      
 94                         label = "WPS";            
 95                         linux,code = <KEY_WPS_    
 96                         gpios = <&chipcommon 7    
 97                 };                                
 98                                                   
 99                 /* Called "factory reset" in t    
100                 button-restart {                  
101                         label = "Reset";          
102                         linux,code = <KEY_REST    
103                         gpios = <&chipcommon 1    
104                 };                                
105         };                                        
106                                                   
107         /*                                        
108          * The flash memory is memory mapped a    
109          * 64KB blocks; total size 2MB, same t    
110          * found attached to the spi_nor SPI c    
111          */                                       
112         nvram@1e1f0000 {                          
113                 compatible = "brcm,nvram";        
114                 reg = <0x1e1f0000 0x00010000>;    
115                                                   
116                 et0macaddr: et0macaddr {          
117                 };                                
118         };                                        
119 };                                                
120                                                   
121 &gmac2 {                                          
122         /*                                        
123          * The NVRAM curiously does not contai    
124          * for et2 so since that is the only e    
125          * actually in use on the platform, we    
126          * address for et2.                       
127          */                                       
128         nvmem-cells = <&et0macaddr>;              
129         nvmem-cell-names = "mac-address";         
130 };                                                
131                                                   
132 &spi_nor {                                        
133         status = "okay";                          
134 };                                                
135                                                   
136 &nandcs {                                         
137         /* Spansion S34ML01G2, 128MB with 128K    
138         partitions {                              
139                 compatible = "fixed-partitions    
140                 #address-cells = <1>;             
141                 #size-cells = <1>;                
142                                                   
143                 /*                                
144                  * This is called "nflash" in     
145                  * "upgrade" and "rootfs" (pro    
146                  * splitpart). We call it "fir    
147                  * assume. The CFE loader cont    
148                  * about TRX partitions, ignor    
149                  * partitions: this device use    
150                  */                               
151                 firmware@0 {                      
152                         compatible = "seama";     
153                         label = "firmware";       
154                         reg = <0x00000000 0x08    
155                 };                                
156         };                                        
157 };                                                
158                                                   
159 &usb2 {                                           
160         vcc-gpios = <&chipcommon 21 GPIO_ACTIV    
161 };                                                
162                                                   
163 &usb3 {                                           
164         vcc-gpios = <&chipcommon 18 GPIO_ACTIV    
165 };                                                
166                                                   
167 &usb3_phy {                                       
168         status = "okay";                          
169 };                                                
170                                                   
171 &srab {                                           
172         status = "okay";                          
173                                                   
174         ports {                                   
175                 port@0 {                          
176                         label = "lan1";           
177                 };                                
178                                                   
179                 port@1 {                          
180                         label = "lan2";           
181                 };                                
182                                                   
183                 port@2 {                          
184                         label = "lan3";           
185                 };                                
186                                                   
187                 port@3 {                          
188                         label = "lan4";           
189                 };                                
190                                                   
191                 port@4 {                          
192                         label = "wan";            
193                 };                                
194                                                   
195                 port@5 {                          
196                         status = "disabled";      
197                 };                                
198                                                   
199                 port@7 {                          
200                         status = "disabled";      
201                 };                                
202                                                   
203                 port@8 {                          
204                         label = "cpu";            
205                         phy-mode = "rgmii";       
206                 };                                
207         };                                        
208 };                                                
                                                      

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