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

TOMOYO Linux Cross Reference
Linux/arch/arc/boot/dts/axc003.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/arc/boot/dts/axc003.dtsi (Architecture m68k) and /arch/ppc/boot/dts/axc003.dtsi (Architecture ppc)


  1 // SPDX-License-Identifier: GPL-2.0-only          
  2 /*                                                
  3  * Copyright (C) 2014-15 Synopsys, Inc. (www.s    
  4  */                                               
  5                                                   
  6 /*                                                
  7  * Device tree for AXC003 CPU card: HS38x UP c    
  8  */                                               
  9                                                   
 10 /include/ "skeleton_hs.dtsi"                      
 11                                                   
 12 / {                                               
 13         compatible = "snps,arc";                  
 14         #address-cells = <2>;                     
 15         #size-cells = <2>;                        
 16                                                   
 17         cpu_card {                                
 18                 compatible = "simple-bus";        
 19                 #address-cells = <1>;             
 20                 #size-cells = <1>;                
 21                                                   
 22                 ranges = <0x00000000 0x0 0xf00    
 23                                                   
 24                 input_clk: input-clk {            
 25                         #clock-cells = <0>;       
 26                         compatible = "fixed-cl    
 27                         clock-frequency = <333    
 28                 };                                
 29                                                   
 30                 core_clk: core-clk@80 {           
 31                         compatible = "snps,axs    
 32                         reg = <0x80 0x10>, <0x    
 33                         #clock-cells = <0>;       
 34                         clocks = <&input_clk>;    
 35                                                   
 36                         /*                        
 37                          * Set initial core pl    
 38                          * It will be applied     
 39                          * on early boot.         
 40                          */                       
 41                         assigned-clocks = <&co    
 42                         assigned-clock-rates =    
 43                 };                                
 44                                                   
 45                 core_intc: archs-intc@cpu {       
 46                         compatible = "snps,arc    
 47                         interrupt-controller;     
 48                         #interrupt-cells = <1>    
 49                 };                                
 50                                                   
 51                 /*                                
 52                  * this GPIO block ORs all int    
 53                  * to uplink only 1 IRQ to ARC    
 54                  */                               
 55                 dw-apb-gpio@2000 {                
 56                         compatible = "snps,dw-    
 57                         reg = < 0x2000 0x80 >;    
 58                         #address-cells = <1>;     
 59                         #size-cells = <0>;        
 60                                                   
 61                         ictl_intc: gpio-contro    
 62                                 compatible = "    
 63                                 gpio-controlle    
 64                                 #gpio-cells =     
 65                                 snps,nr-gpios     
 66                                 reg = <0>;        
 67                                 interrupt-cont    
 68                                 #interrupt-cel    
 69                                 interrupt-pare    
 70                                 interrupts = <    
 71                         };                        
 72                 };                                
 73                                                   
 74                 debug_uart: dw-apb-uart@5000 {    
 75                         compatible = "snps,dw-    
 76                         reg = <0x5000 0x100>;     
 77                         clock-frequency = <333    
 78                         interrupt-parent = <&i    
 79                         interrupts = <2 4>;       
 80                         baud = <115200>;          
 81                         reg-shift = <2>;          
 82                         reg-io-width = <4>;       
 83                 };                                
 84                                                   
 85                 arcpct0: pct {                    
 86                         compatible = "snps,arc    
 87                         #interrupt-cells = <1>    
 88                         interrupt-parent = <&c    
 89                         interrupts = <20>;        
 90                 };                                
 91         };                                        
 92                                                   
 93         /*                                        
 94          * Mark DMA peripherals connected via     
 95          * it via overlay because peripherals     
 96          * used for both AXS101 and AXS103 boa    
 97          * only AXS103 board has HW-coherent D    
 98          * We don't need to mark pgu@17000 as     
 99          * external DMA buffer located outside    
100          */                                       
101         axs10x_mb {                               
102                 ethernet@18000 {                  
103                         dma-coherent;             
104                 };                                
105                                                   
106                 usb@40000 {                       
107                         dma-coherent;             
108                 };                                
109                                                   
110                 usb@60000 {                       
111                         dma-coherent;             
112                 };                                
113                                                   
114                 mmc@15000 {                       
115                         dma-coherent;             
116                 };                                
117         };                                        
118                                                   
119         /*                                        
120          * The DW APB ICTL intc on MB is conne    
121          * DT "invisible" DW APB GPIO block, c    
122          * interrupts - setup accordingly in p    
123          *                                        
124          * So here we mimic a direct connectio    
125          * ABPG GPIO. Thus set "interrupts = <    
126          * instead of "interrupts = <12>" (DW     
127          *                                        
128          * This intc actually resides on MB, b    
129          * avoid duplicating the MB dtsi file     
130          * this intc to cpu intc are different    
131          */                                       
132         mb_intc: interrupt-controller@e0012000    
133                 #interrupt-cells = <1>;           
134                 compatible = "snps,dw-apb-ictl    
135                 reg = < 0x0 0xe0012000 0x0 0x2    
136                 interrupt-controller;             
137                 interrupt-parent = <&core_intc    
138                 interrupts = < 24 >;              
139         };                                        
140                                                   
141         memory {                                  
142                 device_type = "memory";           
143                 /* CONFIG_LINUX_RAM_BASE needs    
144                 reg = <0x0 0x80000000 0x0 0x20    
145                        0x1 0xc0000000 0x0 0x40    
146         };                                        
147                                                   
148         reserved-memory {                         
149                 #address-cells = <2>;             
150                 #size-cells = <2>;                
151                 ranges;                           
152                 /*                                
153                  * Move frame buffer out of IO    
154                  */                               
155                 frame_buffer: frame_buffer@be0    
156                         compatible = "shared-d    
157                         reg = <0x0 0xbe000000     
158                         no-map;                   
159                 };                                
160         };                                        
161 };                                                
                                                      

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