summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2018-07-12 11:04:17 +0800
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-07-12 09:43:23 +0200
commit8249ede477c50d82c4ce82b0f08f1ce89c919ae7 (patch)
treec6dbf776967d24ba0531bc8e1bd4385f3ae4ffa8 /arch/arm
parent51ecdd779e31ed45709bc32ff7efd4b28c3ce083 (diff)
downloadlinux-8249ede477c50d82c4ce82b0f08f1ce89c919ae7.tar.gz
linux-8249ede477c50d82c4ce82b0f08f1ce89c919ae7.tar.bz2
linux-8249ede477c50d82c4ce82b0f08f1ce89c919ae7.zip
ARM: dts: sunxi: libretech-all-h3-cc: Enable eMMC module
The Libretech ALL-H3-CC has a high density connector for attaching an eMMC module. The module form factor and connection is specific to Libretech, and has provisions for split vmmc/vqmmc (core and I/O) voltage supplies, but this board does not wire the vqmmc side. The H2+/H3/H5 SoCs do not support alternate I/O voltages for eMMC either. Only 3.3V is supported. A specific module that ties vqmmc to vmmc, with both at 3.3V, must be used. Given that a) eMMC is not designed to be hotplugged, b) power is always provided on the pins, and c) MMC controllers can deal with missing cards, we can enable this by default. If a module is attached it will be picked up by the system. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/sunxi-libretech-all-h3-cc.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sunxi-libretech-all-h3-cc.dtsi b/arch/arm/boot/dts/sunxi-libretech-all-h3-cc.dtsi
index f7ffdd6658a2..1eadc132390c 100644
--- a/arch/arm/boot/dts/sunxi-libretech-all-h3-cc.dtsi
+++ b/arch/arm/boot/dts/sunxi-libretech-all-h3-cc.dtsi
@@ -178,6 +178,15 @@
status = "okay";
};
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_8bit_pins>;
+ vmmc-supply = <&reg_vcc_io>;
+ bus-width = <8>;
+ non-removable;
+ status = "okay";
+};
+
&ohci0 {
status = "okay";
};