mirror of
https://github.com/Fishwaldo/build.git
synced 2025-04-01 11:41:42 +00:00
32 lines
925 B
Text
32 lines
925 B
Text
diff --git a/arch/arm/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/dts/sun7i-a20-olinuxino-lime2.dts
|
|
index 8acff78..3cdc5d1 100644
|
|
--- a/arch/arm/dts/sun7i-a20-olinuxino-lime2.dts
|
|
+++ b/arch/arm/dts/sun7i-a20-olinuxino-lime2.dts
|
|
@@ -182,6 +182,15 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&mmc2 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&mmc2_pins_a>;
|
|
+ vmmc-supply = <®_vcc3v3>;
|
|
+ bus-width = <4>;
|
|
+ non-removable;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&ohci0 {
|
|
status = "okay";
|
|
};
|
|
diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig
|
|
index c9d0f47..1b1ea27 100644
|
|
--- a/configs/A20-OLinuXino-Lime2_defconfig
|
|
+++ b/configs/A20-OLinuXino-Lime2_defconfig
|
|
@@ -3,6 +3,7 @@ CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=480
|
|
CONFIG_MMC0_CD_PIN="PH1"
|
|
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_USB0_VBUS_PIN="PC17"
|
|
CONFIG_USB0_VBUS_DET="PH5"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2"
|