2017-07-26 17:40:18 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017, NXP
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2018-05-16 03:09:29 +08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2017-07-26 17:40:18 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
2018-05-21 22:05:15 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2019-06-21 20:47:08 +08:00
|
|
|
cpu0: cpu@0 {
|
2017-07-26 17:40:18 +08:00
|
|
|
compatible = "arm,cortex-m4f";
|
2018-05-21 22:05:15 +08:00
|
|
|
reg = <0>;
|
2017-07-26 17:40:18 +08:00
|
|
|
};
|
2019-06-21 20:47:08 +08:00
|
|
|
|
|
|
|
cpu1: cpu@1 {
|
2017-07-26 17:40:18 +08:00
|
|
|
compatible = "arm,cortex-m0+";
|
2018-05-21 22:05:15 +08:00
|
|
|
reg = <1>;
|
2017-07-26 17:40:18 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sram0:memory@20000000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x20000000 0x10000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sram1:memory@20010000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x20010000 0x10000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sram2:memory@20020000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x20020000 0x8000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sramx:memory@40000000{
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x40000000 0x8000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
|
|
|
|
flash0:flash@0 {
|
2018-09-21 07:39:55 +08:00
|
|
|
compatible = "soc-nv-flash";
|
2017-07-26 17:40:18 +08:00
|
|
|
reg = <0 0x40000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usart0:usart@40086000 {
|
|
|
|
compatible = "nxp,lpc-usart";
|
|
|
|
reg = <0x40086000 0xE44>;
|
|
|
|
interrupts = <14 0>;
|
|
|
|
label = "USART_0";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2018-05-16 03:09:29 +08:00
|
|
|
|
|
|
|
gpio0: gpio@0 {
|
2019-06-04 14:03:13 +08:00
|
|
|
compatible = "nxp,lpc-gpio";
|
2018-11-09 19:53:08 +08:00
|
|
|
reg = <0x4008c000 0x2488>;
|
2019-10-09 20:31:03 +08:00
|
|
|
interrupts = <4 2>,<5 2>,<6 2>,<7 2>;
|
2018-05-16 03:09:29 +08:00
|
|
|
label = "GPIO_0";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio1: gpio@1 {
|
2019-06-04 14:03:13 +08:00
|
|
|
compatible = "nxp,lpc-gpio";
|
2018-05-16 03:09:29 +08:00
|
|
|
reg = <0x4008C000 0x2488>;
|
2019-10-09 20:31:03 +08:00
|
|
|
interrupts = <32 2>,<33 2>,<34 2>,<35 2>;
|
2018-05-16 03:09:29 +08:00
|
|
|
label = "GPIO_1";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
2018-02-08 04:03:25 +08:00
|
|
|
|
2018-11-09 19:53:08 +08:00
|
|
|
mailbox0:mailbox@4008b000 {
|
2018-02-08 04:03:25 +08:00
|
|
|
compatible = "nxp,lpc-mailbox";
|
2018-11-09 19:53:08 +08:00
|
|
|
reg = <0x4008b000 0xEC>;
|
2018-02-08 04:03:25 +08:00
|
|
|
interrupts = <31 0>;
|
|
|
|
label = "MAILBOX_0";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2019-06-30 23:16:52 +08:00
|
|
|
|
|
|
|
spi5: spi@40096000 {
|
|
|
|
compatible = "nxp,lpc-spi";
|
|
|
|
reg = <0x40096000 0x1000>;
|
|
|
|
interrupts = <19 0>;
|
|
|
|
label = "SPI_5";
|
|
|
|
status = "disabled";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
2017-07-26 17:40:18 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|