Skip to content

Commit cf6e4cd

Browse files
NeilChen93henrikbrixandersen
authored andcommitted
dts: arm/nxp: Add lpuart1 node to NXP MCXA156 dtsi file
Add lpuart1 node to NXP MCXA156 dtsi file and add dma support for lpuart. Signed-off-by: Neil Chen <[email protected]>
1 parent 3956297 commit cf6e4cd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

dts/arm/nxp/nxp_mcxa156.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,19 @@
134134
reg = <0x4009f000 0x1000>;
135135
interrupts = <31 0>;
136136
clocks = <&syscon MCUX_LPUART0_CLK>;
137+
/* DMA channels 0 and 1, muxed to LPUART0 RX and TX */
138+
dmas = <&edma0 0 21>, <&edma0 1 22>;
139+
dma-names = "rx", "tx";
140+
};
141+
142+
lpuart1: lpuart@400a0000 {
143+
compatible = "nxp,lpuart";
144+
reg = <0x400a0000 0x1000>;
145+
interrupts = <32 0>;
146+
clocks = <&syscon MCUX_LPUART1_CLK>;
147+
/* DMA channels 2 and 3, muxed to LPUART1 RX and TX */
148+
dmas = <&edma0 2 23>, <&edma0 3 24>;
149+
dma-names = "rx", "tx";
137150
};
138151

139152
fmu: flash-controller@40095000 {

0 commit comments

Comments
 (0)