mirror of
https://github.com/armbian/build.git
synced 2025-08-13 22:56:57 +02:00
* Adjusted patches so they align with 2021.04 - briefly tested on Lime A64 and BPI M3 * Move to RC5 * Move away from RC branch
60 lines
1.2 KiB
Diff
60 lines
1.2 KiB
Diff
diff --git a/arch/arm/dts/sun50i-a64-orangepi-win.dts b/arch/arm/dts/sun50i-a64-orangepi-win.dts
|
|
index b0c64f7..50d921f 100644
|
|
--- a/arch/arm/dts/sun50i-a64-orangepi-win.dts
|
|
+++ b/arch/arm/dts/sun50i-a64-orangepi-win.dts
|
|
@@ -53,6 +53,7 @@
|
|
|
|
aliases {
|
|
ethernet0 = &emac;
|
|
+ ethernet1 = &brcmf;
|
|
serial0 = &uart0;
|
|
serial1 = &uart1;
|
|
serial2 = &uart2;
|
|
@@ -151,6 +152,16 @@
|
|
};
|
|
};
|
|
|
|
+&i2c1 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c1_pins>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&i2c1_pins {
|
|
+ bias-pull-up;
|
|
+};
|
|
+
|
|
&mmc0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc0_pins>;
|
|
@@ -197,6 +197,16 @@
|
|
};
|
|
};
|
|
|
|
+&mmc2 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&mmc2_pins>;
|
|
+ vmmc-supply = <®_dcdc1>;
|
|
+ bus-width = <8>;
|
|
+ non-removable;
|
|
+ cap-mmc-hw-reset;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&ohci0 {
|
|
status = "okay";
|
|
};
|
|
diff --git a/configs/orangepi_win_defconfig b/configs/orangepi_win_defconfig
|
|
index 2839503..5b0780d 100644
|
|
--- a/configs/orangepi_win_defconfig
|
|
+++ b/configs/orangepi_win_defconfig
|
|
@@ -1,6 +1,8 @@
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL=y
|
|
+CONFIG_MMC0_CD_PIN="PH13"
|
|
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_MACH_SUN50I=y
|
|
CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
|
|
CONFIG_MACPWR="PD14"
|