ARM: zynq: Add interrupt-controller property to gpio nodes
GPIO driver supports an input interrupt that's why gpio node itself can be labeled as interrupt controller. Reported-by: John Linn <linnj@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
bbf8bef196
commit
58fab4cd9c
|
@ -96,8 +96,10 @@
|
||||||
gpio0: gpio@e000a000 {
|
gpio0: gpio@e000a000 {
|
||||||
compatible = "xlnx,zynq-gpio-1.0";
|
compatible = "xlnx,zynq-gpio-1.0";
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
clocks = <&clkc 42>;
|
clocks = <&clkc 42>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
interrupt-controller;
|
||||||
interrupt-parent = <&intc>;
|
interrupt-parent = <&intc>;
|
||||||
interrupts = <0 20 4>;
|
interrupts = <0 20 4>;
|
||||||
reg = <0xe000a000 0x1000>;
|
reg = <0xe000a000 0x1000>;
|
||||||
|
|
Loading…
Reference in New Issue