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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts (Version linux-6.11.5) and /arch/i386/boot/dts/allwinner/sun50i-a64-amarula-relic.dts (Version linux-4.12.14)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 // Copyright (C) 2018 Amarula Solutions B.V.      
  3 // Author: Jagan Teki <jagan@amarulasolutions.c    
  4                                                   
  5 /dts-v1/;                                         
  6                                                   
  7 #include "sun50i-a64.dtsi"                        
  8 #include "sun50i-a64-cpu-opp.dtsi"                
  9                                                   
 10 #include <dt-bindings/gpio/gpio.h>                
 11                                                   
 12 / {                                               
 13         model = "Amarula A64-Relic";              
 14         compatible = "amarula,a64-relic", "all    
 15                                                   
 16         aliases {                                 
 17                 serial0 = &uart0;                 
 18         };                                        
 19                                                   
 20         chosen {                                  
 21                 stdout-path = "serial0:115200n    
 22         };                                        
 23                                                   
 24         i2c {                                     
 25                 compatible = "i2c-gpio";          
 26                 sda-gpios = <&pio 4 13 GPIO_AC    
 27                 scl-gpios = <&pio 4 12 GPIO_AC    
 28                 i2c-gpio,delay-us = <5>;          
 29                 #address-cells = <1>;             
 30                 #size-cells = <0>;                
 31                                                   
 32                 ov5640: camera@3c {               
 33                         compatible = "ovti,ov5    
 34                         reg = <0x3c>;             
 35                         pinctrl-names = "defau    
 36                         pinctrl-0 = <&csi_mclk    
 37                         clocks = <&ccu CLK_CSI    
 38                         clock-names = "xclk";     
 39                                                   
 40                         AVDD-supply = <&reg_al    
 41                         DOVDD-supply = <&reg_d    
 42                         DVDD-supply = <&reg_el    
 43                         reset-gpios = <&pio 4     
 44                         powerdown-gpios = <&pi    
 45                                                   
 46                         port {                    
 47                                 ov5640_ep: end    
 48                                         remote    
 49                                         bus-wi    
 50                                         hsync-    
 51                                         vsync-    
 52                                         data-a    
 53                                         pclk-s    
 54                                 };                
 55                         };                        
 56                 };                                
 57         };                                        
 58                                                   
 59         wifi_pwrseq: wifi-pwrseq {                
 60                 compatible = "mmc-pwrseq-simpl    
 61                 clocks = <&rtc CLK_OSC32K_FANO    
 62                 clock-names = "ext_clock";        
 63                 reset-gpios = <&r_pio 0 2 GPIO    
 64         };                                        
 65 };                                                
 66                                                   
 67 &cpu0 {                                           
 68         cpu-supply = <&reg_dcdc2>;                
 69 };                                                
 70                                                   
 71 &cpu1 {                                           
 72         cpu-supply = <&reg_dcdc2>;                
 73 };                                                
 74                                                   
 75 &cpu2 {                                           
 76         cpu-supply = <&reg_dcdc2>;                
 77 };                                                
 78                                                   
 79 &cpu3 {                                           
 80         cpu-supply = <&reg_dcdc2>;                
 81 };                                                
 82                                                   
 83 &csi {                                            
 84         status = "okay";                          
 85                                                   
 86         port {                                    
 87                 csi_ep: endpoint {                
 88                         remote-endpoint = <&ov    
 89                         bus-width = <8>;          
 90                         hsync-active = <1>; /*    
 91                         vsync-active = <0>; /*    
 92                         data-active = <1>;  /*    
 93                         pclk-sample = <1>;  /*    
 94                 };                                
 95         };                                        
 96 };                                                
 97                                                   
 98 &ehci0 {                                          
 99         status = "okay";                          
100 };                                                
101                                                   
102 &i2c0 {                                           
103         status = "okay";                          
104                                                   
105         sensor@48 {                               
106                 compatible = "st,stlm75";         
107                 reg = <0x48>;                     
108         };                                        
109 };                                                
110                                                   
111 &i2c0_pins {                                      
112         bias-pull-up;                             
113 };                                                
114                                                   
115 &i2c1 {                                           
116         status = "okay";                          
117                                                   
118         touchscreen@5d {                          
119                 compatible = "goodix,gt5663";     
120                 reg = <0x5d>;                     
121                 AVDD28-supply = <&reg_ldo_io0>    
122                 interrupt-parent = <&pio>;        
123                 interrupts = <7 4 IRQ_TYPE_EDG    
124                 irq-gpios = <&pio 7 4 GPIO_ACT    
125                 reset-gpios = <&pio 7 8 GPIO_A    
126                 touchscreen-inverted-x;           
127                 touchscreen-inverted-y;           
128         };                                        
129 };                                                
130                                                   
131 &mmc1 {                                           
132         pinctrl-names = "default";                
133         pinctrl-0 = <&mmc1_pins>;                 
134         vmmc-supply = <&reg_dcdc1>;               
135         /*                                        
136          * Schematic shows both dldo4 and eldo    
137          * dldo4 connection shows DNP(Do Not P    
138          * 0Ohm register to vcc-io-wifi so eld    
139          */                                       
140         vqmmc-supply = <&reg_eldo1>;              
141         mmc-pwrseq = <&wifi_pwrseq>;              
142         bus-width = <4>;                          
143         non-removable;                            
144         status = "okay";                          
145                                                   
146         brcmf: wifi@1 {                           
147                 reg = <1>;                        
148                 compatible = "brcm,bcm4329-fma    
149                 interrupt-parent = <&r_pio>;      
150                 interrupts = <0 3 IRQ_TYPE_LEV    
151                 interrupt-names = "host-wake";    
152         };                                        
153 };                                                
154                                                   
155 &mmc2 {                                           
156         pinctrl-names = "default";                
157         pinctrl-0 = <&mmc2_pins>;                 
158         vmmc-supply = <&reg_dcdc1>;               
159         bus-width = <8>;                          
160         non-removable;                            
161         cap-mmc-hw-reset;                         
162         status = "okay";                          
163 };                                                
164                                                   
165 &ohci0 {                                          
166         status = "okay";                          
167 };                                                
168                                                   
169 &r_rsb {                                          
170         status = "okay";                          
171                                                   
172         axp803: pmic@3a3 {                        
173                 compatible = "x-powers,axp803"    
174                 reg = <0x3a3>;                    
175                 interrupt-parent = <&r_intc>;     
176                 interrupts = <GIC_SPI 32 IRQ_T    
177                 x-powers,drive-vbus-en; /* set    
178         };                                        
179 };                                                
180                                                   
181 #include "axp803.dtsi"                            
182                                                   
183 &reg_aldo1 {                                      
184         regulator-always-on;                      
185         regulator-min-microvolt = <2800000>;      
186         regulator-max-microvolt = <2800000>;      
187         regulator-name = "avdd-csi";              
188 };                                                
189                                                   
190 &reg_aldo2 {                                      
191         regulator-always-on;                      
192         regulator-min-microvolt = <1800000>;      
193         regulator-max-microvolt = <3300000>;      
194         regulator-name = "vcc-pl";                
195 };                                                
196                                                   
197 &reg_aldo3 {                                      
198         regulator-always-on;                      
199         regulator-min-microvolt = <3000000>;      
200         regulator-max-microvolt = <3000000>;      
201         regulator-name = "vcc-pll-avcc";          
202 };                                                
203                                                   
204 &reg_dcdc1 {                                      
205         regulator-always-on;                      
206         regulator-min-microvolt = <3300000>;      
207         regulator-max-microvolt = <3300000>;      
208         regulator-name = "vcc-3v3";               
209 };                                                
210                                                   
211 &reg_dcdc2 {                                      
212         regulator-always-on;                      
213         regulator-min-microvolt = <1040000>;      
214         regulator-max-microvolt = <1300000>;      
215         regulator-name = "vdd-cpux";              
216 };                                                
217                                                   
218 /* DCDC3 is polyphased with DCDC2 */              
219                                                   
220 &reg_dcdc5 {                                      
221         regulator-always-on;                      
222         regulator-min-microvolt = <1500000>;      
223         regulator-max-microvolt = <1500000>;      
224         regulator-name = "vcc-dram";              
225 };                                                
226                                                   
227 &reg_dcdc6 {                                      
228         regulator-always-on;                      
229         regulator-min-microvolt = <1100000>;      
230         regulator-max-microvolt = <1100000>;      
231         regulator-name = "vdd-sys";               
232 };                                                
233                                                   
234 &reg_dldo1 {                                      
235         regulator-min-microvolt = <3300000>;      
236         regulator-max-microvolt = <3300000>;      
237         regulator-name = "vcc-hdmi-dsi-sensor"    
238 };                                                
239                                                   
240 &reg_dldo2 {                                      
241         regulator-min-microvolt = <3300000>;      
242         regulator-max-microvolt = <3300000>;      
243         regulator-name = "vcc-mipi";              
244 };                                                
245                                                   
246 &reg_dldo3 {                                      
247         regulator-min-microvolt = <2800000>;      
248         regulator-max-microvolt = <2800000>;      
249         regulator-name = "dovdd-csi";             
250 };                                                
251                                                   
252 &reg_dldo4 {                                      
253         regulator-min-microvolt = <3300000>;      
254         regulator-max-microvolt = <3300000>;      
255         regulator-name = "vcc-wifi-io";           
256 };                                                
257                                                   
258 &reg_drivevbus {                                  
259         regulator-name = "usb0-vbus";             
260         status = "okay";                          
261 };                                                
262                                                   
263 &reg_eldo1 {                                      
264         regulator-always-on;                      
265         regulator-min-microvolt = <1800000>;      
266         regulator-max-microvolt = <1800000>;      
267         regulator-name = "cpvdd";                 
268 };                                                
269                                                   
270 &reg_eldo3 {                                      
271         regulator-min-microvolt = <1800000>;      
272         regulator-max-microvolt = <1800000>;      
273         regulator-name = "dvdd-csi";              
274 };                                                
275                                                   
276 &reg_fldo1 {                                      
277         regulator-min-microvolt = <1200000>;      
278         regulator-max-microvolt = <1200000>;      
279         regulator-name = "vcc-1v2-hsic";          
280 };                                                
281                                                   
282 /*                                                
283  * The A64 chip cannot work without this regul    
284  * it seems to be only driving the AR100 core.    
285  * Maybe we don't still know well about CPUs d    
286  */                                               
287 &reg_fldo2 {                                      
288         regulator-always-on;                      
289         regulator-min-microvolt = <1100000>;      
290         regulator-max-microvolt = <1100000>;      
291         regulator-name = "vdd-cpus";              
292 };                                                
293                                                   
294 &reg_ldo_io0 {                                    
295         regulator-min-microvolt = <2800000>;      
296         regulator-max-microvolt = <2800000>;      
297         regulator-name = "vcc-ctp";               
298         status = "okay";                          
299 };                                                
300                                                   
301 &reg_rtc_ldo {                                    
302         regulator-name = "vcc-rtc";               
303 };                                                
304                                                   
305 &uart0 {                                          
306         pinctrl-names = "default";                
307         pinctrl-0 = <&uart0_pb_pins>;             
308         status = "okay";                          
309 };                                                
310                                                   
311 &usb_otg {                                        
312         dr_mode = "otg";                          
313         status = "okay";                          
314 };                                                
315                                                   
316 &usbphy {                                         
317         usb0_id_det-gpios = <&pio 7 9 GPIO_ACT    
318         usb0_vbus-supply = <&reg_drivevbus>;      
319         status = "okay";                          
320 };                                                
                                                      

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