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>
51 lines
784 B
Text
51 lines
784 B
Text
/dts-v1/;
|
|
|
|
#include <arm/armv7-m.dtsi>
|
|
#include "arm/beetle/soc_irq.h"
|
|
|
|
/ {
|
|
compatible = "arm,beetle";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
chosen {
|
|
zephyr,console = &uart1;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
|
|
cpus {
|
|
cpu@0 {
|
|
compatible = "arm,cortex-m3";
|
|
};
|
|
};
|
|
|
|
sram0: memory {
|
|
compatible = "sram";
|
|
reg = <0x20000000 0x20000>;
|
|
};
|
|
|
|
flash0: flash {
|
|
reg = <0 0x40000>;
|
|
};
|
|
|
|
soc {
|
|
uart0: uart@40004000 {
|
|
compatible = "arm,cmsdk-uart";
|
|
reg = <0x40004000 0x14>;
|
|
interrupts = <IRQ_UART0 3>;
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart1: uart@40005000 {
|
|
compatible = "arm,cmsdk-uart";
|
|
reg = <0x40005000 0x14>;
|
|
interrupts = <IRQ_UART1 3>;
|
|
current-speed = <115200>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&nvic {
|
|
arm,num-irq-priority-bits = <3>;
|
|
};
|