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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.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/amlogic/meson-gxl-s905x-khadas-vim.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts (Version linux-4.19.323)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2017 Martin Blumenstingl <mart    
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7                                                   
  8 #include "meson-gxl-s905x-p212.dtsi"              
  9 #include <dt-bindings/input/input.h>              
 10 #include <dt-bindings/sound/meson-aiu.h>          
 11                                                   
 12 / {                                               
 13         compatible = "khadas,vim", "amlogic,s9    
 14         model = "Khadas VIM";                     
 15                                                   
 16         adc-keys {                                
 17                 compatible = "adc-keys";          
 18                 io-channels = <&saradc 0>;        
 19                 io-channel-names = "buttons";     
 20                 keyup-threshold-microvolt = <1    
 21                                                   
 22                 button-function {                 
 23                         label = "Function";       
 24                         linux,code = <KEY_FN>;    
 25                         press-threshold-microv    
 26                 };                                
 27         };                                        
 28                                                   
 29         aliases {                                 
 30                 serial2 = &uart_AO_B;             
 31                 ethernet0 = &ethmac;              
 32         };                                        
 33                                                   
 34         gpio-keys-polled {                        
 35                 compatible = "gpio-keys-polled    
 36                 poll-interval = <100>;            
 37                                                   
 38                 power-button {                    
 39                         label = "power";          
 40                         linux,code = <KEY_POWE    
 41                         gpios = <&gpio_ao GPIO    
 42                 };                                
 43         };                                        
 44                                                   
 45         led-controller {                          
 46                 compatible = "pwm-leds";          
 47                                                   
 48                 led-1 {                           
 49                         label = "vim:red:power    
 50                         pwms = <&pwm_AO_ab 1 7    
 51                         max-brightness = <255>    
 52                         linux,default-trigger     
 53                 };                                
 54         };                                        
 55                                                   
 56         hdmi-connector {                          
 57                 compatible = "hdmi-connector";    
 58                 type = "a";                       
 59                                                   
 60                 port {                            
 61                         hdmi_connector_in: end    
 62                                 remote-endpoin    
 63                         };                        
 64                 };                                
 65         };                                        
 66                                                   
 67         sound {                                   
 68                 compatible = "amlogic,gx-sound    
 69                 model = "KHADAS-VIM";             
 70                 clocks = <&clkc CLKID_MPLL0>,     
 71                          <&clkc CLKID_MPLL1>,     
 72                          <&clkc CLKID_MPLL2>;     
 73                                                   
 74                 assigned-clocks = <&clkc CLKID    
 75                                   <&clkc CLKID    
 76                                   <&clkc CLKID    
 77                 assigned-clock-parents = <0>,     
 78                 assigned-clock-rates = <294912    
 79                                        <270950    
 80                                        <393216    
 81                                                   
 82                 dai-link-0 {                      
 83                         sound-dai = <&aiu AIU_    
 84                 };                                
 85                                                   
 86                 dai-link-1 {                      
 87                         sound-dai = <&aiu AIU_    
 88                         dai-format = "i2s";       
 89                         mclk-fs = <256>;          
 90                                                   
 91                         codec-0 {                 
 92                                 sound-dai = <&    
 93                         };                        
 94                 };                                
 95                                                   
 96                 dai-link-2 {                      
 97                         sound-dai = <&aiu AIU_    
 98                                                   
 99                         codec-0 {                 
100                                 sound-dai = <&    
101                         };                        
102                 };                                
103         };                                        
104 };                                                
105                                                   
106 &aiu {                                            
107         status = "okay";                          
108 };                                                
109                                                   
110 &cec_AO {                                         
111         status = "okay";                          
112         pinctrl-0 = <&ao_cec_pins>;               
113         pinctrl-names = "default";                
114         hdmi-phandle = <&hdmi_tx>;                
115 };                                                
116                                                   
117 &hdmi_tx {                                        
118         status = "okay";                          
119         pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i    
120         pinctrl-names = "default";                
121         hdmi-supply = <&hdmi_5v>;                 
122 };                                                
123                                                   
124 &hdmi_tx_tmds_port {                              
125         hdmi_tx_tmds_out: endpoint {              
126                 remote-endpoint = <&hdmi_conne    
127         };                                        
128 };                                                
129                                                   
130 &i2c_A {                                          
131         status = "okay";                          
132         pinctrl-0 = <&i2c_a_pins>;                
133         pinctrl-names = "default";                
134 };                                                
135                                                   
136 &i2c_B {                                          
137         status = "okay";                          
138         pinctrl-0 = <&i2c_b_pins>;                
139         pinctrl-names = "default";                
140                                                   
141         rtc: rtc@51 {                             
142                 status = "okay";                  
143                 compatible = "haoyu,hym8563";     
144                 reg = <0x51>;                     
145                 #clock-cells = <0>;               
146                 clock-output-names = "xin32k";    
147         };                                        
148 };                                                
149                                                   
150 &ir {                                             
151         linux,rc-map-name = "rc-khadas";          
152 };                                                
153                                                   
154 &gpio_ao {                                        
155         gpio-line-names = "UART TX",              
156                           "UART RX",              
157                           "Power Key In",         
158                           "J9 Header Pin35",      
159                           "J9 Header Pin16",      
160                           "J9 Header Pin15",      
161                           "J9 Header Pin33",      
162                           "IR In",                
163                           "HDMI CEC",             
164                           "SYS LED",              
165                           /* GPIO_TEST_N */       
166                           "";                     
167 };                                                
168                                                   
169 &gpio {                                           
170         gpio-line-names = /* Bank GPIOZ */        
171                           "", "", "", "", "",     
172                           "", "", "", "", "",     
173                           "Power OFF",            
174                           "VCCK Enable",          
175                           /* Bank GPIOH */        
176                           "HDMI HPD", "HDMI SD    
177                           "HDMI_5V_EN", "SPDIF    
178                           "J9 Header Pin37",      
179                           "J9 Header Pin30",      
180                           "J9 Header Pin29",      
181                           "J9 Header Pin32",      
182                           "J9 Header Pin31",      
183                           /* Bank BOOT */         
184                           "eMMC D0", "eMMC D1"    
185                           "eMMC D4", "eMMC D5"    
186                           "eMMC Clk", "eMMC Re    
187                           "", "BOOT_MODE", "",    
188                           /* Bank CARD */         
189                           "SDCard D1", "SDCard    
190                           "SDCard D3", "SDCard    
191                           /* Bank GPIODV */       
192                           "", "", "", "", "",     
193                           "", "", "", "", "",     
194                           "I2C A SDA", "I2C A     
195                           "VCCK Regulator", "V    
196                           /* Bank GPIOX */        
197                           "WIFI SDIO D0", "WIF    
198                           "WIFI SDIO D3", "WIF    
199                           "WIFI Power Enable",    
200                           "Bluetooth PCM DOUT"    
201                           "Bluetooth PCM SYNC"    
202                           "Bluetooth UART TX",    
203                           "Bluetooth UART CTS"    
204                           "WIFI 32K", "Bluetoo    
205                           "Bluetooth WAKE HOST    
206                           /* Bank GPIOCLK */      
207                           "", "J9 Header Pin39    
208 };                                                
209                                                   
210 &pwm_AO_ab {                                      
211         status = "okay";                          
212         pinctrl-0 = <&pwm_ao_a_3_pins>, <&pwm_    
213         pinctrl-names = "default";                
214         clocks = <&xtal> , <&xtal>;               
215         clock-names = "clkin0", "clkin1" ;        
216 };                                                
217                                                   
218 &pwm_ef {                                         
219         pinctrl-0 = <&pwm_e_pins>, <&pwm_f_clk    
220 };                                                
221                                                   
222 &sd_emmc_a {                                      
223         max-frequency = <100000000>;              
224 };                                                
225                                                   
226 /* This is brought out on the Linux_RX (18) an    
227 &uart_AO {                                        
228         status = "okay";                          
229 };                                                
230                                                   
231 /* This is brought out on the UART_RX_AO_B (15    
232 &uart_AO_B {                                      
233         status = "okay";                          
234         pinctrl-0 = <&uart_ao_b_pins>;            
235         pinctrl-names = "default";                
236 };                                                
237                                                   
238 &usb {                                            
239         dr_mode = "peripheral";                   
240 };                                                
                                                      

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