bluetooth: controller: openisa/RV32M1: Convert DT_ALIAS to NODELABEL
Use the new DT_NODELABEL macro instead of aliases to get the specific gpios ports. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
9a65318a5b
commit
e241de8a31
1 changed files with 3 additions and 3 deletions
|
@ -81,9 +81,9 @@ extern struct device *vega_debug_portd;
|
|||
*/
|
||||
#define DEBUG_INIT() \
|
||||
do { \
|
||||
vega_debug_portb = device_get_binding(DT_ALIAS_GPIO_B_LABEL); \
|
||||
vega_debug_portc = device_get_binding(DT_ALIAS_GPIO_C_LABEL); \
|
||||
vega_debug_portd = device_get_binding(DT_ALIAS_GPIO_D_LABEL); \
|
||||
vega_debug_portb = device_get_binding(DT_LABEL(DT_NODELABEL(gpiob))); \
|
||||
vega_debug_portc = device_get_binding(DT_LABEL(DT_NODELABEL(gpioc))); \
|
||||
vega_debug_portd = device_get_binding(DT_LABEL(DT_NODELABEL(gpiod))); \
|
||||
\
|
||||
gpio_pin_set(DEBUG0_PORT, DEBUG0_PIN, 1); \
|
||||
gpio_pin_set(DEBUG0_PORT, DEBUG0_PIN, 0); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue