Skip to content

Commit c817a09

Browse files
henrikbrixandersennashif
authored andcommitted
canbus: rename zephyr,can-primary chosen property to zephyr,canbus
Rename the Zephyr chosen property for specifying the default CAN bus controller from "zephyr,can-primary" to "zephyr,canbus". The "zephyr,can-primary" property name was selected in antipation of adding support for redundant CAN networks, which we have yet to add. Meanwhile, the "primary" term causes confusion for non-redundant CAN bus configurations (and the "can" term doesn't match the name of the Zephyr CAN bus subsystem). The CAN in Automation (CiA) 302-6, which deals with CANopen network redundancy, uses the terms "default interface" and "redundant interface". If/when we add support for redundant CAN networks, the "zephyr,canbus" chosen property can be supplemented with a "zephyr,canbus-redundant" chosen property. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent ee7cd10 commit c817a09

File tree

41 files changed

+50
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+50
-50
lines changed

boards/arm/black_f407ve/black_f407ve.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
zephyr,sram = &sram0;
1919
zephyr,flash = &flash0;
2020
zephyr,ccm = &ccm0;
21-
zephyr,can-primary = &can2;
21+
zephyr,canbus = &can2;
2222
};
2323

2424
leds {

boards/arm/black_f407zg_pro/black_f407zg_pro.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
zephyr,sram = &sram0;
1919
zephyr,flash = &flash0;
2020
zephyr,ccm = &ccm0;
21-
zephyr,can-primary = &can2;
21+
zephyr,canbus = &can2;
2222
};
2323

2424
leds {

boards/arm/frdm_k64f/frdm_k64f.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
zephyr,console = &uart0;
2424
zephyr,shell-uart = &uart0;
2525
zephyr,uart-pipe = &uart0;
26-
zephyr,can-primary = &flexcan0;
26+
zephyr,canbus = &flexcan0;
2727
};
2828

2929
leds {

boards/arm/mimxrt1024_evk/mimxrt1024_evk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
zephyr,dtcm = &dtcm;
2828
zephyr,console = &lpuart1;
2929
zephyr,shell-uart = &lpuart1;
30-
zephyr,can-primary = &flexcan1;
30+
zephyr,canbus = &flexcan1;
3131
};
3232

3333
sdram0: memory@80000000 {

boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
zephyr,dtcm = &dtcm;
2929
zephyr,console = &lpuart1;
3030
zephyr,shell-uart = &lpuart1;
31-
zephyr,can-primary = &flexcan2;
31+
zephyr,canbus = &flexcan2;
3232
};
3333

3434
sdram0: memory@80000000 {

boards/arm/mimxrt1064_evk/mimxrt1064_evk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
zephyr,dtcm = &dtcm;
3030
zephyr,console = &lpuart1;
3131
zephyr,shell-uart = &lpuart1;
32-
zephyr,can-primary = &flexcan2;
32+
zephyr,canbus = &flexcan2;
3333
};
3434

3535
sdram0: memory@80000000 {

boards/arm/mimxrt1160_evk/mimxrt1160_evk_cm7.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
zephyr,dtcm = &dtcm;
1919
zephyr,console = &lpuart1;
2020
zephyr,shell-uart = &lpuart1;
21-
zephyr,can-primary = &flexcan3;
21+
zephyr,canbus = &flexcan3;
2222
};
2323

2424
sdram0: memory@80000000 {

boards/arm/mimxrt1170_evk/mimxrt1170_evk_cm4.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
zephyr,sram = &sram1;
1818
zephyr,console = &lpuart1;
1919
zephyr,shell-uart = &lpuart1;
20-
zephyr,can-primary = &flexcan2;
20+
zephyr,canbus = &flexcan2;
2121
};
2222

2323
sdram0: memory@80000000 {

boards/arm/mimxrt1170_evk/mimxrt1170_evk_cm7.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
zephyr,dtcm = &dtcm;
1919
zephyr,console = &lpuart1;
2020
zephyr,shell-uart = &lpuart1;
21-
zephyr,can-primary = &flexcan3;
21+
zephyr,canbus = &flexcan3;
2222
};
2323

2424
sdram0: memory@80000000 {

boards/arm/nucleo_f303re/nucleo_f303re.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
zephyr,shell-uart = &usart2;
1919
zephyr,sram = &sram0;
2020
zephyr,flash = &flash0;
21-
zephyr,can-primary = &can1;
21+
zephyr,canbus = &can1;
2222
};
2323

2424
leds {

0 commit comments

Comments
 (0)