Skip to content

[nrf fromtree] hal_nordic: ironside: Add 9251 peripherals#4099

Merged
rlubos merged 1 commit into
nrfconnect:mainfrom
ayla-nordicsemi:add_nrf9251_support_to_gen_perifconf_entries
May 28, 2026
Merged

[nrf fromtree] hal_nordic: ironside: Add 9251 peripherals#4099
rlubos merged 1 commit into
nrfconnect:mainfrom
ayla-nordicsemi:add_nrf9251_support_to_gen_perifconf_entries

Conversation

@ayla-nordicsemi
Copy link
Copy Markdown
Contributor

@ayla-nordicsemi ayla-nordicsemi commented May 20, 2026

  • Add Fast peripherals, GRTC CLCK pin, VPR121, VPR130
    and MIPIRFFE Ctrlsel configuration to nRF9251.

  • Add Trace port Ctrlsel support for nRF9251 and nRF9280.

  • Simplify script by removing Family and rely only on SoC
    number.

(cherry picked from commit zephyrproject-rtos/zephyr@0d744a0)

# SPIS120 P5 Mappings
NrfPsel(fun=NrfFun.SPIS_SCK, port=5, pin=1): Ctrlsel.SERIAL0,
NrfPsel(fun=NrfFun.SPIS_MOSI, port=5, pin=4): Ctrlsel.SERIAL0,
NrfPsel(fun=NrfFun.SPIS_MISO, port=5, pin=2): Ctrlsel.SERIAL0,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

MISO and MOSI might be inverted here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

MISO / MOSI is expected to be swapped between SPI Slave and SPI Master configurations

NrfPsel(fun=NrfFun.UART_RTS, port=9, pin=1): Ctrlsel.SERIAL0,
NrfPsel(fun=NrfFun.UART_RX, port=9, pin=4): Ctrlsel.SERIAL0,
NrfPsel(fun=NrfFun.UART_TX, port=9, pin=3): Ctrlsel.SERIAL0,
},
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe add TPIU pins for nrf9280 as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 3e08dc5 to 026dbe0 Compare May 21, 2026 06:46
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 21, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 026dbe0 to c43d7a0 Compare May 21, 2026 09:00
@ayla-nordicsemi ayla-nordicsemi marked this pull request as ready for review May 21, 2026 09:01
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 21, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from c43d7a0 to 8c230be Compare May 21, 2026 09:24
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 21, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 8c230be to 6bc9dd2 Compare May 22, 2026 08:39
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 22, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 6bc9dd2 to 21c19fe Compare May 22, 2026 08:53
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 22, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
NrfPsel(fun=NrfFun.GRTC_CLKOUT_FAST, port=2, pin=1): Ctrlsel.CAN_TDM_SERIAL2,
},
# Coresight (TPIU) – TDD
0xBF04_0000: {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this base address wrong? @jonathannilsen also wrong in 54H20?

Copy link
Copy Markdown
Contributor

@jonathannilsen jonathannilsen May 22, 2026

Choose a reason for hiding this comment

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

It is indeed not the TPIU address but the base address of the coresight area. The address matches the node where the pinctrl properties are (the coresight node), see: https://github.com/nrfconnect/sdk-zephyr/blob/main/snippets/nordic/nordic-log-stm-tpiu-dict/boards/nrf54h20_cpuapp.overlay

@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 21c19fe to e6bc73c Compare May 22, 2026 13:07
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 22, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from e6bc73c to 26c5924 Compare May 25, 2026 07:00
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 25, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 26c5924 to dc46b9a Compare May 25, 2026 12:47
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 25, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
Comment thread modules/hal_nordic/ironside/se/scripts/gen_periphconf_entries.py
@nordic-piks nordic-piks added this to the ncs-3.5.0-preview1 milestone May 26, 2026
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from dc46b9a to fb7fcba Compare May 28, 2026 06:05
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 28, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 28, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from b635b95 to 694db21 Compare May 28, 2026 06:23
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 28, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi changed the title hal_nordic: ironside: Add 9251 peripherals [nrf fromtree] hal_nordic: ironside: Add 9251 peripherals May 28, 2026
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 694db21 to 8561da8 Compare May 28, 2026 06:30
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 28, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
- Add Fast peripherals, GRTC CLCK pin, VPR121, VPR130
and MIPIRFFE Ctrlsel configuration to nRF9251.

- Add Trace port Ctrlsel support for nRF9251 and nRF9280.

- Simplify script by removing Family and rely only on SoC
number.

(cherry picked from commit 0d744a0cc63b1c49408985be54d4f224673f74c3)

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
@ayla-nordicsemi ayla-nordicsemi force-pushed the add_nrf9251_support_to_gen_perifconf_entries branch from 8561da8 to 1357bc4 Compare May 28, 2026 07:20
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 28, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@rlubos rlubos merged commit 41afa20 into nrfconnect:main May 28, 2026
11 checks passed
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request May 28, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#4099

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
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.

9 participants