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:
parent
cdcb05527d
commit
c0b0443f05
3 changed files with 19 additions and 0 deletions
|
@ -59,4 +59,11 @@
|
||||||
nordic,drive-mode = <NRF_DRIVE_H0H1>;
|
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)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
zephyr,ieee802154 = &cpuapp_ieee802154;
|
zephyr,ieee802154 = &cpuapp_ieee802154;
|
||||||
zephyr,bt-hci-ipc = &ipc0;
|
zephyr,bt-hci-ipc = &ipc0;
|
||||||
nordic,802154-spinel-ipc = &ipc0;
|
nordic,802154-spinel-ipc = &ipc0;
|
||||||
|
zephyr,canbus = &can120;
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
@ -241,3 +242,13 @@ ipc0: &cpuapp_cpurad_ipc {
|
||||||
zephyr_udc0: &usbhs {
|
zephyr_udc0: &usbhs {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&canpll {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&can120 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&can120_default>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
|
|
@ -12,6 +12,7 @@ toolchain:
|
||||||
ram: 256
|
ram: 256
|
||||||
flash: 512
|
flash: 512
|
||||||
supported:
|
supported:
|
||||||
|
- can
|
||||||
- counter
|
- counter
|
||||||
- gpio
|
- gpio
|
||||||
- pwm
|
- pwm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue