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 18 - amlogic,c3-periphs-pinctrl 19 - amlogic,t7-periphs-pinctrl 19 - amlogic,t7-periphs-pinctrl 20 - amlogic,meson-a1-periphs-pinctrl 20 - amlogic,meson-a1-periphs-pinctrl 21 - amlogic,meson-s4-periphs-pinctrl 21 - amlogic,meson-s4-periphs-pinctrl 22 22 23 required: 23 required: 24 - compatible 24 - compatible 25 25 26 patternProperties: 26 patternProperties: 27 "^bank@[0-9a-f]+$": !! 27 "^bank@[0-9a-z]+$": 28 $ref: amlogic,meson-pinctrl-common.yaml#/$ 28 $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio 29 29 30 unevaluatedProperties: false 30 unevaluatedProperties: false 31 31 32 properties: 32 properties: 33 reg: 33 reg: 34 maxItems: 2 34 maxItems: 2 35 35 36 reg-names: 36 reg-names: 37 items: 37 items: 38 - const: mux 38 - const: mux 39 - const: gpio 39 - const: gpio 40 40 41 gpio-line-names: 41 gpio-line-names: 42 minItems: 62 # A1 42 minItems: 62 # A1 43 maxItems: 82 # S4 43 maxItems: 82 # S4 44 44 45 unevaluatedProperties: 45 unevaluatedProperties: 46 type: object 46 type: object 47 $ref: amlogic,meson-pinctrl-common.yaml#/$de 47 $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins 48 48 49 examples: 49 examples: 50 - | 50 - | 51 periphs_pinctrl: pinctrl { 51 periphs_pinctrl: pinctrl { 52 compatible = "amlogic,meson-a1-periphs-p 52 compatible = "amlogic,meson-a1-periphs-pinctrl"; 53 #address-cells = <1>; 53 #address-cells = <1>; 54 #size-cells = <1>; 54 #size-cells = <1>; 55 ranges; 55 ranges; 56 56 57 bank@400 { 57 bank@400 { 58 reg = <0x0400 0x003c>, 58 reg = <0x0400 0x003c>, 59 <0x0480 0x0118>; 59 <0x0480 0x0118>; 60 reg-names = "mux", "gpio"; 60 reg-names = "mux", "gpio"; 61 gpio-controller; 61 gpio-controller; 62 #gpio-cells = <2>; 62 #gpio-cells = <2>; 63 gpio-ranges = <&periphs_pinctrl 0 0 62 63 gpio-ranges = <&periphs_pinctrl 0 0 62>; 64 }; 64 }; 65 65 66 cec_ao_a_h_pins: cec_ao_a_h { 66 cec_ao_a_h_pins: cec_ao_a_h { 67 mux { 67 mux { 68 groups = "cec_ao_a_h"; 68 groups = "cec_ao_a_h"; 69 function = "cec_ao_a_h"; 69 function = "cec_ao_a_h"; 70 bias-disable; 70 bias-disable; 71 }; 71 }; 72 }; 72 }; 73 }; 73 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.