[PATCH] dts: enable rtl8723ds on lichee pi 4a
From: MoeLeak
Date: Sat Apr 25 2026 - 03:10:16 EST
---
.../boot/dts/thead/th1520-lichee-pi-4a.dts | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
index a5b00c48d..46d3f21e3 100644
--- a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
+++ b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
@@ -29,6 +29,7 @@ aliases {
i2c2 = &i2c2;
i2c3 = &i2c3;
i2c4 = &i2c4;
+ wifi0 = &rtl8723ds;
};
chosen {
@@ -119,6 +120,12 @@ vcc5v_usb: regulator-vcc5v_usb {
enable-active-high;
regulator-always-on;
};
+
+ wifi_pwrseq: wifi-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&ioexp2 4 GPIO_ACTIVE_LOW>;
+ post-power-on-delay-ms = <200>;
+ };
};
&aogpio {
@@ -294,6 +301,22 @@ &uart0 {
status = "okay";
};
+&sdio1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ bus-width = <4>;
+ max-frequency = <198000000>;
+ cap-sdio-irq;
+ keep-power-in-suspend;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ non-removable;
+ status = "okay";
+
+ rtl8723ds: wifi@1 {
+ reg = <1>;
+ };
+};
+
&usb {
status = "okay";
};
--
2.53.0