zephyr/dts/arm/frdm_k64f.dts
Erwan Gouriou 9bd2a42d60 dts: Align uart "baud-rate" property to device tree spec "current-speed"
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>
2017-04-28 15:06:40 -05:00

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