ARM: dts: sun8i: h3: Add eMMC for NanoPi M1 Plus
authorEmmanuel Vadot <manu@freebsd.org>
Fri, 2 Mar 2018 21:38:52 +0000 (22:38 +0100)
committerChen-Yu Tsai <wens@csie.org>
Thu, 8 Mar 2018 03:19:26 +0000 (11:19 +0800)
The NanoPi-M1-Plus have a 8GB eMMC, add a node for it.
This eMMC is always powered with 3.3V.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
[wens@csie.org: Fixed "mmc2_8bits_pins" label typo; added subject prefixes]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts

index a6e6191..d2ebcae 100644 (file)
        };
 };
 
+&mmc2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc2_8bit_pins>;
+       vmmc-supply = <&reg_vcc3v3>;
+       vqmmc-supply = <&reg_vcc3v3>;
+       bus-width = <8>;
+       non-removable;
+       status = "okay";
+};
+
 &ohci1 {
        status = "okay";
 };