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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/freescale/imx8mp-venice-gw73xx.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/freescale/imx8mp-venice-gw73xx.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/freescale/imx8mp-venice-gw73xx.dtsi (Version linux-5.10.229)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright 2023 Gateworks Corporation           
  4  */                                               
  5                                                   
  6 #include <dt-bindings/gpio/gpio.h>                
  7 #include <dt-bindings/leds/common.h>              
  8 #include <dt-bindings/phy/phy-imx8-pcie.h>        
  9                                                   
 10 / {                                               
 11         aliases {                                 
 12                 ethernet1 = &eth1;                
 13         };                                        
 14                                                   
 15         connector {                               
 16                 compatible = "gpio-usb-b-conne    
 17                 pinctrl-names = "default";        
 18                 pinctrl-0 = <&pinctrl_usbcon1>    
 19                 type = "micro";                   
 20                 label = "otg";                    
 21                 vbus-supply = <&reg_usb1_vbus>    
 22                 id-gpios = <&gpio3 21 GPIO_ACT    
 23                                                   
 24                 port {                            
 25                         usb_dr_connector: endp    
 26                                 remote-endpoin    
 27                         };                        
 28                 };                                
 29         };                                        
 30                                                   
 31         led-controller {                          
 32                 compatible = "gpio-leds";         
 33                 pinctrl-names = "default";        
 34                 pinctrl-0 = <&pinctrl_gpio_led    
 35                                                   
 36                 led-0 {                           
 37                         function = LED_FUNCTIO    
 38                         color = <LED_COLOR_ID_    
 39                         gpios = <&gpio4 1 GPIO    
 40                         default-state = "on";     
 41                         linux,default-trigger     
 42                 };                                
 43                                                   
 44                 led-1 {                           
 45                         function = LED_FUNCTIO    
 46                         color = <LED_COLOR_ID_    
 47                         gpios = <&gpio4 5 GPIO    
 48                         default-state = "off";    
 49                 };                                
 50         };                                        
 51                                                   
 52         pcie0_refclk: clock-pcie0 {               
 53                 compatible = "fixed-clock";       
 54                 #clock-cells = <0>;               
 55                 clock-frequency = <100000000>;    
 56         };                                        
 57                                                   
 58         pps {                                     
 59                 compatible = "pps-gpio";          
 60                 pinctrl-names = "default";        
 61                 pinctrl-0 = <&pinctrl_pps>;       
 62                 gpios = <&gpio4 3 GPIO_ACTIVE_    
 63                 status = "okay";                  
 64         };                                        
 65                                                   
 66         reg_usb1_vbus: regulator-usb1 {           
 67                 compatible = "regulator-fixed"    
 68                 pinctrl-names = "default";        
 69                 pinctrl-0 = <&pinctrl_reg_usb1    
 70                 regulator-name = "usb1_vbus";     
 71                 gpio = <&gpio1 12 GPIO_ACTIVE_    
 72                 enable-active-high;               
 73                 regulator-min-microvolt = <500    
 74                 regulator-max-microvolt = <500    
 75         };                                        
 76                                                   
 77         reg_usb2_vbus: regulator-usb2 {           
 78                 compatible = "regulator-fixed"    
 79                 pinctrl-names = "default";        
 80                 pinctrl-0 = <&pinctrl_reg_usb2    
 81                 regulator-name = "usb2_vbus";     
 82                 gpio = <&gpio4 12 GPIO_ACTIVE_    
 83                 enable-active-high;               
 84                 regulator-min-microvolt = <500    
 85                 regulator-max-microvolt = <500    
 86         };                                        
 87                                                   
 88         reg_wifi_en: regulator-wifi-en {          
 89                 compatible = "regulator-fixed"    
 90                 pinctrl-names = "default";        
 91                 pinctrl-0 = <&pinctrl_reg_wl>;    
 92                 regulator-name = "wl";            
 93                 gpio = <&gpio4 19 GPIO_ACTIVE_    
 94                 startup-delay-us = <100>;         
 95                 enable-active-high;               
 96                 regulator-min-microvolt = <330    
 97                 regulator-max-microvolt = <330    
 98         };                                        
 99                                                   
100         reg_usdhc2_vmmc: regulator-usdhc2-vmmc    
101                 compatible = "regulator-fixed"    
102                 pinctrl-names = "default";        
103                 pinctrl-0 = <&pinctrl_usdhc2_v    
104                 regulator-name = "VDD_3V3_SD";    
105                 enable-active-high;               
106                 gpio = <&gpio2 19 0>; /* SD2_R    
107                 off-on-delay-us = <12000>;        
108                 regulator-max-microvolt = <330    
109                 regulator-min-microvolt = <330    
110                 startup-delay-us = <100>;         
111         };                                        
112 };                                                
113                                                   
114 /* off-board header */                            
115 &ecspi2 {                                         
116         pinctrl-names = "default";                
117         pinctrl-0 = <&pinctrl_spi2>;              
118         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>    
119                    <&gpio1 10 GPIO_ACTIVE_LOW>    
120         status = "okay";                          
121                                                   
122         tpm@1 {                                   
123                 compatible = "atmel,attpm20p",    
124                 reg = <0x1>;                      
125                 spi-max-frequency = <36000000>    
126         };                                        
127 };                                                
128                                                   
129 &gpio4 {                                          
130         gpio-line-names =                         
131                 "", "", "", "",                   
132                 "", "", "", "",                   
133                 "dio1", "", "", "dio0",           
134                 "", "", "pci_usb_sel", "",        
135                 "", "", "", "",                   
136                 "", "", "rs485_en", "rs485_ter    
137                 "", "", "", "rs485_half",         
138                 "pci_wdis#", "", "", "";          
139 };                                                
140                                                   
141 &i2c2 {                                           
142         clock-frequency = <400000>;               
143         pinctrl-names = "default";                
144         pinctrl-0 = <&pinctrl_i2c2>;              
145         status = "okay";                          
146                                                   
147         accelerometer@19 {                        
148                 compatible = "st,lis2de12";       
149                 reg = <0x19>;                     
150                 pinctrl-names = "default";        
151                 pinctrl-0 = <&pinctrl_accel>;     
152                 st,drdy-int-pin = <1>;            
153                 interrupt-parent = <&gpio4>;      
154                 interrupts = <21 IRQ_TYPE_LEVE    
155         };                                        
156 };                                                
157                                                   
158 &pcie_phy {                                       
159         fsl,refclk-pad-mode = <IMX8_PCIE_REFCL    
160         fsl,clkreq-unsupported;                   
161         clocks = <&pcie0_refclk>;                 
162         clock-names = "ref";                      
163         status = "okay";                          
164 };                                                
165                                                   
166 &pcie {                                           
167         pinctrl-names = "default";                
168         pinctrl-0 = <&pinctrl_pcie0>;             
169         reset-gpio = <&gpio4 29 GPIO_ACTIVE_LO    
170         status = "okay";                          
171                                                   
172         pcie@0,0 {                                
173                 reg = <0x0000 0 0 0 0>;           
174                 device_type = "pci";              
175                 #address-cells = <3>;             
176                 #size-cells = <2>;                
177                 ranges;                           
178                                                   
179                 pcie@0,0 {                        
180                         reg = <0x0000 0 0 0 0>    
181                         device_type = "pci";      
182                         #address-cells = <3>;     
183                         #size-cells = <2>;        
184                         ranges;                   
185                                                   
186                         pcie@4,0 {                
187                                 reg = <0x2000     
188                                 device_type =     
189                                 #address-cells    
190                                 #size-cells =     
191                                 ranges;           
192                                                   
193                                 eth1: ethernet    
194                                         reg =     
195                                         #addre    
196                                         #size-    
197                                         ranges    
198                                         local-    
199                                 };                
200                         };                        
201                 };                                
202         };                                        
203 };                                                
204                                                   
205 /* GPS */                                         
206 &uart1 {                                          
207         pinctrl-names = "default";                
208         pinctrl-0 = <&pinctrl_uart1>;             
209         status = "okay";                          
210 };                                                
211                                                   
212 /* bluetooth HCI */                               
213 &uart3 {                                          
214         pinctrl-names = "default";                
215         pinctrl-0 = <&pinctrl_uart3>, <&pinctr    
216         cts-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>    
217         rts-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>    
218         status = "okay";                          
219                                                   
220         bluetooth {                               
221                 compatible = "brcm,bcm4330-bt"    
222                 shutdown-gpios = <&gpio1 3 GPI    
223         };                                        
224 };                                                
225                                                   
226 /* RS232 */                                       
227 &uart4 {                                          
228         pinctrl-names = "default";                
229         pinctrl-0 = <&pinctrl_uart4>;             
230         status = "okay";                          
231 };                                                
232                                                   
233 /* USB1 - OTG */                                  
234 &usb3_0 {                                         
235         pinctrl-names = "default";                
236         pinctrl-0 = <&pinctrl_usb1>;              
237         fsl,over-current-active-low;              
238         status = "okay";                          
239 };                                                
240                                                   
241 &usb3_phy0 {                                      
242         status = "okay";                          
243 };                                                
244                                                   
245 &usb_dwc3_0 {                                     
246         /* dual role is implemented but not a     
247         adp-disable;                              
248         hnp-disable;                              
249         srp-disable;                              
250         dr_mode = "otg";                          
251         usb-role-switch;                          
252         role-switch-default-mode = "peripheral    
253         status = "okay";                          
254                                                   
255         port {                                    
256                 usb3_dwc: endpoint {              
257                         remote-endpoint = <&us    
258                 };                                
259         };                                        
260 };                                                
261                                                   
262 /* USB2 - USB3.0 Hub */                           
263 &usb3_1 {                                         
264         fsl,permanently-attached;                 
265         fsl,disable-port-power-control;           
266         status = "okay";                          
267 };                                                
268                                                   
269 &usb3_phy1 {                                      
270         vbus-supply = <&reg_usb2_vbus>;           
271         status = "okay";                          
272 };                                                
273                                                   
274 &usb_dwc3_1 {                                     
275         dr_mode = "host";                         
276         status = "okay";                          
277 };                                                
278                                                   
279 /* SDIO WiFi */                                   
280 &usdhc1 {                                         
281         pinctrl-names = "default";                
282         pinctrl-0 = <&pinctrl_usdhc1>;            
283         bus-width = <4>;                          
284         non-removable;                            
285         vmmc-supply = <&reg_wifi_en>;             
286         status = "okay";                          
287 };                                                
288                                                   
289 /* microSD */                                     
290 &usdhc2 {                                         
291         pinctrl-names = "default", "state_100m    
292         pinctrl-0 = <&pinctrl_usdhc2>, <&pinct    
293         pinctrl-1 = <&pinctrl_usdhc2_100mhz>,     
294         pinctrl-2 = <&pinctrl_usdhc2_200mhz>,     
295         cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>    
296         bus-width = <4>;                          
297         vmmc-supply = <&reg_usdhc2_vmmc>;         
298         status = "okay";                          
299 };                                                
300                                                   
301 &iomuxc {                                         
302         pinctrl-names = "default";                
303         pinctrl-0 = <&pinctrl_hog>;               
304                                                   
305         pinctrl_hog: hoggrp {                     
306                 fsl,pins = <                      
307                         MX8MP_IOMUXC_SAI1_RXD6    
308                         MX8MP_IOMUXC_SAI1_TXC_    
309                         MX8MP_IOMUXC_SAI1_TXD2    
310                         MX8MP_IOMUXC_SAI2_MCLK    
311                         MX8MP_IOMUXC_SAI2_RXC_    
312                         MX8MP_IOMUXC_SAI2_RXD0    
313                         MX8MP_IOMUXC_SAI3_RXFS    
314                 >;                                
315         };                                        
316                                                   
317         pinctrl_accel: accelgrp {                 
318                 fsl,pins = <                      
319                         MX8MP_IOMUXC_SAI2_RXFS    
320                 >;                                
321         };                                        
322                                                   
323         pinctrl_bten: btengrp {                   
324                 fsl,pins = <                      
325                         MX8MP_IOMUXC_SAI1_TXD4    
326                 >;                                
327         };                                        
328                                                   
329         pinctrl_gpio_leds: gpioledgrp {           
330                 fsl,pins = <                      
331                         MX8MP_IOMUXC_SAI1_RXC_    
332                         MX8MP_IOMUXC_SAI1_RXD3    
333                 >;                                
334         };                                        
335                                                   
336         pinctrl_pcie0: pcie0grp {                 
337                 fsl,pins = <                      
338                         MX8MP_IOMUXC_SAI3_RXC_    
339                 >;                                
340         };                                        
341                                                   
342         pinctrl_pps: ppsgrp {                     
343                 fsl,pins = <                      
344                         MX8MP_IOMUXC_SAI1_RXD1    
345                 >;                                
346         };                                        
347                                                   
348         pinctrl_reg_wl: regwlgrp {                
349                 fsl,pins = <                      
350                         MX8MP_IOMUXC_SAI1_TXD7    
351                 >;                                
352         };                                        
353                                                   
354         pinctrl_reg_usb1_en: regusb1grp {         
355                 fsl,pins = <                      
356                         MX8MP_IOMUXC_GPIO1_IO1    
357                 >;                                
358         };                                        
359                                                   
360         pinctrl_usb1: usb1grp {                   
361                 fsl,pins = <                      
362                         MX8MP_IOMUXC_GPIO1_IO1    
363                 >;                                
364         };                                        
365                                                   
366         pinctrl_usbcon1: usbcon1grp {             
367                 fsl,pins = <                      
368                         MX8MP_IOMUXC_SAI5_RXD0    
369                 >;                                
370         };                                        
371                                                   
372         pinctrl_reg_usb2_en: regusb2grp {         
373                 fsl,pins = <                      
374                         MX8MP_IOMUXC_SAI1_TXD0    
375                 >;                                
376         };                                        
377                                                   
378         pinctrl_spi2: spi2grp {                   
379                 fsl,pins = <                      
380                         MX8MP_IOMUXC_ECSPI2_SC    
381                         MX8MP_IOMUXC_ECSPI2_MO    
382                         MX8MP_IOMUXC_ECSPI2_MI    
383                         MX8MP_IOMUXC_ECSPI2_SS    
384                 >;                                
385         };                                        
386                                                   
387         pinctrl_uart1: uart1grp {                 
388                 fsl,pins = <                      
389                         MX8MP_IOMUXC_UART1_RXD    
390                         MX8MP_IOMUXC_UART1_TXD    
391                 >;                                
392         };                                        
393                                                   
394         pinctrl_uart3: uart3grp {                 
395                 fsl,pins = <                      
396                         MX8MP_IOMUXC_UART3_RXD    
397                         MX8MP_IOMUXC_UART3_TXD    
398                         MX8MP_IOMUXC_ECSPI1_MI    
399                         MX8MP_IOMUXC_ECSPI1_SS    
400                 >;                                
401         };                                        
402                                                   
403         pinctrl_uart4: uart4grp {                 
404                 fsl,pins = <                      
405                         MX8MP_IOMUXC_UART4_RXD    
406                         MX8MP_IOMUXC_UART4_TXD    
407                 >;                                
408         };                                        
409                                                   
410         pinctrl_usdhc1: usdhc1grp {               
411                 fsl,pins = <                      
412                         MX8MP_IOMUXC_SD1_CLK__    
413                         MX8MP_IOMUXC_SD1_CMD__    
414                         MX8MP_IOMUXC_SD1_DATA0    
415                         MX8MP_IOMUXC_SD1_DATA1    
416                         MX8MP_IOMUXC_SD1_DATA2    
417                         MX8MP_IOMUXC_SD1_DATA3    
418                 >;                                
419         };                                        
420                                                   
421         pinctrl_usdhc2: usdhc2grp {               
422                 fsl,pins = <                      
423                         MX8MP_IOMUXC_SD2_CLK__    
424                         MX8MP_IOMUXC_SD2_CMD__    
425                         MX8MP_IOMUXC_SD2_DATA0    
426                         MX8MP_IOMUXC_SD2_DATA1    
427                         MX8MP_IOMUXC_SD2_DATA2    
428                         MX8MP_IOMUXC_SD2_DATA3    
429                         MX8MP_IOMUXC_GPIO1_IO0    
430                 >;                                
431         };                                        
432                                                   
433         pinctrl_usdhc2_100mhz: usdhc2-100mhzgr    
434                 fsl,pins = <                      
435                         MX8MP_IOMUXC_SD2_CLK__    
436                         MX8MP_IOMUXC_SD2_CMD__    
437                         MX8MP_IOMUXC_SD2_DATA0    
438                         MX8MP_IOMUXC_SD2_DATA1    
439                         MX8MP_IOMUXC_SD2_DATA2    
440                         MX8MP_IOMUXC_SD2_DATA3    
441                         MX8MP_IOMUXC_GPIO1_IO0    
442                 >;                                
443         };                                        
444                                                   
445         pinctrl_usdhc2_200mhz: usdhc2-200mhzgr    
446                 fsl,pins = <                      
447                         MX8MP_IOMUXC_SD2_CLK__    
448                         MX8MP_IOMUXC_SD2_CMD__    
449                         MX8MP_IOMUXC_SD2_DATA0    
450                         MX8MP_IOMUXC_SD2_DATA1    
451                         MX8MP_IOMUXC_SD2_DATA2    
452                         MX8MP_IOMUXC_SD2_DATA3    
453                         MX8MP_IOMUXC_GPIO1_IO0    
454                 >;                                
455         };                                        
456                                                   
457         pinctrl_usdhc2_vmmc: usdhc2-vmmc-grp {    
458                 fsl,pins = <                      
459                         MX8MP_IOMUXC_SD2_RESET    
460                 >;                                
461         };                                        
462                                                   
463         pinctrl_usdhc2_gpio: usdhc2gpiogrp {      
464                 fsl,pins = <                      
465                         MX8MP_IOMUXC_SD2_CD_B_    
466                 >;                                
467         };                                        
468 };                                                
                                                      

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