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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/rockchip/rk3568-mecsbc.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/rk3568-mecsbc.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/rockchip/rk3568-mecsbc.dts (Version linux-5.1.21)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2                                                   
  3 /dts-v1/;                                         
  4 #include <dt-bindings/gpio/gpio.h>                
  5 #include <dt-bindings/leds/common.h>              
  6 #include <dt-bindings/pinctrl/rockchip.h>         
  7 #include <dt-bindings/pwm/pwm.h>                  
  8 #include "rk3568.dtsi"                            
  9                                                   
 10 / {                                               
 11         model = "Protonic MECSBC";                
 12         compatible = "prt,mecsbc", "rockchip,r    
 13                                                   
 14         aliases {                                 
 15                 mmc0 = &sdhci;                    
 16                 mmc1 = &sdmmc0;                   
 17         };                                        
 18                                                   
 19         chosen: chosen {                          
 20                 stdout-path = "serial2:1500000    
 21         };                                        
 22                                                   
 23         tas2562-sound {                           
 24                 compatible = "simple-audio-car    
 25                 simple-audio-card,format = "i2    
 26                 simple-audio-card,name = "Spea    
 27                 simple-audio-card,mclk-fs = <2    
 28                                                   
 29                 simple-audio-card,cpu {           
 30                         sound-dai = <&i2s1_8ch    
 31                 };                                
 32                                                   
 33                 simple-audio-card,codec {         
 34                         sound-dai = <&tas2562>    
 35                 };                                
 36         };                                        
 37                                                   
 38         vdd_gpu: regulator-vdd-gpu {              
 39                 compatible = "pwm-regulator";     
 40                 pwms = <&pwm1 0 5000 PWM_POLAR    
 41                 regulator-name = "vdd_gpu";       
 42                 regulator-min-microvolt = <915    
 43                 regulator-max-microvolt = <100    
 44                 regulator-always-on;              
 45                 regulator-boot-on;                
 46                 regulator-settling-time-up-us     
 47                 pwm-dutycycle-range = <0 100>;    
 48         };                                        
 49                                                   
 50         p3v3: regulator-p3v3 {                    
 51                 compatible = "regulator-fixed"    
 52                 regulator-name = "p3v3";          
 53                 regulator-always-on;              
 54                 regulator-boot-on;                
 55                 regulator-min-microvolt = <330    
 56                 regulator-max-microvolt = <330    
 57         };                                        
 58                                                   
 59         p1v8: regulator-p1v8 {                    
 60                 compatible = "regulator-fixed"    
 61                 regulator-name = "p1v8";          
 62                 regulator-always-on;              
 63                 regulator-boot-on;                
 64                 regulator-min-microvolt = <180    
 65                 regulator-max-microvolt = <180    
 66         };                                        
 67                                                   
 68         vcc_sd: regulator-sd {                    
 69                 compatible = "regulator-gpio";    
 70                 enable-gpios = <&gpio0 RK_PA5     
 71                 enable-active-high;               
 72                 gpios = <&gpio0 RK_PA6 GPIO_AC    
 73                 regulator-name = "sdcard-gpio-    
 74                 regulator-min-microvolt = <180    
 75                 regulator-max-microvolt = <330    
 76                 states = <1800000 0x1>, <33000    
 77         };                                        
 78                                                   
 79         vdd_npu: regulator-vdd-npu {              
 80                 compatible = "pwm-regulator";     
 81                 pwms = <&pwm2 0 5000 PWM_POLAR    
 82                 regulator-name = "vdd_npu";       
 83                 regulator-min-microvolt = <915    
 84                 regulator-max-microvolt = <100    
 85                 regulator-always-on;              
 86                 regulator-boot-on;                
 87                 regulator-settling-time-up-us     
 88                 pwm-dutycycle-range = <0 100>;    
 89         };                                        
 90 };                                                
 91                                                   
 92 &can0 {                                           
 93         compatible = "rockchip,rk3568v3-canfd"    
 94         pinctrl-names = "default";                
 95         pinctrl-0 = <&can0m0_pins>;               
 96         status = "okay";                          
 97 };                                                
 98                                                   
 99 &can1 {                                           
100         compatible = "rockchip,rk3568v3-canfd"    
101         pinctrl-names = "default";                
102         pinctrl-0 = <&can1m1_pins>;               
103         status = "okay";                          
104 };                                                
105                                                   
106 &combphy0 {                                       
107         status = "okay";                          
108 };                                                
109                                                   
110 &combphy1 {                                       
111         status = "okay";                          
112 };                                                
113                                                   
114 &combphy2 {                                       
115         status = "okay";                          
116 };                                                
117                                                   
118 &cpu0 {                                           
119         cpu-supply = <&vdd_cpu>;                  
120 };                                                
121                                                   
122 &cpu1 {                                           
123         cpu-supply = <&vdd_cpu>;                  
124 };                                                
125                                                   
126 &cpu2 {                                           
127         cpu-supply = <&vdd_cpu>;                  
128 };                                                
129                                                   
130 &cpu3 {                                           
131         cpu-supply = <&vdd_cpu>;                  
132 };                                                
133                                                   
134 &gmac1 {                                          
135         assigned-clocks = <&cru SCLK_GMAC1_RX_    
136         assigned-clock-parents = <&cru SCLK_GM    
137         phy-handle = <&rgmii_phy1>;               
138         phy-mode = "rgmii-id";                    
139         clock_in_out = "output";                  
140         pinctrl-names = "default";                
141         pinctrl-0 = <&gmac1m1_miim                
142                      &gmac1m1_tx_bus2             
143                      &gmac1m1_rx_bus2             
144                      &gmac1m1_rgmii_clk           
145                      &gmac1m1_clkinout            
146                      &gmac1m1_rgmii_bus>;         
147         status = "okay";                          
148 };                                                
149                                                   
150 &gpu {                                            
151         mali-supply = <&vdd_gpu>;                 
152         status = "okay";                          
153 };                                                
154                                                   
155 &gpu_opp_table {                                  
156         compatible = "operating-points-v2";       
157                                                   
158         opp-200000000 {                           
159                 opp-hz = /bits/ 64 <200000000>    
160                 opp-microvolt = <915000>;         
161         };                                        
162                                                   
163         opp-300000000 {                           
164                 opp-hz = /bits/ 64 <300000000>    
165                 opp-microvolt = <915000>;         
166         };                                        
167                                                   
168         opp-400000000 {                           
169                 opp-hz = /bits/ 64 <400000000>    
170                 opp-microvolt = <915000>;         
171         };                                        
172                                                   
173         opp-600000000 {                           
174                 opp-hz = /bits/ 64 <600000000>    
175                 opp-microvolt = <920000>;         
176         };                                        
177                                                   
178         opp-700000000 {                           
179                 opp-hz = /bits/ 64 <700000000>    
180                 opp-microvolt = <950000>;         
181         };                                        
182                                                   
183         opp-800000000 {                           
184                 opp-hz = /bits/ 64 <800000000>    
185                 opp-microvolt = <1000000>;        
186         };                                        
187 };                                                
188                                                   
189 &i2c0 {                                           
190         status = "okay";                          
191                                                   
192         vdd_cpu: regulator@60 {                   
193                 compatible = "fcs,fan53555";      
194                 reg = <0x60>;                     
195                 fcs,suspend-voltage-selector =    
196                 regulator-name = "vdd_cpu";       
197                 regulator-always-on;              
198                 regulator-boot-on;                
199                 regulator-min-microvolt = <800    
200                 regulator-max-microvolt = <115    
201                 regulator-ramp-delay = <2300>;    
202                                                   
203                 regulator-state-mem {             
204                         regulator-off-in-suspe    
205                 };                                
206         };                                        
207 };                                                
208                                                   
209 &i2c2 {                                           
210         status = "okay";                          
211         pinctrl-names = "default";                
212         pinctrl-0 = <&i2c2m0_xfer>;               
213 };                                                
214                                                   
215 &i2c3 {                                           
216         pinctrl-names = "default";                
217         pinctrl-0 = <&i2c3m0_xfer>;               
218         status = "okay";                          
219                                                   
220         tas2562: amplifier@4c {                   
221                 compatible = "ti,tas2562";        
222                 reg = <0x4c>;                     
223                 #sound-dai-cells = <0>;           
224                 shutdown-gpios = <&gpio1 RK_PD    
225                 interrupt-parent = <&gpio1>;      
226                 pinctrl-names = "default";        
227                 pinctrl-0 = <&pinctrl_tas2562>    
228                 interrupts = <RK_PD1 IRQ_TYPE_    
229                 ti,imon-slot-no = <0>;            
230         };                                        
231 };                                                
232                                                   
233 &i2c5 {                                           
234         status = "okay";                          
235                                                   
236         temperature-sensor@48 {                   
237                 compatible = "ti,tmp1075";        
238                 reg = <0x48>;                     
239         };                                        
240                                                   
241         rtc@51 {                                  
242                 compatible = "nxp,pcf85363";      
243                 reg = <0x51>;                     
244                 #clock-cells = <0>;               
245                 clock-output-names = "rtcic_32    
246         };                                        
247 };                                                
248                                                   
249 &i2s1_8ch {                                       
250         pinctrl-names = "default";                
251         pinctrl-0 = <&i2s1m0_sclktx &i2s1m0_lr    
252         rockchip,trcm-sync-tx-only;               
253         status = "okay";                          
254 };                                                
255                                                   
256 &mdio1 {                                          
257         rgmii_phy1: ethernet-phy@2 {              
258                 compatible = "ethernet-phy-iee    
259                 reg = <0x2>;                      
260                 pinctrl-names = "default";        
261                 pinctrl-0 = <&eth_phy1_rst>;      
262                 reset-assert-us = <20000>;        
263                 reset-deassert-us = <100000>;     
264                 reset-gpios = <&gpio4 RK_PB3 G    
265         };                                        
266 };                                                
267                                                   
268 &pcie2x1 {                                        
269         pinctrl-names = "default";                
270         pinctrl-0 = <&pcie20m1_pins>;             
271         reset-gpios = <&gpio3 RK_PC1 GPIO_ACTI    
272         status = "okay";                          
273 };                                                
274                                                   
275 &pcie30phy {                                      
276         status = "okay";                          
277 };                                                
278                                                   
279 &pcie3x2 {                                        
280         pinctrl-names = "default";                
281         pinctrl-0 = <&pcie30x2m1_pins>;           
282         reset-gpios = <&gpio2 RK_PD6 GPIO_ACTI    
283         vpcie3v3-supply = <&p3v3>;                
284         status = "okay";                          
285 };                                                
286                                                   
287 &pinctrl {                                        
288         ethernet {                                
289                 eth_phy1_rst: eth-phy1-rst {      
290                         rockchip,pins = <4 RK_    
291                 };                                
292         };                                        
293                                                   
294         tas2562 {                                 
295                 pinctrl_tas2562: tas2562 {        
296                         rockchip,pins = <1 RK_    
297                 };                                
298         };                                        
299 };                                                
300                                                   
301 &pmu_io_domains {                                 
302         pmuio1-supply = <&p3v3>;                  
303         pmuio2-supply = <&p3v3>;                  
304         vccio1-supply = <&p1v8>;                  
305         vccio2-supply = <&p1v8>;                  
306         vccio3-supply = <&vcc_sd>;                
307         vccio4-supply = <&p1v8>;                  
308         vccio5-supply = <&p3v3>;                  
309         vccio6-supply = <&p1v8>;                  
310         vccio7-supply = <&p3v3>;                  
311         status = "okay";                          
312 };                                                
313                                                   
314 &pwm1 {                                           
315         status = "okay";                          
316         pinctrl-names = "default";                
317         pinctrl-0 = <&pwm1m0_pins>;               
318 };                                                
319                                                   
320 &pwm2 {                                           
321         status = "okay";                          
322         pinctrl-names = "default";                
323         pinctrl-0 = <&pwm2m0_pins>;               
324 };                                                
325                                                   
326 &saradc {                                         
327         vref-supply = <&p1v8>;                    
328         status = "okay";                          
329 };                                                
330                                                   
331 &sdhci {                                          
332         bus-width = <8>;                          
333         max-frequency = <200000000>;              
334         non-removable;                            
335         pinctrl-names = "default";                
336         pinctrl-0 = <&emmc_bus8 &emmc_clk &emm    
337         vmmc-supply = <&p3v3>;                    
338         vqmmc-supply = <&p1v8>;                   
339         mmc-hs200-1_8v;                           
340         non-removable;                            
341         no-sd;                                    
342         no-sdio;                                  
343         status = "okay";                          
344 };                                                
345                                                   
346 &sdmmc0 {                                         
347         bus-width = <4>;                          
348         cap-sd-highspeed;                         
349         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_    
350         disable-wp;                               
351         pinctrl-names = "default";                
352         pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk     
353         sd-uhs-sdr50;                             
354         sd-uhs-sdr104;                            
355         vmmc-supply = <&p3v3>;                    
356         vqmmc-supply = <&vcc_sd>;                 
357         status = "okay";                          
358 };                                                
359                                                   
360 &tsadc {                                          
361         rockchip,hw-tshut-mode = <1>;             
362         rockchip,hw-tshut-polarity = <0>;         
363         status = "okay";                          
364 };                                                
365                                                   
366 &uart2 {                                          
367         status = "okay";                          
368 };                                                
369                                                   
370 &usb_host0_ehci {                                 
371         status = "okay";                          
372 };                                                
373                                                   
374 &usb_host0_ohci {                                 
375         status = "okay";                          
376 };                                                
377                                                   
378 &usb_host0_xhci {                                 
379         dr_mode = "host";                         
380         extcon = <&usb2phy0>;                     
381         status = "okay";                          
382 };                                                
383                                                   
384 &usb_host1_ehci {                                 
385         status = "okay";                          
386 };                                                
387                                                   
388 &usb_host1_ohci {                                 
389         status = "okay";                          
390 };                                                
391                                                   
392 &usb_host1_xhci {                                 
393         status = "okay";                          
394 };                                                
395                                                   
396 &usb2phy0 {                                       
397         status = "okay";                          
398 };                                                
399                                                   
400 &usb2phy0_host {                                  
401         status = "okay";                          
402 };                                                
403                                                   
404 &usb2phy0_otg {                                   
405         status = "okay";                          
406 };                                                
407                                                   
408 &usb2phy1 {                                       
409         status = "okay";                          
410 };                                                
411                                                   
412 &usb2phy1_host {                                  
413         status = "okay";                          
414 };                                                
415                                                   
416 &usb2phy1_otg {                                   
417         status = "okay";                          
418 };                                                
                                                      

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