dt-bindings: arm: ti: Add missing compatibles for j721e/j7200 evms
authorNishanth Menon <nm@ti.com>
Sat, 25 Sep 2021 20:14:27 +0000 (15:14 -0500)
committerNishanth Menon <nm@ti.com>
Tue, 5 Oct 2021 22:46:39 +0000 (17:46 -0500)
Add compatibles for j721e and j7200 evms to allow for newer platforms
to distinguish themselves.

While doing this, maintain support for older style of description where
the board compatibility was not required.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Suman Anna <s-anna@ti.com>
Link: https://lore.kernel.org/r/20210925201430.11678-2-nm@ti.com
Documentation/devicetree/bindings/arm/ti/k3.yaml

index c5aa362e4026647a06f60a10a6a0d3d69d1f9a99..cefb06424a4a398800f157a864567677febe5c72 100644 (file)
@@ -28,12 +28,20 @@ properties:
           - const: ti,am654
 
       - description: K3 J721E SoC
-        items:
+        oneOf:
           - const: ti,j721e
+          - items:
+              - enum:
+                  - ti,j721e-evm
+              - const: ti,j721e
 
       - description: K3 J7200 SoC
-        items:
+        oneOf:
           - const: ti,j7200
+          - items:
+              - enum:
+                  - ti,j7200-evm
+              - const: ti,j7200
 
       - description: K3 AM642 SoC
         items: