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:
Henrik Brix Andersen 2023-02-21 15:32:37 +01:00 committed by Carles Cufí
commit a082565dca
8 changed files with 14 additions and 14 deletions

View file

@ -6,10 +6,10 @@
config CAN_MCUX_FLEXCAN
bool "MCUX FlexCAN driver"
default y
depends on DT_HAS_NXP_KINETIS_FLEXCAN_ENABLED
depends on DT_HAS_NXP_FLEXCAN_ENABLED
depends on CLOCK_CONTROL
help
Enable support for mcux flexcan driver.
Enable support for the NXP MCUX FlexCAN driver.
config CAN_MAX_FILTER
int "Maximum number of concurrent active RX filters"

View file

@ -4,7 +4,7 @@
* 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/sys/atomic.h>

View file

@ -24,7 +24,7 @@
};
flexcan1: can@400a4000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x400a4000 0x1000>;
interrupts = <94 0>, <95 0>, <96 0>, <97 0>, <98 0>, <99 0>;
interrupt-names = "mb-0-15", "bus-off", "error", "tx-warning",

View file

@ -497,7 +497,7 @@
};
flexcan0: can@40024000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x40024000 0x1000>;
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";

View file

@ -396,7 +396,7 @@
};
flexcan0: can@40024000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x40024000 0x1000>;
interrupts = <78 0>, <79 0>, <80 0>, <81 0>;
interrupt-names = "warning", "error", "wake-up",
@ -409,7 +409,7 @@
};
flexcan1: can@40025000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x40025000 0x1000>;
interrupts = <85 0>, <86 0>, <87 0>, <88 0>;
interrupt-names = "warning", "error", "wake-up",

View file

@ -842,7 +842,7 @@
};
flexcan1: can@401d0000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x401d0000 0x1000>;
interrupts = <36 0>;
interrupt-names = "common";
@ -854,7 +854,7 @@
};
flexcan2: can@401d4000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x401d4000 0x1000>;
interrupts = <37 0>;
interrupt-names = "common";
@ -866,7 +866,7 @@
};
flexcan3: can@401d8000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x401d8000 0x1000>;
interrupts = <154 0>;
interrupt-names = "common";

View file

@ -800,7 +800,7 @@
};
flexcan1: can@400c4000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x400c4000 0x1000>;
interrupts = <44 0>, <45 0>;
interrupt-names = "common", "error";
@ -812,7 +812,7 @@
};
flexcan2: can@400c8000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x400c8000 0x1000>;
interrupts = <46 0>, <47 0>;
interrupt-names = "common", "error";
@ -824,7 +824,7 @@
};
flexcan3: can@40c3c000 {
compatible = "nxp,kinetis-flexcan";
compatible = "nxp,flexcan";
reg = <0x40c3c000 0x1000>;
interrupts = <48 0>, <49 0>;
interrupt-names = "common", "error";

View file

@ -3,7 +3,7 @@
description: NXP FlexCAN controller
compatible: "nxp,kinetis-flexcan"
compatible: "nxp,flexcan"
include: ["can-controller.yaml", "pinctrl-device.yaml"]