* [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
* Re: [PATCH] dts: enable rtl8723ds on lichee pi 4a
2026-04-25 7:04 [PATCH] dts: enable rtl8723ds on lichee pi 4a MoeLeak
@ 2026-04-25 23:46 ` Drew Fustini
0 siblings, 0 replies; 2+ messages in thread
From: Drew Fustini @ 2026-04-25 23:46 UTC (permalink / raw)
To: MoeLeak; +Cc: linux-kernel
On Sat, Apr 25, 2026 at 03:04:50PM +0800, MoeLeak wrote:
> ---
> .../boot/dts/thead/th1520-lichee-pi-4a.dts | 23 +++++++++++++++++++
> 1 file changed, 23 insertions(+)
Hello, thanks for sending this patch. Please resend with a full commit
message including a Signed-off-by: tag [1].
What branch did you use to create this patch? It does not apply to
mainline.
>
> 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>;
This is not a valid phandle in the mainline dts for the th1520. Did you
base this patch on the vendor kernel?
Thanks,
Drew
[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html
^ permalink raw reply [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