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

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


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * (C) Copyright 2020 Chen-Yu Tsai <wens@csie.o    
  4  *                                                
  5  * Based on ./rk3328-rock64.dts, which is         
  6  *                                                
  7  * Copyright (c) 2017 PINE64                      
  8  */                                               
  9                                                   
 10 /dts-v1/;                                         
 11                                                   
 12 #include <dt-bindings/gpio/gpio.h>                
 13 #include <dt-bindings/input/input.h>              
 14 #include <dt-bindings/leds/common.h>              
 15 #include <dt-bindings/pinctrl/rockchip.h>         
 16                                                   
 17 #include "rk3328.dtsi"                            
 18                                                   
 19 / {                                               
 20         model = "Radxa ROCK Pi E";                
 21         compatible = "radxa,rockpi-e", "rockch    
 22                                                   
 23         aliases {                                 
 24                 ethernet0 = &gmac2io;             
 25                 ethernet1 = &gmac2phy;            
 26                 mmc0 = &sdmmc;                    
 27                 mmc1 = &emmc;                     
 28         };                                        
 29                                                   
 30         chosen {                                  
 31                 stdout-path = "serial2:1500000    
 32         };                                        
 33                                                   
 34         adc-keys {                                
 35                 compatible = "adc-keys";          
 36                 io-channels = <&saradc 0>;        
 37                 io-channel-names = "buttons";     
 38                 keyup-threshold-microvolt = <1    
 39                                                   
 40                 /* This button is unpopulated     
 41                 button-recovery {                 
 42                         label = "Recovery";       
 43                         linux,code = <KEY_VEND    
 44                         press-threshold-microv    
 45                 };                                
 46         };                                        
 47                                                   
 48         gmac_clkin: external-gmac-clock {         
 49                 compatible = "fixed-clock";       
 50                 clock-frequency = <125000000>;    
 51                 clock-output-names = "gmac_clk    
 52                 #clock-cells = <0>;               
 53         };                                        
 54                                                   
 55         leds {                                    
 56                 compatible = "gpio-leds";         
 57                 pinctrl-0 = <&led_pin>;           
 58                 pinctrl-names = "default";        
 59                                                   
 60                 led-0 {                           
 61                         color = <LED_COLOR_ID_    
 62                         gpios = <&gpio3 RK_PA5    
 63                         linux,default-trigger     
 64                 };                                
 65         };                                        
 66                                                   
 67         vcc_sd: sdmmc-regulator {                 
 68                 compatible = "regulator-fixed"    
 69                 gpio = <&gpio0 RK_PD6 GPIO_ACT    
 70                 pinctrl-names = "default";        
 71                 pinctrl-0 = <&sdmmc0m1_pin>;      
 72                 regulator-name = "vcc_sd";        
 73                 regulator-boot-on;                
 74                 vin-supply = <&vcc_io>;           
 75         };                                        
 76                                                   
 77         vcc_host_5v: vcc-host-5v-regulator {      
 78                 compatible = "regulator-fixed"    
 79                 gpio = <&gpio3 RK_PA7 GPIO_ACT    
 80                 pinctrl-names = "default";        
 81                 pinctrl-0 = <&usb30_host_drv>;    
 82                 enable-active-high;               
 83                 regulator-name = "vcc_host_5v"    
 84                 regulator-always-on;              
 85                 regulator-boot-on;                
 86                 vin-supply = <&vcc_sys>;          
 87         };                                        
 88                                                   
 89         vcc_sys: vcc-sys {                        
 90                 compatible = "regulator-fixed"    
 91                 regulator-name = "vcc_sys";       
 92                 regulator-always-on;              
 93                 regulator-boot-on;                
 94                 regulator-min-microvolt = <500    
 95                 regulator-max-microvolt = <500    
 96         };                                        
 97                                                   
 98         vcc_wifi: vcc-wifi-regulator {            
 99                 compatible = "regulator-fixed"    
100                 gpio = <&gpio0 RK_PA0 GPIO_ACT    
101                 pinctrl-names = "default";        
102                 pinctrl-0 = <&wifi_en>;           
103                 regulator-name = "vcc_wifi";      
104                 regulator-always-on;              
105                 regulator-boot-on;                
106                 vin-supply = <&vcc_io>;           
107         };                                        
108 };                                                
109                                                   
110 &analog_sound {                                   
111         status = "okay";                          
112 };                                                
113                                                   
114 &codec {                                          
115         status = "okay";                          
116 };                                                
117                                                   
118 &cpu0 {                                           
119         cpu-supply = <&vdd_arm>;                  
120 };                                                
121                                                   
122 &cpu1 {                                           
123         cpu-supply = <&vdd_arm>;                  
124 };                                                
125                                                   
126 &cpu2 {                                           
127         cpu-supply = <&vdd_arm>;                  
128 };                                                
129                                                   
130 &cpu3 {                                           
131         cpu-supply = <&vdd_arm>;                  
132 };                                                
133                                                   
134 &emmc {                                           
135         bus-width = <8>;                          
136         cap-mmc-highspeed;                        
137         mmc-ddr-1_8v;                             
138         mmc-hs200-1_8v;                           
139         non-removable;                            
140         pinctrl-names = "default";                
141         pinctrl-0 = <&emmc_clk>, <&emmc_cmd>,     
142         vmmc-supply = <&vcc_io>;                  
143         vqmmc-supply = <&vcc18_emmc>;             
144         status = "okay";                          
145 };                                                
146                                                   
147 &gmac2io {                                        
148         assigned-clocks = <&cru SCLK_MAC2IO>,     
149         assigned-clock-parents = <&gmac_clkin>    
150         clock_in_out = "input";                   
151         phy-handle = <&rtl8211>;                  
152         phy-mode = "rgmii";                       
153         phy-supply = <&vcc_io>;                   
154         pinctrl-names = "default";                
155         pinctrl-0 = <&rgmiim1_pins>;              
156         snps,aal;                                 
157         snps,rxpbl = <0x4>;                       
158         snps,txpbl = <0x4>;                       
159         tx_delay = <0x26>;                        
160         rx_delay = <0x11>;                        
161         status = "okay";                          
162                                                   
163         mdio {                                    
164                 compatible = "snps,dwmac-mdio"    
165                 #address-cells = <1>;             
166                 #size-cells = <0>;                
167                                                   
168                 rtl8211: ethernet-phy@1 {         
169                         reg = <1>;                
170                         pinctrl-0 = <&eth_phy_    
171                         pinctrl-names = "defau    
172                         interrupt-parent = <&g    
173                         interrupts = <24 IRQ_T    
174                         reset-assert-us = <100    
175                         reset-deassert-us = <5    
176                         reset-gpios = <&gpio1     
177                 };                                
178         };                                        
179 };                                                
180                                                   
181 &gmac2phy {                                       
182         status = "okay";                          
183 };                                                
184                                                   
185 &gpio0 {                                          
186         gpio-line-names =                         
187                 /* GPIO0_A0 - A7 */               
188                 "", "", "", "", "", "", "", ""    
189                 /* GPIO0_B0 - B7 */               
190                 "", "", "", "", "", "", "", ""    
191                 /* GPIO0_C0 - C7 */               
192                 "", "", "", "", "", "", "", ""    
193                 /* GPIO0_D0 - D7 */               
194                 "", "", "", "pin-15 [GPIO0_D3]    
195 };                                                
196                                                   
197 &gpio1 {                                          
198         gpio-line-names =                         
199                 /* GPIO1_A0 - A7 */               
200                 "", "", "", "", "", "", "", ""    
201                 /* GPIO1_B0 - B7 */               
202                 "", "", "", "", "", "", "", ""    
203                 /* GPIO1_C0 - C7 */               
204                 "", "", "", "", "", "", "", ""    
205                 /* GPIO1_D0 - D7 */               
206                 "", "", "", "", "pin-07 [GPIO1    
207 };                                                
208                                                   
209 &gpio2 {                                          
210         gpio-line-names =                         
211                 /* GPIO2_A0 - A7 */               
212                 "pin-08 [GPIO2_A0]", "pin-10 [    
213                 "pin-13 [GPIO2-A3]", "pin-27 [    
214                 "pin-33 [GPIO2_A6]", "",          
215                 /* GPIO2_B0 - B7 */               
216                 "", "", "", "", "pin-26 [GPIO2    
217                 /* GPIO2_C0 - C7 */               
218                 "pin-32 [GPIO2_C0]", "pin-35 [    
219                 "pin-38 [GPIO2_C3]", "pin-29 [    
220                 "pin-37 [GPIO2_C6]", "pin-40 [    
221                 /* GPIO2_D0 - D7 */               
222                 "", "", "", "", "", "", "", ""    
223 };                                                
224                                                   
225 &gpio3 {                                          
226         gpio-line-names =                         
227                 /* GPIO3_A0 - A7 */               
228                 "pin-23 [GPIO3_A0]", "pin-19 [    
229                 "", "pin-03 [GPIO3_A4]", "", "    
230                 /* GPIO3_B0 - B7 */               
231                 "pin-24 [GPIO3_B0]", "", "", "    
232                 /* GPIO3_C0 - C7 */               
233                 "", "", "", "", "", "", "", ""    
234                 /* GPIO3_D0 - D7 */               
235                 "", "", "", "", "", "", "", ""    
236 };                                                
237                                                   
238 &i2c1 {                                           
239         status = "okay";                          
240                                                   
241         rk805: pmic@18 {                          
242                 compatible = "rockchip,rk805";    
243                 reg = <0x18>;                     
244                 interrupt-parent = <&gpio0>;      
245                 interrupts = <2 IRQ_TYPE_LEVEL    
246                 #clock-cells = <1>;               
247                 clock-output-names = "xin32k",    
248                 gpio-controller;                  
249                 #gpio-cells = <2>;                
250                 pinctrl-names = "default";        
251                 pinctrl-0 = <&pmic_int_l>;        
252                 rockchip,system-power-controll    
253                 wakeup-source;                    
254                                                   
255                 vcc1-supply = <&vcc_sys>;         
256                 vcc2-supply = <&vcc_sys>;         
257                 vcc3-supply = <&vcc_sys>;         
258                 vcc4-supply = <&vcc_sys>;         
259                 vcc5-supply = <&vcc_io>;          
260                 vcc6-supply = <&vcc_sys>;         
261                                                   
262                 regulators {                      
263                         vdd_log: DCDC_REG1 {      
264                                 regulator-name    
265                                 regulator-alwa    
266                                 regulator-boot    
267                                 regulator-min-    
268                                 regulator-max-    
269                                 regulator-ramp    
270                                                   
271                                 regulator-stat    
272                                         regula    
273                                         regula    
274                                 };                
275                         };                        
276                                                   
277                         vdd_arm: DCDC_REG2 {      
278                                 regulator-name    
279                                 regulator-alwa    
280                                 regulator-boot    
281                                 regulator-min-    
282                                 regulator-max-    
283                                 regulator-ramp    
284                                                   
285                                 regulator-stat    
286                                         regula    
287                                         regula    
288                                 };                
289                         };                        
290                                                   
291                         vcc_ddr: DCDC_REG3 {      
292                                 regulator-name    
293                                 regulator-alwa    
294                                 regulator-boot    
295                                                   
296                                 regulator-stat    
297                                         regula    
298                                 };                
299                         };                        
300                                                   
301                         vcc_io: DCDC_REG4 {       
302                                 regulator-name    
303                                 regulator-alwa    
304                                 regulator-boot    
305                                 regulator-min-    
306                                 regulator-max-    
307                                                   
308                                 regulator-stat    
309                                         regula    
310                                         regula    
311                                 };                
312                         };                        
313                                                   
314                         vcc_18: LDO_REG1 {        
315                                 regulator-name    
316                                 regulator-alwa    
317                                 regulator-boot    
318                                 regulator-min-    
319                                 regulator-max-    
320                                                   
321                                 regulator-stat    
322                                         regula    
323                                         regula    
324                                 };                
325                         };                        
326                                                   
327                         vcc18_emmc: LDO_REG2 {    
328                                 regulator-name    
329                                 regulator-alwa    
330                                 regulator-boot    
331                                 regulator-min-    
332                                 regulator-max-    
333                                                   
334                                 regulator-stat    
335                                         regula    
336                                         regula    
337                                 };                
338                         };                        
339                                                   
340                         vdd_10: LDO_REG3 {        
341                                 regulator-name    
342                                 regulator-alwa    
343                                 regulator-boot    
344                                 regulator-min-    
345                                 regulator-max-    
346                                                   
347                                 regulator-stat    
348                                         regula    
349                                         regula    
350                                 };                
351                         };                        
352                 };                                
353         };                                        
354 };                                                
355                                                   
356 &i2s1 {                                           
357         status = "okay";                          
358 };                                                
359                                                   
360 &io_domains {                                     
361         pmuio-supply = <&vcc_io>;                 
362         vccio1-supply = <&vcc_io>;                
363         vccio2-supply = <&vcc18_emmc>;            
364         vccio3-supply = <&vcc_io>;                
365         vccio4-supply = <&vcc_io>;                
366         vccio5-supply = <&vcc_io>;                
367         vccio6-supply = <&vcc_io>;                
368         status = "okay";                          
369 };                                                
370                                                   
371 &pinctrl {                                        
372         ephy {                                    
373                 eth_phy_int_pin: eth-phy-int-p    
374                         rockchip,pins = <1 RK_    
375                 };                                
376                                                   
377                 eth_phy_reset_pin: eth-phy-res    
378                         rockchip,pins = <1 RK_    
379                 };                                
380         };                                        
381                                                   
382         leds {                                    
383                 led_pin: led-pin {                
384                         rockchip,pins = <3 RK_    
385                 };                                
386         };                                        
387                                                   
388         pmic {                                    
389                 pmic_int_l: pmic-int-l {          
390                         rockchip,pins = <0 RK_    
391                 };                                
392         };                                        
393                                                   
394         usb3 {                                    
395                 usb30_host_drv: usb30-host-drv    
396                         rockchip,pins = <3 RK_    
397                 };                                
398         };                                        
399                                                   
400         wifi {                                    
401                 wifi_en: wifi-en {                
402                         rockchip,pins = <0 RK_    
403                 };                                
404         };                                        
405 };                                                
406                                                   
407 &sdmmc {                                          
408         bus-width = <4>;                          
409         cap-sd-highspeed;                         
410         disable-wp;                               
411         pinctrl-names = "default";                
412         pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cm    
413         vmmc-supply = <&vcc_sd>;                  
414         status = "okay";                          
415 };                                                
416                                                   
417 &saradc {                                         
418         vref-supply = <&vcc_18>;                  
419         status = "okay";                          
420 };                                                
421                                                   
422 &tsadc {                                          
423         status = "okay";                          
424 };                                                
425                                                   
426 &u2phy {                                          
427         status = "okay";                          
428 };                                                
429                                                   
430 &u2phy_host {                                     
431         status = "okay";                          
432 };                                                
433                                                   
434 &uart2 {                                          
435         status = "okay";                          
436 };                                                
437                                                   
438 &usbdrd3 {                                        
439         dr_mode = "host";                         
440         status = "okay";                          
441 };                                                
442                                                   
443 &usb_host0_ehci {                                 
444         status = "okay";                          
445 };                                                
                                                      

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