Marvell AC5 pin controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/marvell,ac5-pinctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chris Packham <chris.packham@alliedtelesis.co.nz>"
Bindings for Marvell's AC5 memory-mapped pin controller.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"marvell,ac5-pinctrl"
reg — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
-pins$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): 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) #
marvell,function — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Indicates the function to select.
Allowed values (enum): "dev_init_done", "ge", "gpio", "i2c0", "i2c1", "int_out", "led", "nand", "pcie", "ptp", "sdio", "spi0", "spi1", "synce", "tsen_int", "uart0", "uart1", "uart2", "uart3", "uartsd", "wd_int", "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
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","mpp20","mpp21","mpp22","mpp23","mpp24","mpp25","mpp26","mpp27","mpp28","mpp29","mpp30","mpp31","mpp32","mpp33","mpp34","mpp35","mpp36","mpp37","mpp38","mpp39","mpp40","mpp41","mpp42","mpp43","mpp44","mpp45"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pinctrl.yaml#
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pinctrl@80020100 {
compatible = "marvell,ac5-pinctrl";
reg = <0x80020100 0x20>;
i2c0_pins: i2c0-pins {
marvell,pins = "mpp26", "mpp27";
marvell,function = "i2c0";
};
i2c0_gpio: i2c0-gpio-pins {
marvell,pins = "mpp26", "mpp27";
marvell,function = "gpio";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause