Lines Matching +full:a +full:- +full:gpio

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/xlnx,gpio-xilinx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Xilinx AXI GPIO controller
10 - Neeli Srinivas <srinivas.neeli@amd.com>
13 The AXI GPIO design provides a general purpose input/output interface
14 to an AXI4-Lite interface. The AXI GPIO can be configured as either
15 a single or a dual-channel device. The width of each channel is
17 generate an interrupt when a transition on any of their inputs occurs.
22 - xlnx,xps-gpio-1.00.a
27 "#gpio-cells":
33 gpio-controller: true
35 gpio-line-names:
36 description: strings describing the names of each gpio line
40 interrupt-controller: true
42 "#interrupt-cells":
48 interrupt-names: true
50 xlnx,all-inputs:
52 description: This option sets this GPIO channel1 bits in input mode.
54 xlnx,all-inputs-2:
56 description: This option sets this GPIO channel2 bits in input mode.
58 xlnx,all-outputs:
60 description: This option sets this GPIO channel1 bits in output mode.
62 xlnx,all-outputs-2:
64 description: This option sets this GPIO channel2 bits in output mode.
66 xlnx,dout-default:
72 xlnx,dout-default-2:
78 xlnx,gpio-width:
80 description: The value defines the bit width of the GPIO channel1.
85 xlnx,gpio2-width:
87 description: The value defines the bit width of the GPIO channel2.
92 xlnx,interrupt-present:
95 and interrupt registers in GPIO module.
100 xlnx,is-dual:
102 description: This parameter enables a second GPIO channel (GPIO2).
107 xlnx,tri-default:
110 of each bit of GPIO channel1.
112 xlnx,tri-default-2:
115 of each bit of GPIO channel2.
118 - reg
119 - compatible
120 - gpio-controller
121 - "#gpio-cells"
126 - |
127 #include <dt-bindings/interrupt-controller/arm-gic.h>
129 gpio@a0020000 {
130 compatible = "xlnx,xps-gpio-1.00.a";
132 #gpio-cells = <2>;
133 #interrupt-cells = <0x2>;
135 gpio-controller;
136 interrupt-controller;
137 interrupt-names = "ip2intc_irpt";
138 interrupt-parent = <&gic>;
140 xlnx,all-inputs = <0x0>;
141 xlnx,all-inputs-2 = <0x0>;
142 xlnx,all-outputs = <0x0>;
143 xlnx,all-outputs-2 = <0x0>;
144 xlnx,dout-default = <0x0>;
145 xlnx,dout-default-2 = <0x0>;
146 xlnx,gpio-width = <0x20>;
147 xlnx,gpio2-width = <0x20>;
148 xlnx,interrupt-present = <0x1>;
149 xlnx,is-dual = <0x1>;
150 xlnx,tri-default = <0xFFFFFFFF>;
151 xlnx,tri-default-2 = <0xFFFFFFFF>;