Skip to content

Commit 3ad40f1

Browse files
roliver-rpipopcornmix
authored andcommitted
dts: Add hogs for RP1 GPIO 46/48 on CM5
On Pi5 5, GPIOs 46/48 are made available on the 'CAM/DISP 1' connector as 'CD1_IO0_MICCLK'/'CD1_IO1_MICDAT1'. These GPIOs are not connected on CM5. Add hogs for GPIO 46/48 on CM5 to prevent camera drivers from inadvertently using them when connected to 'CAM/DISP 1' Signed-off-by: Richard Oliver <[email protected]>
1 parent 053a2a0 commit 3ad40f1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,18 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
699699
function = "vbus1";
700700
pins = "gpio42", "gpio43";
701701
};
702+
703+
micclk1_hog {
704+
gpio-hog;
705+
gpios = <46 GPIO_ACTIVE_HIGH>;
706+
output-high;
707+
};
708+
709+
micdat1_hog {
710+
gpio-hog;
711+
gpios = <48 GPIO_ACTIVE_HIGH>;
712+
output-high;
713+
};
702714
};
703715

704716
/ {

0 commit comments

Comments
 (0)