Merge tag 'rtc-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / interrupt-controller / amlogic,meson-gpio-intc.txt
1 Amlogic meson GPIO interrupt controller
2
3 Meson SoCs contains an interrupt controller which is able to watch the SoC
4 pads and generate an interrupt on edge or level. The controller is essentially
5 a 256 pads to 8 GIC interrupt multiplexer, with a filter block to select edge
6 or level and polarity. It does not expose all 256 mux inputs because the
7 documentation shows that the upper part is not mapped to any pad. The actual
8 number of interrupt exposed depends on the SoC.
9
10 Required properties:
11
12 - compatible : must have "amlogic,meson8-gpio-intc" and either
13     "amlogic,meson8-gpio-intc" for meson8 SoCs (S802) or
14     "amlogic,meson8b-gpio-intc" for meson8b SoCs (S805) or
15     "amlogic,meson-gxbb-gpio-intc" for GXBB SoCs (S905) or
16     "amlogic,meson-gxl-gpio-intc" for GXL SoCs (S905X, S912)
17     "amlogic,meson-axg-gpio-intc" for AXG SoCs (A113D, A113X)
18     "amlogic,meson-g12a-gpio-intc" for G12A SoCs (S905D2, S905X2, S905Y2)
19 - reg : Specifies base physical address and size of the registers.
20 - interrupt-controller : Identifies the node as an interrupt controller.
21 - #interrupt-cells : Specifies the number of cells needed to encode an
22    interrupt source. The value must be 2.
23 - meson,channel-interrupts: Array with the 8 upstream hwirq numbers. These
24    are the hwirqs used on the parent interrupt controller.
25
26 Example:
27
28 gpio_interrupt: interrupt-controller@9880 {
29         compatible = "amlogic,meson-gxbb-gpio-intc",
30                      "amlogic,meson-gpio-intc";
31         reg = <0x0 0x9880 0x0 0x10>;
32         interrupt-controller;
33         #interrupt-cells = <2>;
34         meson,channel-interrupts = <64 65 66 67 68 69 70 71>;
35 };