2017-04-28 09:07:20 -07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Justin Watson
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <arm/armv7-m.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
2017-07-15 21:57:32 +03:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2017-04-28 09:07:20 -07:00
|
|
|
cpu@0 {
|
2017-07-15 21:57:32 +03:00
|
|
|
device_type = "cpu";
|
2017-04-28 09:07:20 -07:00
|
|
|
compatible = "arm,cortex-m4";
|
2017-07-15 21:57:32 +03:00
|
|
|
reg = <0>;
|
2017-04-28 09:07:20 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-07-21 15:43:01 +03:00
|
|
|
sram0: memory@20070000 {
|
2017-07-21 18:57:58 +03:00
|
|
|
device_type = "memory";
|
2017-07-20 07:59:29 -05:00
|
|
|
compatible = "mmio-sram";
|
2017-04-28 09:07:20 -07:00
|
|
|
reg = <0x20070000 0x18000>;
|
|
|
|
};
|
|
|
|
|
2017-07-21 15:43:01 +03:00
|
|
|
flash0: flash@80000 {
|
2017-04-28 09:07:20 -07:00
|
|
|
reg = <0x00080000 0x80000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
uart0: uart@400E0800 {
|
2017-06-29 16:44:38 -07:00
|
|
|
compatible = "atmel,sam-uart";
|
2017-04-28 09:07:20 -07:00
|
|
|
reg = <0x400E0800 0x124>;
|
|
|
|
interrupts = <8 0>;
|
2017-10-15 15:27:47 +02:00
|
|
|
peripheral-id = <8>;
|
2017-04-28 09:07:20 -07:00
|
|
|
status = "disabled";
|
2017-05-16 21:14:09 -05:00
|
|
|
label = "UART_0";
|
2017-04-28 09:07:20 -07:00
|
|
|
};
|
2017-06-29 16:44:38 -07:00
|
|
|
|
|
|
|
usart0: usart@40098000 {
|
|
|
|
compatible = "atmel,sam-usart";
|
|
|
|
reg = <0x40098000 0x130>;
|
|
|
|
interrupts = <17 0>;
|
2017-10-15 15:27:47 +02:00
|
|
|
peripheral-id = <17>;
|
2017-06-29 16:44:38 -07:00
|
|
|
status = "disabled";
|
|
|
|
label = "USART_0";
|
|
|
|
};
|
|
|
|
|
|
|
|
usart1: usart@4009C000 {
|
|
|
|
compatible = "atmel,sam-usart";
|
|
|
|
reg = <0x4009C000 0x130>;
|
|
|
|
interrupts = <18 0>;
|
2017-10-15 15:27:47 +02:00
|
|
|
peripheral-id = <18>;
|
2017-06-29 16:44:38 -07:00
|
|
|
status = "disabled";
|
|
|
|
label = "USART_1";
|
|
|
|
};
|
|
|
|
|
|
|
|
usart2: usart@400A0000 {
|
|
|
|
compatible = "atmel,sam-usart";
|
|
|
|
reg = <0x400A0000 0x130>;
|
2017-10-18 18:36:37 +02:00
|
|
|
interrupts = <19 0>;
|
2017-10-15 15:27:47 +02:00
|
|
|
peripheral-id = <19>;
|
2017-06-29 16:44:38 -07:00
|
|
|
status = "disabled";
|
|
|
|
label = "USART_2";
|
|
|
|
};
|
|
|
|
|
|
|
|
usart3: usart@400A4000 {
|
|
|
|
compatible = "atmel,sam-usart";
|
|
|
|
reg = <0x400A4000 0x130>;
|
|
|
|
interrupts = <20 0>;
|
2017-10-15 15:27:47 +02:00
|
|
|
peripheral-id = <20>;
|
2017-06-29 16:44:38 -07:00
|
|
|
status = "disabled";
|
|
|
|
label = "USART_3";
|
|
|
|
};
|
2017-04-28 09:07:20 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
2017-06-08 10:02:41 -07:00
|
|
|
arm,num-irq-priority-bits = <4>;
|
2017-04-28 09:07:20 -07:00
|
|
|
};
|