Amlogic Meson8 AOBUS pinmux controller

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/amlogic,meson8-pinctrl-aobus.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): amlogic,meson-pinctrl-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "amlogic,meson8-aobus-pinctrl", "amlogic,meson8b-aobus-pinctrl", "amlogic,meson-gxbb-aobus-pinctrl", "amlogic,meson-gxl-aobus-pinctrl", "amlogic,meson-axg-aobus-pinctrl"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "amlogic,meson8m2-aobus-pinctrl"

Item 2

Exact value (const): "amlogic,meson8-aobus-pinctrl"

Required in this object (required): "compatible"

Properties matching a name pattern (patternProperties) #

^bank@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — not listed as required here

Maximum number of items (maxItems): 3

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mux"

Item 2

Exact value (const): "pull"

Item 3

Exact value (const): "gpio"

gpio-line-names — not listed as required here

Minimum number of items (minItems): 11

Maximum number of items (maxItems): 16

Properties not evaluated by applicable rules (unevaluatedProperties) #

Value type (type): "object"

Shared schema rule ($ref): amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins

Examples (examples) #

pinctrl_aobus: pinctrl {
  compatible = "amlogic,meson8-aobus-pinctrl";
  #address-cells = <1>;
  #size-cells = <1>;
  ranges;

  bank@14 {
    reg = <0x14 0x4>,
          <0x2c 0x4>,
          <0x24 0x8>;
    reg-names = "mux", "pull", "gpio";
    gpio-controller;
    #gpio-cells = <2>;
    gpio-ranges = <&pinctrl_aobus 0 0 16>;
  };

  cec_ao_a_h_pins: cec_ao_a_h {
    mux {
      groups = "cec_ao_a_h";
      function = "cec_ao_a_h";
      bias-disable;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 48: GXL

Line 49: Meson8

Edit this page