riscv: dts: thead: Add edge-triggered option for wireless nodes 41/316141/2
authorMichal Wilczynski <m.wilczynski@samsung.com>
Tue, 10 Dec 2024 18:39:13 +0000 (19:39 +0100)
committerMichal Wilczynski <m.wilczynski@samsung.com>
Thu, 12 Dec 2024 15:43:29 +0000 (16:43 +0100)
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 <m.wilczynski@samsung.com>
arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi

index be72c82de6aebfc1458e65499212a2e7d3d70b53..935799df0d66e8efbb5e2e31146b78c94aa19bed 100644 (file)
                label = "rfkill-sdio-wlan";
                radio-type = "wlan";
                shutdown-gpios = <&pcal6408ahk_c 4 GPIO_ACTIVE_HIGH>;
+               edge-triggered;
        };
 
        rfkill-sdio-bluetooth {
                label = "rfkill-sdio-bluetooth";
                radio-type = "bluetooth";
                shutdown-gpios = <&pcal6408ahk_c 5 GPIO_ACTIVE_HIGH>;
+               edge-triggered;
        };
 };