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

TOMOYO Linux Cross Reference
Linux/arch/loongarch/boot/dts/loongson-2k1000-ref.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 /arch/loongarch/boot/dts/loongson-2k1000-ref.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/loongson-2k1000-ref.dts (Version linux-4.17.19)


  1 // SPDX-License-Identifier: GPL-2.0               
  2 /*                                                
  3  * Copyright (C) 2023 Loongson Technology Corp    
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7                                                   
  8 #include "loongson-2k1000.dtsi"                   
  9                                                   
 10 / {                                               
 11         compatible = "loongson,ls2k1000-ref",     
 12         model = "Loongson-2K1000 Reference Boa    
 13                                                   
 14         aliases {                                 
 15                 serial0 = &uart0;                 
 16         };                                        
 17                                                   
 18         chosen {                                  
 19                 stdout-path = "serial0:115200n    
 20         };                                        
 21                                                   
 22         memory@200000 {                           
 23                 device_type = "memory";           
 24                 reg = <0x0 0x00200000 0x0 0x06    
 25                       <0x0 0x08000000 0x0 0x07    
 26                       <0x0 0x90000000 0x1 0xe0    
 27         };                                        
 28                                                   
 29         reserved-memory {                         
 30                 #address-cells = <2>;             
 31                 #size-cells = <2>;                
 32                 ranges;                           
 33                                                   
 34                 linux,cma {                       
 35                         compatible = "shared-d    
 36                         reusable;                 
 37                         size = <0x0 0x2000000>    
 38                         linux,cma-default;        
 39                 };                                
 40         };                                        
 41 };                                                
 42                                                   
 43 &gmac0 {                                          
 44         status = "okay";                          
 45                                                   
 46         phy-mode = "rgmii-id";                    
 47         phy-handle = <&phy0>;                     
 48         mdio {                                    
 49                 compatible = "snps,dwmac-mdio"    
 50                 #address-cells = <1>;             
 51                 #size-cells = <0>;                
 52                 phy0: ethernet-phy@0 {            
 53                         reg = <0>;                
 54                 };                                
 55         };                                        
 56 };                                                
 57                                                   
 58 &gmac1 {                                          
 59         status = "okay";                          
 60                                                   
 61         phy-mode = "rgmii-id";                    
 62         phy-handle = <&phy1>;                     
 63         mdio {                                    
 64                 compatible = "snps,dwmac-mdio"    
 65                 #address-cells = <1>;             
 66                 #size-cells = <0>;                
 67                 phy1: ethernet-phy@1 {            
 68                         reg = <16>;               
 69                 };                                
 70         };                                        
 71 };                                                
 72                                                   
 73 &i2c2 {                                           
 74         status = "okay";                          
 75                                                   
 76         pinctrl-0 = <&i2c0_pins_default>;         
 77         pinctrl-names = "default";                
 78                                                   
 79         #address-cells = <1>;                     
 80         #size-cells = <0>;                        
 81         eeprom@57 {                               
 82                 compatible = "atmel,24c16";       
 83                 reg = <0x57>;                     
 84                 pagesize = <16>;                  
 85         };                                        
 86 };                                                
 87                                                   
 88 &spi0 {                                           
 89         status = "okay";                          
 90                                                   
 91         #address-cells = <1>;                     
 92         #size-cells = <0>;                        
 93         spidev@0 {                                
 94                 compatible = "rohm,dh2228fv";     
 95                 spi-max-frequency = <100000000    
 96                 reg = <0>;                        
 97         };                                        
 98 };                                                
 99                                                   
100 &ehci0 {                                          
101         status = "okay";                          
102 };                                                
103                                                   
104 &ohci0 {                                          
105         status = "okay";                          
106 };                                                
107                                                   
108 &sata {                                           
109         status = "okay";                          
110 };                                                
111                                                   
112 &uart0 {                                          
113         status = "okay";                          
114 };                                                
115                                                   
116 &rtc0 {                                           
117         status = "okay";                          
118 };                                                
119                                                   
120 &pctrl {                                          
121         status = "okay";                          
122                                                   
123         sdio_pins_default: sdio-pins {            
124                 sdio-pinmux {                     
125                         groups = "sdio";          
126                         function = "sdio";        
127                 };                                
128                 sdio-det-pinmux {                 
129                         groups = "pwm2";          
130                         function = "gpio";        
131                 };                                
132         };                                        
133                                                   
134         pwm1_pins_default: pwm1-pins {            
135                 pinmux {                          
136                         groups = "pwm1";          
137                         function = "pwm1";        
138                 };                                
139         };                                        
140                                                   
141         pwm0_pins_default: pwm0-pins {            
142                 pinmux {                          
143                         groups = "pwm0";          
144                         function = "pwm0";        
145                 };                                
146         };                                        
147                                                   
148         i2c1_pins_default: i2c1-pins {            
149                 pinmux {                          
150                         groups = "i2c1";          
151                         function = "i2c1";        
152                 };                                
153         };                                        
154                                                   
155         i2c0_pins_default: i2c0-pins {            
156                 pinmux {                          
157                         groups = "i2c0";          
158                         function = "i2c0";        
159                 };                                
160         };                                        
161                                                   
162         nand_pins_default: nand-pins {            
163                 pinmux {                          
164                         groups = "nand";          
165                         function = "nand";        
166                 };                                
167         };                                        
168                                                   
169         hda_pins_default: hda-pins {              
170                 grp0-pinmux {                     
171                         groups = "hda";           
172                         function = "hda";         
173                 };                                
174                 grp1-pinmux {                     
175                         groups = "i2s";           
176                         function = "gpio";        
177                 };                                
178         };                                        
179 };                                                
                                                      

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