38 lines
1010 B
Diff
38 lines
1010 B
Diff
|
diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo-air.dts b/arch/arm/dts/sun8i-h3-nanopi-neo-air.dts
|
||
|
index cd3df12b65..24c462074b 100644
|
||
|
--- a/arch/arm/dts/sun8i-h3-nanopi-neo-air.dts
|
||
|
+++ b/arch/arm/dts/sun8i-h3-nanopi-neo-air.dts
|
||
|
@@ -113,6 +113,23 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&mmc2 {
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&mmc2_8bit_pins>;
|
||
|
+ vmmc-supply = <®_vcc3v3>;
|
||
|
+ bus-width = <8>;
|
||
|
+ non-removable;
|
||
|
+ cap-mmc-hw-reset;
|
||
|
+ status = "okay";
|
||
|
+};
|
||
|
+
|
||
|
+&mmc2_8bit_pins {
|
||
|
+ /* Increase drive strength for DDR modes */
|
||
|
+ drive-strength = <40>;
|
||
|
+ /* eMMC is missing pull-ups */
|
||
|
+ bias-pull-up;
|
||
|
+};
|
||
|
+
|
||
|
&uart0 {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&uart0_pa_pins>;
|
||
|
diff --git a/configs/nanopi_neo_air_defconfig b/configs/nanopi_neo_air_defconfig
|
||
|
index b83b6a3499..4b13290130 100644
|
||
|
--- a/configs/nanopi_neo_air_defconfig
|
||
|
+++ b/configs/nanopi_neo_air_defconfig
|
||
|
@@ -11,3 +11,4 @@ CONFIG_SPL_STACK=0x8000
|
||
|
CONFIG_SYS_PBSIZE=1024
|
||
|
CONFIG_USB_EHCI_HCD=y
|
||
|
CONFIG_USB_OHCI_HCD=y
|
||
|
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|