summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/serial
diff options
context:
space:
mode:
authorChester Lin <clin@suse.com>2021-09-08 14:45:23 +0800
committerShawn Guo <shawnguo@kernel.org>2021-10-04 16:07:55 +0800
commited96dadec820b4081351f08273713128d8c16791 (patch)
treec410a2fdf96c22795c8c3872fa627ae6456a8b72 /Documentation/devicetree/bindings/serial
parent142cb16dbcc38f3923994f0856767acc4c3b0ae1 (diff)
dt-bindings: serial: fsl-linflexuart: add compatible for S32G2
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>
Diffstat (limited to 'Documentation/devicetree/bindings/serial')
-rw-r--r--Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
index b6fc123e8375..8b643bae3c7b 100644
--- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
@@ -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