mediatek,mt8188-pinctrl

Description

MediaTek MT8188 pin controller.

A pin configuration state is described by a grandchild node holding a 'pinmux'
array.  Each entry encodes a pin number and the function selected on it, and is
built with the PINMUX_PIN_<n>__FUNC_<f> macros from
<zephyr/dt-bindings/pinctrl/mt8188-pinctrl.h>.

For example:

  &pinctrl {
          uart1_default: uart1_default {
                  group1 {
                          pinmux = <PINMUX_PIN_33__FUNC_O_UTXD1>,
                                   <PINMUX_PIN_34__FUNC_I1_URXD1>;
                  };
          };
  };

Properties

Top level properties

These property descriptions apply to “mediatek,mt8188-pinctrl” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

Grandchild node properties

Name

Type

Details

pinmux

array

Encoded pin and function pairs to apply for this state.

This property is required.