summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/gpio/named-gpios.yaml
blob: bf0ba7237ea30e8d98d100b2a2e3498152bc1562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
description: Named GPIOs parent node

compatible: "named-gpios"

child-binding:
  description: Named GPIOs child node
  include: gpio-enum-name.yaml
  properties:
    #
    # Must name this property [..-]gpios which
    # is treated specially (looks for #gpio-cells
    # in referenced node so that cell properties can
    # be specified). If this property does not exist, treat
    # this GPIO as unimplemented.
    gpios:
      type: phandle-array
      required: false
    "#led-pin-cells":
      type: int
      required: false
    no-auto-init:
      description:
        When set, the GPIO is not initialised, and can be
        initialised separately in code, but is still saved so that
        it appears in the list of GPIOs.

        When not set, the GPIO h/w is configured and initialised at startup
        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