2017-04-28 02:25:20 +08:00
|
|
|
#include <arm/armv7-m.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
2017-07-16 02:57:32 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2017-04-28 02:25:20 +08:00
|
|
|
cpu@0 {
|
2017-07-16 02:57:32 +08:00
|
|
|
device_type = "cpu";
|
2017-04-28 02:25:20 +08:00
|
|
|
compatible = "arm,cortex-m3";
|
2017-07-16 02:57:32 +08:00
|
|
|
reg = <0>;
|
2017-04-28 02:25:20 +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 20:59:29 +08:00
|
|
|
compatible = "mmio-sram";
|
2017-04-28 02:25:20 +08:00
|
|
|
reg = <0x20000000 (64*1024)>;
|
|
|
|
};
|
|
|
|
|
2017-07-21 20:43:01 +08:00
|
|
|
flash0: flash@0 {
|
2017-04-28 02:25:20 +08:00
|
|
|
reg = <0x00000000 (256*1024)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
2017-04-29 00:34:06 +08:00
|
|
|
uart0: uart@4000C000 {
|
|
|
|
compatible = "ti,stellaris-uart";
|
|
|
|
reg = <0x4000C000 0x4c>;
|
|
|
|
interrupts = <5 3>;
|
|
|
|
status = "disabled";
|
2017-05-17 10:10:47 +08:00
|
|
|
label = "UART_0";
|
2017-04-29 00:34:06 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
uart1: uart@4000D000 {
|
|
|
|
compatible = "ti,stellaris-uart";
|
|
|
|
reg = <0x4000D000 0x4c>;
|
|
|
|
interrupts = <6 3>;
|
|
|
|
status = "disabled";
|
2017-05-17 10:10:47 +08:00
|
|
|
label = "UART_1";
|
2017-04-29 00:34:06 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
uart2: uart@4000E000 {
|
|
|
|
compatible = "ti,stellaris-uart";
|
|
|
|
reg = <0x4000E000 0x4c>;
|
|
|
|
interrupts = <33 3>;
|
|
|
|
status = "disabled";
|
2017-05-17 10:10:47 +08:00
|
|
|
label = "UART_2";
|
2017-04-29 00:34:06 +08:00
|
|
|
};
|
2017-04-28 02:25:20 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|