[U-Boot] [PATCH 03/25] ARM: dts: sun4i: Add mmc0 node for iNet 3F
Jagan Teki
jagan at amarulasolutions.com
Mon Jul 16 08:19:34 UTC 2018
Since SUN4I moved to DM_MMC, we need to have mmc node
in iNet 3F DT otherwise it will not probe.
Cc: Paul Kocialkowski <contact at paulk.fr>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
arch/arm/dts/sun4i-a10-inet-3f.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/sun4i-a10-inet-3f.dts b/arch/arm/dts/sun4i-a10-inet-3f.dts
index f815b83157..4ebf206c4a 100644
--- a/arch/arm/dts/sun4i-a10-inet-3f.dts
+++ b/arch/arm/dts/sun4i-a10-inet-3f.dts
@@ -7,6 +7,8 @@
/dts-v1/;
#include "sun4i-a10.dtsi"
+#include "sunxi-common-regulators.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "iNet 3F";
@@ -21,6 +23,13 @@
};
};
+&mmc0 {
+ vmmc-supply = <®_vcc3v3>;
+ bus-width = <4>;
+ cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
+ status = "okay";
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
--
2.17.1
More information about the U-Boot
mailing list