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