Lines Matching +full:ast2400 +full:- +full:gpio
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
26 gpio-controller: true
27 gpio-line-names:
31 gpio-ranges: true
33 "#gpio-cells":
39 interrupt-controller: true
41 "#interrupt-cells":
49 - compatible
50 - reg
51 - interrupts
52 - interrupt-controller
53 - "#interrupt-cells"
54 - gpio-controller
55 - "#gpio-cells"
58 - if:
62 const: aspeed,ast2400-gpio
65 gpio-line-names:
70 - if:
74 const: aspeed,ast2500-gpio
77 gpio-line-names:
82 - if:
86 const: aspeed,ast2600-gpio
89 gpio-line-names:
95 - ngpios
100 - |
101 gpio@1e780000 {
102 compatible = "aspeed,ast2400-gpio";
105 interrupt-controller;
106 #interrupt-cells = <2>;
107 gpio-controller;
108 #gpio-cells = <2>;
110 - |
111 gpio: gpio@1e780000 {
112 compatible = "aspeed,ast2500-gpio";
115 interrupt-controller;
116 #interrupt-cells = <2>;
117 gpio-controller;
118 #gpio-cells = <2>;
119 gpio-ranges = <&pinctrl 0 0 232>;
121 - |
122 #include <dt-bindings/clock/ast2600-clock.h>
123 #include <dt-bindings/interrupt-controller/arm-gic.h>
124 #include <dt-bindings/interrupt-controller/irq.h>
125 gpio0: gpio@1e780000 {
126 compatible = "aspeed,ast2600-gpio";
130 interrupt-controller;
131 #interrupt-cells = <2>;
132 #gpio-cells = <2>;
133 gpio-controller;
134 gpio-ranges = <&pinctrl 0 0 208>;
137 gpio1: gpio@1e780800 {
138 compatible = "aspeed,ast2600-gpio";
142 interrupt-controller;
143 #interrupt-cells = <2>;
144 gpio-controller;
145 #gpio-cells = <2>;
146 gpio-ranges = <&pinctrl 0 208 36>;