Skip to content

Commit 596d80f

Browse files
NeilChen93kartben
authored andcommitted
dts: mcxa153: add dts for MCXA153
add initial dts support(fmu, sram, syscon, gpio, port, lpuart0) for MCXA153. Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
1 parent 44f0c03 commit 596d80f

File tree

1 file changed

+145
-0
lines changed

1 file changed

+145
-0
lines changed

dts/arm/nxp/nxp_mcxa153.dtsi

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <arm/armv8-m.dtsi>
9+
#include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
10+
#include <zephyr/dt-bindings/gpio/gpio.h>
11+
12+
/ {
13+
cpus {
14+
#address-cells = <1>;
15+
#size-cells = <0>;
16+
17+
cpu0: cpu@0 {
18+
compatible = "arm,cortex-m33f";
19+
reg = <0>;
20+
#address-cells = <1>;
21+
#size-cells = <1>;
22+
};
23+
};
24+
25+
/* Dummy pinctrl node, filled with pin mux options at board level */
26+
pinctrl: pinctrl {
27+
compatible = "nxp,port-pinctrl";
28+
status = "okay";
29+
};
30+
31+
soc {
32+
fmu: flash-controller@40095000 {
33+
compatible = "nxp,msf1";
34+
reg = <0x40095000 0x1000>;
35+
interrupts = <12 0>;
36+
37+
#address-cells = <1>;
38+
#size-cells = <1>;
39+
40+
flash: flash@0 {
41+
compatible = "soc-nv-flash";
42+
reg = <0 DT_SIZE_K(128)>;
43+
erase-block-size = <8192>;
44+
write-block-size = <128>;
45+
};
46+
};
47+
48+
gpio0: gpio@40102000 {
49+
compatible = "nxp,kinetis-gpio";
50+
status = "disabled";
51+
reg = <0x40102000 0x1000>;
52+
interrupts = <71 0>;
53+
gpio-controller;
54+
#gpio-cells = <2>;
55+
nxp,kinetis-port = <&porta>;
56+
};
57+
58+
gpio1: gpio@40103000 {
59+
compatible = "nxp,kinetis-gpio";
60+
status = "disabled";
61+
reg = <0x40103000 0x1000>;
62+
interrupts = <72 0>;
63+
gpio-controller;
64+
#gpio-cells = <2>;
65+
nxp,kinetis-port = <&portb>;
66+
};
67+
68+
gpio2: gpio@40104000 {
69+
compatible = "nxp,kinetis-gpio";
70+
status = "disabled";
71+
reg = <0x40104000 0x1000>;
72+
interrupts = <73 0>;
73+
gpio-controller;
74+
#gpio-cells = <2>;
75+
nxp,kinetis-port = <&portc>;
76+
};
77+
78+
gpio3: gpio@40105000 {
79+
compatible = "nxp,kinetis-gpio";
80+
status = "disabled";
81+
reg = <0x40105000 0x1000>;
82+
interrupts = <74 0>;
83+
gpio-controller;
84+
#gpio-cells = <2>;
85+
nxp,kinetis-port = <&portd>;
86+
};
87+
88+
lpuart0: lpuart@4009f000 {
89+
compatible = "nxp,lpuart";
90+
status = "disabled";
91+
reg = <0x4009f000 0x1000>;
92+
interrupts = <31 0>;
93+
clocks = <&syscon MCUX_LPUART0_CLK>;
94+
};
95+
96+
porta: pinmux@400bc000 {
97+
compatible = "nxp,port-pinmux";
98+
reg = <0x400bc000 0x1000>;
99+
clocks = <&syscon MCUX_PORT0_CLK>;
100+
};
101+
102+
portb: pinmux@400bd000 {
103+
compatible = "nxp,port-pinmux";
104+
reg = <0x400bd000 0x1000>;
105+
clocks = <&syscon MCUX_PORT1_CLK>;
106+
};
107+
108+
portc: pinmux@400be000 {
109+
compatible = "nxp,port-pinmux";
110+
reg = <0x400be000 0x1000>;
111+
clocks = <&syscon MCUX_PORT2_CLK>;
112+
};
113+
114+
portd: pinmux@400bf000 {
115+
compatible = "nxp,port-pinmux";
116+
reg = <0x400bf000 0x1000>;
117+
clocks = <&syscon MCUX_PORT3_CLK>;
118+
};
119+
120+
sramx: memory@4000000 {
121+
compatible = "mmio-sram";
122+
reg = <0x4000000 DT_SIZE_K(8)>;
123+
};
124+
125+
sram0: memory@20000000 {
126+
compatible = "mmio-sram";
127+
reg = <0x20000000 DT_SIZE_K(24)>;
128+
};
129+
130+
syscon: syscon@40091000 {
131+
compatible = "nxp,lpc-syscon";
132+
reg = <0x40091000 0x4000>;
133+
#clock-cells = <1>;
134+
135+
reset: reset {
136+
compatible = "nxp,lpc-syscon-reset";
137+
#reset-cells = <1>;
138+
};
139+
};
140+
};
141+
};
142+
143+
&nvic {
144+
arm,num-irq-priority-bits = <3>;
145+
};

0 commit comments

Comments
 (0)