Hi @N2M
in most cases, when only need to supply, you don't need to connect CC lines to STM32MP.
Just 5.1k pull downs on CC1 and CC2 to ensure the power supply will detect the board and enable VBUS (as per USB Type-C standard requirement).
On STM32MP157D-DK1, we connected CC lines to ADC to being able to check if supply is showing as 5V/3A in the way it is done as per Type-C standard (if I remember, we could distinguish between 0.5, 0.9, 1.5 and 3A)
If you are consuming less than 5V/500mA or you don't matter to have issue if supplies is too weak, no need that.
Otherwise, you could connect to any ADC inputs as on STM32MP157D-DK1 (with 47k to get some current limitation when STM32MP is OFF) and define those in Device Tree (e.g. https://github.com/STMicroelectronics/u-boot/blob/v2023.10-stm32mp/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi#L18 ).
Regards