dt-bindings: PCI: ti,j721e-pci-host: Simplify 'device-id' schema
authorRob Herring <robh@kernel.org>
Wed, 25 Jan 2023 22:14:32 +0000 (16:14 -0600)
committerRob Herring <robh@kernel.org>
Wed, 1 Feb 2023 01:22:34 +0000 (19:22 -0600)
'device-id' is just a scalar value, so just 'enum' is sufficient.

Link: https://lore.kernel.org/r/20230125221432.3058405-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml

index b0513b197d0871e32f621317a41283df584ef5e1..3d7aee97353a5f5844071041be73639f54e493b6 100644 (file)
@@ -66,15 +66,11 @@ properties:
     const: 0x104c
 
   device-id:
-    oneOf:
-      - items:
-          - const: 0xb00d
-      - items:
-          - const: 0xb00f
-      - items:
-          - const: 0xb010
-      - items:
-          - const: 0xb013
+    enum:
+      - 0xb00d
+      - 0xb00f
+      - 0xb010
+      - 0xb013
 
   msi-map: true