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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.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/rk3326-odroid-go3.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/rockchip/rk3326-odroid-go3.dts (Version linux-5.13.19)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2019 Hardkernel Co., Ltd         
  4  * Copyright (c) 2020 Theobroma Systems Design    
  5  * Copyright (c) 2022 Maya Matuszczyk <maccraft    
  6  */                                               
  7                                                   
  8 /dts-v1/;                                         
  9 #include "rk3326-odroid-go.dtsi"                  
 10                                                   
 11 / {                                               
 12         model = "ODROID-GO Super";                
 13         compatible = "hardkernel,rk3326-odroid    
 14                                                   
 15         joystick_mux_controller: mux-controlle    
 16                 compatible = "gpio-mux";          
 17                 pinctrl = <&mux_en_pins>;         
 18                 #mux-control-cells = <0>;         
 19                                                   
 20                 mux-gpios = <&gpio3 RK_PB3 GPI    
 21                             <&gpio3 RK_PB0 GPI    
 22         };                                        
 23                                                   
 24         joystick_mux: adc-mux {                   
 25                 compatible = "io-channel-mux";    
 26                 io-channels = <&saradc 1>;        
 27                 io-channel-names = "parent";      
 28                 #io-channel-cells = <1>;          
 29                                                   
 30                 mux-controls = <&joystick_mux_    
 31                 channels = "0", "1", "2", "3";    
 32         };                                        
 33                                                   
 34         analog_sticks: adc-joystick {             
 35                 compatible = "adc-joystick";      
 36                 io-channels = <&joystick_mux 0    
 37                               <&joystick_mux 1    
 38                               <&joystick_mux 2    
 39                               <&joystick_mux 3    
 40                 poll-interval = <60>;             
 41                 #address-cells = <1>;             
 42                 #size-cells = <0>;                
 43                                                   
 44                 axis@0 {                          
 45                         reg = <0>;                
 46                         abs-flat = <10>;          
 47                         abs-fuzz = <10>;          
 48                         abs-range = <180 800>;    
 49                         linux,code = <ABS_X>;     
 50                 };                                
 51                                                   
 52                 axis@1 {                          
 53                         reg = <1>;                
 54                         abs-flat = <10>;          
 55                         abs-fuzz = <10>;          
 56                         abs-range = <180 800>;    
 57                         linux,code = <ABS_RX>;    
 58                 };                                
 59                                                   
 60                 axis@2 {                          
 61                         reg = <2>;                
 62                         abs-flat = <10>;          
 63                         abs-fuzz = <10>;          
 64                         abs-range = <180 800>;    
 65                         linux,code = <ABS_Y>;     
 66                 };                                
 67                                                   
 68                 axis@3 {                          
 69                         reg = <3>;                
 70                         abs-flat = <10>;          
 71                         abs-fuzz = <10>;          
 72                         abs-range = <180 800>;    
 73                         linux,code = <ABS_RY>;    
 74                 };                                
 75         };                                        
 76                                                   
 77         battery: battery {                        
 78                 compatible = "simple-battery";    
 79                 charge-full-design-microamp-ho    
 80                 charge-term-current-microamp =    
 81                 constant-charge-current-max-mi    
 82                 constant-charge-voltage-max-mi    
 83                 factory-internal-resistance-mi    
 84                 voltage-max-design-microvolt =    
 85                 voltage-min-design-microvolt =    
 86                                                   
 87                 ocv-capacity-celsius = <20>;      
 88                 ocv-capacity-table-0 =  <40469    
 89                                         <38884    
 90                                         <37681    
 91                                         <36967    
 92                                         <36494    
 93                                         <35741    
 94         };                                        
 95                                                   
 96         gpio-keys-vol {                           
 97                 compatible = "gpio-keys";         
 98                 autorepeat;                       
 99                 pinctrl-0 = <&btn_pins_vol>;      
100                 pinctrl-names = "default";        
101                                                   
102                 button-vol-down {                 
103                         gpios = <&gpio2 RK_PA1    
104                         label = "VOLUMEDOWN";     
105                         linux,code = <KEY_VOLU    
106                 };                                
107                                                   
108                 button-volume-up {                
109                         gpios = <&gpio2 RK_PA0    
110                         label = "VOLUMEUP";       
111                         linux,code = <KEY_VOLU    
112                 };                                
113         };                                        
114 };                                                
115                                                   
116 /* f1 and f2 conflict with volume buttons */      
117 /delete-node/ &btn_f1;                            
118 /delete-node/ &btn_f2;                            
119                                                   
120 &builtin_gamepad {                                
121         button-sw19 {                             
122                 gpios = <&gpio3 RK_PB1 GPIO_AC    
123                 label = "SELECT";                 
124                 linux,code = <BTN_SELECT>;        
125         };                                        
126         /* note that TR2 and TL2 are swapped *    
127         button-sw20 {                             
128                 gpios = <&gpio3 RK_PB7 GPIO_AC    
129                 label = "TOP-RIGHT 2";            
130                 linux,code = <BTN_TR2>;           
131         };                                        
132         button-sw21 {                             
133                 gpios = <&gpio3 RK_PB2 GPIO_AC    
134                 label = "TOP-LEFT 2";             
135                 linux,code = <BTN_TL2>;           
136         };                                        
137         button-sw22 {                             
138                 gpios = <&gpio3 RK_PB4 GPIO_AC    
139                 label = "START";                  
140                 linux,code = <BTN_START>;         
141         };                                        
142 };                                                
143                                                   
144 &internal_display {                               
145         compatible = "elida,kd50t048a", "sitro    
146         reset-gpios = <&gpio3 RK_PC0 GPIO_ACTI    
147         IOVCC-supply = <&vcc_lcd>;                
148         VCC-supply = <&vcc_lcd>;                  
149 };                                                
150                                                   
151 &rk817_charger {                                  
152         monitored-battery = <&battery>;           
153 };                                                
154                                                   
155 &pinctrl {                                        
156         btns {                                    
157                 btn_pins: btn-pins {              
158                         rockchip,pins = <1 RK_    
159                                         <1 RK_    
160                                         <1 RK_    
161                                         <1 RK_    
162                                         <1 RK_    
163                                         <1 RK_    
164                                         <1 RK_    
165                                         <1 RK_    
166                                         <2 RK_    
167                                         <2 RK_    
168                                         <2 RK_    
169                                         <2 RK_    
170                                         <2 RK_    
171                                         <2 RK_    
172                                         <3 RK_    
173                                         <3 RK_    
174                                         <3 RK_    
175                                         <3 RK_    
176                 };                                
177                 btn_pins_vol: btn-pins-vol {      
178                         rockchip,pins = <2 RK_    
179                                         <2 RK_    
180                 };                                
181         };                                        
182                                                   
183         joystick {                                
184                 mux_en_pins: mux-pins {           
185                         rockchip,pins = <3 RK_    
186                 };                                
187         };                                        
188 };                                                
                                                      

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