Skip to content
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

Misc nRF54H20 updates #1681

Merged
merged 17 commits into from
May 14, 2024
Merged

Commits on May 10, 2024

  1. Revert "[nrf fromlist] drivers: timer: grtc: Update GRTC driver"

    This reverts commit 8a5c578.
    
    A newer revision will be re-applied from the PR.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    7aafe97 View commit details
    Browse the repository at this point in the history
  2. Revert "[nrf fromtree] dts: nordic: add EXMIF peripheral description …

    …to nRF54H20"
    
    This reverts commit 3be1bc0.
    
    To be re-applied in the correct git history order.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    227888b View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] modules: hal_nordic: Fix NRF_GRTC_HAS_EXTENDED

    This definition is used in nrfx header files, so it shouldn't be added
    using `zephyr_library_compile_definitions()`. This would cause the GRTC
    driver to fail the build when CONFIG_NRF_GRTC_START_SYSCOUNTER=y.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit 35e418f)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    40ce4c0 View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] dts: nordic: nrf54h20: Add SysCtrl VEVIF node

    Add a VEVIF node to be used for communicating with SysCtrl (cpusys).
    This is the only part of the SysCtrl VPR exposed to local domains.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit 163cacb)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    74ab138 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] boards: nordic: nrf54h20dk: Add IPC configuration for …

    …SysCtrl
    
    Add the default `zephyr,ipc-icmsg` nodes for communication with
    Application and Radiocore.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit 711abcd)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    51f1389 View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] drivers/timer grtc: Fix for ISR prototype

    Interrupt handlers are expected to have a pototype
    void (const void*)
    but nrfx_grtc_irq_handler has just a void(void)
    (with no input parameter).
    Fix it by using a trampoline.
    
    Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
    (cherry picked from commit 8e20b80)
    aescolar authored and 57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    616feee View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] soc: nordic: vpr: fix soc isr sw stacking.

    Fixed order of mepc and _mcause in esf for 32bit stacking.
    Added missing stack pointer alignement bit support.'
    
    Signed-off-by: Lukasz Stepnicki <lukasz.stepnicki@nordicsemi.no>
    (cherry picked from commit 37e3449)
    lstnl authored and 57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    fe08313 View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] dts: nordic: add USBHS node for nrf54h20

    Add missing USBHS node to list of global peripherals.
    
    Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
    (cherry picked from commit 5895be5)
    hakonfam authored and 57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    6f4c130 View commit details
    Browse the repository at this point in the history
  9. [nrf fromtree] dts: nordic: add EXMIF peripheral description to nRF54H20

    Added EXMIF peripheral DTS description and bindings.
    The peripheral operates as an SPI device.
    
    Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
    (cherry picked from commit 4d30ccb)
    e-rk authored and 57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    e0a57a8 View commit details
    Browse the repository at this point in the history
  10. [nrf fromlist] soc: nordic: nrf54h20: Make HSFLL trims optional

    Upstream PR: zephyrproject-rtos/zephyr#71536
    
    If no HSFLL needs trimming, then `trim_hsfll()` should be compiled out.
    This makes it easier to reuse the rest of `soc.c` out of tree.
    
    Furthermore, some HSFLL instances can be trimmed before booting Zephyr,
    so the FICR client properties in the DT binding should not be required.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit 0803dc254b193dd10d94a99ca1289318d483087f)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    de7f6f9 View commit details
    Browse the repository at this point in the history
  11. [nrf fromlist] soc: nordic: nrf54h20: Use KERNEL_INIT_PRIORITY_DEFAULT

    Upstream PR: zephyrproject-rtos/zephyr#71536
    
    Make the SoC initialization priority configurable.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit d5442da200a4b1e9ac3a11b4ea16c6a69666729c)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    033e1a4 View commit details
    Browse the repository at this point in the history
  12. [nrf fromlist] soc: nordic: Extend address validation for nRF54H20

    Upstream PR: zephyrproject-rtos/zephyr#71536
    
    Add `CHECK_DT_REG()` entries for a few additional peripheral types:
    BELLBOARD, CCM, GRTC, HSFLL, UICR, and VPR.
    
    For peripheral instances outside of the Global Domain, such as DPPIC020,
    use domain-specific defines like NRF_RADIOCORE_DPPIC020 when validating.
    These are always defined by the MDK, while NRF_DPPIC020 isn't guaranteed
    to exist in those cases. Revise existing macro checks accordingly.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit 1750413c7f22a76d504c35a890d31eab469c9850)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    495c14e View commit details
    Browse the repository at this point in the history
  13. [nrf fromlist] dts: nordic: Add RESETINFO

    Upstream PR: zephyrproject-rtos/zephyr#71609
    
    Add devicetree nodes for the Reset Information registers on nRF54H20,
    along with a new binding.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit 8fe636b4d583b7f3d119d7e80094e3b5bfa52099)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    8b17c55 View commit details
    Browse the repository at this point in the history
  14. [nrf fromlist] drivers: timer: grtc: Update GRTC driver

    Upstream PR: zephyrproject-rtos/zephyr#71688
    
    This commit aligns the GRTC driver to changes introduced in
    hal_nordic. Some of the features regarding GRTC sleep/wakeup
    functionality has been modified and moved out to the nrfx
    driver's code.
    
    Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
    (cherry picked from commit 88a50aa5ee0a01fe029676b916329dc75ca5deea)
    adamkondraciuk authored and 57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    d5909d6 View commit details
    Browse the repository at this point in the history
  15. [nrf fromlist] tests: drivers: timer: grtc: Fix GRTC test

    Upstream PR: zephyrproject-rtos/zephyr#71688
    
    The `z_nrf_grtc_timer_get_ticks()` function converts system ticks
    to GRTC ticks. It gets the current system tick to calculate an
    absolute GRTC value. The same does the test function to provide
    an argument to be converted. If the system tick occurs between those
    `sys_clock_tick_get()` calls the `z_nrf_grtc_timer_get_ticks()` will
    take into account the newer tick while the test estimate bases on
    the old tick value. Due to that the maximum result error is 1 system
    tick minus 1 GRTC tick which equals (`CYC_PER_TICK` - 1) for GRTC
    ticks.
    
    Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
    (cherry picked from commit 57713428a84d4a86290bae9c636a5d0606b9798f)
    adamkondraciuk authored and 57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    c382cd4 View commit details
    Browse the repository at this point in the history
  16. [nrf fromlist] boards: nrf54h20dk: Drop shared_ram20_region's compatible

    Upstream PR: zephyrproject-rtos/zephyr#72273
    
    Access to this region should no longer be requested via UICR, because it
    will be statically allocated by secure domain firmware.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    (cherry picked from commit d95aa856e98b6561d534cbe36ffc6e87de3deab2)
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    6895e24 View commit details
    Browse the repository at this point in the history
  17. [nrf noup] boards: nordic: nrf54h20dk: Add aliases for RESETINFO

    Each local RESETINFO instance can be used in samples.
    Applied as `noup` because of conflicts.
    
    Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
    57300 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    f077b64 View commit details
    Browse the repository at this point in the history