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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.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/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/allwinner/sun50i-h6-pine-h64.dts (Version linux-2.4.37.11)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 // Copyright (c) 2017 Icenowy Zheng <icenowy@ao    
  3                                                   
  4 /dts-v1/;                                         
  5                                                   
  6 #include "sun50i-h6.dtsi"                         
  7 #include "sun50i-h6-cpu-opp.dtsi"                 
  8                                                   
  9 #include <dt-bindings/gpio/gpio.h>                
 10                                                   
 11 / {                                               
 12         model = "Pine64 PINE H64 Model A";        
 13         compatible = "pine64,pine-h64", "allwi    
 14                                                   
 15         aliases {                                 
 16                 ethernet0 = &emac;                
 17                 serial0 = &uart0;                 
 18                 spi0 = &spi0;                     
 19         };                                        
 20                                                   
 21         chosen {                                  
 22                 stdout-path = "serial0:115200n    
 23         };                                        
 24                                                   
 25         ext_osc32k: ext-osc32k-clk {              
 26                 #clock-cells = <0>;               
 27                 compatible = "fixed-clock";       
 28                 clock-frequency = <32768>;        
 29                 clock-output-names = "ext_osc3    
 30         };                                        
 31                                                   
 32         hdmi_connector: connector {               
 33                 compatible = "hdmi-connector";    
 34                 type = "a";                       
 35                 ddc-en-gpios = <&pio 7 2 GPIO_    
 36                                                   
 37                 port {                            
 38                         hdmi_con_in: endpoint     
 39                                 remote-endpoin    
 40                         };                        
 41                 };                                
 42         };                                        
 43                                                   
 44         leds {                                    
 45                 compatible = "gpio-leds";         
 46                                                   
 47                 led-0 {                           
 48                         label = "pine-h64:gree    
 49                         gpios = <&r_pio 0 4 GP    
 50                 };                                
 51                                                   
 52                 led-1 {                           
 53                         label = "pine-h64:whit    
 54                         gpios = <&r_pio 0 3 GP    
 55                 };                                
 56                                                   
 57                 led-2 {                           
 58                         label = "pine-h64:blue    
 59                         gpios = <&r_pio 0 7 GP    
 60                 };                                
 61         };                                        
 62                                                   
 63         reg_gmac_3v3: gmac-3v3 {                  
 64                 compatible = "regulator-fixed"    
 65                 regulator-name = "vcc-gmac-3v3    
 66                 regulator-min-microvolt = <330    
 67                 regulator-max-microvolt = <330    
 68                 startup-delay-us = <100000>;      
 69                 gpio = <&pio 2 16 GPIO_ACTIVE_    
 70                 enable-active-high;               
 71         };                                        
 72                                                   
 73         reg_usb_vbus: vbus {                      
 74                 compatible = "regulator-fixed"    
 75                 regulator-name = "usb-vbus";      
 76                 regulator-min-microvolt = <500    
 77                 regulator-max-microvolt = <500    
 78                 startup-delay-us = <100000>;      
 79                 gpio = <&r_pio 0 5 GPIO_ACTIVE    
 80                 enable-active-high;               
 81         };                                        
 82 };                                                
 83                                                   
 84 &cpu0 {                                           
 85         cpu-supply = <&reg_dcdca>;                
 86 };                                                
 87                                                   
 88 &de {                                             
 89         status = "okay";                          
 90 };                                                
 91                                                   
 92 &ehci0 {                                          
 93         status = "okay";                          
 94 };                                                
 95                                                   
 96 &ehci3 {                                          
 97         status = "okay";                          
 98 };                                                
 99                                                   
100 &emac {                                           
101         pinctrl-names = "default";                
102         pinctrl-0 = <&ext_rgmii_pins>;            
103         phy-mode = "rgmii-id";                    
104         phy-handle = <&ext_rgmii_phy>;            
105         phy-supply = <&reg_gmac_3v3>;             
106         allwinner,rx-delay-ps = <200>;            
107         allwinner,tx-delay-ps = <200>;            
108         status = "okay";                          
109 };                                                
110                                                   
111 &gpu {                                            
112         mali-supply = <&reg_dcdcc>;               
113         status = "okay";                          
114 };                                                
115                                                   
116 &hdmi {                                           
117         status = "okay";                          
118 };                                                
119                                                   
120 &hdmi_out {                                       
121         hdmi_out_con: endpoint {                  
122                 remote-endpoint = <&hdmi_con_i    
123         };                                        
124 };                                                
125                                                   
126 &mdio {                                           
127         ext_rgmii_phy: ethernet-phy@1 {           
128                 compatible = "ethernet-phy-iee    
129                 reg = <1>;                        
130         };                                        
131 };                                                
132                                                   
133 &mmc0 {                                           
134         vmmc-supply = <&reg_cldo1>;               
135         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;    
136         bus-width = <4>;                          
137         status = "okay";                          
138 };                                                
139                                                   
140 &mmc2 {                                           
141         vmmc-supply = <&reg_cldo1>;               
142         vqmmc-supply = <&reg_bldo2>;              
143         non-removable;                            
144         cap-mmc-hw-reset;                         
145         mmc-hs200-1_8v;                           
146         bus-width = <8>;                          
147         status = "okay";                          
148 };                                                
149                                                   
150 &ohci0 {                                          
151         status = "okay";                          
152 };                                                
153                                                   
154 &ohci3 {                                          
155         status = "okay";                          
156 };                                                
157                                                   
158 &pio {                                            
159         vcc-pc-supply = <&reg_bldo2>;             
160         vcc-pd-supply = <&reg_cldo1>;             
161         vcc-pg-supply = <&reg_aldo1>;             
162 };                                                
163                                                   
164 &r_i2c {                                          
165         status = "okay";                          
166                                                   
167         axp805: pmic@36 {                         
168                 compatible = "x-powers,axp805"    
169                 reg = <0x36>;                     
170                 interrupt-parent = <&r_intc>;     
171                 interrupts = <GIC_SPI 96 IRQ_T    
172                 interrupt-controller;             
173                 #interrupt-cells = <1>;           
174                 x-powers,self-working-mode;       
175                                                   
176                 regulators {                      
177                         reg_aldo1: aldo1 {        
178                                 regulator-alwa    
179                                 regulator-min-    
180                                 regulator-max-    
181                                 regulator-name    
182                         };                        
183                                                   
184                         reg_aldo2: aldo2 {        
185                                 regulator-min-    
186                                 regulator-max-    
187                                 regulator-name    
188                                 regulator-enab    
189                         };                        
190                                                   
191                         reg_aldo3: aldo3 {        
192                                 /* This regula    
193                                 regulator-alwa    
194                                 regulator-min-    
195                                 regulator-max-    
196                                 regulator-name    
197                         };                        
198                                                   
199                         reg_bldo1: bldo1 {        
200                                 regulator-alwa    
201                                 regulator-min-    
202                                 regulator-max-    
203                                 regulator-name    
204                         };                        
205                                                   
206                         reg_bldo2: bldo2 {        
207                                 regulator-alwa    
208                                 regulator-min-    
209                                 regulator-max-    
210                                 regulator-name    
211                         };                        
212                                                   
213                         reg_bldo3: bldo3 {        
214                                 regulator-alwa    
215                                 regulator-min-    
216                                 regulator-max-    
217                                 regulator-name    
218                         };                        
219                                                   
220                         bldo4 {                   
221                                 /* unused */      
222                         };                        
223                                                   
224                         reg_cldo1: cldo1 {        
225                                 /* This regula    
226                                 regulator-alwa    
227                                 regulator-min-    
228                                 regulator-max-    
229                                 regulator-name    
230                         };                        
231                                                   
232                         reg_cldo2: cldo2 {        
233                                 regulator-min-    
234                                 regulator-max-    
235                                 regulator-name    
236                         };                        
237                                                   
238                         reg_cldo3: cldo3 {        
239                                 regulator-min-    
240                                 regulator-max-    
241                                 regulator-name    
242                         };                        
243                                                   
244                         reg_dcdca: dcdca {        
245                                 regulator-alwa    
246                                 regulator-min-    
247                                 regulator-max-    
248                                 regulator-ramp    
249                                 regulator-name    
250                         };                        
251                                                   
252                         reg_dcdcc: dcdcc {        
253                                 regulator-enab    
254                                 regulator-min-    
255                                 regulator-max-    
256                                 regulator-ramp    
257                                 regulator-name    
258                         };                        
259                                                   
260                         reg_dcdcd: dcdcd {        
261                                 regulator-alwa    
262                                 regulator-min-    
263                                 regulator-max-    
264                                 regulator-name    
265                         };                        
266                                                   
267                         reg_dcdce: dcdce {        
268                                 regulator-alwa    
269                                 regulator-min-    
270                                 regulator-max-    
271                                 regulator-name    
272                         };                        
273                                                   
274                         sw {                      
275                                 /* unused */      
276                         };                        
277                 };                                
278         };                                        
279                                                   
280         pcf8563: rtc@51 {                         
281                 compatible = "nxp,pcf8563";       
282                 reg = <0x51>;                     
283                 interrupt-parent = <&r_intc>;     
284                 interrupts = <GIC_SPI 96 IRQ_T    
285                 #clock-cells = <0>;               
286         };                                        
287 };                                                
288                                                   
289 &r_ir {                                           
290         status = "okay";                          
291 };                                                
292                                                   
293 &r_pio {                                          
294         vcc-pm-supply = <&reg_aldo1>;             
295 };                                                
296                                                   
297 &rtc {                                            
298         clocks = <&ext_osc32k>;                   
299 };                                                
300                                                   
301 /*                                                
302  * The CS pin is shared with the MMC2 CMD pin,    
303  * flash and eMMC at the same time, as one of     
304  * Disable SPI0 in here, to prefer the more us    
305  * fix this up in no eMMC is connected.           
306  */                                               
307 &spi0 {                                           
308         pinctrl-0 = <&spi0_pins>, <&spi0_cs_pi    
309         pinctrl-names = "default";                
310         status = "disabled";                      
311                                                   
312         flash@0 {                                 
313                 compatible = "winbond,w25q128"    
314                 reg = <0>;                        
315                 spi-max-frequency = <4000000>;    
316         };                                        
317 };                                                
318                                                   
319 &uart0 {                                          
320         pinctrl-names = "default";                
321         pinctrl-0 = <&uart0_ph_pins>;             
322         status = "okay";                          
323 };                                                
324                                                   
325 &usb2otg {                                        
326         dr_mode = "host";                         
327         status = "okay";                          
328 };                                                
329                                                   
330 &usb2phy {                                        
331         usb0_vbus-supply = <&reg_usb_vbus>;       
332         usb3_vbus-supply = <&reg_usb_vbus>;       
333         status = "okay";                          
334 };                                                
                                                      

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