.../boot/dts/thead/th1520-beaglev-ahead.dts | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+)
The BeagleV-Ahead board uses an AP6203BM WiFi chip from AMPAK Technology
Inc. connected to SDIO1. The chip is compatible to the broadcom wireless
driver.
The AP6203BM is a dual-band 2.4GHz/5GHz Wi-Fi 4 (802.11a/b/g/n) and
Bluetooth 5.4 module. Bluetooth is not enabled by this patch.
Signed-off-by: Thomas Gerner <thomas.gerner@muenchen-mail.de>
---
Change in v4:
- follow DTS coding style
- use generic name for pwrseq node
Change in v3:
- consider further issues found by sashiko AI review
Change in v2:
- consider issues found by sashiko AI review
.../boot/dts/thead/th1520-beaglev-ahead.dts | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
index 91f3f9b987bc..e16484a47653 100644
--- a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
+++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
@@ -86,6 +86,11 @@ hdmi_con_in: endpoint {
};
};
};
+
+ wifi_pwrseq: wifi-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&gpio2 31 GPIO_ACTIVE_LOW>; /* WL-REG-ON */
+ };
};
&osc {
@@ -239,6 +244,28 @@ rx-pins {
slew-rate = <0>;
};
};
+
+ wifi_pins: wifi-0 {
+ host-wake-pins {
+ pins = "GPIO2_25";
+ function = "gpio";
+ bias-disable;
+ drive-strength = <1>;
+ input-enable;
+ input-schmitt-disable;
+ slew-rate = <0>;
+ };
+
+ reg-on-pins {
+ pins = "GPIO2_31";
+ function = "gpio";
+ bias-disable;
+ drive-strength = <3>;
+ input-disable;
+ input-schmitt-disable;
+ slew-rate = <0>;
+ };
+ };
};
&sdio0 {
@@ -247,6 +274,27 @@ &sdio0 {
status = "okay";
};
+&sdio1 {
+ bus-width = <4>;
+ max-frequency = <198000000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&wifi_pins>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ non-removable;
+ keep-power-in-suspend;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ status = "okay";
+
+ wifi@1 {
+ compatible = "cypress,cyw43012-fmac", "brcm,bcm4329-fmac";
+ reg = <1>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <25 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "host-wake";
+ };
+};
+
&dpu {
status = "okay";
};
--
2.43.0
On Thu, May 14, 2026 at 08:32:01PM +0200, Thomas Gerner wrote: > The BeagleV-Ahead board uses an AP6203BM WiFi chip from AMPAK Technology > Inc. connected to SDIO1. The chip is compatible to the broadcom wireless > driver. > > The AP6203BM is a dual-band 2.4GHz/5GHz Wi-Fi 4 (802.11a/b/g/n) and > Bluetooth 5.4 module. Bluetooth is not enabled by this patch. > > Signed-off-by: Thomas Gerner <thomas.gerner@muenchen-mail.de> > --- > Change in v4: > - follow DTS coding style > - use generic name for pwrseq node > > Change in v3: > - consider further issues found by sashiko AI review > > Change in v2: > - consider issues found by sashiko AI review > > .../boot/dts/thead/th1520-beaglev-ahead.dts | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) Reviewed-by: Drew Fustini <fustini@kernel.org> I have applied this to thead-dt-for-next [1]. Thanks, Drew [1] https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git/commit/?h=thead-dt-for-next&id=3a5791956edbfa84d7256224167941931cbc46e7
© 2016 - 2026 Red Hat, Inc.