Marvell AP806 pin controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/marvell,ap806-pinctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Gregory Clement <gregory.clement@bootlin.com>", "Miquel Raynal <miquel.raynal@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,ap806-pinctrl"
reg — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
-pins$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
marvell,function — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Indicates the function to select.
Allowed values (enum): "gpio", "i2c0", "sdio", "spi0", "uart0", "uart1"
marvell,pins — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Array of MPP pins to be used for the given function.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 20
Array item rules (items)
Allowed values (
enum):"mpp0","mpp1","mpp2","mpp3","mpp4","mpp5","mpp6","mpp7","mpp8","mpp9","mpp10","mpp11","mpp12","mpp13","mpp14","mpp15","mpp16","mpp17","mpp18","mpp19"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pinctrl.yaml#
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pinctrl {
compatible = "marvell,ap806-pinctrl";
uart0_pins: uart0-pins {
marvell,pins = "mpp11", "mpp19";
marvell,function = "uart0";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause