X-Powers AXP209 GPIO

Schema identifier ($id): "http://devicetree.org/schemas/gpio/x-powers,axp209-gpio.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>"

Properties and child nodes (properties) #

#gpio-cells — required here #

Exact value (const): 2

The first cell is the pin number and the second is the GPIO flags.

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "x-powers,axp209-gpio", "x-powers,axp221-gpio", "x-powers,axp813-gpio"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "x-powers,axp223-gpio", "x-powers,axp809-gpio"

Item 2

Exact value (const): "x-powers,axp221-gpio"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "x-powers,axp803-gpio"

Item 2

Exact value (const): "x-powers,axp813-gpio"

gpio-controller — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^.*-pins?$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

pins — not listed as required here

Array item rules (items)

Allowed values (enum): "GPIO0", "GPIO1", "GPIO2", "GPIO3"

function — not listed as required here

Allowed values (enum): "adc", "ldo", "gpio_in", "gpio_out"

Required in this object (required): "compatible", "#gpio-cells", "gpio-controller"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page