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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.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/freescale/imx8mm-beacon-baseboard.dtsi (Architecture i386) and /arch/m68k/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi (Architecture m68k)


  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)      
  2 /*                                                
  3  * Copyright 2020 Compass Electronics Group, L    
  4  */                                               
  5                                                   
  6 #include <dt-bindings/phy/phy-imx8-pcie.h>        
  7                                                   
  8 / {                                               
  9                                                   
 10         dmic_codec: dmic-codec {                  
 11                 compatible = "dmic-codec";        
 12                 num-channels = <1>;               
 13                 #sound-dai-cells = <0>;           
 14         };                                        
 15                                                   
 16         leds {                                    
 17                 compatible = "gpio-leds";         
 18                                                   
 19                 led0 {                            
 20                         label = "gen_led0";       
 21                         gpios = <&pca6416_1 4     
 22                         default-state = "off";    
 23                 };                                
 24                                                   
 25                 led1 {                            
 26                         label = "gen_led1";       
 27                         gpios = <&pca6416_1 5     
 28                         default-state = "off";    
 29                 };                                
 30                                                   
 31                 led2 {                            
 32                         label = "gen_led2";       
 33                         gpios = <&pca6416_1 6     
 34                         default-state = "off";    
 35                 };                                
 36                                                   
 37                 led3 {                            
 38                         pinctrl-names = "defau    
 39                         pinctrl-0 = <&pinctrl_    
 40                         label = "heartbeat";      
 41                         gpios = <&gpio4 28 GPI    
 42                         linux,default-trigger     
 43                 };                                
 44         };                                        
 45                                                   
 46         pcie0_refclk: pcie0-refclk {              
 47                 compatible = "fixed-clock";       
 48                 #clock-cells = <0>;               
 49                 clock-frequency = <100000000>;    
 50         };                                        
 51                                                   
 52         pcie0_refclk_gated:  pcie0-refclk-gate    
 53                 compatible = "gpio-gate-clock"    
 54                 clocks = <&pcie0_refclk>;         
 55                 #clock-cells = <0>;               
 56                 enable-gpios = <&pca6416_1 2 G    
 57         };                                        
 58                                                   
 59         reg_1v5: regulator-1v5 {                  
 60                 compatible = "regulator-fixed"    
 61                 regulator-name = "1V5";           
 62                 regulator-min-microvolt = <150    
 63                 regulator-max-microvolt = <150    
 64         };                                        
 65                                                   
 66         reg_1v8: regulator-1v8 {                  
 67                 compatible = "regulator-fixed"    
 68                 regulator-name = "1V8";           
 69                 regulator-min-microvolt = <180    
 70                 regulator-max-microvolt = <180    
 71         };                                        
 72                                                   
 73         reg_audio: regulator-audio {              
 74                 compatible = "regulator-fixed"    
 75                 regulator-name = "3v3_aud";       
 76                 regulator-min-microvolt = <330    
 77                 regulator-max-microvolt = <330    
 78                 gpio = <&pca6416_1 11 GPIO_ACT    
 79                 enable-active-high;               
 80         };                                        
 81                                                   
 82         reg_usbotg1: regulator-usbotg1 {          
 83                 compatible = "regulator-fixed"    
 84                 pinctrl-names = "default";        
 85                 pinctrl-0 = <&pinctrl_reg_usb_    
 86                 regulator-name = "usb_otg_vbus    
 87                 regulator-min-microvolt = <500    
 88                 regulator-max-microvolt = <500    
 89                 gpio = <&gpio4 29 GPIO_ACTIVE_    
 90                 enable-active-high;               
 91         };                                        
 92                                                   
 93         reg_camera: regulator-camera {            
 94                 compatible = "regulator-fixed"    
 95                 regulator-name = "mipi_pwr";      
 96                 regulator-min-microvolt = <280    
 97                 regulator-max-microvolt = <280    
 98                 gpio = <&pca6416_1 0 GPIO_ACTI    
 99                 enable-active-high;               
100                 startup-delay-us = <100000>;      
101         };                                        
102                                                   
103         reg_pcie0: regulator-pcie {               
104                 compatible = "regulator-fixed"    
105                 regulator-name = "pci_pwr_en";    
106                 regulator-min-microvolt = <330    
107                 regulator-max-microvolt = <330    
108                 enable-active-high;               
109                 gpio = <&pca6416_1 1 GPIO_ACTI    
110                 startup-delay-us = <100000>;      
111         };                                        
112                                                   
113         reg_usdhc2_vmmc: regulator-usdhc2 {       
114                 compatible = "regulator-fixed"    
115                 regulator-name = "VSD_3V3";       
116                 regulator-min-microvolt = <330    
117                 regulator-max-microvolt = <330    
118                 gpio = <&gpio2 19 GPIO_ACTIVE_    
119                 enable-active-high;               
120         };                                        
121                                                   
122         sound-dmic {                              
123                 compatible = "simple-audio-car    
124                 simple-audio-card,name = "dmic    
125                 simple-audio-card,format = "pd    
126                 simple-audio-card,bitclock-mas    
127                 simple-audio-card,frame-master    
128                                                   
129                 dailink_master: simple-audio-c    
130                         sound-dai = <&micfil>;    
131                 };                                
132                                                   
133                 simple-audio-card,codec {         
134                         sound-dai = <&dmic_cod    
135                 };                                
136         };                                        
137                                                   
138         sound-wm8962 {                            
139                 compatible = "simple-audio-car    
140                 simple-audio-card,name = "wm89    
141                 simple-audio-card,format = "i2    
142                 simple-audio-card,widgets = "H    
143                                             "M    
144                                             "S    
145                 simple-audio-card,routing = "H    
146                                             "H    
147                                             "S    
148                                             "S    
149                                             "H    
150                                             "I    
151                                                   
152                 simple-audio-card,cpu {           
153                         sound-dai = <&sai3>;      
154                 };                                
155                                                   
156                 simple-audio-card,codec {         
157                         sound-dai = <&wm8962>;    
158                         clocks = <&clk IMX8MM_    
159                         frame-master;             
160                         bitclock-master;          
161                 };                                
162         };                                        
163 };                                                
164                                                   
165 &csi {                                            
166         status = "okay";                          
167 };                                                
168                                                   
169 &ecspi2 {                                         
170         pinctrl-names = "default";                
171         pinctrl-0 = <&pinctrl_espi2>;             
172         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>    
173         status = "okay";                          
174                                                   
175         eeprom@0 {                                
176                 compatible = "microchip,at2516    
177                 reg = <0>;                        
178                 spi-max-frequency = <5000000>;    
179                 spi-cpha;                         
180                 spi-cpol;                         
181                 pagesize = <32>;                  
182                 size = <2048>;                    
183                 address-width = <16>;             
184         };                                        
185 };                                                
186                                                   
187 &i2c2 {                                           
188         clock-frequency = <400000>;               
189         pinctrl-names = "default";                
190         pinctrl-0 = <&pinctrl_i2c2>;              
191         status = "okay";                          
192                                                   
193         camera@10 {                               
194                 compatible = "ovti,ov5640";       
195                 pinctrl-names = "default";        
196                 pinctrl-0 = <&pinctrl_ov5640>;    
197                 reg = <0x10>;                     
198                 clocks = <&clk IMX8MM_CLK_CLKO    
199                 clock-names = "xclk";             
200                 assigned-clocks = <&clk IMX8MM    
201                 assigned-clock-parents = <&clk    
202                 assigned-clock-rates = <240000    
203                 AVDD-supply = <&reg_camera>;      
204                 DVDD-supply = <&reg_1v5>;         
205                 DOVDD-supply = <&reg_1v8>;        
206                 powerdown-gpios = <&gpio1 7 GP    
207                 reset-gpios = <&gpio1 6 GPIO_A    
208                                                   
209                 port {                            
210                         /* MIPI CSI-2 bus endp    
211                         ov5640_to_mipi_csi2: e    
212                                 remote-endpoin    
213                                 clock-lanes =     
214                                 data-lanes = <    
215                         };                        
216                 };                                
217         };                                        
218 };                                                
219                                                   
220 &i2c4 {                                           
221         clock-frequency = <400000>;               
222         pinctrl-names = "default";                
223         pinctrl-0 = <&pinctrl_i2c4>;              
224         status = "okay";                          
225                                                   
226         wm8962: audio-codec@1a {                  
227                 compatible = "wlf,wm8962";        
228                 reg = <0x1a>;                     
229                 clocks = <&clk IMX8MM_CLK_SAI3    
230                 DCVDD-supply = <&reg_audio>;      
231                 DBVDD-supply = <&reg_audio>;      
232                 AVDD-supply = <&reg_audio>;       
233                 CPVDD-supply = <&reg_audio>;      
234                 MICVDD-supply = <&reg_audio>;     
235                 PLLVDD-supply = <&reg_audio>;     
236                 SPKVDD1-supply = <&reg_audio>;    
237                 SPKVDD2-supply = <&reg_audio>;    
238                 gpio-cfg = <                      
239                         0x0000 /* 0:Default */    
240                         0x0000 /* 1:Default */    
241                         0x0000 /* 2:FN_DMICCLK    
242                         0x0000 /* 3:Default */    
243                         0x0000 /* 4:FN_DMICCDA    
244                         0x0000 /* 5:Default */    
245                 >;                                
246                 #sound-dai-cells = <0>;           
247         };                                        
248                                                   
249         pca6416_0: gpio@20 {                      
250                 compatible = "nxp,pcal6416";      
251                 reg = <0x20>;                     
252                 pinctrl-names = "default";        
253                 pinctrl-0 = <&pinctrl_pcal6414    
254                 gpio-controller;                  
255                 #gpio-cells = <2>;                
256                 interrupt-parent = <&gpio4>;      
257                 interrupts = <27 IRQ_TYPE_LEVE    
258         };                                        
259                                                   
260         pca6416_1: gpio@21 {                      
261                 compatible = "nxp,pcal6416";      
262                 reg = <0x21>;                     
263                 gpio-controller;                  
264                 #gpio-cells = <2>;                
265                 interrupt-parent = <&gpio4>;      
266                 interrupts = <27 IRQ_TYPE_LEVE    
267         };                                        
268 };                                                
269                                                   
270 &micfil {                                         
271         pinctrl-names = "default";                
272         pinctrl-0 = <&pinctrl_pdm>;               
273         assigned-clocks = <&clk IMX8MM_CLK_PDM    
274         assigned-clock-parents = <&clk IMX8MM_    
275         assigned-clock-rates = <49152000>;        
276         status = "okay";                          
277 };                                                
278                                                   
279 &mipi_csi {                                       
280         status = "okay";                          
281         ports {                                   
282                 port@0 {                          
283                         imx8mm_mipi_csi_in: en    
284                                 remote-endpoin    
285                                 data-lanes = <    
286                         };                        
287                 };                                
288         };                                        
289 };                                                
290                                                   
291 &pcie_phy {                                       
292         fsl,refclk-pad-mode = <IMX8_PCIE_REFCL    
293         fsl,tx-deemph-gen1 = <0x2d>;              
294         fsl,tx-deemph-gen2 = <0xf>;               
295         fsl,clkreq-unsupported;                   
296         clocks = <&pcie0_refclk_gated>;           
297         clock-names = "ref";                      
298         status = "okay";                          
299 };                                                
300                                                   
301 &pcie0 {                                          
302         pinctrl-names = "default";                
303         pinctrl-0 = <&pinctrl_pcie0>;             
304         reset-gpio = <&gpio4 21 GPIO_ACTIVE_LO    
305         clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,    
306                  <&clk IMX8MM_CLK_PCIE1_AUX>;     
307         assigned-clocks = <&clk IMX8MM_CLK_PCI    
308                           <&clk IMX8MM_CLK_PCI    
309         assigned-clock-rates = <10000000>, <25    
310         assigned-clock-parents = <&clk IMX8MM_    
311                                  <&clk IMX8MM_    
312         vpcie-supply = <&reg_pcie0>;              
313         status = "okay";                          
314 };                                                
315                                                   
316 &sai3 {                                           
317         pinctrl-names = "default";                
318         pinctrl-0 = <&pinctrl_sai3>;              
319         assigned-clocks = <&clk IMX8MM_CLK_SAI    
320         assigned-clock-parents = <&clk IMX8MM_    
321         assigned-clock-rates = <24576000>;        
322         fsl,sai-mclk-direction-output;            
323         status = "okay";                          
324 };                                                
325                                                   
326 &snvs_pwrkey {                                    
327         status = "okay";                          
328 };                                                
329                                                   
330 &uart2 { /* console */                            
331         pinctrl-names = "default";                
332         pinctrl-0 = <&pinctrl_uart2>;             
333         status = "okay";                          
334 };                                                
335                                                   
336 &uart3 {                                          
337         pinctrl-names = "default";                
338         pinctrl-0 = <&pinctrl_uart3>;             
339         assigned-clocks = <&clk IMX8MM_CLK_UAR    
340         assigned-clock-parents = <&clk IMX8MM_    
341         uart-has-rtscts;                          
342         status = "okay";                          
343 };                                                
344                                                   
345 &usbotg1 {                                        
346         vbus-supply = <&reg_usbotg1>;             
347         disable-over-current;                     
348         dr_mode = "otg";                          
349         status = "okay";                          
350 };                                                
351                                                   
352 &usbotg2 {                                        
353         disable-over-current;                     
354         dr_mode = "host";                         
355         status = "okay";                          
356 };                                                
357                                                   
358 &usbphynop2 {                                     
359         reset-gpios = <&pca6416_1 7 GPIO_ACTIV    
360 };                                                
361                                                   
362 &usdhc2 {                                         
363         pinctrl-names = "default", "state_100m    
364         pinctrl-0 = <&pinctrl_usdhc2>, <&pinct    
365         pinctrl-1 = <&pinctrl_usdhc2_100mhz>;     
366         pinctrl-2 = <&pinctrl_usdhc2_200mhz>;     
367         bus-width = <4>;                          
368         vmmc-supply = <&reg_usdhc2_vmmc>;         
369         status = "okay";                          
370 };                                                
371                                                   
372 &iomuxc {                                         
373         pinctrl_espi2: espi2grp {                 
374                 fsl,pins = <                      
375                         MX8MM_IOMUXC_ECSPI2_SC    
376                         MX8MM_IOMUXC_ECSPI2_MO    
377                         MX8MM_IOMUXC_ECSPI2_MI    
378                         MX8MM_IOMUXC_ECSPI2_SS    
379                 >;                                
380         };                                        
381                                                   
382         pinctrl_i2c2: i2c2grp {                   
383                 fsl,pins = <                      
384                         MX8MM_IOMUXC_I2C2_SCL_    
385                         MX8MM_IOMUXC_I2C2_SDA_    
386                 >;                                
387         };                                        
388                                                   
389         pinctrl_i2c4: i2c4grp {                   
390                 fsl,pins = <                      
391                         MX8MM_IOMUXC_I2C4_SCL_    
392                         MX8MM_IOMUXC_I2C4_SDA_    
393                 >;                                
394         };                                        
395                                                   
396         pinctrl_led3: led3grp {                   
397                 fsl,pins = <                      
398                         MX8MM_IOMUXC_SAI3_RXFS    
399                 >;                                
400         };                                        
401                                                   
402         pinctrl_ov5640: ov5640grp {               
403                 fsl,pins = <                      
404                         MX8MM_IOMUXC_GPIO1_IO0    
405                         MX8MM_IOMUXC_GPIO1_IO0    
406                         MX8MM_IOMUXC_GPIO1_IO1    
407                 >;                                
408         };                                        
409                                                   
410         pinctrl_pcal6414: pcal6414-gpiogrp {      
411                 fsl,pins = <                      
412                         MX8MM_IOMUXC_SAI2_MCLK    
413                 >;                                
414         };                                        
415                                                   
416         pinctrl_pdm: pdmgrp {                     
417                 fsl,pins = <                      
418                         MX8MM_IOMUXC_SAI5_RXC_    
419                         MX8MM_IOMUXC_SAI5_RXD0    
420                 >;                                
421         };                                        
422                                                   
423         pinctrl_reg_usb_otg1: usbotg1grp {        
424                 fsl,pins = <                      
425                         MX8MM_IOMUXC_SAI3_RXC_    
426                 >;                                
427         };                                        
428                                                   
429         pinctrl_pcie0: pcie0grp {                 
430                 fsl,pins = <                      
431                         MX8MM_IOMUXC_SAI2_RXFS    
432                 >;                                
433         };                                        
434                                                   
435         pinctrl_sai3: sai3grp {                   
436                 fsl,pins = <                      
437                         MX8MM_IOMUXC_SAI3_TXFS    
438                         MX8MM_IOMUXC_SAI3_TXC_    
439                         MX8MM_IOMUXC_SAI3_MCLK    
440                         MX8MM_IOMUXC_SAI3_TXD_    
441                         MX8MM_IOMUXC_SAI3_RXD_    
442                 >;                                
443         };                                        
444                                                   
445         pinctrl_uart2: uart2grp {                 
446                 fsl,pins = <                      
447                         MX8MM_IOMUXC_UART2_RXD    
448                         MX8MM_IOMUXC_UART2_TXD    
449                 >;                                
450         };                                        
451                                                   
452         pinctrl_uart3: uart3grp {                 
453                 fsl,pins = <                      
454                         MX8MM_IOMUXC_ECSPI1_SC    
455                         MX8MM_IOMUXC_ECSPI1_MO    
456                         MX8MM_IOMUXC_ECSPI1_MI    
457                         MX8MM_IOMUXC_ECSPI1_SS    
458                 >;                                
459         };                                        
460                                                   
461         pinctrl_usdhc2_gpio: usdhc2gpiogrp {      
462                 fsl,pins = <                      
463                         MX8MM_IOMUXC_SD2_CD_B_    
464                         MX8MM_IOMUXC_SD2_RESET    
465                 >;                                
466         };                                        
467                                                   
468         pinctrl_usdhc2: usdhc2grp {               
469                 fsl,pins = <                      
470                         MX8MM_IOMUXC_SD2_CLK_U    
471                         MX8MM_IOMUXC_SD2_CMD_U    
472                         MX8MM_IOMUXC_SD2_DATA0    
473                         MX8MM_IOMUXC_SD2_DATA1    
474                         MX8MM_IOMUXC_SD2_DATA2    
475                         MX8MM_IOMUXC_SD2_DATA3    
476                         MX8MM_IOMUXC_GPIO1_IO0    
477                 >;                                
478         };                                        
479                                                   
480         pinctrl_usdhc2_100mhz: usdhc2-100mhzgr    
481                 fsl,pins = <                      
482                         MX8MM_IOMUXC_SD2_CLK_U    
483                         MX8MM_IOMUXC_SD2_CMD_U    
484                         MX8MM_IOMUXC_SD2_DATA0    
485                         MX8MM_IOMUXC_SD2_DATA1    
486                         MX8MM_IOMUXC_SD2_DATA2    
487                         MX8MM_IOMUXC_SD2_DATA3    
488                         MX8MM_IOMUXC_GPIO1_IO0    
489                 >;                                
490         };                                        
491                                                   
492         pinctrl_usdhc2_200mhz: usdhc2-200mhzgr    
493                 fsl,pins = <                      
494                         MX8MM_IOMUXC_SD2_CLK_U    
495                         MX8MM_IOMUXC_SD2_CMD_U    
496                         MX8MM_IOMUXC_SD2_DATA0    
497                         MX8MM_IOMUXC_SD2_DATA1    
498                         MX8MM_IOMUXC_SD2_DATA2    
499                         MX8MM_IOMUXC_SD2_DATA3    
500                         MX8MM_IOMUXC_GPIO1_IO0    
501                 >;                                
502         };                                        
503 };                                                
                                                      

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