cancel
Showing results for 
Search instead for 
Did you mean: 

Should the pin settings in the generated .dts file be written to the .dtsi file?

安保.1
Associate II

In stm32mp157c-ed1.dts, the MPU pin setting is written in the stm32mp15-pinctrl.dtsi file, but in CubeMX, a node called @pinctrl is created in the generated .dts file and written in it.

Why?

Can I delete this part and create a ***.pinctrl.dtsi file?

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi,

Device tree structure provided for Starter package and Device tree structure generated by CubeMx are slightly different.

Please have a look to https://wiki.st.com/stm32mpu/wiki/STM32_MPU_device_tree#STM32CubeMX_generated_device_tree

see also

https://wiki.st.com/stm32mpu/wiki/Device_tree

and

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 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

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.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Hi,

Device tree structure provided for Starter package and Device tree structure generated by CubeMx are slightly different.

Please have a look to https://wiki.st.com/stm32mpu/wiki/STM32_MPU_device_tree#STM32CubeMX_generated_device_tree

see also

https://wiki.st.com/stm32mpu/wiki/Device_tree

and

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 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

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.
安保.1
Associate II

Thank you PatrickF.

Unfortunately I can't find "select as sest".

How to display "select as best" in the name of your answer.