zephyr/include/devicetree
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
..
adc.h doc: devicetree: change doxygen groups 2020-04-13 22:38:13 -04:00
clocks.h devicetree.h: clocks: Rename clock node name 2020-04-21 15:39:36 -05:00
dma.h include/devicetree: dma: cleanup params to DT_*DMAS_CELL_BY_NAME 2020-04-21 06:37:28 -05:00
gpio.h doc: devicetree: change doxygen groups 2020-04-13 22:38:13 -04:00
pwms.h devicetree.h: pwms: Add DT_PWMS_ macros 2020-04-29 13:11:22 -05:00
spi.h doc: devicetree: change doxygen groups 2020-04-13 22:38:13 -04:00
zephyr.h can: dts: Convert can-primary alias to zephyr,can-primary chosen prop 2020-04-29 14:27:31 -05:00