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

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


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2019 Akash Gajjar <akash@opene    
  4  * Copyright (c) 2019 Jagan Teki <jagan@openede    
  5  */                                               
  6                                                   
  7 /dts-v1/;                                         
  8                                                   
  9 #include <dt-bindings/leds/common.h>              
 10 #include "rk3308.dtsi"                            
 11                                                   
 12 / {                                               
 13         model = "Radxa ROCK Pi S";                
 14         compatible = "radxa,rockpis", "rockchi    
 15                                                   
 16         aliases {                                 
 17                 ethernet0 = &gmac;                
 18                 mmc0 = &emmc;                     
 19                 mmc1 = &sdmmc;                    
 20                 mmc2 = &sdio;                     
 21         };                                        
 22                                                   
 23         chosen {                                  
 24                 stdout-path = "serial0:1500000    
 25         };                                        
 26                                                   
 27         leds {                                    
 28                 compatible = "gpio-leds";         
 29                 pinctrl-names = "default";        
 30                 pinctrl-0 = <&green_led>, <&he    
 31                                                   
 32                 green-led {                       
 33                         color = <LED_COLOR_ID_    
 34                         default-state = "on";     
 35                         function = LED_FUNCTIO    
 36                         gpios = <&gpio0 RK_PA6    
 37                         label = "rockpis:green    
 38                         linux,default-trigger     
 39                 };                                
 40                                                   
 41                 blue-led {                        
 42                         color = <LED_COLOR_ID_    
 43                         default-state = "on";     
 44                         function = LED_FUNCTIO    
 45                         gpios = <&gpio0 RK_PA5    
 46                         label = "rockpis:blue:    
 47                         linux,default-trigger     
 48                 };                                
 49         };                                        
 50                                                   
 51         sdio_pwrseq: sdio-pwrseq {                
 52                 compatible = "mmc-pwrseq-simpl    
 53                 pinctrl-0 = <&wifi_enable_h>;     
 54                 pinctrl-names = "default";        
 55                 reset-gpios = <&gpio0 RK_PA2 G    
 56         };                                        
 57                                                   
 58         vcc_1v8: vcc-1v8 {                        
 59                 compatible = "regulator-fixed"    
 60                 regulator-name = "vcc_1v8";       
 61                 regulator-always-on;              
 62                 regulator-boot-on;                
 63                 regulator-min-microvolt = <180    
 64                 regulator-max-microvolt = <180    
 65                 vin-supply = <&vcc_io>;           
 66         };                                        
 67                                                   
 68         vcc_io: vcc-io {                          
 69                 compatible = "regulator-fixed"    
 70                 regulator-name = "vcc_io";        
 71                 regulator-always-on;              
 72                 regulator-boot-on;                
 73                 regulator-min-microvolt = <330    
 74                 regulator-max-microvolt = <330    
 75                 vin-supply = <&vcc5v0_sys>;       
 76         };                                        
 77                                                   
 78         vcc_ddr: vcc-ddr {                        
 79                 compatible = "regulator-fixed"    
 80                 regulator-name = "vcc_ddr";       
 81                 regulator-always-on;              
 82                 regulator-boot-on;                
 83                 regulator-min-microvolt = <150    
 84                 regulator-max-microvolt = <150    
 85                 vin-supply = <&vcc5v0_sys>;       
 86         };                                        
 87                                                   
 88         vcc5v0_otg: vcc5v0-otg {                  
 89                 compatible = "regulator-fixed"    
 90                 enable-active-high;               
 91                 gpio = <&gpio0 RK_PC5 GPIO_ACT    
 92                 pinctrl-names = "default";        
 93                 pinctrl-0 = <&otg_vbus_drv>;      
 94                 regulator-name = "vcc5v0_otg";    
 95                 regulator-always-on;              
 96                 vin-supply = <&vcc5v0_sys>;       
 97         };                                        
 98                                                   
 99         vcc5v0_sys: vcc5v0-sys {                  
100                 compatible = "regulator-fixed"    
101                 regulator-name = "vcc5v0_sys";    
102                 regulator-always-on;              
103                 regulator-boot-on;                
104                 regulator-min-microvolt = <500    
105                 regulator-max-microvolt = <500    
106         };                                        
107                                                   
108         vdd_core: vdd-core {                      
109                 compatible = "pwm-regulator";     
110                 pwms = <&pwm0 0 5000 1>;          
111                 pwm-supply = <&vcc5v0_sys>;       
112                 regulator-name = "vdd_core";      
113                 regulator-min-microvolt = <827    
114                 regulator-max-microvolt = <134    
115                 regulator-settling-time-up-us     
116                 regulator-always-on;              
117                 regulator-boot-on;                
118         };                                        
119                                                   
120         vdd_log: vdd-log {                        
121                 compatible = "regulator-fixed"    
122                 regulator-name = "vdd_log";       
123                 regulator-always-on;              
124                 regulator-boot-on;                
125                 regulator-min-microvolt = <105    
126                 regulator-max-microvolt = <105    
127                 vin-supply = <&vcc5v0_sys>;       
128         };                                        
129 };                                                
130                                                   
131 &cpu0 {                                           
132         cpu-supply = <&vdd_core>;                 
133 };                                                
134                                                   
135 &emmc {                                           
136         cap-mmc-highspeed;                        
137         cap-sd-highspeed;                         
138         no-sdio;                                  
139         non-removable;                            
140         pinctrl-names = "default";                
141         pinctrl-0 = <&emmc_bus8 &emmc_clk &emm    
142         vmmc-supply = <&vcc_io>;                  
143         status = "okay";                          
144 };                                                
145                                                   
146 &gmac {                                           
147         clock_in_out = "output";                  
148         phy-handle = <&rtl8201f>;                 
149         phy-supply = <&vcc_io>;                   
150         status = "okay";                          
151                                                   
152         mdio {                                    
153                 compatible = "snps,dwmac-mdio"    
154                 #address-cells = <1>;             
155                 #size-cells = <0>;                
156                                                   
157                 rtl8201f: ethernet-phy@1 {        
158                         compatible = "ethernet    
159                         reg = <1>;                
160                         pinctrl-names = "defau    
161                         pinctrl-0 = <&mac_rst>    
162                         reset-assert-us = <200    
163                         reset-deassert-us = <5    
164                         reset-gpios = <&gpio0     
165                 };                                
166         };                                        
167 };                                                
168                                                   
169 &gpio0 {                                          
170         gpio-line-names =                         
171                 /* GPIO0_A0 - A7 */               
172                 "", "", "", "", "", "", "", ""    
173                 /* GPIO0_B0 - B7 */               
174                 "", "", "", "header1-pin3 [GPI    
175                 "header1-pin5 [GPIO0_B4]", "",    
176                 "header1-pin11 [GPIO0_B7]",       
177                 /* GPIO0_C0 - C7 */               
178                 "header1-pin13 [GPIO0_C0]",       
179                 "header1-pin15 [GPIO0_C1]", ""    
180                 "", "", "",                       
181                 /* GPIO0_D0 - D7 */               
182                 "", "", "", "", "", "", "", ""    
183 };                                                
184                                                   
185 &gpio1 {                                          
186         gpio-line-names =                         
187                 /* GPIO1_A0 - A7 */               
188                 "", "", "", "", "", "", "", ""    
189                 /* GPIO1_B0 - B7 */               
190                 "", "", "", "", "", "", "", ""    
191                 /* GPIO1_C0 - C7 */               
192                 "", "", "", "", "", "", "heade    
193                 "header1-pin19 [GPIO1_C7]",       
194                 /* GPIO1_D0 - D7 */               
195                 "header1-pin23 [GPIO1_D0]", "h    
196                 "", "", "", "", "", "";           
197 };                                                
198                                                   
199 &gpio2 {                                          
200         gpio-line-names =                         
201                 /* GPIO2_A0 - A7 */               
202                 "header1-pin10 [GPIO2_A0]", "h    
203                 "", "",                           
204                 "header1-pin7 [GPIO2_A4]", "he    
205                 "header2-pin46 [GPIO2_A6]", "h    
206                 /* GPIO2_B0 - B7 */               
207                 "header2-pin45 [GPIO2_B0]", "h    
208                 "header1-pin16 [GPIO2_B2]", "h    
209                 "header2-pin43 [GPIO2_B4]", "h    
210                 "header2-pin30 [GPIO2_B6]", "h    
211                 /* GPIO2_C0 - C7 */               
212                 "header2-pin34 [GPIO2_C0]", ""    
213                 /* GPIO2_D0 - D7 */               
214                 "", "", "", "", "", "", "", ""    
215 };                                                
216                                                   
217 &gpio3 {                                          
218         gpio-line-names =                         
219                 /* GPIO3_A0 - A7 */               
220                 "", "", "", "", "", "", "", ""    
221                 /* GPIO3_B0 - B7 */               
222                 "", "", "header2-pin42 [GPIO3_    
223                 "header2-pin41 [GPIO3_B3]", "h    
224                 "header2-pin39 [GPIO3_B5]", ""    
225                 /* GPIO3_C0 - C7 */               
226                 "", "", "", "", "", "", "", ""    
227                 /* GPIO3_D0 - D7 */               
228                 "", "", "", "", "", "", "", ""    
229 };                                                
230                                                   
231 &i2c1 {                                           
232         status = "okay";                          
233 };                                                
234                                                   
235 &io_domains {                                     
236         vccio0-supply = <&vcc_io>;                
237         vccio1-supply = <&vcc_io>;                
238         vccio2-supply = <&vcc_io>;                
239         vccio3-supply = <&vcc_io>;                
240         vccio4-supply = <&vcc_1v8>;               
241         vccio5-supply = <&vcc_io>;                
242         status = "okay";                          
243 };                                                
244                                                   
245 &pinctrl {                                        
246         pinctrl-names = "default";                
247         pinctrl-0 = <&rtc_32k>;                   
248                                                   
249         bluetooth {                               
250                 bt_reg_on: bt-reg-on {            
251                         rockchip,pins = <4 RK_    
252                 };                                
253                                                   
254                 bt_wake_host: bt-wake-host {      
255                         rockchip,pins = <4 RK_    
256                 };                                
257                                                   
258                 host_wake_bt: host-wake-bt {      
259                         rockchip,pins = <4 RK_    
260                 };                                
261         };                                        
262                                                   
263         gmac {                                    
264                 mac_rst: mac-rst {                
265                         rockchip,pins = <0 RK_    
266                 };                                
267         };                                        
268                                                   
269         leds {                                    
270                 green_led: green-led {            
271                         rockchip,pins = <0 RK_    
272                 };                                
273                                                   
274                 heartbeat_led: heartbeat-led {    
275                         rockchip,pins = <0 RK_    
276                 };                                
277         };                                        
278                                                   
279         usb {                                     
280                 otg_vbus_drv: otg-vbus-drv {      
281                         rockchip,pins = <0 RK_    
282                 };                                
283         };                                        
284                                                   
285         sdio-pwrseq {                             
286                 wifi_enable_h: wifi-enable-h {    
287                         rockchip,pins = <0 RK_    
288                 };                                
289                                                   
290                 wifi_host_wake: wifi-host-wake    
291                         rockchip,pins = <0 RK_    
292                 };                                
293         };                                        
294 };                                                
295                                                   
296 &pwm0 {                                           
297         status = "okay";                          
298         pinctrl-0 = <&pwm0_pin_pull_down>;        
299 };                                                
300                                                   
301 &saradc {                                         
302         vref-supply = <&vcc_1v8>;                 
303         status = "okay";                          
304 };                                                
305                                                   
306 &sdio {                                           
307         #address-cells = <1>;                     
308         #size-cells = <0>;                        
309         cap-sd-highspeed;                         
310         cap-sdio-irq;                             
311         keep-power-in-suspend;                    
312         max-frequency = <100000000>;              
313         mmc-pwrseq = <&sdio_pwrseq>;              
314         no-mmc;                                   
315         no-sd;                                    
316         non-removable;                            
317         sd-uhs-sdr50;                             
318         vmmc-supply = <&vcc_io>;                  
319         vqmmc-supply = <&vcc_1v8>;                
320         status = "okay";                          
321                                                   
322         rtl8723ds: wifi@1 {                       
323                 reg = <1>;                        
324                 interrupt-parent = <&gpio0>;      
325                 interrupts = <RK_PA0 IRQ_TYPE_    
326                 interrupt-names = "host-wake";    
327                 pinctrl-names = "default";        
328                 pinctrl-0 = <&wifi_host_wake>;    
329         };                                        
330 };                                                
331                                                   
332 &sdmmc {                                          
333         cap-mmc-highspeed;                        
334         cap-sd-highspeed;                         
335         disable-wp;                               
336         vmmc-supply = <&vcc_io>;                  
337         status = "okay";                          
338 };                                                
339                                                   
340 &u2phy {                                          
341         status = "okay";                          
342                                                   
343         u2phy_host: host-port {                   
344                 phy-supply = <&vcc5v0_otg>;       
345                 status = "okay";                  
346         };                                        
347                                                   
348         u2phy_otg: otg-port {                     
349                 phy-supply = <&vcc5v0_otg>;       
350                 status = "okay";                  
351         };                                        
352 };                                                
353                                                   
354 &uart0 {                                          
355         pinctrl-names = "default";                
356         pinctrl-0 = <&uart0_xfer>;                
357         status = "okay";                          
358 };                                                
359                                                   
360 &uart4 {                                          
361         uart-has-rtscts;                          
362         status = "okay";                          
363                                                   
364         bluetooth {                               
365                 compatible = "realtek,rtl8723d    
366                 device-wake-gpios = <&gpio4 RK    
367                 enable-gpios = <&gpio4 RK_PB3     
368                 host-wake-gpios = <&gpio4 RK_P    
369                 pinctrl-names = "default";        
370                 pinctrl-0 = <&bt_reg_on &bt_wa    
371         };                                        
372 };                                                
373                                                   
374 &usb_host_ehci {                                  
375         status = "okay";                          
376 };                                                
377                                                   
378 &usb_host_ohci {                                  
379         status = "okay";                          
380 };                                                
381                                                   
382 &usb20_otg {                                      
383         dr_mode = "peripheral";                   
384         status = "okay";                          
385 };                                                
386                                                   
387 &wdt {                                            
388         status = "okay";                          
389 };                                                
                                                      

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