From 994f4e42ecc0a22ebcb9bf0dfde5ea8f4312c651 Mon Sep 17 00:00:00 2001 From: Chester Lin Date: Wed, 8 Sep 2021 14:45:25 +0800 Subject: [PATCH] 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: Larisa Grigore Signed-off-by: Chester Lin Signed-off-by: Shawn Guo --- arch/arm64/boot/dts/freescale/s32g2.dtsi | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi index 53b18671deec..59ea8a25aa4c 100644 --- a/arch/arm64/boot/dts/freescale/s32g2.dtsi +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi @@ -3,6 +3,7 @@ * NXP S32G2 SoC family * * Copyright (c) 2021 SUSE LLC + * Copyright (c) 2017-2021 NXP */ #include @@ -84,6 +85,30 @@ #size-cells = <1>; ranges = <0 0 0 0x80000000>; + uart0: serial@401c8000 { + compatible = "nxp,s32g2-linflexuart", + "fsl,s32v234-linflexuart"; + reg = <0x401c8000 0x3000>; + interrupts = ; + status = "disabled"; + }; + + uart1: serial@401cc000 { + compatible = "nxp,s32g2-linflexuart", + "fsl,s32v234-linflexuart"; + reg = <0x401cc000 0x3000>; + interrupts = ; + status = "disabled"; + }; + + uart2: serial@402bc000 { + compatible = "nxp,s32g2-linflexuart", + "fsl,s32v234-linflexuart"; + reg = <0x402bc000 0x3000>; + interrupts = ; + status = "disabled"; + }; + gic: interrupt-controller@50800000 { compatible = "arm,gic-v3"; reg = <0x50800000 0x10000>,