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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/ti/k3-am62x-phyboard-lyra.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 /arch/arm64/boot/dts/ti/k3-am62x-phyboard-lyra.dtsi (Architecture i386) and /arch/ppc/boot/dts/ti/k3-am62x-phyboard-lyra.dtsi (Architecture ppc)


  1 // SPDX-License-Identifier: GPL-2.0-only OR MI    
  2 /*                                                
  3  * Copyright (C) 2022-2024 PHYTEC Messtechnik     
  4  * Author: Wadim Egorov <w.egorov@phytec.de>       
  5  *                                                
  6  */                                               
  7                                                   
  8 #include <dt-bindings/gpio/gpio.h>                
  9 #include <dt-bindings/input/input.h>              
 10 #include <dt-bindings/leds/common.h>              
 11 #include <dt-bindings/net/ti-dp83867.h>           
 12                                                   
 13 / {                                               
 14         aliases {                                 
 15                 serial2 = &main_uart0;            
 16                 serial3 = &main_uart1;            
 17                 mmc1 = &sdhci1;                   
 18                 usb0 = &usb0;                     
 19                 usb1 = &usb1;                     
 20                 ethernet1 = &cpsw_port2;          
 21         };                                        
 22                                                   
 23         can_tc1: can-phy0 {                       
 24                 compatible = "ti,tcan1042";       
 25                 #phy-cells = <0>;                 
 26                 max-bitrate = <8000000>;          
 27                 standby-gpios = <&gpio_exp 1 G    
 28         };                                        
 29                                                   
 30         hdmi0: connector-hdmi {                   
 31                 compatible = "hdmi-connector";    
 32                 label = "hdmi";                   
 33                 type = "a";                       
 34                                                   
 35                 port {                            
 36                         hdmi_connector_in: end    
 37                                 remote-endpoin    
 38                         };                        
 39                 };                                
 40         };                                        
 41                                                   
 42         keys {                                    
 43                 compatible = "gpio-keys";         
 44                 autorepeat;                       
 45                 pinctrl-names = "default";        
 46                 pinctrl-0 = <&gpio_keys_pins_d    
 47                                                   
 48                 key-home {                        
 49                         label = "home";           
 50                         linux,code = <KEY_HOME    
 51                         gpios = <&main_gpio1 2    
 52                 };                                
 53                                                   
 54                 key-menu {                        
 55                         label = "menu";           
 56                         linux,code = <KEY_MENU    
 57                         gpios = <&gpio_exp 4 G    
 58                 };                                
 59         };                                        
 60                                                   
 61         sound {                                   
 62                 compatible = "simple-audio-car    
 63                 simple-audio-card,name = "phyB    
 64                 simple-audio-card,widgets =       
 65                         "Microphone",             
 66                         "Headphone",              
 67                         "Speaker",                
 68                 simple-audio-card,routing =       
 69                         "MIC3R",                  
 70                         "Mic Jack",               
 71                         "Headphone Jack",         
 72                         "Headphone Jack",         
 73                         "External Speaker",       
 74                         "External Speaker",       
 75                 simple-audio-card,format = "ds    
 76                 simple-audio-card,bitclock-mas    
 77                 simple-audio-card,frame-master    
 78                 simple-audio-card,bitclock-inv    
 79                                                   
 80                 simple-audio-card,cpu {           
 81                         sound-dai = <&mcasp2>;    
 82                 };                                
 83                                                   
 84                 sound_master: simple-audio-car    
 85                                 sound-dai = <&    
 86                                 clocks = <&aud    
 87                 };                                
 88         };                                        
 89                                                   
 90         leds {                                    
 91                 compatible = "gpio-leds";         
 92                 pinctrl-names = "default";        
 93                 pinctrl-0 = <&leds_pins_defaul    
 94                                                   
 95                 led-1 {                           
 96                         gpios = <&main_gpio0 3    
 97                         linux,default-trigger     
 98                 };                                
 99                                                   
100                 led-2 {                           
101                         gpios = <&gpio_exp 2 G    
102                         linux,default-trigger     
103                 };                                
104         };                                        
105                                                   
106         vcc_1v8: regulator-vcc-1v8 {              
107                 compatible = "regulator-fixed"    
108                 regulator-name = "VCC_1V8";       
109                 regulator-min-microvolt = <180    
110                 regulator-max-microvolt = <180    
111                 regulator-always-on;              
112                 regulator-boot-on;                
113         };                                        
114                                                   
115         vcc_3v3_mmc: regulator-vcc-3v3-mmc {      
116                 compatible = "regulator-fixed"    
117                 regulator-name = "VCC_3V3_MMC"    
118                 regulator-min-microvolt = <330    
119                 regulator-max-microvolt = <330    
120                 regulator-always-on;              
121                 regulator-boot-on;                
122         };                                        
123                                                   
124         vcc_3v3_sw: regulator-vcc-3v3-sw {        
125                 compatible = "regulator-fixed"    
126                 regulator-name = "VCC_3V3_SW";    
127                 regulator-min-microvolt = <330    
128                 regulator-max-microvolt = <330    
129                 regulator-always-on;              
130                 regulator-boot-on;                
131         };                                        
132 };                                                
133                                                   
134 &main_pmx0 {                                      
135         audio_ext_refclk1_pins_default: audio-    
136                 pinctrl-single,pins = <           
137                         AM62X_IOPAD(0x0a0, PIN    
138                 >;                                
139         };                                        
140                                                   
141         gpio_keys_pins_default: gpio-keys-defa    
142                 pinctrl-single,pins = <           
143                         AM62X_IOPAD(0x1d4, PIN    
144                 >;                                
145         };                                        
146                                                   
147         gpio_exp_int_pins_default: gpio-exp-in    
148                 pinctrl-single,pins = <           
149                         AM62X_IOPAD(0x244, PIN    
150                 >;                                
151         };                                        
152                                                   
153         hdmi_int_pins_default: hdmi-int-defaul    
154                 pinctrl-single,pins = <           
155                         AM62X_IOPAD(0x040, PIN    
156                 >;                                
157         };                                        
158                                                   
159         main_dss0_pins_default: main-dss0-defa    
160                 pinctrl-single,pins = <           
161                         AM62X_IOPAD(0x0b8, PIN    
162                         AM62X_IOPAD(0x0bc, PIN    
163                         AM62X_IOPAD(0x0e0, PIN    
164                         AM62X_IOPAD(0x0e4, PIN    
165                         AM62X_IOPAD(0x0e8, PIN    
166                         AM62X_IOPAD(0x0ec, PIN    
167                         AM62X_IOPAD(0x0f0, PIN    
168                         AM62X_IOPAD(0x0f4, PIN    
169                         AM62X_IOPAD(0x0c0, PIN    
170                         AM62X_IOPAD(0x0c4, PIN    
171                         AM62X_IOPAD(0x0c8, PIN    
172                         AM62X_IOPAD(0x0cc, PIN    
173                         AM62X_IOPAD(0x0d0, PIN    
174                         AM62X_IOPAD(0x0d4, PIN    
175                         AM62X_IOPAD(0x0d8, PIN    
176                         AM62X_IOPAD(0x0dc, PIN    
177                         AM62X_IOPAD(0x0fc, PIN    
178                         AM62X_IOPAD(0x0f8, PIN    
179                         AM62X_IOPAD(0x104, PIN    
180                         AM62X_IOPAD(0x100, PIN    
181                 >;                                
182         };                                        
183                                                   
184         main_i2c1_pins_default: main-i2c1-defa    
185                 pinctrl-single,pins = <           
186                         AM62X_IOPAD(0x1e8, PIN    
187                         AM62X_IOPAD(0x1ec, PIN    
188                 >;                                
189         };                                        
190                                                   
191         main_mcan0_pins_default: main-mcan0-de    
192                 pinctrl-single,pins = <           
193                         AM62X_IOPAD(0x1dc, PIN    
194                         AM62X_IOPAD(0x1d8, PIN    
195                 >;                                
196         };                                        
197                                                   
198         main_mcasp2_pins_default: main-mcasp2-    
199                 pinctrl-single,pins = <           
200                         AM62X_IOPAD(0x070, PIN    
201                         AM62X_IOPAD(0x06c, PIN    
202                         AM62X_IOPAD(0x064, PIN    
203                         AM62X_IOPAD(0x068, PIN    
204                 >;                                
205         };                                        
206                                                   
207         main_mmc1_pins_default: main-mmc1-defa    
208                 pinctrl-single,pins = <           
209                         AM62X_IOPAD(0x23c, PIN    
210                         AM62X_IOPAD(0x234, PIN    
211                         AM62X_IOPAD(0x230, PIN    
212                         AM62X_IOPAD(0x22c, PIN    
213                         AM62X_IOPAD(0x228, PIN    
214                         AM62X_IOPAD(0x224, PIN    
215                         AM62X_IOPAD(0x240, PIN    
216                 >;                                
217         };                                        
218                                                   
219         main_rgmii2_pins_default: main-rgmii2-    
220                 pinctrl-single,pins = <           
221                         AM62X_IOPAD(0x184, PIN    
222                         AM62X_IOPAD(0x188, PIN    
223                         AM62X_IOPAD(0x18c, PIN    
224                         AM62X_IOPAD(0x190, PIN    
225                         AM62X_IOPAD(0x180, PIN    
226                         AM62X_IOPAD(0x17c, PIN    
227                         AM62X_IOPAD(0x16c, PIN    
228                         AM62X_IOPAD(0x170, PIN    
229                         AM62X_IOPAD(0x174, PIN    
230                         AM62X_IOPAD(0x178, PIN    
231                         AM62X_IOPAD(0x168, PIN    
232                         AM62X_IOPAD(0x164, PIN    
233                 >;                                
234         };                                        
235                                                   
236         main_uart0_pins_default: main-uart0-de    
237                 pinctrl-single,pins = <           
238                         AM62X_IOPAD(0x1c8, PIN    
239                         AM62X_IOPAD(0x1cc, PIN    
240                 >;                                
241         };                                        
242                                                   
243         main_uart1_pins_default: main-uart1-de    
244                 pinctrl-single,pins = <           
245                         AM62X_IOPAD(0x194, PIN    
246                         AM62X_IOPAD(0x198, PIN    
247                         AM62X_IOPAD(0x1ac, PIN    
248                         AM62X_IOPAD(0x1b0, PIN    
249                 >;                                
250         };                                        
251                                                   
252         main_usb1_pins_default: main-usb1-defa    
253                 pinctrl-single,pins = <           
254                         AM62X_IOPAD(0x258, PIN    
255                 >;                                
256         };                                        
257                                                   
258         user_leds_pins_default: user-leds-defa    
259                 pinctrl-single,pins = <           
260                         AM62X_IOPAD(0x084, PIN    
261                 >;                                
262         };                                        
263 };                                                
264                                                   
265 &cpsw3g {                                         
266         pinctrl-names = "default";                
267         pinctrl-0 = <&main_rgmii1_pins_default    
268 };                                                
269                                                   
270 &cpsw_port2 {                                     
271         phy-mode = "rgmii-rxid";                  
272         phy-handle = <&cpsw3g_phy3>;              
273 };                                                
274                                                   
275 &cpsw3g_mdio {                                    
276         cpsw3g_phy3: ethernet-phy@3 {             
277                 compatible = "ethernet-phy-id2    
278                 reg = <3>;                        
279                 ti,clk-output-sel = <DP83867_C    
280                 ti,rx-internal-delay = <DP8386    
281                 ti,fifo-depth = <DP83867_PHYCR    
282         };                                        
283 };                                                
284                                                   
285 &dss {                                            
286         pinctrl-names = "default";                
287         pinctrl-0 = <&main_dss0_pins_default>;    
288         status = "okay";                          
289 };                                                
290                                                   
291 &dss_ports {                                      
292         #address-cells = <1>;                     
293         #size-cells = <0>;                        
294                                                   
295         /* VP2: DPI/HDMI Output */                
296         port@1 {                                  
297                 reg = <1>;                        
298                                                   
299                 dpi1_out: endpoint {              
300                         remote-endpoint = <&si    
301                 };                                
302         };                                        
303 };                                                
304                                                   
305 &main_i2c1 {                                      
306         pinctrl-names = "default";                
307         pinctrl-0 = <&main_i2c1_pins_default>;    
308         clock-frequency = <100000>;               
309         status = "okay";                          
310                                                   
311         audio_codec: audio-codec@18 {             
312                 pinctrl-names = "default";        
313                 pinctrl-0 = <&audio_ext_refclk    
314                                                   
315                 #sound-dai-cells = <0>;           
316                 compatible = "ti,tlv320aic3007    
317                 reg = <0x18>;                     
318                 ai3x-micbias-vg = <2>;            
319                                                   
320                 AVDD-supply = <&vcc_3v3_sw>;      
321                 IOVDD-supply = <&vcc_3v3_sw>;     
322                 DRVDD-supply = <&vcc_3v3_sw>;     
323                 DVDD-supply = <&vcc_1v8>;         
324         };                                        
325                                                   
326         gpio_exp: gpio-expander@21 {              
327                 pinctrl-names = "default";        
328                 pinctrl-0 = <&gpio_exp_int_pin    
329                 compatible = "nxp,pcf8574";       
330                 reg = <0x21>;                     
331                 interrupt-parent = <&main_gpio    
332                 interrupts = <49 0>;              
333                 #gpio-cells = <2>;                
334                 gpio-controller;                  
335                 interrupt-controller;             
336                 #interrupt-cells = <2>;           
337                 gpio-line-names = "", "GPIO1_C    
338                                   "GPIO2_LED2"    
339                                   "GPIO4_BUT2"    
340                                   "GPIO6_ETH1_    
341         };                                        
342                                                   
343         usb-pd@22 {                               
344                 compatible = "ti,tps6598x";       
345                 reg = <0x22>;                     
346                                                   
347                 connector {                       
348                         compatible = "usb-c-co    
349                         label = "USB-C";          
350                         self-powered;             
351                         data-role = "dual";       
352                         power-role = "sink";      
353                         port {                    
354                                 usb_con_hs: en    
355                                         remote    
356                                 };                
357                         };                        
358                 };                                
359         };                                        
360                                                   
361         sii9022: bridge-hdmi@39 {                 
362                 compatible = "sil,sii9022";       
363                 reg = <0x39>;                     
364                                                   
365                 interrupt-parent = <&main_gpio    
366                 interrupts = <16 IRQ_TYPE_EDGE    
367                 pinctrl-names = "default";        
368                 pinctrl-0 = <&hdmi_int_pins_de    
369                                                   
370                 ports {                           
371                         #address-cells = <1>;     
372                         #size-cells = <0>;        
373                                                   
374                         port@0 {                  
375                                 reg = <0>;        
376                                                   
377                                 sii9022_in: en    
378                                         remote    
379                                 };                
380                         };                        
381                                                   
382                         port@1 {                  
383                                 reg = <1>;        
384                                                   
385                                 sii9022_out: e    
386                                         remote    
387                                 };                
388                         };                        
389                 };                                
390         };                                        
391                                                   
392         eeprom@51 {                               
393                 compatible = "atmel,24c02";       
394                 pagesize = <16>;                  
395                 reg = <0x51>;                     
396         };                                        
397 };                                                
398                                                   
399 &main_mcan0 {                                     
400         pinctrl-names = "default";                
401         pinctrl-0 = <&main_mcan0_pins_default>    
402         phys = <&can_tc1>;                        
403         status = "okay";                          
404 };                                                
405                                                   
406 &main_uart0 {                                     
407         pinctrl-names = "default";                
408         pinctrl-0 = <&main_uart0_pins_default>    
409         status = "okay";                          
410 };                                                
411                                                   
412 &main_uart1 {                                     
413         pinctrl-names = "default";                
414         pinctrl-0 = <&main_uart1_pins_default>    
415         /* Main UART1 may be used by TIFS firm    
416         status = "okay";                          
417 };                                                
418                                                   
419 &mcasp2 {                                         
420         #sound-dai-cells = <0>;                   
421                                                   
422         pinctrl-names = "default";                
423         pinctrl-0 = <&main_mcasp2_pins_default    
424                                                   
425         /* MCASP_IIS_MODE */                      
426         op-mode = <0>;                            
427         tdm-slots = <2>;                          
428                                                   
429         /* 0: INACTIVE, 1: TX, 2: RX */           
430         serial-dir = <                            
431                         0 0 1 2                   
432                         0 0 0 0                   
433                         0 0 0 0                   
434                         0 0 0 0                   
435         >;                                        
436         tx-num-evt = <32>;                        
437         rx-num-evt = <32>;                        
438         status = "okay";                          
439 };                                                
440                                                   
441 &sdhci1 {                                         
442         vmmc-supply = <&vcc_3v3_mmc>;             
443         vqmmc-supply = <&vddshv5_sdio>;           
444         pinctrl-names = "default";                
445         pinctrl-0 = <&main_mmc1_pins_default>;    
446         disable-wp;                               
447         no-1-8-v;                                 
448         status = "okay";                          
449 };                                                
450                                                   
451 &usbss0 {                                         
452         ti,vbus-divider;                          
453         status = "okay";                          
454 };                                                
455                                                   
456 &usbss1 {                                         
457         ti,vbus-divider;                          
458         status = "okay";                          
459 };                                                
460                                                   
461 &usb0 {                                           
462         usb-role-switch;                          
463                                                   
464         port {                                    
465                 typec_hs: endpoint {              
466                         remote-endpoint = <&us    
467                 };                                
468         };                                        
469 };                                                
470                                                   
471 &usb1 {                                           
472         dr_mode = "host";                         
473         pinctrl-names = "default";                
474         pinctrl-0 = <&main_usb1_pins_default>;    
475 };                                                
                                                      

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