Commit 994f4e42 authored by Chester Lin's avatar Chester Lin Committed by Shawn Guo

arm64: dts: s32g2: add serial/uart support

Add serial/uart support for NXP S32G2 based on the information provided by
NXP's CodeAurora BSP.
Signed-off-by: default avatarLarisa Grigore <larisa.grigore@nxp.com>
Signed-off-by: default avatarChester Lin <clin@suse.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent aeb78b1c
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* NXP S32G2 SoC family * NXP S32G2 SoC family
* *
* Copyright (c) 2021 SUSE LLC * Copyright (c) 2021 SUSE LLC
* Copyright (c) 2017-2021 NXP
*/ */
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
...@@ -84,6 +85,30 @@ soc { ...@@ -84,6 +85,30 @@ soc {
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0 0 0x80000000>; ranges = <0 0 0 0x80000000>;
uart0: serial@401c8000 {
compatible = "nxp,s32g2-linflexuart",
"fsl,s32v234-linflexuart";
reg = <0x401c8000 0x3000>;
interrupts = <GIC_SPI 82 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
};
uart1: serial@401cc000 {
compatible = "nxp,s32g2-linflexuart",
"fsl,s32v234-linflexuart";
reg = <0x401cc000 0x3000>;
interrupts = <GIC_SPI 83 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
};
uart2: serial@402bc000 {
compatible = "nxp,s32g2-linflexuart",
"fsl,s32v234-linflexuart";
reg = <0x402bc000 0x3000>;
interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
};
gic: interrupt-controller@50800000 { gic: interrupt-controller@50800000 {
compatible = "arm,gic-v3"; compatible = "arm,gic-v3";
reg = <0x50800000 0x10000>, reg = <0x50800000 0x10000>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment