Skip to content

scripts: genpinctrl: add eth pins for stm32h7rs #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mariopaja
Copy link

@mariopaja mariopaja commented Jul 18, 2025

Update pinctrl-config to generate ETH_MII & ETH_RMII.
STM32H7RS uses a different declaration format for the eth pinctrl compared to H7 or N6 series

Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More context about why these changes are required would be needed.
Also, please add a second commit with the new batch generated with these changes.

Update pinctrl-config to generate ETH_MII & ETH_RMII.
STM32H7RS uses a different declaration format for the eth pinctrl

Signed-off-by: Mario Paja <[email protected]>
@mariopaja mariopaja force-pushed the gen_script_h7rs_eth branch from 6c2eef9 to ef6adb7 Compare July 23, 2025 11:31
@erwango
Copy link
Member

erwango commented Jul 23, 2025

@mariopaja Just to be sure, is the last commit is the full output of

python3 scripts/genpinctrl/genpinctrl.py -p /path/to/stm32-open-pin-data-repository

?

I mean the effect of your changes to the whole STM32 family ? Tbh I'd be surprised.
Basically my point is that I want to know the impact of your changes on non H7RS series. And ideally it should be null, but I doubt about it.

@mariopaja mariopaja force-pushed the gen_script_h7rs_eth branch 3 times, most recently from 506ea02 to 42c5005 Compare July 23, 2025 12:05
@mariopaja
Copy link
Author

@erwango
Using the same commit of STM32_open_pin_data -> Some WBA5 series are affected
Using main branch of STM32_open_pin_data -> several series are affected

I noticed that the issue was the JTAG PORT

/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asm5878, @benothmn-st Is there a plan to fix this oddity ?

@erwango
Copy link
Member

erwango commented Jul 24, 2025

@mariopaja Can you drop the WBA JTAG PORT changes? This is an issue on our side that should be fixed. Otherwise LGTM

Add stm32h7rs pinctrl ETH_MII & ETH_RMII

Signed-off-by: Mario Paja <[email protected]>
@mariopaja mariopaja force-pushed the gen_script_h7rs_eth branch from 42c5005 to d5b911f Compare July 25, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants