arm64: dts: allwinner: h6: Pine H64: Add interrupt line for RTC
authorChen-Yu Tsai <wens@csie.org>
Tue, 4 Jun 2019 04:23:37 +0000 (12:23 +0800)
committerChen-Yu Tsai <wens@csie.org>
Mon, 24 Jun 2019 08:07:14 +0000 (16:07 +0800)
The external PCF8563 RTC chip's interrupt line is connected to the NMI
line on the SoC.

Add the interrupt line to the device tree.

Fixes: 17ebc33afc35 ("arm64: allwinner: h6: add PCF8563 RTC on Pine H64 board")
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts

index 9e464d4..1898345 100644 (file)
        pcf8563: rtc@51 {
                compatible = "nxp,pcf8563";
                reg = <0x51>;
+               interrupt-parent = <&r_intc>;
+               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
                #clock-cells = <0>;
        };
 };