Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/GPIOP/GPIOP_HWCFGR6#0x0
GPIO port P hardware configuration register 6
MODER register reset value
https://github.com/modm-io/cmsis-svd-stm32