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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/amlogic/meson-g12b-odroid-n2.dtsi

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 /scripts/dtc/include-prefixes/arm64/amlogic/meson-g12b-odroid-n2.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/amlogic/meson-g12b-odroid-n2.dtsi (Version linux-2.6.32.71)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2019 BayLibre, SAS               
  4  * Author: Neil Armstrong <narmstrong@baylibre.    
  5  */                                               
  6                                                   
  7 #include "meson-g12b-odroid.dtsi"                 
  8                                                   
  9 / {                                               
 10         aliases {                                 
 11                 rtc0 = &rtc;                      
 12         };                                        
 13                                                   
 14         dio2133: audio-amplifier-0 {              
 15                 compatible = "simple-audio-amp    
 16                 enable-gpios = <&gpio_ao GPIOA    
 17                 VCC-supply = <&vcc_5v>;           
 18                 sound-name-prefix = "U19";        
 19                 status = "okay";                  
 20         };                                        
 21                                                   
 22         hub_5v: regulator-hub-5v {                
 23                 compatible = "regulator-fixed"    
 24                 regulator-name = "HUB_5V";        
 25                 regulator-min-microvolt = <500    
 26                 regulator-max-microvolt = <500    
 27                 vin-supply = <&vcc_5v>;           
 28                                                   
 29                 /* Connected to the Hub CHIPEN    
 30                 gpio = <&gpio GPIOH_5 GPIO_ACT    
 31                 enable-active-high;               
 32         };                                        
 33                                                   
 34         /* USB hub supports both USB 2.0 and U    
 35         usb-hub {                                 
 36                 dr_mode = "host";                 
 37                 #address-cells = <1>;             
 38                 #size-cells = <0>;                
 39                                                   
 40                 /* 2.0 hub on port 1 */           
 41                 hub_2_0: hub@1 {                  
 42                         compatible = "usb5e3,6    
 43                         reg = <1>;                
 44                         peer-hub = <&hub_3_0>;    
 45                         vdd-supply = <&usb_pwr    
 46                 };                                
 47                                                   
 48                 /* 3.0 hub on port 4 */           
 49                 hub_3_0: hub@2 {                  
 50                         compatible = "usb5e3,6    
 51                         reg = <2>;                
 52                         peer-hub = <&hub_2_0>;    
 53                         reset-gpios = <&gpio G    
 54                         vdd-supply = <&vcc_5v>    
 55                 };                                
 56         };                                        
 57                                                   
 58         sound {                                   
 59                 compatible = "amlogic,axg-soun    
 60                 model = "ODROID-N2";              
 61                 audio-widgets = "Line", "Lineo    
 62                 audio-aux-devs = <&tdmout_b>,     
 63                                  <&tdmin_b>, <    
 64                                  <&dio2133>;      
 65                 audio-routing = "TDMOUT_B IN 0    
 66                                 "TDMOUT_B IN 1    
 67                                 "TDMOUT_B IN 2    
 68                                 "TDM_B Playbac    
 69                                 "TDMOUT_C IN 0    
 70                                 "TDMOUT_C IN 1    
 71                                 "TDMOUT_C IN 2    
 72                                 "TDM_C Playbac    
 73                                 "TDMIN_A IN 4"    
 74                                 "TDMIN_B IN 4"    
 75                                 "TDMIN_C IN 4"    
 76                                 "TDMIN_LB IN 1    
 77                                 "TDMIN_A IN 5"    
 78                                 "TDMIN_B IN 5"    
 79                                 "TDMIN_C IN 5"    
 80                                 "TDMIN_LB IN 2    
 81                                 "TODDR_A IN 0"    
 82                                 "TODDR_B IN 0"    
 83                                 "TODDR_C IN 0"    
 84                                 "TODDR_A IN 1"    
 85                                 "TODDR_B IN 1"    
 86                                 "TODDR_C IN 1"    
 87                                 "TODDR_A IN 2"    
 88                                 "TODDR_B IN 2"    
 89                                 "TODDR_C IN 2"    
 90                                 "TODDR_A IN 6"    
 91                                 "TODDR_B IN 6"    
 92                                 "TODDR_C IN 6"    
 93                                 "U19 INL", "AC    
 94                                 "U19 INR", "AC    
 95                                 "Lineout", "U1    
 96                                 "Lineout", "U1    
 97                                                   
 98                 clocks = <&clkc CLKID_MPLL2>,     
 99                          <&clkc CLKID_MPLL0>,     
100                          <&clkc CLKID_MPLL1>;     
101                                                   
102                 assigned-clocks = <&clkc CLKID    
103                                   <&clkc CLKID    
104                                   <&clkc CLKID    
105                 assigned-clock-parents = <0>,     
106                 assigned-clock-rates = <294912    
107                                        <270950    
108                                        <393216    
109                                                   
110                 dai-link-0 {                      
111                         sound-dai = <&frddr_a>    
112                 };                                
113                                                   
114                 dai-link-1 {                      
115                         sound-dai = <&frddr_b>    
116                 };                                
117                                                   
118                 dai-link-2 {                      
119                         sound-dai = <&frddr_c>    
120                 };                                
121                                                   
122                 dai-link-3 {                      
123                         sound-dai = <&toddr_a>    
124                 };                                
125                                                   
126                 dai-link-4 {                      
127                         sound-dai = <&toddr_b>    
128                 };                                
129                                                   
130                 dai-link-5 {                      
131                         sound-dai = <&toddr_c>    
132                 };                                
133                                                   
134                 /* 8ch hdmi interface */          
135                 dai-link-6 {                      
136                         sound-dai = <&tdmif_b>    
137                         dai-format = "i2s";       
138                         dai-tdm-slot-tx-mask-0    
139                         dai-tdm-slot-tx-mask-1    
140                         dai-tdm-slot-tx-mask-2    
141                         dai-tdm-slot-tx-mask-3    
142                         mclk-fs = <256>;          
143                                                   
144                         codec-0 {                 
145                                 sound-dai = <&    
146                         };                        
147                                                   
148                         codec-1 {                 
149                                 sound-dai = <&    
150                         };                        
151                 };                                
152                                                   
153                 /* i2s jack output interface *    
154                 dai-link-7 {                      
155                         sound-dai = <&tdmif_c>    
156                         dai-format = "i2s";       
157                         dai-tdm-slot-tx-mask-0    
158                         mclk-fs = <256>;          
159                                                   
160                         codec-0 {                 
161                                 sound-dai = <&    
162                         };                        
163                                                   
164                         codec-1 {                 
165                                 sound-dai = <&    
166                         };                        
167                 };                                
168                                                   
169                 /* hdmi glue */                   
170                 dai-link-8 {                      
171                         sound-dai = <&tohdmitx    
172                                                   
173                         codec {                   
174                                 sound-dai = <&    
175                         };                        
176                 };                                
177                                                   
178                 /* acodec glue */                 
179                 dai-link-9 {                      
180                         sound-dai = <&toacodec    
181                                                   
182                         codec {                   
183                                 sound-dai = <&    
184                         };                        
185                 };                                
186         };                                        
187 };                                                
188                                                   
189 &acodec {                                         
190         AVDD-supply = <&vddao_1v8>;               
191         status = "okay";                          
192 };                                                
193                                                   
194 &ethmac {                                         
195         pinctrl-0 = <&eth_pins>, <&eth_rgmii_p    
196         pinctrl-names = "default";                
197         status = "okay";                          
198         phy-mode = "rgmii";                       
199         phy-handle = <&external_phy>;             
200         amlogic,tx-delay-ns = <2>;                
201 };                                                
202                                                   
203 &ext_mdio {                                       
204         external_phy: ethernet-phy@0 {            
205                 /* Realtek RTL8211F (0x001cc91    
206                 reg = <0>;                        
207                 max-speed = <1000>;               
208                                                   
209                 reset-assert-us = <10000>;        
210                 reset-deassert-us = <80000>;      
211                 reset-gpios = <&gpio GPIOZ_15     
212                                                   
213                 interrupt-parent = <&gpio_intc    
214                 /* MAC_INTR on GPIOZ_14 */        
215                 interrupts = <IRQID_GPIOZ_14 I    
216         };                                        
217 };                                                
218                                                   
219 &gpio {                                           
220         gpio-line-names =                         
221                 /* GPIOZ */                       
222                 "", "", "", "", "", "", "", ""    
223                 "", "", "", "", "", "", "", ""    
224                 /* GPIOH */                       
225                 "", "", "", "", "", "", "", ""    
226                 "",                               
227                 /* BOOT */                        
228                 "", "", "", "", "", "", "", ""    
229                 "", "", "", "", "", "", "", ""    
230                 /* GPIOC */                       
231                 "", "", "", "", "", "", "", ""    
232                 /* GPIOA */                       
233                 "PIN_44", /* GPIOA_0 */           
234                 "PIN_46", /* GPIOA_1 */           
235                 "PIN_45", /* GPIOA_2 */           
236                 "PIN_47", /* GPIOA_3 */           
237                 "PIN_26", /* GPIOA_4 */           
238                 "", "", "", "", "", "",           
239                 "PIN_42", /* GPIOA_11 */          
240                 "PIN_32", /* GPIOA_12 */          
241                 "PIN_7",  /* GPIOA_13 */          
242                 "PIN_27", /* GPIOA_14 */          
243                 "PIN_28", /* GPIOA_15 */          
244                 /* GPIOX */                       
245                 "PIN_16", /* GPIOX_0 */           
246                 "PIN_18", /* GPIOX_1 */           
247                 "PIN_22", /* GPIOX_2 */           
248                 "PIN_11", /* GPIOX_3 */           
249                 "PIN_13", /* GPIOX_4 */           
250                 "PIN_33", /* GPIOX_5 */           
251                 "PIN_35", /* GPIOX_6 */           
252                 "PIN_15", /* GPIOX_7 */           
253                 "PIN_19", /* GPIOX_8 */           
254                 "PIN_21", /* GPIOX_9 */           
255                 "PIN_24", /* GPIOX_10 */          
256                 "PIN_23", /* GPIOX_11 */          
257                 "PIN_8",  /* GPIOX_12 */          
258                 "PIN_10", /* GPIOX_13 */          
259                 "PIN_29", /* GPIOX_14 */          
260                 "PIN_31", /* GPIOX_15 */          
261                 "PIN_12", /* GPIOX_16 */          
262                 "PIN_3",  /* GPIOX_17 */          
263                 "PIN_5",  /* GPIOX_18 */          
264                 "PIN_36"; /* GPIOX_19 */          
265 };                                                
266                                                   
267 &i2c3 {                                           
268         status = "okay";                          
269         pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3    
270         pinctrl-names = "default";                
271                                                   
272         rtc: rtc@51 {                             
273                 compatible = "nxp,pcf8563";       
274                 reg = <0x51>;                     
275                 wakeup-source;                    
276         };                                        
277 };                                                
278                                                   
279 &ir {                                             
280         status = "okay";                          
281         pinctrl-0 = <&remote_input_ao_pins>;      
282         pinctrl-names = "default";                
283         linux,rc-map-name = "rc-odroid";          
284 };                                                
285                                                   
286 /*                                                
287  * EMMC_D4, EMMC_D5, EMMC_D6 and EMMC_D7 pins     
288  * and eMMC Data 4 to 7 pins.                     
289  * Replace emmc_data_8b_pins to emmc_data_4b_p    
290  * and change bus-width to 4 then spifc can be    
291  * The SW1 slide should also be set to the cor    
292  */                                               
293 &spifc {                                          
294         status = "disabled";                      
295         pinctrl-0 = <&nor_pins>;                  
296         pinctrl-names = "default";                
297                                                   
298         mx25u64: flash@0 {                        
299                 #address-cells = <1>;             
300                 #size-cells = <1>;                
301                 compatible = "mxicy,mx25u6435f    
302                 reg = <0>;                        
303                 spi-max-frequency = <104000000    
304         };                                        
305 };                                                
306                                                   
307 &toacodec {                                       
308         status = "okay";                          
309 };                                                
310                                                   
311 &usb {                                            
312         vbus-supply = <&usb_pwr_en>;              
313 };                                                
314                                                   
315 &usb2_phy1 {                                      
316         /* Enable the hub which is connected t    
317         phy-supply = <&hub_5v>;                   
318 };                                                
                                                      

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