projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf8bef
)
ARM: zynq: Add interrupt-controller property to gpio nodes
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 7 Apr 2016 08:54:08 +0000
(10:54 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Wed, 13 Apr 2016 16:29:01 +0000
(18:29 +0200)
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>
arch/arm/dts/zynq-7000.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/dts/zynq-7000.dtsi
b/arch/arm/dts/zynq-7000.dtsi
index 2d786f0fd15d0845a9ebd1dbff35208bc53a60dd..a352bc87114e4995fd5db86d8f528225114d9204 100644
(file)
--- a/
arch/arm/dts/zynq-7000.dtsi
+++ b/
arch/arm/dts/zynq-7000.dtsi
@@
-96,8
+96,10
@@
gpio0: gpio@e000a000 {
compatible = "xlnx,zynq-gpio-1.0";
#gpio-cells = <2>;
+ #interrupt-cells = <2>;
clocks = <&clkc 42>;
gpio-controller;
+ interrupt-controller;
interrupt-parent = <&intc>;
interrupts = <0 20 4>;
reg = <0xe000a000 0x1000>;