Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2195840iof; Tue, 7 Jun 2022 22:52:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3+qtenIM0f9onR4q9aLt6sHNaHkJTxwynWeJo6kNjol6gaNuCOiMzj0SpNTkLRhz2tW93 X-Received: by 2002:a17:902:7c0e:b0:161:f9f6:be5b with SMTP id x14-20020a1709027c0e00b00161f9f6be5bmr31880343pll.156.1654667560125; Tue, 07 Jun 2022 22:52:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654667560; cv=none; d=google.com; s=arc-20160816; b=c+RPBlIERz+oCesGzFfgY6k3ImhNrFPGw0ldd7u1JdjmMxeR/gIP9KktG6+9oJ/U3J QmPBpCBUfVvipJU3J+AxSrnkl12BYeCe5CLbMlBiNF8aVJQrlUBSLY5VzDYOjt6X7vAI s6xzJHgKeKcThaf8rgIQyYhjZ0YrcF1fAZjU2uE/5V543NkC94wKsQuK7trKQaIooTB6 /NxINDO552/x8PNol8n1BnFl30aYzKP7DjuY4WliLH30qnX44doUn4QXC/rww3iM64S/ wt2oTvaXAVaylYpu9EvvnsJgh21ezqtHlvOybUUDKS+yBbjJ+bah6/FKGaEebcQV6Jvf ZxNg== 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=0lGzfCcSUyfYwYPAY1X8Re+VX02jwX2nWeDwnqZyVh8o4t7yC2zTNIoRcsUIRAjZXY JYfdlSbrXSR6IhI4po1It7JV8YUbZShjYc/3upjbR1EIg9Jbiv27KHN1tdGveCpWd9yc di4oz/0rpPdoSNQwfwe38ASXy85ndM69jSG/YqKpVT4wBhB6rs+D+XN9oY4IpkVq+5y6 wlp+DTknlWXEaDWxBa+Pjo9h18+Gx3fnunfS71Hj3d1Kpm3q6ltWBRVHbVnr1DkNaQ80 FoNNfF+L66wCvDzCZ3yLJClUPeplSyS8HVrz5xrx19zq4/m9OIniHgM1jvLpDD5MsrRv oDPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yWIenax2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k2-20020a056a00134200b0050d434ae30csi26203304pfu.217.2022.06.07.22.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:52:40 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yWIenax2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C844E4AF4AC; Tue, 7 Jun 2022 22:21:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442997AbiFHA5a (ORCPT + 99 others); Tue, 7 Jun 2022 20:57:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383030AbiFGVwL (ORCPT ); Tue, 7 Jun 2022 17:52:11 -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 9D0F92408CE; Tue, 7 Jun 2022 12:10:19 -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 59FFDB82182; Tue, 7 Jun 2022 19:10:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C10C3C385A2; Tue, 7 Jun 2022 19:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629017; bh=liNhd+rQWFOn1syJrUOicb3uykE30jaLc4TMIIZdHug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yWIenax208psdePA8y4S4y0s6gH0Hc3vXYyVIU9ZtVknpruqnnUQZHtmWoZ3DspaI rX5Hyzn9MA3fJEhKt6ZpM9nSEcUYv60Nc0l7407rse7yuSVZhPjjUpK67YnK/tiCXj ptMI0akawWTvSzTp01ro30LFIHPKaJqdkMNjqKHI= 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.18 538/879] ARM: dts: suniv: F1C100: fix watchdog compatible Date: Tue, 7 Jun 2022 19:00:56 +0200 Message-Id: <20220607165018.487992000@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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