lkml.org 
[lkml]   [2020]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 444/639] arm64: dts: allwinner: h6: Pine H64: Add interrupt line for RTC
    Date
    From: Chen-Yu Tsai <wens@csie.org>

    [ Upstream commit 0bb9d1876c0605815ea0452f68cb819a775a75f9 ]

    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>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
    index 48daec7f78ba7..6c3a47d90c793 100644
    --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
    +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
    @@ -176,6 +176,8 @@
    pcf8563: rtc@51 {
    compatible = "nxp,pcf8563";
    reg = <0x51>;
    + interrupt-parent = <&r_intc>;
    + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
    #clock-cells = <0>;
    };
    };
    --
    2.20.1


    \
     
     \ /
      Last update: 2020-01-24 12:26    [W:2.074 / U:3.372 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site