Commit 130ab881 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Thomas Bogendoerfer

MIPS: DTS: CI20: fix interrupt for pcf8563 RTC

Interrupts should not be specified by interrupt line but by
gpio parent and reference.

Fixes: 73f2b940 ("MIPS: CI20: DTS: Add I2C nodes")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent e8d87a0b
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "jz4780.dtsi" #include "jz4780.dtsi"
#include <dt-bindings/clock/ingenic,tcu.h> #include <dt-bindings/clock/ingenic,tcu.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/active-semi,8865-regulator.h> #include <dt-bindings/regulator/active-semi,8865-regulator.h>
/ { / {
...@@ -270,7 +271,9 @@ &i2c4 { ...@@ -270,7 +271,9 @@ &i2c4 {
rtc@51 { rtc@51 {
compatible = "nxp,pcf8563"; compatible = "nxp,pcf8563";
reg = <0x51>; reg = <0x51>;
interrupts = <110>;
interrupt-parent = <&gpf>;
interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment