summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/gpio/named-gpios.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings/gpio/named-gpios.yaml')
-rw-r--r--zephyr/dts/bindings/gpio/named-gpios.yaml13
1 files changed, 11 insertions, 2 deletions
diff --git a/zephyr/dts/bindings/gpio/named-gpios.yaml b/zephyr/dts/bindings/gpio/named-gpios.yaml
index 59ed404754..bf0ba7237e 100644
--- a/zephyr/dts/bindings/gpio/named-gpios.yaml
+++ b/zephyr/dts/bindings/gpio/named-gpios.yaml
@@ -10,10 +10,11 @@ child-binding:
# Must name this property [..-]gpios which
# is treated specially (looks for #gpio-cells
# in referenced node so that cell properties can
- # be specified).
+ # be specified). If this property does not exist, treat
+ # this GPIO as unimplemented.
gpios:
type: phandle-array
- required: true
+ required: false
"#led-pin-cells":
type: int
required: false
@@ -27,5 +28,13 @@ child-binding:
according to the flags in the gpios node.
type: boolean
required: false
+ alias:
+ description:
+ When set, defines an alias for this GPIO's enum-name.
+
+ This is to allow common or generic names in legacy code to map
+ to the particular board's GPIO name.
+ type: string
+ required: false
led-pin-cells:
- value