From ed5d970c16d14aa24edc20b8a096f230a398f7be Mon Sep 17 00:00:00 2001 From: Tomaz Solc Date: Mon, 18 Feb 2019 12:32:13 +0100 Subject: ARM: rpi: switch emmc from sdhost to sdhci BCM2837 has two mmc interfaces: sdhost and sdhci. On Raspberry Pi 3, sdhost is normally used for SD card/MMC flash and sdhci for the wireless interface. Barebox currently only has a driver for sdhci, so we disable the sdhost interface and remap the pins so that the sdhci has access to the SD card/MMC flash. Signed-off-by: Sascha Hauer --- arch/arm/dts/bcm2837-rpi-3.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/bcm2837-rpi-3.dts b/arch/arm/dts/bcm2837-rpi-3.dts index 194b41c23b..51883613ce 100644 --- a/arch/arm/dts/bcm2837-rpi-3.dts +++ b/arch/arm/dts/bcm2837-rpi-3.dts @@ -9,3 +9,12 @@ reg = <0x0 0x0>; }; }; + +&sdhci { + pinctrl-0 = <&emmc_gpio48>; + /delete-node/ wifi@1; +}; + +&sdhost { + status = "disabled"; +}; -- cgit v1.2.3