Commit e84984f8 authored by Patrice Chotard's avatar Patrice Chotard Committed by Alexandre Torgue
Browse files

ARM: dts: stm32: Enable SDIO controller on stm32429i-eval board



This patch adds SDIO related DT nodes for stm32429i-eval board.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 64348d9f
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -144,6 +144,13 @@
			};
		};
	};

	mmc_vcard: mmc_vcard {
		compatible = "regulator-fixed";
		regulator-name = "mmc_vcard";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
	};
};

&adc {
@@ -254,6 +261,18 @@
	status = "okay";
};

&sdio {
	status = "okay";
	vmmc-supply = <&mmc_vcard>;
	cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_HIGH>;
	cd-inverted;
	pinctrl-names = "default", "opendrain";
	pinctrl-0 = <&sdio_pins>;
	pinctrl-1 = <&sdio_pins_od>;
	bus-width = <4>;
	max-frequency = <12500000>;
};

&timers1 {
	status = "okay";