Microchip Polarfire SoC MSSIO pinctrl

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/microchip,mpfs-pinctrl-mssio.yaml#"

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

Maintainers (maintainers): "Conor Dooley <conor.dooley@microchip.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "microchip,mpfs-pinctrl-mssio"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-pinctrl-mssio"

Item 2

Exact value (const): "microchip,mpfs-pinctrl-mssio"

reg — required here #

Maximum number of items (maxItems): 1

pinctrl-use-default — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

-cfg$ — 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 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.

All of these rules must match (allOf)

Rule 1

Shared schema rule ($ref): pincfg-node.yaml#

Rule 2

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

Properties and child nodes (properties)

pins — required here

The list of IOs that properties in the pincfg node apply to.

function — required here

A string containing the name of the function to mux for these pins. The "reserved" function tristates a pin.

Allowed values (enum): "sd", "emmc", "qspi", "spi", "usb", "uart", "i2c", "can", "mdio", "misc reserved", "gpio", "fabric-test", "tied-low", "tied-high", "tristate"

bias-bus-hold — not listed as required here

true — No constraints added by this property rule.

bias-disable — not listed as required here

true — No constraints added by this property rule.

bias-pull-down — not listed as required here

true — No constraints added by this property rule.

bias-pull-up — not listed as required here

true — No constraints added by this property rule.

input-schmitt-enable — not listed as required here

true — No constraints added by this property rule.

low-power-enable — not listed as required here

true — No constraints added by this property rule.

drive-strength — not listed as required here

Allowed values (enum): 2, 4, 6, 8, 10, 12, 16, 20

power-source — required here

Which bank voltage to use. This cannot differ for pins in a given bank, the whole bank uses the same voltage.

Allowed values (enum): 1200000, 1500000, 1800000, 2500000, 3300000

microchip,clamp-diode — not listed as required here

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

Reflects the "Clamp Diode" setting in the MSS Configurator for this pin. This setting controls whether or not input voltage clamping should be enabled.

microchip,ibufmd — not listed as required here

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

Default value (default): 0

Reflects the "IBUFMD" bits in the MSS Configurator output files for this pin.

Required in this object (required): "pins", "function", "power-source"

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@204 {
  compatible = "microchip,mpfs-pinctrl-mssio";
  reg = <0x204 0x7c>;

  ikrd-spi1-cfg {
    spi1-pins {
      pins = <30>, <31>, <32>, <33>;
      function = "spi";
      bias-pull-up;
      drive-strength = <8>;
      power-source = <3300000>;
      microchip,ibufmd = <0x1>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page