zephyr/boards/shields/dfrobot_can_bus_v2_0
Kumar Gala 3f236f2183 can: dts: Convert can-primary alias to zephyr,can-primary chosen prop
Convert CAN to use a chosen node property that is similar to how we
handle zephyr,entroy or zephyr,flash-controller as the means to select a
specific peripheral instance utilized by a subsystem.

Replace references of the form:

alias {
	can-primary = &can1;
};

with:

chosen {
	zephyr,can-primary = &can1;
};

Replace various macro/define references with either
DT_CHOSEN(zephyr_can_primary) or replace DT_ALIAS_CAN_PRIMARY_LABEL
with DT_CHOSEN_ZEPHYR_CAN_PRIMARY_LABEL.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-29 14:27:31 -05:00
..
boards boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
doc boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
Kconfig.defconfig boards/shields: dfrobot_can_bus_v2_0: Move to Kconfig.shield format 2020-01-02 17:02:41 -05:00
Kconfig.shield boards/shields: dfrobot_can_bus_v2_0: Move to Kconfig.shield format 2020-01-02 17:02:41 -05:00
dfrobot_can_bus_v2_0.overlay can: dts: Convert can-primary alias to zephyr,can-primary chosen prop 2020-04-29 14:27:31 -05:00