dts: bindings: can: rename nxp,kinetis-flexcan binding to nxp,flexcan
Rename the nxp,kinetis-flexcan devicetree compatible to nxp,flexcan as it is not specific to the NXP Kinetis series. This is preparation for adding a nxp,flexcan-fd binding. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
bd2651537c
commit
a082565dca
8 changed files with 14 additions and 14 deletions
|
@ -6,10 +6,10 @@
|
||||||
config CAN_MCUX_FLEXCAN
|
config CAN_MCUX_FLEXCAN
|
||||||
bool "MCUX FlexCAN driver"
|
bool "MCUX FlexCAN driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_NXP_KINETIS_FLEXCAN_ENABLED
|
depends on DT_HAS_NXP_FLEXCAN_ENABLED
|
||||||
depends on CLOCK_CONTROL
|
depends on CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for mcux flexcan driver.
|
Enable support for the NXP MCUX FlexCAN driver.
|
||||||
|
|
||||||
config CAN_MAX_FILTER
|
config CAN_MAX_FILTER
|
||||||
int "Maximum number of concurrent active RX filters"
|
int "Maximum number of concurrent active RX filters"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DT_DRV_COMPAT nxp_kinetis_flexcan
|
#define DT_DRV_COMPAT nxp_flexcan
|
||||||
|
|
||||||
#include <zephyr/kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
#include <zephyr/sys/atomic.h>
|
#include <zephyr/sys/atomic.h>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan1: can@400a4000 {
|
flexcan1: can@400a4000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x400a4000 0x1000>;
|
reg = <0x400a4000 0x1000>;
|
||||||
interrupts = <94 0>, <95 0>, <96 0>, <97 0>, <98 0>, <99 0>;
|
interrupts = <94 0>, <95 0>, <96 0>, <97 0>, <98 0>, <99 0>;
|
||||||
interrupt-names = "mb-0-15", "bus-off", "error", "tx-warning",
|
interrupt-names = "mb-0-15", "bus-off", "error", "tx-warning",
|
||||||
|
|
|
@ -497,7 +497,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan0: can@40024000 {
|
flexcan0: can@40024000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x40024000 0x1000>;
|
reg = <0x40024000 0x1000>;
|
||||||
interrupts = <75 0>, <76 0>, <77 0>, <78 0>, <79 0>, <80 0>;
|
interrupts = <75 0>, <76 0>, <77 0>, <78 0>, <79 0>, <80 0>;
|
||||||
interrupt-names = "mb-0-15", "bus-off", "error", "tx-warning", "rx-warning", "wake-up";
|
interrupt-names = "mb-0-15", "bus-off", "error", "tx-warning", "rx-warning", "wake-up";
|
||||||
|
|
|
@ -396,7 +396,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan0: can@40024000 {
|
flexcan0: can@40024000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x40024000 0x1000>;
|
reg = <0x40024000 0x1000>;
|
||||||
interrupts = <78 0>, <79 0>, <80 0>, <81 0>;
|
interrupts = <78 0>, <79 0>, <80 0>, <81 0>;
|
||||||
interrupt-names = "warning", "error", "wake-up",
|
interrupt-names = "warning", "error", "wake-up",
|
||||||
|
@ -409,7 +409,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan1: can@40025000 {
|
flexcan1: can@40025000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x40025000 0x1000>;
|
reg = <0x40025000 0x1000>;
|
||||||
interrupts = <85 0>, <86 0>, <87 0>, <88 0>;
|
interrupts = <85 0>, <86 0>, <87 0>, <88 0>;
|
||||||
interrupt-names = "warning", "error", "wake-up",
|
interrupt-names = "warning", "error", "wake-up",
|
||||||
|
|
|
@ -842,7 +842,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan1: can@401d0000 {
|
flexcan1: can@401d0000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x401d0000 0x1000>;
|
reg = <0x401d0000 0x1000>;
|
||||||
interrupts = <36 0>;
|
interrupts = <36 0>;
|
||||||
interrupt-names = "common";
|
interrupt-names = "common";
|
||||||
|
@ -854,7 +854,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan2: can@401d4000 {
|
flexcan2: can@401d4000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x401d4000 0x1000>;
|
reg = <0x401d4000 0x1000>;
|
||||||
interrupts = <37 0>;
|
interrupts = <37 0>;
|
||||||
interrupt-names = "common";
|
interrupt-names = "common";
|
||||||
|
@ -866,7 +866,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan3: can@401d8000 {
|
flexcan3: can@401d8000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x401d8000 0x1000>;
|
reg = <0x401d8000 0x1000>;
|
||||||
interrupts = <154 0>;
|
interrupts = <154 0>;
|
||||||
interrupt-names = "common";
|
interrupt-names = "common";
|
||||||
|
|
|
@ -800,7 +800,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan1: can@400c4000 {
|
flexcan1: can@400c4000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x400c4000 0x1000>;
|
reg = <0x400c4000 0x1000>;
|
||||||
interrupts = <44 0>, <45 0>;
|
interrupts = <44 0>, <45 0>;
|
||||||
interrupt-names = "common", "error";
|
interrupt-names = "common", "error";
|
||||||
|
@ -812,7 +812,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan2: can@400c8000 {
|
flexcan2: can@400c8000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x400c8000 0x1000>;
|
reg = <0x400c8000 0x1000>;
|
||||||
interrupts = <46 0>, <47 0>;
|
interrupts = <46 0>, <47 0>;
|
||||||
interrupt-names = "common", "error";
|
interrupt-names = "common", "error";
|
||||||
|
@ -824,7 +824,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flexcan3: can@40c3c000 {
|
flexcan3: can@40c3c000 {
|
||||||
compatible = "nxp,kinetis-flexcan";
|
compatible = "nxp,flexcan";
|
||||||
reg = <0x40c3c000 0x1000>;
|
reg = <0x40c3c000 0x1000>;
|
||||||
interrupts = <48 0>, <49 0>;
|
interrupts = <48 0>, <49 0>;
|
||||||
interrupt-names = "common", "error";
|
interrupt-names = "common", "error";
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
description: NXP FlexCAN controller
|
description: NXP FlexCAN controller
|
||||||
|
|
||||||
compatible: "nxp,kinetis-flexcan"
|
compatible: "nxp,flexcan"
|
||||||
|
|
||||||
include: ["can-controller.yaml", "pinctrl-device.yaml"]
|
include: ["can-controller.yaml", "pinctrl-device.yaml"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue