cancel
Showing results for 
Search instead for 
Did you mean: 

Why some GPIOs are enabled (with status "okay") in stm32mp15xxac-pinctrl.dtsi ? Are they obligatory for proper functioning of SoC STM32MP1 ?

mishuk
Associate III

1) Where can I get information on these GPIOs ?

2) Can I safely reassign, say GPIOz ?

https://github.com/MYiR-Dev/myir-st-linux/blob/develop/arch/arm/boot/dts/stm32mp15xxac-pinctrl.dtsi

1 REPLY 1
PatrickF
ST Employee

Hi,

all the GPIOs 'okay' you see are for the GPIO banks IP, which are enabled by default and handled by Linux side.

Changes in this file is not recommended.

Individual pin assignments within GPIO banks are define in other part of the device tree (e.g. output from CubeMx/CubeIDE like stm32mp157c-mydevicetree-mx.dts).

Please look at https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.