Marvell Armada 7K/8K pin controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/marvell,armada-7k-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 #
Allowed values (enum): "marvell,armada-7k-pinctrl", "marvell,armada-8k-cpm-pinctrl", "marvell,armada-8k-cps-pinctrl", "marvell,cp115-standalone-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): "au", "dev", "ge", "ge0", "ge1", "gpio", "i2c0", "i2c1", "led", "link", "mii", "mss_gpio0", "mss_gpio1", "mss_gpio2", "mss_gpio3", "mss_gpio4", "mss_gpio5", "mss_gpio6", "mss_gpio7", "mss_i2c", "mss_spi", "mss_uart", "nf", "pcie", "pcie0", "pcie1", "pcie2", "ptp", "rei", "sata0", "sata1", "sdio", "sdio_cd", "sdio_wp", "sei", "spi0", "spi1", "synce1", "synce2", "tdm", "uart0", "uart1", "uart2", "uart3", "wakeup", "xg"
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): 63
Array item rules (items)
String pattern (
pattern):"^mpp([1-5]?[0-9]|6[0-2])$"
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,armada-7k-pinctrl";
nand_pins: nand-pins {
marvell,pins =
"mpp15", "mpp16", "mpp17", "mpp18",
"mpp19", "mpp20", "mpp21", "mpp22",
"mpp23", "mpp24", "mpp25", "mpp26",
"mpp27";
marvell,function = "dev";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause