Skip to content

Commit ac056bb

Browse files
tunguyen4585henrikbrixandersen
authored andcommitted
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 <[email protected]>
1 parent 7821454 commit ac056bb

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270.dtsi

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@
3131
status = "okay";
3232
};
3333

34-
&can0 {
35-
pinctrl-0 = <&can0_default>;
34+
&canxl0 {
35+
pinctrl-0 = <&canxl0_default>;
3636
pinctrl-names = "default";
37-
status = "okay";
3837
};
3938

40-
&can1 {
41-
pinctrl-0 = <&can1_default>;
39+
&canxl1 {
40+
pinctrl-0 = <&canxl1_default>;
4241
pinctrl-names = "default";
4342
};

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_pinctrl.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
};
6565
};
6666

67-
can0_default: can0_default {
67+
canxl0_default: canxl0_default {
6868
group1 {
6969
pinmux = <PN2_CANXL_0_RX>;
7070
input-enable;
@@ -75,7 +75,7 @@
7575
};
7676
};
7777

78-
can1_default: can1_default {
78+
canxl1_default: canxl1_default {
7979
group1 {
8080
pinmux = <PM11_CANXL_1_RX>;
8181
input-enable;

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
chosen {
1616
zephyr,sram = &sram0;
17-
zephyr,canbus = &can0;
17+
zephyr,canbus = &canxl0;
1818
};
1919

2020
aliases {
@@ -31,3 +31,7 @@
3131
mboxes = <&mru0 0>;
3232
mbox-names = "rx";
3333
};
34+
35+
&canxl0 {
36+
status = "okay";
37+
};

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
zephyr,sram = &sram1;
1717
zephyr,console = &uart0;
1818
zephyr,shell-uart = &uart0;
19-
zephyr,canbus = &can0;
19+
zephyr,canbus = &canxl0;
2020
};
2121

2222
aliases {

dts/arm/nxp/nxp_s32z27x_r52.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@
686686
};
687687
};
688688

689-
can0: can@4741b000 {
689+
canxl0: can@4741b000 {
690690
compatible = "nxp,s32-canxl";
691691
reg = <0x4741b000 0x1000>,
692692
<0x47423000 0x1000>,
@@ -700,7 +700,7 @@
700700
clocks = <&clock NXP_S32_P5_CANXL_PE_CLK>;
701701
};
702702

703-
can1: can@4751b000 {
703+
canxl1: can@4751b000 {
704704
compatible = "nxp,s32-canxl";
705705
reg = <0x4751b000 0x1000>,
706706
<0x47523000 0x1000>,

0 commit comments

Comments
 (0)