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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.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/rockchip/rk3328-roc-cc.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/rockchip/rk3328-roc-cc.dts (Version linux-5.16.20)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2017 T-Chip Intelligent Techn    
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7 #include "rk3328.dtsi"                            
  8                                                   
  9 / {                                               
 10         model = "Firefly roc-rk3328-cc";          
 11         compatible = "firefly,roc-rk3328-cc",     
 12                                                   
 13         aliases {                                 
 14                 ethernet0 = &gmac2io;             
 15                 mmc0 = &sdmmc;                    
 16                 mmc1 = &emmc;                     
 17         };                                        
 18                                                   
 19         chosen {                                  
 20                 stdout-path = "serial2:1500000    
 21         };                                        
 22                                                   
 23         gmac_clkin: external-gmac-clock {         
 24                 compatible = "fixed-clock";       
 25                 clock-frequency = <125000000>;    
 26                 clock-output-names = "gmac_clk    
 27                 #clock-cells = <0>;               
 28         };                                        
 29                                                   
 30         dc_12v: dc-12v {                          
 31                 compatible = "regulator-fixed"    
 32                 regulator-name = "dc_12v";        
 33                 regulator-always-on;              
 34                 regulator-boot-on;                
 35                 regulator-min-microvolt = <120    
 36                 regulator-max-microvolt = <120    
 37         };                                        
 38                                                   
 39         vcc_sd: sdmmc-regulator {                 
 40                 compatible = "regulator-fixed"    
 41                 gpio = <&gpio0 RK_PD6 GPIO_ACT    
 42                 pinctrl-names = "default";        
 43                 pinctrl-0 = <&sdmmc0m1_pin>;      
 44                 regulator-boot-on;                
 45                 regulator-name = "vcc_sd";        
 46                 regulator-min-microvolt = <330    
 47                 regulator-max-microvolt = <330    
 48                 vin-supply = <&vcc_io>;           
 49         };                                        
 50                                                   
 51         vcc_sdio: sdmmcio-regulator {             
 52                 compatible = "regulator-gpio";    
 53                 gpios = <&grf_gpio 0 GPIO_ACTI    
 54                 states = <1800000 0x1>,           
 55                          <3300000 0x0>;           
 56                 regulator-name = "vcc_sdio";      
 57                 regulator-type = "voltage";       
 58                 regulator-min-microvolt = <180    
 59                 regulator-max-microvolt = <330    
 60                 regulator-always-on;              
 61                 vin-supply = <&vcc_sys>;          
 62         };                                        
 63                                                   
 64         vcc_host1_5v: vcc_otg_5v: vcc-host1-5v    
 65                 compatible = "regulator-fixed"    
 66                 enable-active-high;               
 67                 gpio = <&gpio1 RK_PD2 GPIO_ACT    
 68                 pinctrl-names = "default";        
 69                 pinctrl-0 = <&usb20_host_drv>;    
 70                 regulator-name = "vcc_host1_5v    
 71                 regulator-always-on;              
 72                 vin-supply = <&vcc_sys>;          
 73         };                                        
 74                                                   
 75         vcc_sys: vcc-sys {                        
 76                 compatible = "regulator-fixed"    
 77                 regulator-name = "vcc_sys";       
 78                 regulator-always-on;              
 79                 regulator-boot-on;                
 80                 regulator-min-microvolt = <500    
 81                 regulator-max-microvolt = <500    
 82                 vin-supply = <&dc_12v>;           
 83         };                                        
 84                                                   
 85         vcc_phy: vcc-phy-regulator {              
 86                 compatible = "regulator-fixed"    
 87                 regulator-name = "vcc_phy";       
 88                 regulator-always-on;              
 89                 regulator-boot-on;                
 90         };                                        
 91                                                   
 92         leds {                                    
 93                 compatible = "gpio-leds";         
 94                                                   
 95                 power_led: led-0 {                
 96                         label = "firefly:blue:    
 97                         linux,default-trigger     
 98                         gpios = <&rk805 1 GPIO    
 99                         default-state = "on";     
100                 };                                
101                                                   
102                 user_led: led-1 {                 
103                         label = "firefly:yello    
104                         linux,default-trigger     
105                         gpios = <&rk805 0 GPIO    
106                         default-state = "off";    
107                 };                                
108         };                                        
109 };                                                
110                                                   
111 &analog_sound {                                   
112         status = "okay";                          
113 };                                                
114                                                   
115 &codec {                                          
116         status = "okay";                          
117 };                                                
118                                                   
119 &cpu0 {                                           
120         cpu-supply = <&vdd_arm>;                  
121 };                                                
122                                                   
123 &cpu1 {                                           
124         cpu-supply = <&vdd_arm>;                  
125 };                                                
126                                                   
127 &cpu2 {                                           
128         cpu-supply = <&vdd_arm>;                  
129 };                                                
130                                                   
131 &cpu3 {                                           
132         cpu-supply = <&vdd_arm>;                  
133 };                                                
134                                                   
135 &emmc {                                           
136         bus-width = <8>;                          
137         cap-mmc-highspeed;                        
138         max-frequency = <150000000>;              
139         mmc-ddr-1_8v;                             
140         mmc-hs200-1_8v;                           
141         non-removable;                            
142         pinctrl-names = "default";                
143         pinctrl-0 = <&emmc_clk &emmc_cmd &emmc    
144         vmmc-supply = <&vcc_io>;                  
145         vqmmc-supply = <&vcc18_emmc>;             
146         status = "okay";                          
147 };                                                
148                                                   
149 &gmac2io {                                        
150         assigned-clocks = <&cru SCLK_MAC2IO>,     
151         assigned-clock-parents = <&gmac_clkin>    
152         clock_in_out = "input";                   
153         phy-supply = <&vcc_phy>;                  
154         phy-mode = "rgmii";                       
155         pinctrl-names = "default";                
156         pinctrl-0 = <&rgmiim1_pins>;              
157         snps,aal;                                 
158         snps,reset-gpio = <&gpio1 RK_PC2 GPIO_    
159         snps,reset-active-low;                    
160         snps,reset-delays-us = <0 10000 50000>    
161         snps,rxpbl = <0x4>;                       
162         snps,txpbl = <0x4>;                       
163         tx_delay = <0x24>;                        
164         rx_delay = <0x18>;                        
165         status = "okay";                          
166 };                                                
167                                                   
168 &hdmi {                                           
169         status = "okay";                          
170 };                                                
171                                                   
172 &hdmiphy {                                        
173         status = "okay";                          
174 };                                                
175                                                   
176 &hdmi_sound {                                     
177         status = "okay";                          
178 };                                                
179                                                   
180 &i2c1 {                                           
181         status = "okay";                          
182                                                   
183         rk805: pmic@18 {                          
184                 compatible = "rockchip,rk805";    
185                 reg = <0x18>;                     
186                 interrupt-parent = <&gpio1>;      
187                 interrupts = <24 IRQ_TYPE_LEVE    
188                 #clock-cells = <1>;               
189                 clock-output-names = "xin32k",    
190                 gpio-controller;                  
191                 #gpio-cells = <2>;                
192                 pinctrl-names = "default";        
193                 pinctrl-0 = <&pmic_int_l>;        
194                 rockchip,system-power-controll    
195                 wakeup-source;                    
196                                                   
197                 vcc1-supply = <&vcc_sys>;         
198                 vcc2-supply = <&vcc_sys>;         
199                 vcc3-supply = <&vcc_sys>;         
200                 vcc4-supply = <&vcc_sys>;         
201                 vcc5-supply = <&vcc_io>;          
202                 vcc6-supply = <&vcc_io>;          
203                                                   
204                 regulators {                      
205                         vdd_logic: DCDC_REG1 {    
206                                 regulator-name    
207                                 regulator-min-    
208                                 regulator-max-    
209                                 regulator-alwa    
210                                 regulator-boot    
211                                 regulator-stat    
212                                         regula    
213                                         regula    
214                                 };                
215                         };                        
216                                                   
217                         vdd_arm: DCDC_REG2 {      
218                                 regulator-name    
219                                 regulator-min-    
220                                 regulator-max-    
221                                 regulator-alwa    
222                                 regulator-boot    
223                                 regulator-stat    
224                                         regula    
225                                         regula    
226                                 };                
227                         };                        
228                                                   
229                         vcc_ddr: DCDC_REG3 {      
230                                 regulator-name    
231                                 regulator-alwa    
232                                 regulator-boot    
233                                 regulator-stat    
234                                         regula    
235                                 };                
236                         };                        
237                                                   
238                         vcc_io: DCDC_REG4 {       
239                                 regulator-name    
240                                 regulator-min-    
241                                 regulator-max-    
242                                 regulator-alwa    
243                                 regulator-boot    
244                                 regulator-stat    
245                                         regula    
246                                         regula    
247                                 };                
248                         };                        
249                                                   
250                         vcc_18: LDO_REG1 {        
251                                 regulator-name    
252                                 regulator-min-    
253                                 regulator-max-    
254                                 regulator-alwa    
255                                 regulator-boot    
256                                 regulator-stat    
257                                         regula    
258                                         regula    
259                                 };                
260                         };                        
261                                                   
262                         vcc18_emmc: LDO_REG2 {    
263                                 regulator-name    
264                                 regulator-min-    
265                                 regulator-max-    
266                                 regulator-alwa    
267                                 regulator-boot    
268                                 regulator-stat    
269                                         regula    
270                                         regula    
271                                 };                
272                         };                        
273                                                   
274                         vdd_10: LDO_REG3 {        
275                                 regulator-name    
276                                 regulator-min-    
277                                 regulator-max-    
278                                 regulator-alwa    
279                                 regulator-boot    
280                                 regulator-stat    
281                                         regula    
282                                         regula    
283                                 };                
284                         };                        
285                 };                                
286         };                                        
287 };                                                
288                                                   
289 &i2s0 {                                           
290         status = "okay";                          
291 };                                                
292                                                   
293 &i2s1 {                                           
294         status = "okay";                          
295 };                                                
296                                                   
297 &io_domains {                                     
298         status = "okay";                          
299                                                   
300         vccio1-supply = <&vcc_io>;                
301         vccio2-supply = <&vcc18_emmc>;            
302         vccio3-supply = <&vcc_sdio>;              
303         vccio4-supply = <&vcc_18>;                
304         vccio5-supply = <&vcc_io>;                
305         vccio6-supply = <&vcc_io>;                
306         pmuio-supply = <&vcc_io>;                 
307 };                                                
308                                                   
309 &pinctrl {                                        
310         pmic {                                    
311                 pmic_int_l: pmic-int-l {          
312                         rockchip,pins = <1 RK_    
313                 };                                
314         };                                        
315                                                   
316         usb2 {                                    
317                 usb20_host_drv: usb20-host-drv    
318                         rockchip,pins = <1 RK_    
319                 };                                
320         };                                        
321 };                                                
322                                                   
323 &sdmmc {                                          
324         bus-width = <4>;                          
325         cap-mmc-highspeed;                        
326         cap-sd-highspeed;                         
327         disable-wp;                               
328         max-frequency = <150000000>;              
329         pinctrl-names = "default";                
330         pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &    
331         sd-uhs-sdr12;                             
332         sd-uhs-sdr25;                             
333         sd-uhs-sdr50;                             
334         sd-uhs-sdr104;                            
335         vmmc-supply = <&vcc_sd>;                  
336         vqmmc-supply = <&vcc_sdio>;               
337         status = "okay";                          
338 };                                                
339                                                   
340 &tsadc {                                          
341         status = "okay";                          
342 };                                                
343                                                   
344 &u2phy {                                          
345         status = "okay";                          
346 };                                                
347                                                   
348 &u2phy_host {                                     
349         status = "okay";                          
350 };                                                
351                                                   
352 &u2phy_otg {                                      
353         status = "okay";                          
354 };                                                
355                                                   
356 &uart2 {                                          
357         status = "okay";                          
358 };                                                
359                                                   
360 &usb20_otg {                                      
361         dr_mode = "host";                         
362         status = "okay";                          
363 };                                                
364                                                   
365 &usbdrd3 {                                        
366         dr_mode = "host";                         
367         status = "okay";                          
368 };                                                
369                                                   
370 &usb_host0_ehci {                                 
371         status = "okay";                          
372 };                                                
373                                                   
374 &usb_host0_ohci {                                 
375         status = "okay";                          
376 };                                                
377                                                   
378 &vop {                                            
379         status = "okay";                          
380 };                                                
381                                                   
382 &vop_mmu {                                        
383         status = "okay";                          
384 };                                                
                                                      

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