Lines Matching +full:gpio +full:- +full:controller

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Aspeed GPIO controller
10 - Andrew Jeffery <andrew@codeconstruct.com.au>
15 - aspeed,ast2400-gpio
16 - aspeed,ast2500-gpio
17 - aspeed,ast2600-gpio
18 - aspeed,ast2700-gpio
27 gpio-controller: true
28 gpio-line-names:
32 gpio-ranges: true
34 "#gpio-cells":
40 interrupt-controller: true
42 "#interrupt-cells":
50 "-hog(-[0-9]+)?$":
53 - gpio-hog
56 - compatible
57 - reg
58 - interrupts
59 - interrupt-controller
60 - "#interrupt-cells"
61 - gpio-controller
62 - "#gpio-cells"
65 - if:
69 const: aspeed,ast2400-gpio
72 gpio-line-names:
77 - if:
81 const: aspeed,ast2500-gpio
84 gpio-line-names:
89 - if:
93 const: aspeed,ast2600-gpio
96 gpio-line-names:
102 - ngpios
103 - if:
107 const: aspeed,ast2700-gpio
110 gpio-line-names:
116 - ngpios
121 - |
122 gpio@1e780000 {
123 compatible = "aspeed,ast2400-gpio";
126 interrupt-controller;
127 #interrupt-cells = <2>;
128 gpio-controller;
129 #gpio-cells = <2>;
131 - |
132 gpio: gpio@1e780000 {
133 compatible = "aspeed,ast2500-gpio";
136 interrupt-controller;
137 #interrupt-cells = <2>;
138 gpio-controller;
139 #gpio-cells = <2>;
140 gpio-ranges = <&pinctrl 0 0 232>;
142 - |
143 #include <dt-bindings/clock/ast2600-clock.h>
144 #include <dt-bindings/interrupt-controller/arm-gic.h>
145 #include <dt-bindings/interrupt-controller/irq.h>
146 gpio0: gpio@1e780000 {
147 compatible = "aspeed,ast2600-gpio";
151 interrupt-controller;
152 #interrupt-cells = <2>;
153 #gpio-cells = <2>;
154 gpio-controller;
155 gpio-ranges = <&pinctrl 0 0 208>;
158 gpio1: gpio@1e780800 {
159 compatible = "aspeed,ast2600-gpio";
163 interrupt-controller;
164 #interrupt-cells = <2>;
165 gpio-controller;
166 #gpio-cells = <2>;
167 gpio-ranges = <&pinctrl 0 208 36>;