Amlogic Meson A1 pinmux controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-a1.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,c3-periphs-pinctrl", "amlogic,t7-periphs-pinctrl", "amlogic,meson-a1-periphs-pinctrl", "amlogic,meson-s4-periphs-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): 2
reg-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"mux"
Item 2
Exact value (
const):"gpio"
gpio-line-names — not listed as required here
Minimum number of items (minItems): 62
Maximum number of items (maxItems): 82
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) #
periphs_pinctrl: pinctrl {
compatible = "amlogic,meson-a1-periphs-pinctrl";
#address-cells = <1>;
#size-cells = <1>;
ranges;
bank@400 {
reg = <0x0400 0x003c>,
<0x0480 0x0118>;
reg-names = "mux", "gpio";
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&periphs_pinctrl 0 0 62>;
};
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 42: A1
Line 43: S4