1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/aml 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-a1.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Amlogic Meson A1 pinmux controller 7 title: Amlogic Meson A1 pinmux controller 8 8 9 maintainers: 9 maintainers: 10 - Neil Armstrong <neil.armstrong@linaro.org> 10 - Neil Armstrong <neil.armstrong@linaro.org> 11 11 12 allOf: 12 allOf: 13 - $ref: amlogic,meson-pinctrl-common.yaml# 13 - $ref: amlogic,meson-pinctrl-common.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - amlogic,c3-periphs-pinctrl << 19 - amlogic,t7-periphs-pinctrl << 20 - amlogic,meson-a1-periphs-pinctrl 18 - amlogic,meson-a1-periphs-pinctrl 21 - amlogic,meson-s4-periphs-pinctrl 19 - amlogic,meson-s4-periphs-pinctrl 22 20 23 required: 21 required: 24 - compatible 22 - compatible 25 23 26 patternProperties: 24 patternProperties: 27 "^bank@[0-9a-f]+$": !! 25 "^bank@[0-9a-z]+$": 28 $ref: amlogic,meson-pinctrl-common.yaml#/$ 26 $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio 29 27 30 unevaluatedProperties: false 28 unevaluatedProperties: false 31 29 32 properties: 30 properties: 33 reg: 31 reg: 34 maxItems: 2 32 maxItems: 2 35 33 36 reg-names: 34 reg-names: 37 items: 35 items: 38 - const: mux 36 - const: mux 39 - const: gpio 37 - const: gpio 40 << 41 gpio-line-names: << 42 minItems: 62 # A1 << 43 maxItems: 82 # S4 << 44 38 45 unevaluatedProperties: 39 unevaluatedProperties: 46 type: object 40 type: object 47 $ref: amlogic,meson-pinctrl-common.yaml#/$de 41 $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins 48 42 49 examples: 43 examples: 50 - | 44 - | 51 periphs_pinctrl: pinctrl { 45 periphs_pinctrl: pinctrl { 52 compatible = "amlogic,meson-a1-periphs-p 46 compatible = "amlogic,meson-a1-periphs-pinctrl"; 53 #address-cells = <1>; 47 #address-cells = <1>; 54 #size-cells = <1>; 48 #size-cells = <1>; 55 ranges; 49 ranges; 56 50 57 bank@400 { 51 bank@400 { 58 reg = <0x0400 0x003c>, 52 reg = <0x0400 0x003c>, 59 <0x0480 0x0118>; 53 <0x0480 0x0118>; 60 reg-names = "mux", "gpio"; 54 reg-names = "mux", "gpio"; 61 gpio-controller; 55 gpio-controller; 62 #gpio-cells = <2>; 56 #gpio-cells = <2>; 63 gpio-ranges = <&periphs_pinctrl 0 0 62 57 gpio-ranges = <&periphs_pinctrl 0 0 62>; 64 }; 58 }; 65 59 66 cec_ao_a_h_pins: cec_ao_a_h { 60 cec_ao_a_h_pins: cec_ao_a_h { 67 mux { 61 mux { 68 groups = "cec_ao_a_h"; 62 groups = "cec_ao_a_h"; 69 function = "cec_ao_a_h"; 63 function = "cec_ao_a_h"; 70 bias-disable; 64 bias-disable; 71 }; 65 }; 72 }; 66 }; 73 }; 67 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.