dts: arm: nxp: rename can node to canxl node
To prepare for supporting flexcan, can node should be renamed to canxl to support both flexcan and canxl Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
This commit is contained in:
parent
78214543d5
commit
ac056bbab9
5 changed files with 14 additions and 11 deletions
|
@ -31,13 +31,12 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&can0 {
|
&canxl0 {
|
||||||
pinctrl-0 = <&can0_default>;
|
pinctrl-0 = <&canxl0_default>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&can1 {
|
&canxl1 {
|
||||||
pinctrl-0 = <&can1_default>;
|
pinctrl-0 = <&canxl1_default>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
can0_default: can0_default {
|
canxl0_default: canxl0_default {
|
||||||
group1 {
|
group1 {
|
||||||
pinmux = <PN2_CANXL_0_RX>;
|
pinmux = <PN2_CANXL_0_RX>;
|
||||||
input-enable;
|
input-enable;
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
can1_default: can1_default {
|
canxl1_default: canxl1_default {
|
||||||
group1 {
|
group1 {
|
||||||
pinmux = <PM11_CANXL_1_RX>;
|
pinmux = <PM11_CANXL_1_RX>;
|
||||||
input-enable;
|
input-enable;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &sram0;
|
zephyr,sram = &sram0;
|
||||||
zephyr,canbus = &can0;
|
zephyr,canbus = &canxl0;
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
@ -31,3 +31,7 @@
|
||||||
mboxes = <&mru0 0>;
|
mboxes = <&mru0 0>;
|
||||||
mbox-names = "rx";
|
mbox-names = "rx";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&canxl0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
zephyr,sram = &sram1;
|
zephyr,sram = &sram1;
|
||||||
zephyr,console = &uart0;
|
zephyr,console = &uart0;
|
||||||
zephyr,shell-uart = &uart0;
|
zephyr,shell-uart = &uart0;
|
||||||
zephyr,canbus = &can0;
|
zephyr,canbus = &canxl0;
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
|
|
@ -686,7 +686,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
can0: can@4741b000 {
|
canxl0: can@4741b000 {
|
||||||
compatible = "nxp,s32-canxl";
|
compatible = "nxp,s32-canxl";
|
||||||
reg = <0x4741b000 0x1000>,
|
reg = <0x4741b000 0x1000>,
|
||||||
<0x47423000 0x1000>,
|
<0x47423000 0x1000>,
|
||||||
|
@ -700,7 +700,7 @@
|
||||||
clocks = <&clock NXP_S32_P5_CANXL_PE_CLK>;
|
clocks = <&clock NXP_S32_P5_CANXL_PE_CLK>;
|
||||||
};
|
};
|
||||||
|
|
||||||
can1: can@4751b000 {
|
canxl1: can@4751b000 {
|
||||||
compatible = "nxp,s32-canxl";
|
compatible = "nxp,s32-canxl";
|
||||||
reg = <0x4751b000 0x1000>,
|
reg = <0x4751b000 0x1000>,
|
||||||
<0x47523000 0x1000>,
|
<0x47523000 0x1000>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue