dts: arm: nxp: add FlexCAN support for S32K1xx
S32K1xx devices have a maximum of 3 FlexCAN peripherals. Each part may define a different maximum number of instances and message buffers, hence the interrupt lines are defined in the part specific dts. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
133d8c7817
commit
58f5720eb4
4 changed files with 41 additions and 1 deletions
|
@ -61,3 +61,20 @@
|
|||
&lpspi2 {
|
||||
clocks = <&clock NXP_S32_LPSPI2_CLK>;
|
||||
};
|
||||
|
||||
&flexcan0 {
|
||||
interrupts = <78 0>, <79 0>, <80 0>, <81 0>, <82 0>;
|
||||
interrupt-names = "warning", "error", "wake-up", "mb-0-15", "mb-16-31";
|
||||
};
|
||||
|
||||
&flexcan1 {
|
||||
interrupts = <85 0>, <86 0>, <88 0>, <89 0>;
|
||||
interrupt-names = "warning", "error", "mb-0-15", "mb-16-31";
|
||||
clocks = <&clock NXP_S32_FLEXCAN1_CLK>;
|
||||
};
|
||||
|
||||
&flexcan2 {
|
||||
interrupts = <92 0>, <93 0>, <95 0>;
|
||||
interrupt-names = "warning", "error", "mb-0-15";
|
||||
clocks = <&clock NXP_S32_FLEXCAN2_CLK>;
|
||||
};
|
||||
|
|
|
@ -44,6 +44,28 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
flexcan0: can@40024000 {
|
||||
compatible = "nxp,flexcan-fd", "nxp,flexcan";
|
||||
reg = <0x40024000 0x1000>;
|
||||
clocks = <&clock NXP_S32_FLEXCAN0_CLK>;
|
||||
clk-source = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
flexcan1: can@40025000 {
|
||||
compatible = "nxp,flexcan-fd", "nxp,flexcan";
|
||||
reg = <0x40025000 0x1000>;
|
||||
clk-source = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
flexcan2: can@4002b000 {
|
||||
compatible = "nxp,flexcan-fd", "nxp,flexcan";
|
||||
reg = <0x4002b000 0x1000>;
|
||||
clk-source = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lpspi0: spi@4002c000 {
|
||||
compatible = "nxp,imx-lpspi";
|
||||
reg = <0x4002c000 0x1000>;
|
||||
|
|
|
@ -17,5 +17,6 @@ config SOC_SERIES_S32K1XX
|
|||
select HAS_MCUX_LPI2C
|
||||
select HAS_MCUX_LPSPI
|
||||
select HAS_MCUX_FTM
|
||||
select HAS_MCUX_FLEXCAN
|
||||
help
|
||||
Enable support for NXP S32K1XX MCU series.
|
||||
|
|
2
west.yml
2
west.yml
|
@ -193,7 +193,7 @@ manifest:
|
|||
groups:
|
||||
- hal
|
||||
- name: hal_nxp
|
||||
revision: 4605f6715c6a55121da8fcbff060e01c4383c1e9
|
||||
revision: 12970d629fc900010dab5cf250be70287bf9e443
|
||||
path: modules/hal/nxp
|
||||
groups:
|
||||
- hal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue