summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/chrome/google,cros-ec-typec.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/chrome/google,cros-ec-typec.yaml')
-rw-r--r--dts/Bindings/chrome/google,cros-ec-typec.yaml15
1 files changed, 13 insertions, 2 deletions
diff --git a/dts/Bindings/chrome/google,cros-ec-typec.yaml b/dts/Bindings/chrome/google,cros-ec-typec.yaml
index 2d98f7c4d3..50ebd8c577 100644
--- a/dts/Bindings/chrome/google,cros-ec-typec.yaml
+++ b/dts/Bindings/chrome/google,cros-ec-typec.yaml
@@ -20,13 +20,24 @@ properties:
compatible:
const: google,cros-ec-typec
- connector:
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 0
+
+patternProperties:
+ '^connector@[0-9a-f]+$':
$ref: /schemas/connector/usb-connector.yaml#
+ unevaluatedProperties: false
+ properties:
+ reg:
+ maxItems: 1
required:
- compatible
-additionalProperties: true #fixme
+additionalProperties: false
examples:
- |+