Issue disabling GPIO1_07 (SODIMM 29) in device tree

I found an issue when disabling some pins from the device tree to dedicate them to the M4 Core.
Commenting the SODIMM_29 in

&gpio1 {
	gpio-line-names = 

is not enough to prevent the Linux from messing with the pin.

I had to comment the line:

&uart1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart1 &pinctrl_uart1_ctrl1 /*&pinctrl_uart1_ctrl2*/>;

I am using the UART1, however not with the control pins.

Shouldn’t just commenting the “SODIMM_29” prevent the linux from getting the pins? Should I remove other references to prevent the shared used?

Hello @Ilan_Figueiredo ,

Yes, you would also have to “release” the pin from all the previously used references to allow it to use with your new intended functionality.

Best Regards,
Janani