Linux 6.7-rc7
[linux-modified.git] / arch / arm64 / boot / dts / freescale / imx8mp-beacon-kit.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright 2023 Logic PD, Inc dba Beacon EmbeddedWorks
4  */
5
6 /dts-v1/;
7
8 #include <dt-bindings/usb/pd.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
10 #include "imx8mp.dtsi"
11 #include "imx8mp-beacon-som.dtsi"
12
13 / {
14         model = "Beacon EmbeddedWorks i.MX8MPlus Development kit";
15         compatible = "beacon,imx8mp-beacon-kit", "fsl,imx8mp";
16
17         aliases {
18                 ethernet0 = &eqos;
19                 ethernet1 = &fec;
20         };
21
22         chosen {
23                 stdout-path = &uart2;
24         };
25
26         clk_xtal25: clock-xtal25 {
27                 compatible = "fixed-clock";
28                 #clock-cells = <0>;
29                 clock-frequency = <25000000>;
30         };
31
32         connector {
33                 compatible = "usb-c-connector";
34                 label = "USB-C";
35                 data-role = "dual";
36
37                 ports {
38                         #address-cells = <1>;
39                         #size-cells = <0>;
40
41                         port@0 {
42                                 reg = <0>;
43
44                                 hs_ep: endpoint {
45                                         remote-endpoint = <&usb3_hs_ep>;
46                                 };
47                         };
48                         port@1 {
49                                 reg = <1>;
50
51                                 ss_ep: endpoint {
52                                         remote-endpoint = <&hd3ss3220_in_ep>;
53                                 };
54                         };
55                 };
56         };
57
58         dmic_codec: dmic-codec {
59                 compatible = "dmic-codec";
60                 num-channels = <1>;
61                 #sound-dai-cells = <0>;
62         };
63
64         gpio-keys {
65                 compatible = "gpio-keys";
66                 autorepeat;
67
68                 button-0 {
69                         label = "btn0";
70                         linux,code = <BTN_0>;
71                         gpios = <&pca6416_1 12 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
72                         wakeup-source;
73                 };
74
75                 button-1 {
76                         label = "btn1";
77                         linux,code = <BTN_1>;
78                         gpios = <&pca6416_1 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
79                         wakeup-source;
80                 };
81
82                 button-2 {
83                         label = "btn2";
84                         linux,code = <BTN_2>;
85                         gpios = <&pca6416_1 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
86                         wakeup-source;
87                 };
88
89                 button-3 {
90                         label = "btn3";
91                         linux,code = <BTN_3>;
92                         gpios = <&pca6416_1 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
93                         wakeup-source;
94                 };
95         };
96
97         leds {
98                 compatible = "gpio-leds";
99                 pinctrl-names = "default";
100                 pinctrl-0 = <&pinctrl_led3>;
101
102                 led-0 {
103                         label = "gen_led0";
104                         gpios = <&pca6416_1 4 GPIO_ACTIVE_HIGH>;
105                         default-state = "off";
106                 };
107
108                 led-1 {
109                         label = "gen_led1";
110                         gpios = <&pca6416_1 5 GPIO_ACTIVE_HIGH>;
111                         default-state = "off";
112                 };
113
114                 led-2 {
115                         label = "gen_led2";
116                         gpios = <&pca6416_1 6 GPIO_ACTIVE_HIGH>;
117                         default-state = "off";
118                 };
119
120                 led-3 {
121                         label = "heartbeat";
122                         gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
123                         linux,default-trigger = "heartbeat";
124                 };
125         };
126
127         reg_audio: regulator-wm8962 {
128                 compatible = "regulator-fixed";
129                 regulator-name = "3v3_aud";
130                 regulator-min-microvolt = <3300000>;
131                 regulator-max-microvolt = <3300000>;
132                 gpio = <&pca6416_1 11 GPIO_ACTIVE_HIGH>;
133                 enable-active-high;
134         };
135
136         reg_usdhc2_vmmc: regulator-usdhc2 {
137                 compatible = "regulator-fixed";
138                 regulator-name = "VSD_3V3";
139                 regulator-min-microvolt = <3300000>;
140                 regulator-max-microvolt = <3300000>;
141                 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
142                 enable-active-high;
143                 startup-delay-us = <100>;
144                 off-on-delay-us = <20000>;
145         };
146
147         reg_usb1_host_vbus: regulator-usb1-vbus {
148                 compatible = "regulator-fixed";
149                 regulator-name = "usb1_host_vbus";
150                 regulator-max-microvolt = <5000000>;
151                 regulator-min-microvolt = <5000000>;
152                 gpio = <&pca6416_1 0 GPIO_ACTIVE_HIGH>;
153                 enable-active-high;
154         };
155
156         sound-dmic {
157                 compatible = "simple-audio-card";
158                 simple-audio-card,name = "sound-pdm";
159                 simple-audio-card,format = "i2s";
160                 simple-audio-card,bitclock-master = <&dailink_master>;
161                 simple-audio-card,frame-master = <&dailink_master>;
162
163                 dailink_master: simple-audio-card,cpu {
164                         sound-dai = <&micfil>;
165                 };
166
167                 simple-audio-card,codec {
168                         sound-dai = <&dmic_codec>;
169                 };
170         };
171
172         sound-wm8962 {
173                 compatible = "simple-audio-card";
174                 simple-audio-card,name = "wm8962";
175                 simple-audio-card,format = "i2s";
176                 simple-audio-card,widgets = "Headphone", "Headphones",
177                                             "Microphone", "Headset Mic",
178                                             "Speaker", "Speaker";
179                 simple-audio-card,routing = "Headphones", "HPOUTL",
180                                             "Headphones", "HPOUTR",
181                                             "Speaker", "SPKOUTL",
182                                             "Speaker", "SPKOUTR",
183                                             "Headset Mic", "MICBIAS",
184                                             "IN3R", "Headset Mic";
185
186                 simple-audio-card,cpu {
187                         sound-dai = <&sai3>;
188                 };
189
190                 simple-audio-card,codec {
191                         sound-dai = <&wm8962>;
192                         clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO1>;
193                         frame-master;
194                         bitclock-master;
195                 };
196         };
197 };
198
199 &audio_blk_ctrl {
200         assigned-clocks = <&clk IMX8MP_AUDIO_PLL1>, <&clk IMX8MP_AUDIO_PLL2>;
201         assigned-clock-rates = <393216000>, <135475200>;
202 };
203
204 &ecspi2 {
205         pinctrl-names = "default";
206         pinctrl-0 = <&pinctrl_ecspi2>;
207         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
208         status = "okay";
209
210         tpm: tpm@0 {
211                 compatible = "infineon,slb9670";
212                 reg = <0>;
213                 pinctrl-names = "default";
214                 pinctrl-0 = <&pinctrl_tpm>;
215                 reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
216                 spi-max-frequency = <18500000>;
217         };
218 };
219
220 &fec {
221         pinctrl-names = "default";
222         pinctrl-0 = <&pinctrl_fec>;
223         phy-mode = "rgmii-id";
224         phy-handle = <&ethphy1>;
225         fsl,magic-packet;
226         status = "okay";
227
228         mdio {
229                 #address-cells = <1>;
230                 #size-cells = <0>;
231
232                 ethphy1: ethernet-phy@3 {
233                         compatible = "ethernet-phy-id0022.1640",
234                                      "ethernet-phy-ieee802.3-c22";
235                         reg = <3>;
236                         reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
237                         reset-assert-us = <10000>;
238                         reset-deassert-us = <150000>;
239                         interrupt-parent = <&gpio4>;
240                         interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
241                 };
242         };
243 };
244
245 &flexcan1 {
246         pinctrl-names = "default";
247         pinctrl-0 = <&pinctrl_flexcan1>;
248         status = "okay";
249 };
250
251 &gpio2 {
252         usb-mux-hog {
253                 gpio-hog;
254                 gpios = <20 0>;
255                 output-low;
256                 line-name = "USB-C Mux En";
257         };
258 };
259
260 &i2c2 {
261         clock-frequency = <384000>;
262         pinctrl-names = "default";
263         pinctrl-0 = <&pinctrl_i2c2>;
264         status = "okay";
265
266         pca6416_3: gpio@20 {
267                 compatible = "nxp,pcal6416";
268                 reg = <0x20>;
269                 gpio-controller;
270                 #gpio-cells = <2>;
271                 interrupt-parent = <&gpio4>;
272                 interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
273                 interrupt-controller;
274                 #interrupt-cells = <2>;
275         };
276
277         pcieclk: clock-generator@68 {
278                 compatible = "renesas,9fgv0241";
279                 reg = <0x68>;
280                 clocks = <&clk_xtal25>;
281                 #clock-cells = <1>;
282         };
283 };
284
285 &i2c3 {
286         /* Connected to USB Hub */
287         usb-typec@52 {
288                 compatible = "nxp,ptn5110";
289                 reg = <0x52>;
290                 pinctrl-names = "default";
291                 pinctrl-0 = <&pinctrl_typec>;
292                 interrupt-parent = <&gpio4>;
293                 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
294
295                 connector {
296                         compatible = "usb-c-connector";
297                         label = "USB-C";
298                         power-role = "source";
299                         data-role = "host";
300                         source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
301                 };
302         };
303 };
304
305 &i2c4 {
306         pinctrl-names = "default";
307         pinctrl-0 = <&pinctrl_i2c4>;
308         clock-frequency = <384000>;
309         status = "okay";
310
311         wm8962: audio-codec@1a {
312                 compatible = "wlf,wm8962";
313                 reg = <0x1a>;
314                 pinctrl-names = "default";
315                 pinctrl-0 = <&pinctrl_wm8962>;
316                 clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO1>;
317                 assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO1>;
318                 assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>;
319                 assigned-clock-rates = <22576000>;
320                 DCVDD-supply = <&reg_audio>;
321                 DBVDD-supply = <&reg_audio>;
322                 AVDD-supply = <&reg_audio>;
323                 CPVDD-supply = <&reg_audio>;
324                 MICVDD-supply = <&reg_audio>;
325                 PLLVDD-supply = <&reg_audio>;
326                 SPKVDD1-supply = <&reg_audio>;
327                 SPKVDD2-supply = <&reg_audio>;
328                 gpio-cfg = <
329                         0x0000 /* 0:Default */
330                         0x0000 /* 1:Default */
331                         0x0000 /* 2:FN_DMICCLK */
332                         0x0000 /* 3:Default */
333                         0x0000 /* 4:FN_DMICCDAT */
334                         0x0000 /* 5:Default */
335                 >;
336                 #sound-dai-cells = <0>;
337         };
338
339         pca6416: gpio@20 {
340                 compatible = "nxp,pcal6416";
341                 reg = <0x20>;
342                 pinctrl-names = "default";
343                 pinctrl-0 = <&pinctrl_pcal6414>;
344                 gpio-controller;
345                 #gpio-cells = <2>;
346                 interrupt-parent = <&gpio4>;
347                 interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
348                 interrupt-controller;
349                 #interrupt-cells = <2>;
350         };
351
352         pca6416_1: gpio@21 {
353                 compatible = "nxp,pcal6416";
354                 reg = <0x21>;
355                 gpio-controller;
356                 #gpio-cells = <2>;
357                 interrupt-parent = <&gpio4>;
358                 interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
359                 interrupt-controller;
360                 #interrupt-cells = <2>;
361
362                 usb-hub-hog {
363                         gpio-hog;
364                         gpios = <7 0>;
365                         output-low;
366                         line-name = "USB Hub Enable";
367                 };
368         };
369
370         usb-typec@47 {
371                 compatible = "ti,hd3ss3220";
372                 reg = <0x47>;
373                 pinctrl-names = "default";
374                 pinctrl-0 = <&pinctrl_hd3ss3220>;
375                 interrupt-parent = <&gpio4>;
376                 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
377
378                 ports {
379                         #address-cells = <1>;
380                         #size-cells = <0>;
381
382                         port@0 {
383                                 reg = <0>;
384
385                                 hd3ss3220_in_ep: endpoint {
386                                         remote-endpoint = <&ss_ep>;
387                                 };
388                         };
389
390                         port@1 {
391                                 reg = <1>;
392
393                                 hd3ss3220_out_ep: endpoint {
394                                         remote-endpoint = <&usb3_role_switch>;
395                                 };
396                         };
397                 };
398         };
399 };
400
401 &micfil {
402         pinctrl-names = "default";
403         pinctrl-0 = <&pinctrl_pdm>;
404         assigned-clocks = <&clk IMX8MP_CLK_PDM>;
405         assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
406         assigned-clock-rates = <49152000>;
407         status = "okay";
408 };
409
410 &pcie {
411         pinctrl-names = "default";
412         pinctrl-0 = <&pinctrl_pcie>;
413         reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
414         status = "okay";
415 };
416
417 &pcie_phy {
418         fsl,clkreq-unsupported;
419         fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
420         clocks = <&pcieclk 1>;
421         clock-names = "ref";
422         status = "okay";
423 };
424
425 &sai3 {
426         pinctrl-names = "default";
427         pinctrl-0 = <&pinctrl_sai3>;
428         assigned-clocks = <&clk IMX8MP_CLK_SAI3>,
429                           <&clk IMX8MP_AUDIO_PLL2> ;
430         assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>;
431         assigned-clock-rates = <12288000>, <361267200>;
432         fsl,sai-mclk-direction-output;
433         status = "okay";
434 };
435
436 &snvs_pwrkey {
437         status = "okay";
438 };
439
440 &uart2 {
441         pinctrl-names = "default";
442         pinctrl-0 = <&pinctrl_uart2>;
443         status = "okay";
444 };
445
446 &uart3 {
447         pinctrl-names = "default";
448         pinctrl-0 = <&pinctrl_uart3>;
449         assigned-clocks = <&clk IMX8MP_CLK_UART3>;
450         assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
451         uart-has-rtscts;
452         status = "okay";
453 };
454
455 &usb3_0 {
456         status = "okay";
457 };
458
459 &usb_dwc3_0 {
460         dr_mode = "otg";
461         hnp-disable;
462         srp-disable;
463         adp-disable;
464         usb-role-switch;
465         status = "okay";
466
467         ports {
468                 #address-cells = <1>;
469                 #size-cells = <0>;
470
471                 port@0 {
472                         reg = <0>;
473                         usb3_hs_ep: endpoint {
474                                 remote-endpoint = <&hs_ep>;
475                         };
476                 };
477                 port@1 {
478                         reg = <1>;
479                         usb3_role_switch: endpoint {
480                                 remote-endpoint = <&hd3ss3220_out_ep>;
481                         };
482                 };
483         };
484 };
485
486 &usb3_phy0 {
487         vbus-supply = <&reg_usb1_host_vbus>;
488         status = "okay";
489 };
490
491 &usb3_1 {
492         status = "okay";
493 };
494
495 &usb_dwc3_1 {
496         dr_mode = "host";
497         status = "okay";
498 };
499
500 &usb3_phy1 {
501         status = "okay";
502 };
503
504 &usdhc2 {
505         pinctrl-names = "default", "state_100mhz", "state_200mhz";
506         pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
507         pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
508         pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
509         cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
510         vmmc-supply = <&reg_usdhc2_vmmc>;
511         bus-width = <4>;
512         status = "okay";
513 };
514
515 &iomuxc {
516         pinctrl_ecspi2: ecspi2grp {
517                 fsl,pins = <
518                         MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK   0x82
519                         MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI   0x82
520                         MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO   0x82
521                         MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13     0x40000
522                 >;
523         };
524
525         pinctrl_fec: fecgrp {
526                 fsl,pins = <
527                         MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC       0x2
528                         MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO      0x2
529                         MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x90
530                         MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x90
531                         MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x90
532                         MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x90
533                         MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC  0x90
534                         MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL      0x90
535                         MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x16
536                         MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x16
537                         MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x16
538                         MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x16
539                         MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL      0x16
540                         MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x16
541                         MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02      0x140
542                         MX8MP_IOMUXC_SAI1_TXD6__GPIO4_IO18      0x10
543                 >;
544         };
545
546         pinctrl_flexcan1: flexcan1grp {
547                 fsl,pins = <
548                         MX8MP_IOMUXC_SPDIF_RX__CAN1_RX  0x154
549                         MX8MP_IOMUXC_SPDIF_TX__CAN1_TX  0x154
550                 >;
551         };
552
553         pinctrl_hd3ss3220: hd3ss3220grp {
554                 fsl,pins = <
555                         MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19      0x140
556                 >;
557         };
558
559         pinctrl_i2c2: i2c2grp {
560                 fsl,pins = <
561                         MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2
562                         MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c2
563                 >;
564         };
565
566         pinctrl_i2c4: i2c4grp {
567                 fsl,pins = <
568                         MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x400001c2
569                         MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x400001c2
570                 >;
571         };
572
573         pinctrl_led3: led3grp {
574                 fsl,pins = <
575                         MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28      0x41
576                 >;
577         };
578
579         pinctrl_pcal6414: pcal6414-gpiogrp {
580                 fsl,pins = <
581                         MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27      0x10
582                 >;
583         };
584
585         pinctrl_pcie: pciegrp {
586                 fsl,pins = <
587                         MX8MP_IOMUXC_GPIO1_IO05__GPIO1_IO05     0x10 /* PCIe_nDIS */
588                         MX8MP_IOMUXC_SAI2_RXFS__GPIO4_IO21 0x10 /* PCIe_nRST */
589                 >;
590         };
591
592         pinctrl_pdm: pdmgrp {
593                 fsl,pins = <
594                         MX8MP_IOMUXC_SAI5_RXC__AUDIOMIX_PDM_CLK         0xd6
595                         MX8MP_IOMUXC_SAI5_RXD0__AUDIOMIX_PDM_BIT_STREAM00       0xd6
596                 >;
597         };
598
599         pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
600                 fsl,pins = <
601                         MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19    0x40
602                 >;
603         };
604
605         pinctrl_sai3: sai3grp {
606                 fsl,pins = <
607                         MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC   0xd6
608                         MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK    0xd6
609                         MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00  0xd6
610                         MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00  0xd6
611                         MX8MP_IOMUXC_SAI3_MCLK__AUDIOMIX_SAI3_MCLK      0xd6
612                 >;
613         };
614
615         pinctrl_tpm: tpmgrp {
616                 fsl,pins = <
617                         MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00      0x19 /* Reset */
618                         MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29       0x1d6 /* IRQ */
619                 >;
620         };
621
622         pinctrl_typec: typec1grp {
623                 fsl,pins = <
624                         MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01       0xc4
625                 >;
626         };
627
628         pinctrl_uart2: uart2grp {
629                 fsl,pins = <
630                         MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX    0x140
631                         MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX    0x140
632                 >;
633         };
634
635         pinctrl_uart3: uart3grp {
636                 fsl,pins = <
637                         MX8MP_IOMUXC_ECSPI1_SCLK__UART3_DCE_RX          0x140
638                         MX8MP_IOMUXC_ECSPI1_MOSI__UART3_DCE_TX          0x140
639                         MX8MP_IOMUXC_ECSPI1_SS0__UART3_DCE_RTS          0x140
640                         MX8MP_IOMUXC_ECSPI1_MISO__UART3_DCE_CTS         0x140
641                 >;
642         };
643
644         pinctrl_usdhc2: usdhc2grp {
645                 fsl,pins = <
646                         MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK        0x190
647                         MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD        0x1d0
648                         MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0    0x1d0
649                         MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1    0x1d0
650                         MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2    0x1d0
651                         MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3    0x1d0
652                         MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0
653                 >;
654         };
655
656         pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
657                 fsl,pins = <
658                         MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK        0x194
659                         MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD        0x1d4
660                         MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0    0x1d4
661                         MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1    0x1d4
662                         MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2    0x1d4
663                         MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3    0x1d4
664                         MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0
665                 >;
666         };
667
668         pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
669                 fsl,pins = <
670                         MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK        0x196
671                         MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD        0x1d6
672                         MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0    0x1d6
673                         MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1    0x1d6
674                         MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2    0x1d6
675                         MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3    0x1d6
676                         MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0
677                 >;
678         };
679
680         pinctrl_usdhc2_gpio: usdhc2gpiogrp {
681                 fsl,pins = <
682                         MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12       0x1c4
683                 >;
684         };
685
686         pinctrl_wm8962: wm8962grp {
687                 fsl,pins = <
688                         MX8MP_IOMUXC_GPIO1_IO14__CCM_CLKO1      0x59
689                 >;
690         };
691 };