]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apalis-imx8: add emmc/mmc card pinctrl's for different speeds
authorAndrejs Cainikovs <andrejs.cainikovs@toradex.com>
Mon, 16 Jan 2023 19:05:15 +0000 (20:05 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 20:02:27 +0000 (21:02 +0100)
Add pinctrl's for high speed eMMC and MMC cards.

Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/fsl-imx8qm-apalis.dts

index 0d8d3b3e8e8df1c48d0508f4afb9de0725813187..bc7c75d337206e30b8cb6e95a6a80b06c8e1a2b3 100644 (file)
 
 /* eMMC */
 &usdhc1 {
-       pinctrl-names = "default";
+       pinctrl-names = "default", "state_100mhz", "state_200mhz";
        pinctrl-0 = <&pinctrl_usdhc1>;
+       pinctrl-1 = <&pinctrl_usdhc1>;
+       pinctrl-2 = <&pinctrl_usdhc1>;
        bus-width = <8>;
        non-removable;
        status = "okay";
 
 /* Apalis MMC1 */
 &usdhc2 {
-       pinctrl-names = "default";
+       pinctrl-names = "default", "state_100mhz", "state_200mhz";
        pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_mmc1_cd>;
+       pinctrl-1 = <&pinctrl_usdhc2>, <&pinctrl_mmc1_cd>;
+       pinctrl-2 = <&pinctrl_usdhc2>, <&pinctrl_mmc1_cd>;
        bus-width = <8>;
        cd-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>; /* Apalis MMC1_CD# */
        status = "okay";