Amlogic Meson G12 AOBUS pinmux controller

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-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 #

Allowed values (enum): "amlogic,meson-g12a-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): "ds"

Item 3

Exact value (const): "gpio"

gpio-line-names — not listed as required here

Maximum number of items (maxItems): 15

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

ao_pinctrl: pinctrl {
  compatible = "amlogic,meson-g12a-aobus-pinctrl";
  #address-cells = <1>;
  #size-cells = <1>;
  ranges;

  bank@14 {
    reg = <0x14 0x8>,
          <0x1c 0x8>,
          <0x24 0x14>;
    reg-names = "mux", "ds", "gpio";
    gpio-controller;
    #gpio-cells = <2>;
    gpio-ranges = <&ao_pinctrl 0 0 15>;
  };

  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)

Edit this page