zephyr/dts/arm/nxp/nxp_kl25z.dtsi
Kumar Gala a746bcd56d arm: nxp_kinetis: dts: use label to generate NXP Kinetis uart name
Now that we can utilize label in the device tree we can convert to
getting the device name for the NXP Kinetis UART out of the device tree
instead of from Kconfig.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-05-19 10:06:48 -04:00

33 lines
442 B
Text

#include "armv6-m.dtsi"
/ {
cpus {
cpu@0 {
compatible = "arm,cortex-m0+";
};
};
sram0: memory {
compatible = "mmio-sram";
reg = <0x1FFFF000 0x4000>;
};
soc {
flash0: flash@0 {
reg = <0 0x20000>;
};
uart0: uart@4006A000 {
compatible = "nxp,kinetis-lpsci";
reg = <0x4006A000 0xc>;
interrupts = <12 0>;
label = "UART_0";
status = "disabled";
};
};
};
&nvic {
arm,num-irq-priority-bits = <2>;
};