Marvell Berlin pin-controller driver

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/marvell,berlin2-soc-pinctrl.yaml#"

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

Maintainers (maintainers): "Antoine Tenart <atenart@kernel.org>", "Jisheng Zhang <jszhang@kernel.org>"

Pin control registers are part of both chip controller and system controller register sets. Pin controller nodes should be a sub-node of either the chip controller or system controller node. The pins controlled are organized in groups, so no actual pin information is needed. A pin-controller node should contain subnodes representing the pin group configurations, one per function. Each subnode has the group name and the muxing function used. Be aware the Marvell Berlin datasheets use the keyword 'mode' for what is called a 'function' in the pin-controller subsystem.

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Allowed values (enum): "marvell,berlin2-soc-pinctrl", "marvell,berlin2-system-pinctrl", "marvell,berlin2cd-soc-pinctrl", "marvell,berlin2cd-system-pinctrl", "marvell,berlin2q-soc-pinctrl", "marvell,berlin2q-system-pinctrl", "marvell,berlin4ct-avio-pinctrl", "marvell,berlin4ct-soc-pinctrl", "marvell,berlin4ct-system-pinctrl", "syna,as370-soc-pinctrl"

reg — not listed as required here #

Maximum number of items (maxItems): 1

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

Pin group configuration subnodes.

Value type (type): "object"

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) #

groups — required here #

List of pin group names.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array

function — required here #

Function used to mux the group.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Required in this object (required): "groups", "function"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "marvell,berlin4ct-avio-pinctrl", "marvell,berlin4ct-soc-pinctrl", "marvell,berlin4ct-system-pinctrl", "syna,as370-soc-pinctrl"

When the condition matches (then) #

Required in this object (required): "reg"

Examples (examples) #

pinctrl {
    compatible = "marvell,berlin2q-system-pinctrl";

    uart0-pmux {
        groups = "GSM12";
        function = "uart0";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page