Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp578032iog; Mon, 13 Jun 2022 08:29:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUP0AueqfXsPV3eaKzj60FLhdA5KdewSffLpDhGG7ur3br4nDmEuOE3853UXIXNNlQIdwi X-Received: by 2002:a17:907:d90:b0:711:d151:51aa with SMTP id go16-20020a1709070d9000b00711d15151aamr381742ejc.452.1655134140951; Mon, 13 Jun 2022 08:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655134140; cv=none; d=google.com; s=arc-20160816; b=UVbshfzStWReUS8GSCTlAc//ik71hdDSiozNVETCIRDPlGXCq9ejxQJNgErSVw5oRf mvXlrWhF6inINkPm8KJL88SN/mqt0cWiPCgRYB6xCeA3H9wpOhxW02pLHXE45bQOHS3c b1nk5svSiegf0x4/1v403mnszLqJURhJcf5nXqPHtbZwSfE1ffSdoLUlp+aMbMengDAA b8wB3JjzGH8ihigAb0/BeeKtLYjij5K35Jzbo1d6v74NuAmiX3WDb26NbaMT/EO4/42L B2NAYKnaet4uVM01o8+GxKyly9FNRTtGnFTEkQGEty16u+Cwi1dGGdalVnsZH5h5SQeA 7tnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rCO9o395h9RsxfIb0kKewJA58+3XXAfpFNyH+SQjIyU=; b=VobYV1dVoM4MDlPwheJugNspeH7db0Ld/ZIK+SJ/6gCrepgR8xj5bgvV7GPR3C+l9y ehxgGKj3YZ08yBaEujfwwAuYTnPj/Rc25Wf03qWJ43T8OJpa/z8t8qJ3tc7rlIM/+m9Q 3J8icTMRKs3rU/ZF1UBX1VB9jrnPOaQrbTo3tn3NgSNK0DyhAKUTspZlPxjhYmVZpW6g S+MoJ3Ouh9XmbLRk1HWxmm49YZ9cIWHmyBrmbxMEMUg1Gh3kHKnvIkAmuqfkaJSDS5To E3EI+uFB2Dsj4Ngvtm/iHGYJi/kfZ05hu/okHCAjsVuCvmnWHS4QfPWJt5yFm/7QGIPd lqPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oUQ+Tg4v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a1709067a0400b006f42bf415c8si7735541ejo.147.2022.06.13.08.28.36; Mon, 13 Jun 2022 08:29:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oUQ+Tg4v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353448AbiFMLXx (ORCPT + 99 others); Mon, 13 Jun 2022 07:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353685AbiFMLQM (ORCPT ); Mon, 13 Jun 2022 07:16:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81828120B1; Mon, 13 Jun 2022 03:39:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3A96CB80EA8; Mon, 13 Jun 2022 10:39:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1540C34114; Mon, 13 Jun 2022 10:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116741; bh=liNhd+rQWFOn1syJrUOicb3uykE30jaLc4TMIIZdHug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oUQ+Tg4v6zTSYfMF+VZjpZIUpi8fPljcQor2LpMJrcL92RfOlRBJrrV/WDKtcIlmY V2TAMM5HsXKV15DA2QC5m0ylbniL+7AhvyX5m7sC8P2MxOBjVz5WE3TgEKq+PyskHa DDih0LPnKw7L78ns7x37LCwkF+nLsZZEJHeRnPA0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andre Przywara , Guenter Roeck , Jernej Skrabec , Sasha Levin Subject: [PATCH 5.4 157/411] ARM: dts: suniv: F1C100: fix watchdog compatible Date: Mon, 13 Jun 2022 12:07:10 +0200 Message-Id: <20220613094933.370022221@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andre Przywara [ Upstream commit 01a850ee61cbf0ab77dcbf26bb133fec2dd640d6 ] The F1C100 series of SoCs actually have their watchdog IP being compatible with the newer Allwinner generation, not the older one. The currently described sun4i-a10-wdt actually does not work, neither the watchdog functionality (just never fires), nor the reset part (reboot hangs). Replace the compatible string with the one used by the newer generation. Verified to work with both the watchdog and reboot functionality on a LicheePi Nano. Also add the missing interrupt line and clock source, to make it binding compliant. Fixes: 4ba16d17efdd ("ARM: dts: suniv: add initial DTSI file for F1C100s") Signed-off-by: Andre Przywara Acked-by: Guenter Roeck Signed-off-by: Jernej Skrabec Link: https://lore.kernel.org/r/20220317162349.739636-4-andre.przywara@arm.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/suniv-f1c100s.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/suniv-f1c100s.dtsi index 6100d3b75f61..def830101448 100644 --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi @@ -104,8 +104,10 @@ wdt: watchdog@1c20ca0 { compatible = "allwinner,suniv-f1c100s-wdt", - "allwinner,sun4i-a10-wdt"; + "allwinner,sun6i-a31-wdt"; reg = <0x01c20ca0 0x20>; + interrupts = <16>; + clocks = <&osc32k>; }; uart0: serial@1c25000 { -- 2.35.1