add missing MMC2 in u-boot for opizeroplus2-h3

This commit is contained in:
Martin Ayotte 2017-05-11 12:38:03 -04:00
parent e67ee02e4d
commit a4f2dda417

View File

@ -15,7 +15,7 @@ new file mode 100644
index 0000000000..9cc48c2536
--- /dev/null
+++ b/arch/arm/dts/sun8i-h3-orangepi-zeroplus.dts
@@ -0,0 +1,149 @@
@@ -0,0 +1,159 @@
+/*
+ * Copyright (C) 2016 Icenowy Zheng <icenowy@aosc.xyz>
+ *
@ -150,6 +150,16 @@ index 0000000000..9cc48c2536
+ };
+};
+
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_8bit_pins>;
+ vmmc-supply = <&reg_vcc3v3>;
+ bus-width = <8>;
+ non-removable;
+ cap-mmc-hw-reset;
+ status = "okay";
+};
+
+&ohci1 {
+ status = "okay";
+};
@ -186,5 +196,6 @@ index 0000000000..3bfcf619b1
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_SPL_SPI_SUNXI=y
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_USB_EHCI_HCD=y
+CONFIG_SYS_CLK_FREQ=480000000