dt-bindings: serial: fsl-linflexuart: add compatible for S32G2
authorChester Lin <clin@suse.com>
Wed, 8 Sep 2021 06:45:23 +0000 (14:45 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Oct 2021 08:07:55 +0000 (16:07 +0800)
Add a compatible string for the uart binding of NXP S32G2 platforms. Here
we use "s32v234-linflexuart" as fallback since the current linflexuart
driver can still work on S32G2.

Signed-off-by: Chester Lin <clin@suse.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml

index b6fc123e83757267b9c66367784bb3485dc0dc2a..8b643bae3c7b650dcf4ff9817269cf4b8e516901 100644 (file)
@@ -20,9 +20,11 @@ allOf:
 
 properties:
   compatible:
-    description: The LINFlexD controller in UART mode.
-    items:
+    oneOf:
       - const: fsl,s32v234-linflexuart
+      - items:
+          - const: nxp,s32g2-linflexuart
+          - const: fsl,s32v234-linflexuart
 
   reg:
     maxItems: 1