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>;
|
|
|
|
|
2017-07-26 17:40:18 +08:00
|
|
|
cpu@0 {
|
|
|
|
compatible = "arm,cortex-m4f";
|
2018-05-21 22:05:15 +08:00
|
|
|
reg = <0>;
|
2017-07-26 17:40:18 +08:00
|
|
|
};
|
|
|
|
cpu@1 {
|
|
|
|
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 {
|
|
|
|
compatible = "nxp,kinetis-gpio";
|
2018-11-09 19:53:08 +08:00
|
|
|
reg = <0x4008c000 0x2488>;
|
2018-05-16 03:09:29 +08:00
|
|
|
interrupts = <2 2>;
|
|
|
|
label = "GPIO_0";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio1: gpio@1 {
|
|
|
|
compatible = "nxp,kinetis-gpio";
|
|
|
|
reg = <0x4008C000 0x2488>;
|
|
|
|
interrupts = <3 2>;
|
|
|
|
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";
|
|
|
|
};
|
2017-07-26 17:40:18 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|