2017-04-11 23:05:42 +08:00
|
|
|
#include <arm/armv7-m.dtsi>
|
|
|
|
#include <nordic/mem.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
2017-07-16 02:57:32 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2017-04-11 23:05:42 +08:00
|
|
|
cpu@0 {
|
2017-07-16 02:57:32 +08:00
|
|
|
device_type = "cpu";
|
2017-04-11 23:05:42 +08:00
|
|
|
compatible = "arm,cortex-m4f";
|
2017-07-16 02:57:32 +08:00
|
|
|
reg = <0>;
|
2017-04-11 23:05:42 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-09-20 16:55:30 +08:00
|
|
|
flash-controller@4001E000 {
|
|
|
|
compatible = "nrf,nrf52-flash-controller";
|
|
|
|
reg = <0x4001E000 0x550>;
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
flash0: flash@0 {
|
|
|
|
compatible = "soc-nv-flash";
|
2018-01-22 23:28:58 +08:00
|
|
|
label = "NRF5_FLASH";
|
2017-09-20 16:55:30 +08:00
|
|
|
reg = <0x00000000 DT_FLASH_SIZE>;
|
|
|
|
write-block-size = <4>;
|
|
|
|
};
|
2017-04-11 23:05:42 +08:00
|
|
|
};
|
|
|
|
|
2017-07-21 20:43:01 +08:00
|
|
|
sram0: memory@20000000 {
|
2017-07-21 23:57:58 +08:00
|
|
|
device_type = "memory";
|
2017-07-20 21:21:12 +08:00
|
|
|
compatible = "mmio-sram";
|
2017-04-11 23:05:42 +08:00
|
|
|
reg = <0x20000000 DT_SRAM_SIZE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
uart0: uart@40002000 {
|
|
|
|
compatible = "nordic,nrf-uarte", "nordic,nrf-uart";
|
|
|
|
reg = <0x40002000 0x1000>;
|
|
|
|
interrupts = <2 1>;
|
|
|
|
status = "disabled";
|
2017-05-17 05:25:03 +08:00
|
|
|
label = "UART_0";
|
2017-04-11 23:05:42 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|