dts pinmux disable

in BBB dtso files, there is the following

&ocp {
	P9_17_pinmux { status = "disabled"; };	/* P9_17 (A16) spi0_cs0.spi0_cs0 */
}

and then later define the new P9_17 feature.

does Pocket Beagle 2 have an equivalent ??
or would we do something like the following ??

some_pin: some-default-pin {
	pinctrl-single,pins = <
		AM62X_IOPAD(0x01a8, PIN_DISABLE, 7) /* P1.04: (D20) MCASP0_AFSX. some prior setting  */
		AM62X_IOPAD(0x01a8, PIN_OUTPUT, 7) /* P1.04:  (D20) MCASP0_AFSX.GPIO1_12  */
	>;
};
1 Like