-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create device tree for LPCXpresso55S69 board. Single core (cpu0) is currently supported. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
- Loading branch information
1 parent
e90d184
commit b342258
Showing
2 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
/* | ||
* Copyright (c) 2019, NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <mem.h> | ||
#include <arm/armv8-m.dtsi> | ||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
compatible = "arm,cortex-m33f"; | ||
reg = <0>; | ||
}; | ||
cpu@1 { | ||
compatible = "arm,cortex-m33"; | ||
reg = <1>; | ||
}; | ||
}; | ||
|
||
sram0:memory@30000000 { | ||
compatible = "mmio-sram"; | ||
reg = <0x30000000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
sram1:memory@30010000 { | ||
compatible = "mmio-sram"; | ||
reg = <0x30010000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
sram2:memory@30020000 { | ||
compatible = "mmio-sram"; | ||
reg = <0x30020000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
sram3:memory@30030000 { | ||
compatible = "mmio-sram"; | ||
reg = <0x30030000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
sramx:memory@50000000{ | ||
compatible = "mmio-sram"; | ||
reg = <0x40000000 DT_SIZE_K(32)>; | ||
}; | ||
|
||
soc { | ||
|
||
flash0:flash@10000000 { | ||
compatible = "soc-nv-flash"; | ||
reg = <0x10000000 DT_SIZE_K(630)>; | ||
}; | ||
|
||
usart0:usart@50086000 { | ||
compatible = "nxp,lpc-usart"; | ||
reg = <0x50086000 0xE44>; | ||
interrupts = <14 0>; | ||
label = "USART_0"; | ||
status = "disabled"; | ||
}; | ||
|
||
gpio0: gpio@0 { | ||
compatible = "nxp,kinetis-gpio"; | ||
reg = <0x5008c000 0x2488>; | ||
interrupts = <2 2>; | ||
label = "GPIO_0"; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
}; | ||
|
||
gpio1: gpio@1 { | ||
compatible = "nxp,kinetis-gpio"; | ||
reg = <0x5008c000 0x2488>; | ||
interrupts = <3 2>; | ||
label = "GPIO_1"; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
}; | ||
}; | ||
}; | ||
|
||
&nvic { | ||
arm,num-irq-priority-bits = <3>; | ||
}; |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright (c) 2019 Linaro Limited | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <nxp/nxp_lpc55S6x.dtsi> | ||
|
||
/ { | ||
cpus { | ||
/delete-node/ cpu@1; | ||
}; | ||
}; |