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>
This commit is contained in:
Gerard Marull-Paretas 2024-05-07 12:48:26 +02:00 committed by Carles Cufí
commit c0b0443f05
3 changed files with 19 additions and 0 deletions

View file

@ -59,4 +59,11 @@
nordic,drive-mode = <NRF_DRIVE_H0H1>;
};
};
/omit-if-no-ref/ can120_default: can120_default {
group1 {
psels = <NRF_PSEL(CAN_RX, 9, 4)>,
<NRF_PSEL(CAN_TX, 9, 5)>;
};
};
};

View file

@ -27,6 +27,7 @@
zephyr,ieee802154 = &cpuapp_ieee802154;
zephyr,bt-hci-ipc = &ipc0;
nordic,802154-spinel-ipc = &ipc0;
zephyr,canbus = &can120;
};
aliases {
@ -241,3 +242,13 @@ ipc0: &cpuapp_cpurad_ipc {
zephyr_udc0: &usbhs {
status = "okay";
};
&canpll {
status = "okay";
};
&can120 {
status = "okay";
pinctrl-0 = <&can120_default>;
pinctrl-names = "default";
};

View file

@ -12,6 +12,7 @@ toolchain:
ram: 256
flash: 512
supported:
- can
- counter
- gpio
- pwm