From a4f2dda417be67fe973723af4f1ba8eb74d0df70 Mon Sep 17 00:00:00 2001 From: Martin Ayotte Date: Thu, 11 May 2017 12:38:03 -0400 Subject: [PATCH] add missing MMC2 in u-boot for opizeroplus2-h3 --- patch/u-boot/u-boot-sunxi/add-opizeroplus2-h3.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/patch/u-boot/u-boot-sunxi/add-opizeroplus2-h3.patch b/patch/u-boot/u-boot-sunxi/add-opizeroplus2-h3.patch index 1bb5a51325..8310c9a8ef 100644 --- a/patch/u-boot/u-boot-sunxi/add-opizeroplus2-h3.patch +++ b/patch/u-boot/u-boot-sunxi/add-opizeroplus2-h3.patch @@ -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 + * @@ -150,6 +150,16 @@ index 0000000000..9cc48c2536 + }; +}; + ++&mmc2 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc2_8bit_pins>; ++ vmmc-supply = <®_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