summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/mux/gpio-mux.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/mux/gpio-mux.yaml')
-rw-r--r--dts/Bindings/mux/gpio-mux.yaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/dts/Bindings/mux/gpio-mux.yaml b/dts/Bindings/mux/gpio-mux.yaml
index 0a7c8d6498..ee4de9fbaf 100644
--- a/dts/Bindings/mux/gpio-mux.yaml
+++ b/dts/Bindings/mux/gpio-mux.yaml
@@ -26,7 +26,10 @@ properties:
List of gpios used to control the multiplexer, least significant bit first.
'#mux-control-cells':
- const: 0
+ enum: [ 0, 1 ]
+
+ '#mux-state-cells':
+ enum: [ 1, 2 ]
idle-state:
default: -1
@@ -34,7 +37,11 @@ properties:
required:
- compatible
- mux-gpios
- - "#mux-control-cells"
+anyOf:
+ - required:
+ - "#mux-control-cells"
+ - required:
+ - "#mux-state-cells"
additionalProperties: false