[SRU][N:raspi][PATCH 6/7] dts: bcm2712: cm5: Force the ANT pins to GPIOs
Juerg Haefliger
juerg.haefliger at canonical.com
Wed Mar 19 09:58:30 UTC 2025
From: Phil Elwell <phil at raspberrypi.com>
BugLink: https://bugs.launchpad.net/bugs/2089555
The magic required to make requesting a GPIO automatically change the
pinmux settings is currently absent. Work around that by explicitly
requesting that the ANT pins be in GPIO mode.
Signed-off-by: Phil Elwell <phil at raspberrypi.com>
(cherry picked from commit 10ec60eefd7036008c5436608012fb5e3d569b1d rpi-6.8.y)
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi b/arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi
index b6fa6115d45e..f92ebb4e7f15 100644
--- a/arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi
@@ -359,6 +359,9 @@ &sdio1 {
};
&pinctrl_aon {
+ ant_pins: ant_pins {
+ function = "gpio";
+ pins = "aon_gpio5", "aon_gpio6";
};
/* Slight hack - only one PWM pin (status LED) is usable */
@@ -461,7 +464,7 @@ &usb {
/* SDIO2 drives the WLAN interface */
&sdio2 {
- pinctrl-0 = <&sdio2_30_pins>;
+ pinctrl-0 = <&sdio2_30_pins>, <&ant_pins>;
pinctrl-names = "default";
bus-width = <4>;
vmmc-supply = <&wl_on_reg>;
--
2.43.0
More information about the kernel-team
mailing list