Skip to content

Commit 0c341f4

Browse files
committed
dts: bcm2712: cm5: Force the ANT pins to GPIOs
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@raspberrypi.com>
1 parent 8f5ca7f commit 0c341f4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arch/arm/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ dpi_16bit_gpio2: &rp1_dpi_16bit_gpio2 { };
359359
};
360360

361361
&pinctrl_aon {
362+
ant_pins: ant_pins {
363+
function = "gpio";
364+
pins = "aon_gpio5", "aon_gpio6";
362365
};
363366

364367
/* Slight hack - only one PWM pin (status LED) is usable */
@@ -461,7 +464,7 @@ dpi_16bit_gpio2: &rp1_dpi_16bit_gpio2 { };
461464

462465
/* SDIO2 drives the WLAN interface */
463466
&sdio2 {
464-
pinctrl-0 = <&sdio2_30_pins>;
467+
pinctrl-0 = <&sdio2_30_pins>, <&ant_pins>;
465468
pinctrl-names = "default";
466469
bus-width = <4>;
467470
vmmc-supply = <&wl_on_reg>;

0 commit comments

Comments
 (0)