Amlogic Meson8 CBUS pinmux controller

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/amlogic,meson8-pinctrl-cbus.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-cbus-pinctrl", "amlogic,meson8b-cbus-pinctrl", "amlogic,meson-gxbb-periphs-pinctrl", "amlogic,meson-gxl-periphs-pinctrl", "amlogic,meson-axg-periphs-pinctrl"

Rule 2

Array item rules (items)

Item 1

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

Item 2

Exact value (const): "amlogic,meson8-cbus-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): 4

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): "pull-enable"

Item 4

Exact value (const): "gpio"

gpio-line-names — not listed as required here

Minimum number of items (minItems): 83

Maximum number of items (maxItems): 120

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_cbus: pinctrl {
  compatible = "amlogic,meson8-cbus-pinctrl";
  #address-cells = <1>;
  #size-cells = <1>;
  ranges;

  bank@80b0 {
    reg = <0x80b0 0x28>,
          <0x80e8 0x18>,
          <0x8120 0x18>,
          <0x8030 0x30>;
    reg-names = "mux", "pull", "pull-enable", "gpio";
    gpio-controller;
    #gpio-cells = <2>;
    gpio-ranges = <&pinctrl_cbus 0 0 120>;
  };

  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 49: Meson8b

Line 50: Meson8

Edit this page