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

TOMOYO Linux Cross Reference
Linux/arch/powerpc/boot/dts/wii.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/powerpc/boot/dts/wii.dts (Architecture alpha) and /arch/mips/boot/dts/wii.dts (Architecture mips)


  1 // SPDX-License-Identifier: GPL-2.0-or-later      
  2 /*                                                
  3  * arch/powerpc/boot/dts/wii.dts                  
  4  *                                                
  5  * Nintendo Wii platform device tree source       
  6  * Copyright (C) 2008-2009 The GameCube Linux     
  7  * Copyright (C) 2008,2009 Albert Herranz         
  8  */                                               
  9                                                   
 10 /dts-v1/;                                         
 11 #include <dt-bindings/gpio/gpio.h>                
 12 #include <dt-bindings/input/input.h>              
 13                                                   
 14 /*                                                
 15  * This is commented-out for now.                 
 16  * Until a later patch is merged, the kernel c    
 17  * contiguous RAM range and will BUG() if the     
 18  * that range.                                    
 19  */                                               
 20 /*/memreserve/ 0x10000000 0x0004000;*/  /* DSP    
 21                                                   
 22 / {                                               
 23         model = "nintendo,wii";                   
 24         compatible = "nintendo,wii";              
 25         #address-cells = <1>;                     
 26         #size-cells = <1>;                        
 27                                                   
 28         chosen {                                  
 29                 bootargs = "root=/dev/mmcblk0p    
 30         };                                        
 31                                                   
 32         memory {                                  
 33                 device_type = "memory";           
 34                 reg = <0x00000000 0x01800000      
 35                        0x10000000 0x04000000>;    
 36         };                                        
 37                                                   
 38         cpus {                                    
 39                 #address-cells = <1>;             
 40                 #size-cells = <0>;                
 41                                                   
 42                 PowerPC,broadway@0 {              
 43                         device_type = "cpu";      
 44                         reg = <0>;                
 45                         clock-frequency = <729    
 46                         bus-frequency = <24300    
 47                         timebase-frequency = <    
 48                         i-cache-line-size = <3    
 49                         d-cache-line-size = <3    
 50                         i-cache-size = <32768>    
 51                         d-cache-size = <32768>    
 52                 };                                
 53         };                                        
 54                                                   
 55         /* devices contained in the hollywood     
 56         hollywood {                               
 57                 #address-cells = <1>;             
 58                 #size-cells = <1>;                
 59                 compatible = "nintendo,hollywo    
 60                 ranges = <0x0c000000 0x0c00000    
 61                           0x0d000000 0x0d00000    
 62                           0x0d800000 0x0d80000    
 63                 interrupt-parent = <&PIC0>;       
 64                                                   
 65                 video@c002000 {                   
 66                         compatible = "nintendo    
 67                                         "ninte    
 68                         reg = <0x0c002000 0x10    
 69                         interrupts = <8>;         
 70                 };                                
 71                                                   
 72                 processor-interface@c003000 {     
 73                         compatible = "nintendo    
 74                                         "ninte    
 75                         reg = <0x0c003000 0x10    
 76                                                   
 77                         PIC0: pic0 {              
 78                                 #interrupt-cel    
 79                                 compatible = "    
 80                                 interrupt-cont    
 81                         };                        
 82                 };                                
 83                                                   
 84                 dsp@c005000 {                     
 85                         #address-cells = <1>;     
 86                         #size-cells = <1>;        
 87                         compatible = "nintendo    
 88                                         "ninte    
 89                         reg = <0x0c005000 0x20    
 90                         interrupts = <6>;         
 91                 };                                
 92                                                   
 93                 gamepad-controller@d006400 {      
 94                         compatible = "nintendo    
 95                                         "ninte    
 96                         reg = <0x0d006400 0x10    
 97                         interrupts = <3>;         
 98                 };                                
 99                                                   
100                 audio@c006c00 {                   
101                         compatible = "nintendo    
102                                         "ninte    
103                         reg = <0x0d006c00 0x20    
104                         interrupts = <6>;         
105                 };                                
106                                                   
107                 /* External Interface bus */      
108                 exi@d006800 {                     
109                         compatible = "nintendo    
110                                         "ninte    
111                         reg = <0x0d006800 0x40    
112                         virtual-reg = <0x0d006    
113                         interrupts = <4>;         
114                 };                                
115                                                   
116                 usb@d040000 {                     
117                         compatible = "nintendo    
118                                         "usb-e    
119                         reg = <0x0d040000 0x10    
120                         interrupts = <4>;         
121                         interrupt-parent = <&P    
122                 };                                
123                                                   
124                 usb@d050000 {                     
125                         compatible = "nintendo    
126                                         "usb-o    
127                         reg = <0x0d050000 0x10    
128                         interrupts = <5>;         
129                         interrupt-parent = <&P    
130                 };                                
131                                                   
132                 usb@d060000 {                     
133                         compatible = "nintendo    
134                                         "usb-o    
135                         reg = <0x0d060000 0x10    
136                         interrupts = <6>;         
137                         interrupt-parent = <&P    
138                 };                                
139                                                   
140                 sd@d070000 {                      
141                         compatible = "nintendo    
142                                         "sdhci    
143                         reg = <0x0d070000 0x20    
144                         interrupts = <7>;         
145                         interrupt-parent = <&P    
146                 };                                
147                                                   
148                 sdio@d080000 {                    
149                         compatible = "nintendo    
150                                         "sdhci    
151                         reg = <0x0d080000 0x20    
152                         interrupts = <8>;         
153                         interrupt-parent = <&P    
154                 };                                
155                                                   
156                 ipc@d000000 {                     
157                         compatible = "nintendo    
158                         reg = <0x0d000000 0x10    
159                         interrupts = <30>;        
160                         interrupt-parent = <&P    
161                 };                                
162                                                   
163                 PIC1: pic1@d800030 {              
164                         #interrupt-cells = <1>    
165                         compatible = "nintendo    
166                         reg = <0x0d800030 0x10    
167                         interrupt-controller;     
168                         interrupts = <14>;        
169                 };                                
170                                                   
171                 srnprot@d800060 {                 
172                         compatible = "nintendo    
173                         reg = <0x0d800060 0x4>    
174                 };                                
175                                                   
176                 GPIO: gpio@d8000c0 {              
177                         #gpio-cells = <2>;        
178                         compatible = "nintendo    
179                         reg = <0x0d8000c0 0x40    
180                         gpio-controller;          
181                         ngpios = <24>;            
182                                                   
183                         gpio-line-names =         
184                                 "POWER", "SHUT    
185                                 "DI_SPIN", "SL    
186                                 "SENSOR_BAR",     
187                                 "EEP_MOSI", "E    
188                                 "DEBUG0", "DEB    
189                                 "DEBUG4", "DEB    
190                                                   
191                         interrupt-controller;     
192                         #interrupt-cells = <2>    
193                         interrupts = <10>;        
194                         interrupt-parent = <&P    
195                                                   
196                         /*                        
197                          * This is commented o    
198                          * for i2c over gpio i    
199                          */                       
200                         /*                        
201                         i2c-video {               
202                                 #address-cells    
203                                 #size-cells =     
204                                 compatible = "    
205                                                   
206                                 gpios = <&GPIO    
207                                          &GPIO    
208                                 clock-frequenc    
209                                 no-clock-stret    
210                                 scl-is-open-dr    
211                                 sda-is-open-dr    
212                                 sda-enforce-di    
213                                                   
214                                 AVE: audio-vid    
215                                         compat    
216                                         reg =     
217                                 };                
218                         };                        
219                         */                        
220                 };                                
221                                                   
222                 control@d800100 {                 
223                         compatible = "nintendo    
224                         /*                        
225                          * Both the address an    
226                          * Wiibrew this should    
227                          * requires refactorin    
228                          * before changing tha    
229                          */                       
230                         reg = <0x0d800100 0xa0    
231                 };                                
232                                                   
233                 otp@d8001ec {                     
234                         compatible = "nintendo    
235                         reg = <0x0d8001ec 0x8>    
236                 };                                
237                                                   
238                 disk@d806000 {                    
239                         compatible = "nintendo    
240                         reg = <0x0d806000 0x40    
241                         interrupts = <2>;         
242                 };                                
243         };                                        
244                                                   
245         gpio-leds {                               
246                 compatible = "gpio-leds";         
247                                                   
248                 /* This is the blue LED in the    
249                 drive-slot {                      
250                         label = "wii:blue:driv    
251                         gpios = <&GPIO 5 GPIO_    
252                         panic-indicator;          
253                 };                                
254         };                                        
255                                                   
256         gpio-keys {                               
257                 compatible = "gpio-keys";         
258                                                   
259                 power {                           
260                         label = "Power Button"    
261                         gpios = <&GPIO 0 GPIO_    
262                         linux,code = <KEY_POWE    
263                 };                                
264                                                   
265                 eject {                           
266                         label = "Eject Button"    
267                         gpios = <&GPIO 6 GPIO_    
268                         linux,code = <KEY_EJEC    
269                 };                                
270         };                                        
271 };                                                
272                                                   
                                                      

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