zephyr/dts/arm/nxp/nxp_lpc54xxx.dtsi

90 lines
1.4 KiB
Plaintext

/*
* Copyright (c) 2017, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/gpio/gpio.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
compatible = "arm,cortex-m4f";
reg = <0>;
};
cpu@1 {
compatible = "arm,cortex-m0+";
reg = <1>;
};
};
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 {
compatible = "soc-nv-flash";
reg = <0 0x40000>;
};
usart0:usart@40086000 {
compatible = "nxp,lpc-usart";
reg = <0x40086000 0xE44>;
interrupts = <14 0>;
label = "USART_0";
status = "disabled";
};
gpio0: gpio@0 {
compatible = "nxp,kinetis-gpio";
reg = <0x4008c000 0x2488>;
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>;
};
mailbox0:mailbox@4008b000 {
compatible = "nxp,lpc-mailbox";
reg = <0x4008b000 0xEC>;
interrupts = <31 0>;
label = "MAILBOX_0";
status = "disabled";
};
};
};
&nvic {
arm,num-irq-priority-bits = <3>;
};