mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-27 20:55:21 +00:00
Devicetree.org specifies that serial devices property used to set baud rate is "current-speed", while zephyr uses "baud-rate". Align property name in order to keep zephyr dts files compatible with device tree specification and could be re-used from/to Linux for instance. We also cleanup a few SoCs that set "baud-rate" in the SoC dts and not the board. Jira: ZEP-2048 Change-Id: I097e7439ee46fe77c628b56531772950382fafcc Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
42 lines
639 B
Plaintext
42 lines
639 B
Plaintext
/dts-v1/;
|
|
|
|
#include <nxp/nxp_k6x.dtsi>
|
|
|
|
/ {
|
|
model = "NXP Freedom MK64F board";
|
|
compatible = "nxp,mk64f12", "nxp,k64f", "nxp,k6x";
|
|
|
|
aliases {
|
|
uart_0 = &uart0;
|
|
uart_3 = &uart3;
|
|
pinmux_a = &pinmux_a;
|
|
pinmux_b = &pinmux_b;
|
|
pinmux_c = &pinmux_c;
|
|
pinmux_d = &pinmux_d;
|
|
pinmux_e = &pinmux_e;
|
|
gpio_a = &gpioa;
|
|
gpio_b = &gpiob;
|
|
gpio_c = &gpioc;
|
|
gpio_d = &gpiod;
|
|
gpio_e = &gpioe;
|
|
};
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,console = &uart0;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "ok";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
#ifdef CONFIG_BLUETOOTH
|
|
&uart3 {
|
|
status = "ok";
|
|
current-speed = <115200>;
|
|
};
|
|
#endif
|