Amlogic Meson G12 PERIPHS pinmux controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-periphs.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-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): 5
reg-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"gpio"
Item 2
Exact value (
const):"pull"
Item 3
Exact value (
const):"pull-enable"
Item 4
Exact value (
const):"mux"
Item 5
Exact value (
const):"ds"
gpio-line-names — not listed as required here
Maximum number of items (maxItems): 85
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-g12a-periphs-pinctrl";
#address-cells = <1>;
#size-cells = <1>;
ranges;
bank@40 {
reg = <0x40 0x4c>,
<0xe8 0x18>,
<0x120 0x18>,
<0x2c0 0x40>,
<0x340 0x1c>;
reg-names = "gpio", "pull", "pull-enable", "mux", "ds";
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&periphs_pinctrl 0 0 86>;
};
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)