arm: Support for new ARM board FRDM-KL25Z

In order to allow the use of such board, a very preliminar port was
developed. It consists of board files, as well as pinmux, uart, gpio,
spi drivers and device tree files.

Change-Id: I5753064e39e0b023cf4481744c176de26d8dbebb
Signed-off-by: Gustavo Denardin <gustavo.denardin@gmail.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Gustavo Denardin 2017-04-03 15:38:40 -03:00 committed by Kumar Gala
commit 94abb1f7fb
13 changed files with 486 additions and 1 deletions

View file

@ -0,0 +1,32 @@
#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>;
status = "disabled";
};
};
};
&nvic {
arm,num-irq-priority-bits = <2>;
};