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

drivers: can: add support for Nordic nRF MCAN #73386

Merged
merged 7 commits into from
May 30, 2024

Commits on May 29, 2024

  1. modules: hal_nordic: require nrf-regtool 5.3.0

    >=5.3.0 is required for proper CAN support.
    
    Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
    gmarull committed May 29, 2024
    Configuration menu
    Copy the full SHA
    bf5d6e3 View commit details
    Browse the repository at this point in the history
  2. dts: bindings: can: add nordic,nrf-can

    Add binding for Nordic CAN peripheral, based on the Bosch MCAN IP.
    
    Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
    gmarull committed May 29, 2024
    Configuration menu
    Copy the full SHA
    1010f28 View commit details
    Browse the repository at this point in the history
  3. dts: common: nordic: nrf54h20: define can120

    Define CAN120 instance.
    
    Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
    gmarull committed May 29, 2024
    Configuration menu
    Copy the full SHA
    166e18f View commit details
    Browse the repository at this point in the history
  4. soc: nordic: nrf54h: disable CAN120 MCAN cache

    Configure CAN120 MCAN core registers as non-cachable to prevent D-Cache
    from inhibiting volatile accesses to the CAN120 MCAN registers. Also
    apply non-cachable attribute to the message ram region. Even though the
    MCAN driver handles cache invalidation/flushing, MPU faults are still
    triggered (to be investigated).
    
    Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
    gmarull committed May 29, 2024
    Configuration menu
    Copy the full SHA
    e5e5d44 View commit details
    Browse the repository at this point in the history
  5. drivers: pinctrl: nrf: add support for CAN TX/RX

    So that we can configure CAN pins.
    
    Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
    gmarull committed May 29, 2024
    Configuration menu
    Copy the full SHA
    a883c9b View commit details
    Browse the repository at this point in the history
  6. drivers: can: nrf: add driver

    Add driver for the Nordic CAN peripheral, based on Bosch MCAN IP.
    
    Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
    gmarull committed May 29, 2024
    Configuration menu
    Copy the full SHA
    fdc59a8 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. boards: nordic: nrf54h20dk: enable CAN

    Enable canpll (required to clock CAN), and can120 instance, routed to
    pins P9.4 and P9.5.
    
    Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
    gmarull committed May 30, 2024
    Configuration menu
    Copy the full SHA
    f037fe9 View commit details
    Browse the repository at this point in the history