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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/riscv/sophgo/cv18xx.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/riscv/sophgo/cv18xx.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/riscv/sophgo/cv18xx.dtsi (Version linux-4.11.12)


  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)      
  2 /*                                                
  3  * Copyright (C) 2023 Jisheng Zhang <jszhang@ke    
  4  * Copyright (C) 2023 Inochi Amaoto <inochiama@    
  5  */                                               
  6                                                   
  7 #include <dt-bindings/clock/sophgo,cv1800.h>      
  8 #include <dt-bindings/gpio/gpio.h>                
  9 #include <dt-bindings/interrupt-controller/irq    
 10                                                   
 11 / {                                               
 12         #address-cells = <1>;                     
 13         #size-cells = <1>;                        
 14                                                   
 15         cpus: cpus {                              
 16                 #address-cells = <1>;             
 17                 #size-cells = <0>;                
 18                 timebase-frequency = <25000000    
 19                                                   
 20                 cpu0: cpu@0 {                     
 21                         compatible = "thead,c9    
 22                         device_type = "cpu";      
 23                         reg = <0>;                
 24                         d-cache-block-size = <    
 25                         d-cache-sets = <512>;     
 26                         d-cache-size = <65536>    
 27                         i-cache-block-size = <    
 28                         i-cache-sets = <128>;     
 29                         i-cache-size = <32768>    
 30                         mmu-type = "riscv,sv39    
 31                         riscv,isa = "rv64imafd    
 32                         riscv,isa-base = "rv64    
 33                         riscv,isa-extensions =    
 34                                                   
 35                                                   
 36                         cpu0_intc: interrupt-c    
 37                                 compatible = "    
 38                                 interrupt-cont    
 39                                 #interrupt-cel    
 40                         };                        
 41                 };                                
 42         };                                        
 43                                                   
 44         osc: oscillator {                         
 45                 compatible = "fixed-clock";       
 46                 clock-output-names = "osc_25m"    
 47                 #clock-cells = <0>;               
 48         };                                        
 49                                                   
 50         soc {                                     
 51                 compatible = "simple-bus";        
 52                 interrupt-parent = <&plic>;       
 53                 #address-cells = <1>;             
 54                 #size-cells = <1>;                
 55                 dma-noncoherent;                  
 56                 ranges;                           
 57                                                   
 58                 clk: clock-controller@3002000     
 59                         reg = <0x03002000 0x10    
 60                         clocks = <&osc>;          
 61                         #clock-cells = <1>;       
 62                 };                                
 63                                                   
 64                 gpio0: gpio@3020000 {             
 65                         compatible = "snps,dw-    
 66                         reg = <0x3020000 0x100    
 67                         #address-cells = <1>;     
 68                         #size-cells = <0>;        
 69                                                   
 70                         porta: gpio-controller    
 71                                 compatible = "    
 72                                 gpio-controlle    
 73                                 #gpio-cells =     
 74                                 ngpios = <32>;    
 75                                 reg = <0>;        
 76                                 interrupt-cont    
 77                                 #interrupt-cel    
 78                                 interrupts = <    
 79                         };                        
 80                 };                                
 81                                                   
 82                 gpio1: gpio@3021000 {             
 83                         compatible = "snps,dw-    
 84                         reg = <0x3021000 0x100    
 85                         #address-cells = <1>;     
 86                         #size-cells = <0>;        
 87                                                   
 88                         portb: gpio-controller    
 89                                 compatible = "    
 90                                 gpio-controlle    
 91                                 #gpio-cells =     
 92                                 ngpios = <32>;    
 93                                 reg = <0>;        
 94                                 interrupt-cont    
 95                                 #interrupt-cel    
 96                                 interrupts = <    
 97                         };                        
 98                 };                                
 99                                                   
100                 gpio2: gpio@3022000 {             
101                         compatible = "snps,dw-    
102                         reg = <0x3022000 0x100    
103                         #address-cells = <1>;     
104                         #size-cells = <0>;        
105                                                   
106                         portc: gpio-controller    
107                                 compatible = "    
108                                 gpio-controlle    
109                                 #gpio-cells =     
110                                 ngpios = <32>;    
111                                 reg = <0>;        
112                                 interrupt-cont    
113                                 #interrupt-cel    
114                                 interrupts = <    
115                         };                        
116                 };                                
117                                                   
118                 gpio3: gpio@3023000 {             
119                         compatible = "snps,dw-    
120                         reg = <0x3023000 0x100    
121                         #address-cells = <1>;     
122                         #size-cells = <0>;        
123                                                   
124                         portd: gpio-controller    
125                                 compatible = "    
126                                 gpio-controlle    
127                                 #gpio-cells =     
128                                 ngpios = <32>;    
129                                 reg = <0>;        
130                                 interrupt-cont    
131                                 #interrupt-cel    
132                                 interrupts = <    
133                         };                        
134                 };                                
135                                                   
136                 i2c0: i2c@4000000 {               
137                         compatible = "snps,des    
138                         reg = <0x04000000 0x10    
139                         #address-cells = <1>;     
140                         #size-cells = <0>;        
141                         clocks = <&clk CLK_I2C    
142                         clock-names = "ref", "    
143                         interrupts = <49 IRQ_T    
144                         status = "disabled";      
145                 };                                
146                                                   
147                 i2c1: i2c@4010000 {               
148                         compatible = "snps,des    
149                         reg = <0x04010000 0x10    
150                         #address-cells = <1>;     
151                         #size-cells = <0>;        
152                         clocks = <&clk CLK_I2C    
153                         clock-names = "ref", "    
154                         interrupts = <50 IRQ_T    
155                         status = "disabled";      
156                 };                                
157                                                   
158                 i2c2: i2c@4020000 {               
159                         compatible = "snps,des    
160                         reg = <0x04020000 0x10    
161                         #address-cells = <1>;     
162                         #size-cells = <0>;        
163                         clocks = <&clk CLK_I2C    
164                         clock-names = "ref", "    
165                         interrupts = <51 IRQ_T    
166                         status = "disabled";      
167                 };                                
168                                                   
169                 i2c3: i2c@4030000 {               
170                         compatible = "snps,des    
171                         reg = <0x04030000 0x10    
172                         #address-cells = <1>;     
173                         #size-cells = <0>;        
174                         clocks = <&clk CLK_I2C    
175                         clock-names = "ref", "    
176                         interrupts = <52 IRQ_T    
177                         status = "disabled";      
178                 };                                
179                                                   
180                 i2c4: i2c@4040000 {               
181                         compatible = "snps,des    
182                         reg = <0x04040000 0x10    
183                         #address-cells = <1>;     
184                         #size-cells = <0>;        
185                         clocks = <&clk CLK_I2C    
186                         clock-names = "ref", "    
187                         interrupts = <53 IRQ_T    
188                         status = "disabled";      
189                 };                                
190                                                   
191                 uart0: serial@4140000 {           
192                         compatible = "snps,dw-    
193                         reg = <0x04140000 0x10    
194                         interrupts = <44 IRQ_T    
195                         clocks = <&clk CLK_UAR    
196                         clock-names = "baudclk    
197                         reg-shift = <2>;          
198                         reg-io-width = <4>;       
199                         status = "disabled";      
200                 };                                
201                                                   
202                 uart1: serial@4150000 {           
203                         compatible = "snps,dw-    
204                         reg = <0x04150000 0x10    
205                         interrupts = <45 IRQ_T    
206                         clocks = <&clk CLK_UAR    
207                         clock-names = "baudclk    
208                         reg-shift = <2>;          
209                         reg-io-width = <4>;       
210                         status = "disabled";      
211                 };                                
212                                                   
213                 uart2: serial@4160000 {           
214                         compatible = "snps,dw-    
215                         reg = <0x04160000 0x10    
216                         interrupts = <46 IRQ_T    
217                         clocks = <&clk CLK_UAR    
218                         clock-names = "baudclk    
219                         reg-shift = <2>;          
220                         reg-io-width = <4>;       
221                         status = "disabled";      
222                 };                                
223                                                   
224                 uart3: serial@4170000 {           
225                         compatible = "snps,dw-    
226                         reg = <0x04170000 0x10    
227                         interrupts = <47 IRQ_T    
228                         clocks = <&clk CLK_UAR    
229                         clock-names = "baudclk    
230                         reg-shift = <2>;          
231                         reg-io-width = <4>;       
232                         status = "disabled";      
233                 };                                
234                                                   
235                 spi0: spi@4180000 {               
236                         compatible = "snps,dw-    
237                         reg = <0x04180000 0x10    
238                         #address-cells = <1>;     
239                         #size-cells = <0>;        
240                         clocks = <&clk CLK_SPI    
241                         clock-names = "ssi_clk    
242                         interrupts = <54 IRQ_T    
243                         status = "disabled";      
244                 };                                
245                                                   
246                 spi1: spi@4190000 {               
247                         compatible = "snps,dw-    
248                         reg = <0x04190000 0x10    
249                         #address-cells = <1>;     
250                         #size-cells = <0>;        
251                         clocks = <&clk CLK_SPI    
252                         clock-names = "ssi_clk    
253                         interrupts = <55 IRQ_T    
254                         status = "disabled";      
255                 };                                
256                                                   
257                 spi2: spi@41a0000 {               
258                         compatible = "snps,dw-    
259                         reg = <0x041a0000 0x10    
260                         #address-cells = <1>;     
261                         #size-cells = <0>;        
262                         clocks = <&clk CLK_SPI    
263                         clock-names = "ssi_clk    
264                         interrupts = <56 IRQ_T    
265                         status = "disabled";      
266                 };                                
267                                                   
268                 spi3: spi@41b0000 {               
269                         compatible = "snps,dw-    
270                         reg = <0x041b0000 0x10    
271                         #address-cells = <1>;     
272                         #size-cells = <0>;        
273                         clocks = <&clk CLK_SPI    
274                         clock-names = "ssi_clk    
275                         interrupts = <57 IRQ_T    
276                         status = "disabled";      
277                 };                                
278                                                   
279                 uart4: serial@41c0000 {           
280                         compatible = "snps,dw-    
281                         reg = <0x041c0000 0x10    
282                         interrupts = <48 IRQ_T    
283                         clocks = <&clk CLK_UAR    
284                         clock-names = "baudclk    
285                         reg-shift = <2>;          
286                         reg-io-width = <4>;       
287                         status = "disabled";      
288                 };                                
289                                                   
290                 sdhci0: mmc@4310000 {             
291                         compatible = "sophgo,c    
292                         reg = <0x4310000 0x100    
293                         interrupts = <36 IRQ_T    
294                         clocks = <&clk CLK_AXI    
295                                  <&clk CLK_SD0    
296                         clock-names = "core",     
297                         status = "disabled";      
298                 };                                
299                                                   
300                 dmac: dma-controller@4330000 {    
301                         compatible = "snps,axi    
302                         reg = <0x04330000 0x10    
303                         interrupts = <29 IRQ_T    
304                         clocks = <&clk CLK_SDM    
305                         clock-names = "core-cl    
306                         #dma-cells = <1>;         
307                         dma-channels = <8>;       
308                         snps,block-size = <102    
309                                            102    
310                         snps,priority = <0 1 2    
311                         snps,dma-masters = <2>    
312                         snps,data-width = <4>;    
313                         status = "disabled";      
314                 };                                
315                                                   
316                 plic: interrupt-controller@700    
317                         reg = <0x70000000 0x40    
318                         interrupts-extended =     
319                         interrupt-controller;     
320                         #address-cells = <0>;     
321                         #interrupt-cells = <2>    
322                         riscv,ndev = <101>;       
323                 };                                
324                                                   
325                 clint: timer@74000000 {           
326                         reg = <0x74000000 0x10    
327                         interrupts-extended =     
328                 };                                
329         };                                        
330 };                                                
                                                      

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