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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/marvell/cn9130-sr-som.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 /arch/arm64/boot/dts/marvell/cn9130-sr-som.dtsi (Architecture i386) and /arch/sparc64/boot/dts/marvell/cn9130-sr-som.dtsi (Architecture sparc64)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (C) 2024 Josua Mayer <josua@solid-    
  4  *                                                
  5  */                                               
  6                                                   
  7 #include <dt-bindings/gpio/gpio.h>                
  8                                                   
  9 / {                                               
 10         model = "SolidRun CN9130 SoM";            
 11         compatible = "solidrun,cn9130-sr-som",    
 12                                                   
 13         aliases {                                 
 14                 ethernet0 = &cp0_eth0;            
 15                 ethernet1 = &cp0_eth1;            
 16                 ethernet2 = &cp0_eth2;            
 17                 i2c0 = &cp0_i2c0;                 
 18                 mmc0 = &ap_sdhci0;                
 19                 rtc0 = &cp0_rtc;                  
 20         };                                        
 21                                                   
 22         chosen {                                  
 23                 stdout-path = "serial0:115200n    
 24         };                                        
 25                                                   
 26         v_1_8: regulator-1-8 {                    
 27                 compatible = "regulator-fixed"    
 28                 regulator-name = "1v8";           
 29                 regulator-min-microvolt = <180    
 30                 regulator-max-microvolt = <180    
 31         };                                        
 32                                                   
 33         /* requires assembly of R9307 */          
 34         vhv: regulator-vhv-1-8 {                  
 35                 compatible = "regulator-fixed"    
 36                 regulator-name = "vhv-1v8";       
 37                 regulator-min-microvolt = <180    
 38                 regulator-max-microvolt = <180    
 39                 pinctrl-0 = <&cp0_reg_vhv_pins    
 40                 pinctrl-names = "default";        
 41                 gpios = <&cp0_gpio2 9 GPIO_ACT    
 42                 enable-active-high;               
 43         };                                        
 44 };                                                
 45                                                   
 46 &ap_pinctrl {                                     
 47         ap_mmc0_pins: ap-mmc0-pins {              
 48                 marvell,pins = "mpp0", "mpp1",    
 49                                            "mp    
 50                 marvell,function = "sdio";        
 51                 /*                                
 52                  * mpp12 is emmc reset, functi    
 53                  * but pinctrl-mvebu does not     
 54                  *                                
 55                  * From pinctrl-mvebu.h:          
 56                  * "The name will be used to s    
 57                  * marvell,function = "uart2".    
 58                  */                               
 59         };                                        
 60 };                                                
 61                                                   
 62 &ap_sdhci0 {                                      
 63         bus-width = <8>;                          
 64         pinctrl-0 = <&ap_mmc0_pins>;              
 65         pinctrl-names = "default";                
 66         vqmmc-supply = <&v_1_8>;                  
 67         status = "okay";                          
 68 };                                                
 69                                                   
 70 &cp0_ethernet {                                   
 71         status = "okay";                          
 72 };                                                
 73                                                   
 74 /* for assembly with phy */                       
 75 &cp0_eth2 {                                       
 76         pinctrl-names = "default";                
 77         pinctrl-0 = <&cp0_eth2_pins>;             
 78         phy-mode = "rgmii-id";                    
 79         phy = <&cp0_eth2_phy>;                    
 80         status = "okay";                          
 81 };                                                
 82                                                   
 83 &cp0_i2c0 {                                       
 84         pinctrl-names = "default";                
 85         pinctrl-0 = <&cp0_i2c0_pins>;             
 86         clock-frequency = <100000>;               
 87         status = "okay";                          
 88                                                   
 89         som_eeprom: eeprom@53 {                   
 90                 compatible = "atmel,24c02";       
 91                 reg = <0x53>;                     
 92                 pagesize = <8>;                   
 93         };                                        
 94 };                                                
 95                                                   
 96 &cp0_mdio {                                       
 97         pinctrl-0 = <&cp0_mdio_pins>;             
 98         status = "okay";                          
 99                                                   
100         /* assembly option */                     
101         cp0_eth2_phy: ethernet-phy@0 {            
102                 reg = <0>;                        
103         };                                        
104 };                                                
105                                                   
106 &cp0_spi1 {                                       
107         status = "okay";                          
108         pinctrl-names = "default";                
109         pinctrl-0 = <&cp0_spi1_pins>;             
110         /* max speed limited by a mux */          
111         spi-max-frequency = <1800000000>;         
112                                                   
113         flash@0 {                                 
114                 compatible = "jedec,spi-nor";     
115                 reg = <0>;                        
116                 /* read command supports max.     
117                 spi-max-frequency = <50000000>    
118         };                                        
119 };                                                
120                                                   
121 &cp0_syscon0 {                                    
122         cp0_pinctrl: pinctrl {                    
123                 compatible = "marvell,cp115-st    
124                                                   
125                 cp0_eth2_pins: cp0-ge2-rgmii-p    
126                         marvell,pins = "mpp44"    
127                                        "mpp48"    
128                                        "mpp52"    
129                         /* docs call it "ge2",    
130                         marvell,function = "ge    
131                 };                                
132                                                   
133                 cp0_i2c0_pins: cp0-i2c0-pins {    
134                         marvell,pins = "mpp37"    
135                         marvell,function = "i2    
136                 };                                
137                                                   
138                 cp0_mdio_pins: cp0-mdio-pins {    
139                         marvell,pins = "mpp0",    
140                         marvell,function = "ge    
141                 };                                
142                                                   
143                 cp0_spi1_pins: cp0-spi1-pins {    
144                         marvell,pins = "mpp13"    
145                         marvell,function = "sp    
146                 };                                
147                                                   
148                 cp0_reg_vhv_pins: cp0-reg-vhv-    
149                         marvell,pins = "mpp41"    
150                         marvell,function = "gp    
151                 };                                
152         };                                        
153 };                                                
154                                                   
155 /* AP default console */                          
156 &uart0 {                                          
157         pinctrl-0 = <&uart0_pins>;                
158         pinctrl-names = "default";                
159         status = "okay";                          
160 };                                                
                                                      

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