Max Krummenacher | 1f6668a | 2021-10-06 18:55:36 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright 2021 Toradex AG |
| 4 | */ |
| 5 | |
| 6 | #include "imx6ull-colibri.dtsi" |
| 7 | #include "imx6ull-colibri-u-boot.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "Toradex Colibri iMX6ULL 1GB (eMMC)"; |
| 11 | compatible = "toradex,colibri-imx6ull-emmc", "toradex,colibri-imx6ull", "fsl,imx6ull"; |
| 12 | |
| 13 | aliases { |
| 14 | mmc0 = &usdhc2; |
| 15 | mmc1 = &usdhc1; |
| 16 | }; |
| 17 | }; |
| 18 | |
| 19 | /* eMMC */ |
| 20 | &usdhc2 { |
| 21 | pinctrl-names = "default"; |
| 22 | pinctrl-0 = <&pinctrl_usdhc2emmc>; |
| 23 | assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>; |
| 24 | assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>; |
| 25 | assigned-clock-rates = <0>, <198000000>; |
| 26 | bus-width = <8>; |
| 27 | keep-power-in-suspend; |
| 28 | no-1-8-v; |
| 29 | non-removable; |
| 30 | vmmc-supply = <®_module_3v3>; |
| 31 | status = "okay"; |
| 32 | }; |
| 33 | |
| 34 | &iomuxc { |
| 35 | pinctrl_usdhc2emmc: usdhc2emmcgrp { |
| 36 | fsl,pins = < |
| 37 | MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x17059 |
| 38 | MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059 |
| 39 | MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059 |
| 40 | MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059 |
| 41 | MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059 |
| 42 | MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059 |
| 43 | MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059 |
| 44 | MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059 |
| 45 | MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059 |
| 46 | MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059 |
| 47 | >; |
| 48 | }; |
| 49 | }; |