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