public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dts: enable rtl8723ds on lichee pi 4a
@ 2026-04-25  7:04 MoeLeak
  2026-04-25 23:46 ` Drew Fustini
  0 siblings, 1 reply; 2+ messages in thread
From: MoeLeak @ 2026-04-25  7:04 UTC (permalink / raw)
  To: fustini; +Cc: linux-kernel, MoeLeak

---
 .../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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-25 23:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25  7:04 [PATCH] dts: enable rtl8723ds on lichee pi 4a MoeLeak
2026-04-25 23:46 ` Drew Fustini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox