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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/marvell/cn9132-db.dtsi

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/arm64/marvell/cn9132-db.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/marvell/cn9132-db.dtsi (Version linux-2.6.0)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (C) 2020 Marvell International Lt    
  4  *                                                
  5  * Device tree for the CN9132-DB board.           
  6  */                                               
  7                                                   
  8 #include "cn9131-db.dtsi"                         
  9                                                   
 10 / {                                               
 11         compatible = "marvell,cn9132", "marvel    
 12                      "marvell,armada-ap807-qua    
 13                                                   
 14         aliases {                                 
 15                 gpio5 = &cp2_gpio1;               
 16                 gpio6 = &cp2_gpio2;               
 17                 ethernet5 = &cp2_eth0;            
 18         };                                        
 19                                                   
 20         cp2_reg_usb3_vbus0: regulator-7 {         
 21                 compatible = "regulator-fixed"    
 22                 regulator-name = "cp2-xhci0-vb    
 23                 regulator-min-microvolt = <500    
 24                 regulator-max-microvolt = <500    
 25                 enable-active-high;               
 26                 gpio = <&cp2_gpio1 2 GPIO_ACTI    
 27         };                                        
 28                                                   
 29         cp2_usb3_0_phy0: usb-phy-4 {              
 30                 compatible = "usb-nop-xceiv";     
 31                 vcc-supply = <&cp2_reg_usb3_vb    
 32         };                                        
 33                                                   
 34         cp2_reg_usb3_vbus1: regulator-8 {         
 35                 compatible = "regulator-fixed"    
 36                 regulator-name = "cp2-xhci1-vb    
 37                 regulator-min-microvolt = <500    
 38                 regulator-max-microvolt = <500    
 39                 enable-active-high;               
 40                 gpio = <&cp2_gpio1 3 GPIO_ACTI    
 41         };                                        
 42                                                   
 43         cp2_usb3_0_phy1: usb-phy-5 {              
 44                 compatible = "usb-nop-xceiv";     
 45                 vcc-supply = <&cp2_reg_usb3_vb    
 46         };                                        
 47                                                   
 48         cp2_reg_sd_vccq: regulator-9 {            
 49                 compatible = "regulator-gpio";    
 50                 regulator-name = "cp2_sd_vcc";    
 51                 regulator-min-microvolt = <180    
 52                 regulator-max-microvolt = <330    
 53                 gpios = <&cp2_gpio2 17 GPIO_AC    
 54                 states = <1800000 0x1 3300000     
 55         };                                        
 56                                                   
 57         cp2_sfp_eth0: sfp-eth-3 {                 
 58                 compatible = "sff,sfp";           
 59                 i2c-bus = <&cp2_sfpp0_i2c>;       
 60                 los-gpios = <&cp2_module_expan    
 61                 mod-def0-gpios = <&cp2_module_    
 62                 tx-disable-gpios = <&cp2_modul    
 63                 tx-fault-gpios = <&cp2_module_    
 64                 /*                                
 65                  * SFP cages are unconnected o    
 66                  * lanes not being connected.     
 67                  * unusable by disabling the S    
 68                  */                               
 69                 status = "disabled";              
 70         };                                        
 71 };                                                
 72                                                   
 73 /*                                                
 74  * Instantiate the second slave CP115             
 75  */                                               
 76                                                   
 77 #define CP11X_NAME              cp2               
 78 #define CP11X_BASE              f6000000          
 79 #define CP11X_PCIEx_MEM_BASE(iface) (0xe500000    
 80 #define CP11X_PCIEx_MEM_SIZE(iface) 0xf00000      
 81 #define CP11X_PCIE0_BASE        f6600000          
 82 #define CP11X_PCIE1_BASE        f6620000          
 83 #define CP11X_PCIE2_BASE        f6640000          
 84                                                   
 85 #include "armada-cp115.dtsi"                      
 86                                                   
 87 #undef CP11X_NAME                                 
 88 #undef CP11X_BASE                                 
 89 #undef CP11X_PCIEx_MEM_BASE                       
 90 #undef CP11X_PCIEx_MEM_SIZE                       
 91 #undef CP11X_PCIE0_BASE                           
 92 #undef CP11X_PCIE1_BASE                           
 93 #undef CP11X_PCIE2_BASE                           
 94                                                   
 95 &cp2_crypto {                                     
 96         status = "disabled";                      
 97 };                                                
 98                                                   
 99 &cp2_ethernet {                                   
100         status = "okay";                          
101 };                                                
102                                                   
103 /* SLM-1521-V2, CON9 */                           
104 &cp2_eth0 {                                       
105         status = "disabled";                      
106         phy-mode = "10gbase-r";                   
107         /* Generic PHY, providing serdes lanes    
108         phys = <&cp2_comphy4 0>;                  
109         managed = "in-band-status";               
110         sfp = <&cp2_sfp_eth0>;                    
111 };                                                
112                                                   
113 &cp2_gpio1 {                                      
114         status = "okay";                          
115 };                                                
116                                                   
117 &cp2_gpio2 {                                      
118         status = "okay";                          
119 };                                                
120                                                   
121 &cp2_i2c0 {                                       
122         clock-frequency = <100000>;               
123                                                   
124         /* SLM-1521-V2 - U3 */                    
125         i2c-mux@72 {                              
126                 compatible = "nxp,pca9544";       
127                 #address-cells = <1>;             
128                 #size-cells = <0>;                
129                 reg = <0x72>;                     
130                 cp2_sfpp0_i2c: i2c@0 {            
131                         #address-cells = <1>;     
132                         #size-cells = <0>;        
133                         reg = <0>;                
134                 };                                
135                                                   
136                 i2c@1 {                           
137                         #address-cells = <1>;     
138                         #size-cells = <0>;        
139                         reg = <1>;                
140                         /* U12 */                 
141                         cp2_module_expander1:     
142                                 compatible = "    
143                                 pinctrl-names     
144                                 gpio-controlle    
145                                 #gpio-cells =     
146                                 reg = <0x21>;     
147                         };                        
148                 };                                
149         };                                        
150 };                                                
151                                                   
152 /* SLM-1521-V2, CON6 */                           
153 &cp2_pcie0 {                                      
154         status = "okay";                          
155         num-lanes = <2>;                          
156         num-viewport = <8>;                       
157         /* Generic PHY, providing serdes lanes    
158         phys = <&cp2_comphy0 0                    
159                 &cp2_comphy1 0>;                  
160 };                                                
161                                                   
162 /* SLM-1521-V2, CON8 */                           
163 &cp2_pcie2 {                                      
164         status = "okay";                          
165         num-lanes = <1>;                          
166         num-viewport = <8>;                       
167         /* Generic PHY, providing serdes lanes    
168         phys = <&cp2_comphy5 2>;                  
169 };                                                
170                                                   
171 &cp2_sata0 {                                      
172         status = "okay";                          
173                                                   
174         /* SLM-1521-V2, CON4 */                   
175         sata-port@0 {                             
176                 /* Generic PHY, providing serd    
177                 phys = <&cp2_comphy2 0>;          
178         };                                        
179 };                                                
180                                                   
181 /* CON 2 on SLM-1683 - microSD */                 
182 &cp2_sdhci0 {                                     
183         status = "okay";                          
184         pinctrl-names = "default";                
185         pinctrl-0 = <&cp2_sdhci_pins>;            
186         bus-width = <4>;                          
187         cd-gpios = <&cp2_gpio2 23 GPIO_ACTIVE_    
188         vqmmc-supply = <&cp2_reg_sd_vccq>;        
189 };                                                
190                                                   
191 &cp2_syscon0 {                                    
192         cp2_pinctrl: pinctrl {                    
193                 compatible = "marvell,cp115-st    
194                                                   
195                 cp2_i2c0_pins: cp2-i2c-pins-0     
196                         marvell,pins = "mpp37"    
197                         marvell,function = "i2    
198                 };                                
199                 cp2_sdhci_pins: cp2-sdhi-pins-    
200                         marvell,pins = "mpp56"    
201                                        "mpp59"    
202                         marvell,function = "sd    
203                 };                                
204         };                                        
205 };                                                
206                                                   
207 &cp2_utmi {                                       
208         status = "okay";                          
209 };                                                
210                                                   
211 &cp2_usb3_0 {                                     
212         status = "okay";                          
213         usb-phy = <&cp2_usb3_0_phy0>;             
214         phys = <&cp2_utmi0>;                      
215         phy-names = "usb";                        
216         dr_mode = "host";                         
217 };                                                
218                                                   
219 /* SLM-1521-V2, CON11 */                          
220 &cp2_usb3_1 {                                     
221         status = "okay";                          
222         usb-phy = <&cp2_usb3_0_phy1>;             
223         /* Generic PHY, providing serdes lanes    
224         phys = <&cp2_comphy3 1>, <&cp2_utmi1>;    
225         phy-names = "usb", "utmi";                
226         dr_mode = "host";                         
227 };                                                
                                                      

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