arm: stm32: dts: use label to generate STM32 uart name

Now that we can utilize label in the device tree we can convert to
getting the device name for the STM32 UART out of the device tree
instead of from Kconfig.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-05-16 15:50:20 -05:00 committed by Anas Nashif
commit bb2c32428b
24 changed files with 70 additions and 80 deletions

View file

@ -22,6 +22,7 @@
reg = <0x40013800 0x400>;
interrupts = <37 0>;
status = "disabled";
label = "UART_1";
};
usart2: uart@40004400 {
@ -29,6 +30,7 @@
reg = <0x40004400 0x400>;
interrupts = <38 0>;
status = "disabled";
label = "UART_2";
};
usart3: uart@40004800 {
@ -36,6 +38,7 @@
reg = <0x40004800 0x400>;
interrupts = <39 0>;
status = "disabled";
label = "UART_3";
};
};
};