Skip to content

Commit a4e7897

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 af9965a commit a4e7897

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,18 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
734734
function = "vbus1";
735735
pins = "gpio42", "gpio43";
736736
};
737+
738+
micclk1_hog {
739+
gpio-hog;
740+
gpios = <46 GPIO_ACTIVE_HIGH>;
741+
output-high;
742+
};
743+
744+
micdat1_hog {
745+
gpio-hog;
746+
gpios = <48 GPIO_ACTIVE_HIGH>;
747+
output-high;
748+
};
737749
};
738750

739751
/ {

0 commit comments

Comments
 (0)