Skip to content

Commit 9b2b614

Browse files
roliver-rpipelwell
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 <richard.oliver@raspberrypi.com>
1 parent a6322f0 commit 9b2b614

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
@@ -700,6 +700,18 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
700700
function = "vbus1";
701701
pins = "gpio42", "gpio43";
702702
};
703+
704+
micclk1_hog {
705+
gpio-hog;
706+
gpios = <46 GPIO_ACTIVE_HIGH>;
707+
output-high;
708+
};
709+
710+
micdat1_hog {
711+
gpio-hog;
712+
gpios = <48 GPIO_ACTIVE_HIGH>;
713+
output-high;
714+
};
703715
};
704716

705717
/ {

0 commit comments

Comments
 (0)