Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts : arm : Add Microchip MEC1501 SoC device tree
Initial support for Microchip MEC1501 series is added to the tree. Additional support for UART is also included. This SoC supports two operational modes for interrupts (Direct and Aggregated). For this commit, the direct capable interrupts are configured in direct mode. Signed-off-by: Scott Worley <scott.worley@microchip.com>
- Loading branch information
1 parent
66cae83
commit a0a9a1f
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,60 @@ | |||
/* | |||
* Copyright (c) 2019 Intel Corporation | |||
* | |||
* SPDX-License-Identifier: Apache-2.0 | |||
*/ | |||
|
|||
#include <arm/armv7-m.dtsi> | |||
|
|||
/ { | |||
cpus { | |||
#address-cells = <1>; | |||
#size-cells = <0>; | |||
|
|||
cpu@0 { | |||
device_type = "cpu"; | |||
compatible = "arm,cortex-m4"; | |||
reg = <0>; | |||
}; | |||
}; | |||
|
|||
flash0: flash@e0000 { | |||
reg = <0x000E0000 0x38000>; | |||
}; | |||
|
|||
sram0: memory@118000 { | |||
compatible = "mmio-sram"; | |||
reg = <0x00118000 0x8000>; | |||
}; | |||
|
|||
soc { | |||
uart0: uart@400f2400 { | |||
compatible = "ns16550"; | |||
reg = <0x400f2400 0x400>; | |||
interrupts = <40 0>; | |||
current-speed = <38400>; | |||
label = "UART_0"; | |||
reg-shift = <0>; | |||
}; | |||
uart1: uart@400f2800 { | |||
compatible = "ns16550"; | |||
reg = <0x400f2800 0x400>; | |||
interrupts = <41 0>; | |||
current-speed = <38400>; | |||
label = "UART_1"; | |||
reg-shift = <0>; | |||
}; | |||
uart2: uart@400f2c00 { | |||
compatible = "ns16550"; | |||
reg = <0x400f2c00 0x400>; | |||
interrupts = <44 0>; | |||
current-speed = <38400>; | |||
label = "UART_2"; | |||
reg-shift = <0>; | |||
}; | |||
}; | |||
}; | |||
|
|||
&nvic { | |||
arm,num-irq-priority-bits = <3>; | |||
}; |