From: Michal Wilczynski Date: Tue, 10 Dec 2024 18:39:13 +0000 (+0100) Subject: riscv: dts: thead: Add edge-triggered option for wireless nodes X-Git-Tag: accepted/tizen/unified/20241216.185838~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2adcc99334ea5fe597a8876a1af07c82fcd17ed;p=platform%2Fkernel%2Flinux-thead.git riscv: dts: thead: Add edge-triggered option for wireless nodes After extensive testing it seems like the wireless chips used on the TH1520 SoC - aic8800 and rtk connected to PCA9557 I/O expander are connected so in an unstable way. There is a need to flip GPIO values 0->1 with some delay in order for the chips to start predictably. Change-Id: Ib2d11139f51dbb37edc0b0aed3a61f459eed8c43 Signed-off-by: Michal Wilczynski --- diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi b/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi index be72c82de6ae..935799df0d66 100644 --- a/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi +++ b/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi @@ -390,6 +390,7 @@ label = "rfkill-sdio-wlan"; radio-type = "wlan"; shutdown-gpios = <&pcal6408ahk_c 4 GPIO_ACTIVE_HIGH>; + edge-triggered; }; rfkill-sdio-bluetooth { @@ -397,6 +398,7 @@ label = "rfkill-sdio-bluetooth"; radio-type = "bluetooth"; shutdown-gpios = <&pcal6408ahk_c 5 GPIO_ACTIVE_HIGH>; + edge-triggered; }; };