1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 2 /* 3 * Copyright 2018-2021 Toradex 3 * Copyright 2018-2021 Toradex 4 */ 4 */ 5 5 6 #include "imx8x-colibri-iris.dtsi" 6 #include "imx8x-colibri-iris.dtsi" 7 7 8 / { 8 / { 9 reg_3v3_vmmc: regulator-3v3-vmmc { 9 reg_3v3_vmmc: regulator-3v3-vmmc { 10 compatible = "regulator-fixed" 10 compatible = "regulator-fixed"; 11 pinctrl-names = "default"; 11 pinctrl-names = "default"; 12 pinctrl-0 = <&pinctrl_enable_3 12 pinctrl-0 = <&pinctrl_enable_3v3_vmmc>; 13 enable-active-high; 13 enable-active-high; 14 gpio = <&lsio_gpio0 31 GPIO_AC 14 gpio = <&lsio_gpio0 31 GPIO_ACTIVE_HIGH>; 15 regulator-max-microvolt = <330 15 regulator-max-microvolt = <3300000>; 16 regulator-min-microvolt = <330 16 regulator-min-microvolt = <3300000>; 17 regulator-name = "3v3_vmmc"; 17 regulator-name = "3v3_vmmc"; 18 startup-delay-us = <100>; 18 startup-delay-us = <100>; 19 }; 19 }; 20 }; 20 }; 21 21 22 &iomuxc { 22 &iomuxc { 23 pinctrl-names = "default"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_lvds_converter & 24 pinctrl-0 = <&pinctrl_lvds_converter &pinctrl_gpio_iris>; 25 25 26 pinctrl_enable_3v3_vmmc: enable-3v3-vm 26 pinctrl_enable_3v3_vmmc: enable-3v3-vmmc-grp { 27 fsl,pins = <IMX8QXP_SAI1_RXFS_ 27 fsl,pins = <IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31 0x20>; /* SODIMM 100 */ 28 }; 28 }; 29 29 30 pinctrl_lvds_converter: lvds-converter 30 pinctrl_lvds_converter: lvds-converter-grp { 31 fsl,pins = <IMX8QXP_FLEXCAN1_T 31 fsl,pins = <IMX8QXP_FLEXCAN1_TX_LSIO_GPIO1_IO18 0x20>, /* SODIMM 55 */ 32 /* 6B/8B mode. Sele 32 /* 6B/8B mode. Select LOW - 8B mode (24bit) */ 33 <IMX8QXP_FLEXCAN1_R 33 <IMX8QXP_FLEXCAN1_RX_LSIO_GPIO1_IO17 0x20>, /* SODIMM 63 */ 34 <IMX8QXP_QSPI0B_SCL 34 <IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17 0x20>, /* SODIMM 95 */ 35 <IMX8QXP_QSPI0B_DAT 35 <IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x20>; /* SODIMM 99 */ 36 }; 36 }; 37 }; 37 }; 38 38 39 /* Colibri SD/MMC Card */ 39 /* Colibri SD/MMC Card */ 40 &usdhc2 { 40 &usdhc2 { 41 cap-power-off-card; 41 cap-power-off-card; 42 /delete-property/ no-1-8-v; 42 /delete-property/ no-1-8-v; 43 vmmc-supply = <®_3v3_vmmc>; 43 vmmc-supply = <®_3v3_vmmc>; 44 status = "okay"; 44 status = "okay"; 45 }; 45 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.