forked from home-assistant/operating-system
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi dts fixes to improve stability of wifi
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
buildroot-external/board/sonoff/ihost/patches/linux/0025-try-fix-wifi-sdio-clocks.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From 2be019a43e919bc658bf418f80395d38b98961a7 Mon Sep 17 00:00:00 2001 | ||
From: Tim Lunn <[email protected]> | ||
Date: Fri, 8 Dec 2023 22:01:53 +1100 | ||
Subject: [PATCH] try fix wifi sdio clocks | ||
|
||
--- | ||
arch/arm/boot/dts/rv1126-sonoff-ihost.dtsi | 8 +++++--- | ||
1 file changed, 5 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/arch/arm/boot/dts/rv1126-sonoff-ihost.dtsi b/arch/arm/boot/dts/rv1126-sonoff-ihost.dtsi | ||
index 0ccb55c40a85..9a4b020033d1 100644 | ||
--- a/arch/arm/boot/dts/rv1126-sonoff-ihost.dtsi | ||
+++ b/arch/arm/boot/dts/rv1126-sonoff-ihost.dtsi | ||
@@ -339,7 +339,7 @@ host_vbus_drv: host-vbus-drv { | ||
|
||
wifi { | ||
wifi_enable_h: wifi-enable-h { | ||
- rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; | ||
+ rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_down>; | ||
}; | ||
}; | ||
}; | ||
@@ -367,13 +367,15 @@ &sdio { | ||
cap-sd-highspeed; | ||
cap-sdio-irq; | ||
keep-power-in-suspend; | ||
- max-frequency = <100000000>; | ||
+ max-frequency = <50000000>; | ||
mmc-pwrseq = <&sdio_pwrseq>; | ||
non-removable; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>; | ||
rockchip,default-sample-phase = <90>; | ||
- sd-uhs-sdr104; | ||
+ sd-uhs-sdr12; | ||
+ sd-uhs-sdr25; | ||
+ sd-uhs-sdr50; | ||
vmmc-supply = <&vcc3v3_sys>; | ||
vqmmc-supply = <&vcc_1v8>; | ||
status = "okay"; | ||
-- | ||
2.40.1 | ||
|