summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-07-24 16:59:05 +0300
committerChen-Yu Tsai <wens@csie.org>2017-08-05 17:06:58 +0300
commit581ae76e96c6ab3bf942da7c4822ce9fa2074a01 (patch)
tree6bfcf2643558f955b87326e81b66b8d5bc9aed2a /arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
parent06b234ac4eebcea7ad60fdacefec33e15a76439a (diff)
downloadlinux-581ae76e96c6ab3bf942da7c4822ce9fa2074a01.tar.xz
ARM: dts: sun8i: a83t: h8homlet: Enable micro-SD card and onboard eMMC
The H8 homlet has a micro-SD card slot connected to mmc0, and onboard eMMC from FORESEE, connected to mmc2. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
index aecdeeb368ed..7afbaa4eea8d 100644
--- a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
@@ -43,6 +43,7 @@
/dts-v1/;
#include "sun8i-a83t.dtsi"
+#include "sunxi-common-regulators.dtsi"
/ {
model = "Allwinner A83T H8Homlet Proto Dev Board v2.0";
@@ -57,6 +58,26 @@
};
};
+&mmc0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc0_pins>;
+ vmmc-supply = <&reg_vcc3v0>;
+ cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
+ bus-width = <4>;
+ cd-inverted;
+ status = "okay";
+};
+
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_8bit_emmc_pins>;
+ vmmc-supply = <&reg_vcc3v0>;
+ bus-width = <8>;
+ non-removable;
+ cap-mmc-hw-reset;
+ status = "okay";
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pb_pins>;