diff options
author | Tomaz Solc <tomaz.solc@tablix.org> | 2019-02-18 12:32:13 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-19 10:07:44 +0100 |
commit | ed5d970c16d14aa24edc20b8a096f230a398f7be (patch) | |
tree | f31a76e1bda3622379caf74dccc815031963994e /arch | |
parent | 73f2bc1466e257dbe2a0edd7d3c2ab4dba8e9470 (diff) | |
download | barebox-ed5d970c16d14aa24edc20b8a096f230a398f7be.tar.gz barebox-ed5d970c16d14aa24edc20b8a096f230a398f7be.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/bcm2837-rpi-3.dts | 9 |
1 files changed, 9 insertions, 0 deletions
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"; +}; |