From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v2 1/3] arm64: dts: allwinner: h6: add watchdog node Date: Thu, 11 Apr 2019 17:45:32 +0200 Message-ID: <20190411154534.25563-2-peron.clem@gmail.com> References: <20190411154534.25563-1-peron.clem@gmail.com> Reply-To: peron.clem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20190411154534.25563-1-peron.clem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= List-Id: devicetree@vger.kernel.org Allwinner H6 has a watchog identical to A64 one. Declare it in the device tree but leave it disable with a comment as it is broken on some H6 revisions. Test has been performs on 3 boards. Chen-Yu Tsai boards: Pine H64 - H6 V200-AWIN H6448BA 7782 =3D> OK OrangePi Lite 2 - H6 V200-AWIN H8068BA 61C2 =3D> KO Cl=C3=A9ment P=C3=A9ron board: Beelink GS1 - H6 V200-AWIN H7309BA 6842 =3D> KO Signed-off-by: Cl=C3=A9ment P=C3=A9ron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot= /dts/allwinner/sun50i-h6.dtsi index e0dc4a05c1ba..5c2f5451227b 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -208,6 +208,15 @@ reg =3D <0x03006000 0x400>; }; =20 + watchdog: watchdog@30090a0 { + compatible =3D "allwinner,sun50i-a64-wdt", + "allwinner,sun6i-a31-wdt"; + reg =3D <0x030090a0 0x20>; + interrupts =3D ; + /* Broken on some H6 rev */ + status =3D "disabled"; + }; + pio: pinctrl@300b000 { compatible =3D "allwinner,sun50i-h6-pinctrl"; reg =3D <0x0300b000 0x400>; --=20 2.17.1 --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.