[U-Boot] [PATCH 10/25] ARM: dts: sun7i: Add mmc0 node for Mele M5
Jagan Teki
jagan at amarulasolutions.com
Mon Jul 16 08:19:41 UTC 2018
Since SUN7I moved to DM_MMC, we need to have mmc node
in Mele M5 DT otherwise it will not probe.
Cc: Ian Campbell <ijc at hellion.org.uk>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
arch/arm/dts/sun7i-a20-m5.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/sun7i-a20-m5.dts b/arch/arm/dts/sun7i-a20-m5.dts
index 00c3ffd323..8014ebc310 100644
--- a/arch/arm/dts/sun7i-a20-m5.dts
+++ b/arch/arm/dts/sun7i-a20-m5.dts
@@ -7,6 +7,8 @@
/dts-v1/;
#include "sun7i-a20.dtsi"
+#include "sunxi-common-regulators.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Mele M5";
@@ -41,6 +43,16 @@
};
};
+&mmc0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
+ vmmc-supply = <®_vcc3v3>;
+ bus-width = <4>;
+ cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
+ cd-inverted;
+ status = "okay";
+};
+
&ohci0 {
status = "okay";
};
--
2.17.1
More information about the U-Boot
mailing list