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

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


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2016 Andreas Färber             
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7 #include "rk3368.dtsi"                            
  8 #include <dt-bindings/input/input.h>              
  9                                                   
 10 / {                                               
 11         model = "GeekBox";                        
 12         compatible = "geekbuying,geekbox", "ro    
 13                                                   
 14         aliases {                                 
 15                 ethernet0 = &gmac;                
 16                 mmc0 = &emmc;                     
 17         };                                        
 18                                                   
 19         chosen {                                  
 20                 stdout-path = "serial2:115200n    
 21         };                                        
 22                                                   
 23         memory@0 {                                
 24                 device_type = "memory";           
 25                 reg = <0x0 0x0 0x0 0x80000000>    
 26         };                                        
 27                                                   
 28         ext_gmac: gmac-clk {                      
 29                 compatible = "fixed-clock";       
 30                 clock-frequency = <125000000>;    
 31                 clock-output-names = "ext_gmac    
 32                 #clock-cells = <0>;               
 33         };                                        
 34                                                   
 35         ir: ir-receiver {                         
 36                 compatible = "gpio-ir-receiver    
 37                 gpios = <&gpio3 RK_PD6 GPIO_AC    
 38                 pinctrl-names = "default";        
 39                 pinctrl-0 = <&ir_int>;            
 40         };                                        
 41                                                   
 42         keys: gpio-keys {                         
 43                 compatible = "gpio-keys";         
 44                 pinctrl-names = "default";        
 45                 pinctrl-0 = <&pwr_key>;           
 46                                                   
 47                 key-power {                       
 48                         gpios = <&gpio0 RK_PA2    
 49                         label = "GPIO Power";     
 50                         linux,code = <KEY_POWE    
 51                         wakeup-source;            
 52                 };                                
 53         };                                        
 54                                                   
 55         leds: gpio-leds {                         
 56                 compatible = "gpio-leds";         
 57                                                   
 58                 blue_led: led-0 {                 
 59                         gpios = <&gpio2 RK_PA2    
 60                         label = "geekbox:blue:    
 61                         default-state = "on";     
 62                 };                                
 63                                                   
 64                 red_led: led-1 {                  
 65                         gpios = <&gpio2 RK_PA3    
 66                         label = "geekbox:red:l    
 67                         default-state = "off";    
 68                 };                                
 69         };                                        
 70                                                   
 71         vcc_sys: vcc-sys-regulator {              
 72                 compatible = "regulator-fixed"    
 73                 regulator-name = "vcc_sys";       
 74                 regulator-min-microvolt = <500    
 75                 regulator-max-microvolt = <500    
 76                 regulator-always-on;              
 77                 regulator-boot-on;                
 78         };                                        
 79 };                                                
 80                                                   
 81 &emmc {                                           
 82         status = "okay";                          
 83         bus-width = <8>;                          
 84         cap-mmc-highspeed;                        
 85         clock-frequency = <150000000>;            
 86         non-removable;                            
 87         vmmc-supply = <&vcc_io>;                  
 88         vqmmc-supply = <&vcc18_flash>;            
 89         pinctrl-names = "default";                
 90         pinctrl-0 = <&emmc_clk>, <&emmc_cmd>,     
 91 };                                                
 92                                                   
 93 &gmac {                                           
 94         status = "okay";                          
 95         phy-supply = <&vcc_lan>;                  
 96         phy-mode = "rgmii";                       
 97         clock_in_out = "input";                   
 98         assigned-clocks = <&cru SCLK_MAC>;        
 99         assigned-clock-parents = <&ext_gmac>;     
100         pinctrl-names = "default";                
101         pinctrl-0 = <&rgmii_pins>;                
102         tx_delay = <0x30>;                        
103         rx_delay = <0x10>;                        
104 };                                                
105                                                   
106 &i2c0 {                                           
107         status = "okay";                          
108                                                   
109         rk808: pmic@1b {                          
110                 compatible = "rockchip,rk808";    
111                 reg = <0x1b>;                     
112                 pinctrl-names = "default";        
113                 pinctrl-0 = <&pmic_int>, <&pmi    
114                 interrupt-parent = <&gpio0>;      
115                 interrupts = <RK_PA5 IRQ_TYPE_    
116                 rockchip,system-power-controll    
117                 vcc1-supply = <&vcc_sys>;         
118                 vcc2-supply = <&vcc_sys>;         
119                 vcc3-supply = <&vcc_sys>;         
120                 vcc4-supply = <&vcc_sys>;         
121                 vcc6-supply = <&vcc_sys>;         
122                 vcc7-supply = <&vcc_sys>;         
123                 vcc8-supply = <&vcc_io>;          
124                 vcc9-supply = <&vcc_sys>;         
125                 vcc10-supply = <&vcc_sys>;        
126                 vcc11-supply = <&vcc_sys>;        
127                 vcc12-supply = <&vcc_io>;         
128                 clock-output-names = "xin32k",    
129                 #clock-cells = <1>;               
130                                                   
131                 regulators {                      
132                         vdd_cpu: DCDC_REG1 {      
133                                 regulator-alwa    
134                                 regulator-boot    
135                                 regulator-min-    
136                                 regulator-max-    
137                                 regulator-name    
138                         };                        
139                                                   
140                         vdd_log: DCDC_REG2 {      
141                                 regulator-alwa    
142                                 regulator-boot    
143                                 regulator-min-    
144                                 regulator-max-    
145                                 regulator-name    
146                         };                        
147                                                   
148                         vcc_ddr: DCDC_REG3 {      
149                                 regulator-alwa    
150                                 regulator-boot    
151                                 regulator-name    
152                         };                        
153                                                   
154                         vcc_io: DCDC_REG4 {       
155                                 regulator-alwa    
156                                 regulator-boot    
157                                 regulator-min-    
158                                 regulator-max-    
159                                 regulator-name    
160                         };                        
161                                                   
162                         vcc18_flash: LDO_REG1     
163                                 regulator-alwa    
164                                 regulator-boot    
165                                 regulator-min-    
166                                 regulator-max-    
167                                 regulator-name    
168                         };                        
169                                                   
170                         vcc33_lcd: LDO_REG2 {     
171                                 regulator-alwa    
172                                 regulator-boot    
173                                 regulator-min-    
174                                 regulator-max-    
175                                 regulator-name    
176                         };                        
177                                                   
178                         vdd_10: LDO_REG3 {        
179                                 regulator-alwa    
180                                 regulator-boot    
181                                 regulator-min-    
182                                 regulator-max-    
183                                 regulator-name    
184                         };                        
185                                                   
186                         vcca_18: LDO_REG4 {       
187                                 regulator-boot    
188                                 regulator-min-    
189                                 regulator-max-    
190                                 regulator-name    
191                         };                        
192                                                   
193                         vccio_sd: LDO_REG5 {      
194                                 regulator-alwa    
195                                 regulator-boot    
196                                 regulator-min-    
197                                 regulator-max-    
198                                 regulator-name    
199                         };                        
200                                                   
201                         vdd10_lcd: LDO_REG6 {     
202                                 regulator-alwa    
203                                 regulator-boot    
204                                 regulator-min-    
205                                 regulator-max-    
206                                 regulator-name    
207                         };                        
208                                                   
209                         vcc_18: LDO_REG7 {        
210                                 regulator-alwa    
211                                 regulator-boot    
212                                 regulator-min-    
213                                 regulator-max-    
214                                 regulator-name    
215                         };                        
216                                                   
217                         vcc18_lcd: LDO_REG8 {     
218                                 regulator-alwa    
219                                 regulator-boot    
220                                 regulator-min-    
221                                 regulator-max-    
222                                 regulator-name    
223                         };                        
224                                                   
225                         vcc_sd: SWITCH_REG1 {     
226                                 regulator-name    
227                         };                        
228                                                   
229                         vcc_lan: SWITCH_REG2 {    
230                                 regulator-alwa    
231                                 regulator-boot    
232                                 regulator-name    
233                         };                        
234                 };                                
235         };                                        
236 };                                                
237                                                   
238 &pinctrl {                                        
239         ir {                                      
240                 ir_int: ir-int {                  
241                         rockchip,pins = <3 RK_    
242                 };                                
243         };                                        
244                                                   
245         keys {                                    
246                 pwr_key: pwr-key {                
247                         rockchip,pins = <0 RK_    
248                 };                                
249         };                                        
250                                                   
251         pmic {                                    
252                 pmic_sleep: pmic-sleep {          
253                         rockchip,pins = <0 RK_    
254                 };                                
255                                                   
256                 pmic_int: pmic-int {              
257                         rockchip,pins = <0 RK_    
258                 };                                
259         };                                        
260 };                                                
261                                                   
262 &tsadc {                                          
263         status = "okay";                          
264         rockchip,hw-tshut-mode = <0>; /* CRU *    
265         rockchip,hw-tshut-polarity = <1>; /* h    
266 };                                                
267                                                   
268 &uart2 {                                          
269         status = "okay";                          
270 };                                                
271                                                   
272 &usb_host0_ehci {                                 
273         status = "okay";                          
274 };                                                
275                                                   
276 &usb_otg {                                        
277         status = "okay";                          
278 };                                                
279                                                   
280 &wdt {                                            
281         status = "okay";                          
282 };                                                
                                                      

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