mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Fix orangepizero wifi and usb otg (#7614)
This commit is contained in:
committed by
GitHub
parent
4c61f61a8e
commit
1ab73573f4
@@ -3536,7 +3536,11 @@ CONFIG_GPIO_DLN2=m
|
||||
# CONFIG_GPIO_MADERA is not set
|
||||
CONFIG_GPIO_MAX77650=m
|
||||
# end of MFD GPIO expanders
|
||||
|
||||
CONFIG_XRADIO=m
|
||||
CONFIG_XRADIO_NON_POWER_OF_TWO_BLOCKSIZES=y
|
||||
# CONFIG_XRADIO_5GHZ_SUPPORT is not set
|
||||
# CONFIG_XRADIO_WAPI_SUPPORT is not set
|
||||
CONFIG_XRADIO_USE_EXTENSIONS
|
||||
#
|
||||
# SPI GPIO expanders
|
||||
#
|
||||
|
||||
@@ -217,10 +217,10 @@ driver_xradio_xr819() {
|
||||
|
||||
# Wireless drivers for Xradio XR819 chipsets
|
||||
|
||||
if linux-version compare "${version}" ge 4.19 && linux-version compare "${version}" lt 6.11 && [[ "$LINUXFAMILY" == sunxi* ]]; then
|
||||
if linux-version compare "${version}" ge 4.19 && [[ "$LINUXFAMILY" == sunxi* ]]; then
|
||||
|
||||
# Attach to specific commit (is branch:master)
|
||||
local xradio_xr819_ver="commit:3a1f77fb2db248b7d18d93b67b16e0d6c91db184" # Commit date: Dec 25, 2023 (please update when updating commit ref)
|
||||
local xradio_xr819_ver="commit:180aafb14191c78c1529d5a28ca58c7c9dcf2c55" # Commit date: Dec 6, 2024 (please update when updating commit ref)
|
||||
|
||||
display_alert "Adding" "Wireless drivers for Xradio XR819 chipsets" "info"
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
index 1b001f2ad..f5c0e103b 100644
|
||||
--- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
@@ -194,7 +203,7 @@ &uart2 {
|
||||
};
|
||||
|
||||
&usb_otg {
|
||||
- dr_mode = "peripheral";
|
||||
+ dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user