Lines Matching +full:default +full:- +full:mode
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#
10 - Neeli Srinivas <srinivas.neeli@amd.com>
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
22 - xlnx,xps-gpio-1.00.a
27 "#gpio-cells":
33 gpio-controller: true
35 gpio-line-names:
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:
68 description: Sets the default value of all the enabled bits of
70 default: 0
72 xlnx,dout-default-2:
74 description: Sets the default value of all the enabled bits of
76 default: 0
78 xlnx,gpio-width:
83 default: 32
85 xlnx,gpio2-width:
90 default: 32
92 xlnx,interrupt-present:
98 default: 0
100 xlnx,is-dual:
105 default: 0
107 xlnx,tri-default:
109 description: This value configures the input or output mode
112 xlnx,tri-default-2:
114 description: This value configures the input or output mode
118 - reg
119 - compatible
120 - gpio-controller
121 - "#gpio-cells"
126 - |
127 #include <dt-bindings/interrupt-controller/arm-gic.h>
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>;