0001 Binding for Qualcomm Atheros AR7xxx/AR9xxx GPIO controller
0002
0003 Required properties:
0004 - compatible: has to be "qca,<soctype>-gpio" and one of the following
0005 fallbacks:
0006 - "qca,ar7100-gpio"
0007 - "qca,ar9340-gpio"
0008 - reg: Base address and size of the controllers memory area
0009 - gpio-controller : Marks the device node as a GPIO controller.
0010 - #gpio-cells : Should be two. The first cell is the pin number and the
0011 second cell is used to specify optional parameters.
0012 - ngpios: Should be set to the number of GPIOs available on the SoC.
0013
0014 Optional properties:
0015 - interrupts: Interrupt specifier for the controllers interrupt.
0016 - interrupt-controller : Identifies the node as an interrupt controller
0017 - #interrupt-cells : Specifies the number of cells needed to encode interrupt
0018 source, should be 2
0019
0020 Please refer to interrupts.txt in this directory for details of the common
0021 Interrupt Controllers bindings used by client devices.
0022
0023 Example:
0024
0025 gpio@18040000 {
0026 compatible = "qca,ar9132-gpio", "qca,ar7100-gpio";
0027 reg = <0x18040000 0x30>;
0028 interrupts = <2>;
0029
0030 ngpios = <22>;
0031
0032 gpio-controller;
0033 #gpio-cells = <2>;
0034
0035 interrupt-controller;
0036 #interrupt-cells = <2>;
0037 };