forked from FrameworkComputer/EmbeddedController
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnamed-gpios.yaml
35 lines (31 loc) · 1.07 KB
/
named-gpios.yaml
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
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
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