Joris Offouga | 7f49a14 | 2019-12-08 18:02:30 +0100 | [diff] [blame] | 1 | &fec2 { |
| 2 | status = "disable"; |
| 3 | }; |
Joris Offouga | 7284d63 | 2020-01-29 22:06:01 +0100 | [diff] [blame] | 4 | |
| 5 | &usbotg1 { |
| 6 | dr_mode = "peripheral"; |
| 7 | }; |
Fabio Estevam | bebd462 | 2023-04-12 09:41:04 -0300 | [diff] [blame] | 8 | |
| 9 | &usdhc1 { |
| 10 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
| 11 | pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>; |
| 12 | pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_usdhc1_gpio>; |
| 13 | pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_usdhc1_gpio>; |
| 14 | }; |
| 15 | |
| 16 | &pinctrl_usdhc1 { |
| 17 | fsl,pins = < |
| 18 | MX7D_PAD_SD1_CMD__SD1_CMD 0x59 |
| 19 | MX7D_PAD_SD1_CLK__SD1_CLK 0x19 |
| 20 | MX7D_PAD_SD1_DATA0__SD1_DATA0 0x59 |
| 21 | MX7D_PAD_SD1_DATA1__SD1_DATA1 0x59 |
| 22 | MX7D_PAD_SD1_DATA2__SD1_DATA2 0x59 |
| 23 | MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59 |
| 24 | >; |
| 25 | }; |
| 26 | |
| 27 | &iomuxc { |
| 28 | pinctrl_usdhc1_gpio: usdhc1gpiogrp { |
| 29 | fsl,pins = < |
| 30 | MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x59 /* CD */ |
| 31 | MX7D_PAD_SD1_WP__GPIO5_IO1 0x59 /* WP */ |
| 32 | MX7D_PAD_SD1_RESET_B__GPIO5_IO2 0x59 /* vmmc */ |
| 33 | MX7D_PAD_GPIO1_IO08__SD1_VSELECT 0x59 /* VSELECT */ |
| 34 | >; |
| 35 | }; |
| 36 | |
| 37 | pinctrl_usdhc1_100mhz: usdhc1100mhzgrp { |
| 38 | fsl,pins = < |
| 39 | MX7D_PAD_SD1_CMD__SD1_CMD 0x5a |
| 40 | MX7D_PAD_SD1_CLK__SD1_CLK 0x1a |
| 41 | MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5a |
| 42 | MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5a |
| 43 | MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5a |
| 44 | MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5a |
| 45 | >; |
| 46 | }; |
| 47 | |
| 48 | pinctrl_usdhc1_200mhz: usdhc1200mhzgrp { |
| 49 | fsl,pins = < |
| 50 | MX7D_PAD_SD1_CMD__SD1_CMD 0x5b |
| 51 | MX7D_PAD_SD1_CLK__SD1_CLK 0x1b |
| 52 | MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5b |
| 53 | MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5b |
| 54 | MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5b |
| 55 | MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5b |
| 56 | >; |
| 57 | }; |
| 58 | }; |