Skip to content

Commit 130ab88

Browse files
goldelicotsbogend
authored andcommitted
MIPS: DTS: CI20: fix interrupt for pcf8563 RTC
Interrupts should not be specified by interrupt line but by gpio parent and reference. Fixes: 73f2b94 ("MIPS: CI20: DTS: Add I2C nodes") Cc: [email protected] Signed-off-by: H. Nikolaus Schaller <[email protected]> Reviewed-by: Paul Cercueil <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent e8d87a0 commit 130ab88

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arch/mips/boot/dts/ingenic/ci20.dts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "jz4780.dtsi"
55
#include <dt-bindings/clock/ingenic,tcu.h>
66
#include <dt-bindings/gpio/gpio.h>
7+
#include <dt-bindings/interrupt-controller/irq.h>
78
#include <dt-bindings/regulator/active-semi,8865-regulator.h>
89

910
/ {
@@ -270,7 +271,9 @@
270271
rtc@51 {
271272
compatible = "nxp,pcf8563";
272273
reg = <0x51>;
273-
interrupts = <110>;
274+
275+
interrupt-parent = <&gpf>;
276+
interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
274277
};
275278
};
276279

0 commit comments

Comments
 (0)