From patchwork Tue Nov 1 20:53:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eddie James X-Patchwork-Id: 13863 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3202092wru; Tue, 1 Nov 2022 13:55:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79DgJFpYOzep5jiJ+7iEYm0HdE9/zu3WZFNEs38scNcyhlbu6bq6zNUfIe1ZtIJQ3iH/QG X-Received: by 2002:a63:8943:0:b0:46f:3a91:3618 with SMTP id v64-20020a638943000000b0046f3a913618mr18951627pgd.16.1667336137804; Tue, 01 Nov 2022 13:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667336137; cv=none; d=google.com; s=arc-20160816; b=cwlwnssY8pgZFBseI9a+MVpCSpc/ZJHoOj6PqYlbcU+eT9e9GZqbMJ23OGE4zBBjR7 UPNVS9FQCrwDQFUfVrFrvXDgC7uyUPa2UhUh39Wr8bKO02MdMDZrnpyS21iqa56CXSal vsCW36ZE+k600Q9KQzGxOVDiphKhZGZ/Q804aaZCxwzK3WysYLaD9tjo4iaQLkXlSrFW o7wD1DU+EPI6W60trCKfi+NumGMIpUuSXV9pCvQSDN8PsQ7/mcVqhF3bEJqIDqFFKn5m Rnv3x6UZMLX8iW1YRdxVPJn6p3Ho/d+WQ1G1Z3lrhX4PyK3I0Ep5Wl/rerzOPRSOmUvm 5ORQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vrGR742i6UT4wMCamVewaOgnS4kjvz6dyoifD8CJsYo=; b=x/mB93Rp/xy2HXJ6NjW/sreDWptXXi04GlgTZ29bqWvN+ihPaDEdpzz8SSJoW1M12t 0bqlBC9I3zPIB65UZbFqoSi6b/czE4rp0kg0Cyes1ZCssYfhfgPJsRObG/221gMnd/4W z/BIJbd5rFNkUehyOZWBHt6PlPGhDYdXoFmB3o9RcHtOQ0XhgzhLCvj6c4o2TIHXV4Kl Lue0e0jRIJK5cE1//D/Fnv92Sg19KONksM5BA+Q26FECVvdGt8xOiDBElVD9LoFNGJ/F b7BFBo3Srf/081gL+VKV54sAztoRmiuvaXtSFUA0HcoEG8bge1aDW/CgGEQqPgN4OJ9F Ek3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=sV0yQ1Dc; 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=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020a65508d000000b004468ff8fd57si13737118pgp.680.2022.11.01.13.55.24; Tue, 01 Nov 2022 13:55:37 -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=@ibm.com header.s=pp1 header.b=sV0yQ1Dc; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229533AbiKAUyT (ORCPT + 99 others); Tue, 1 Nov 2022 16:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbiKAUyL (ORCPT ); Tue, 1 Nov 2022 16:54:11 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB8326563; Tue, 1 Nov 2022 13:54:10 -0700 (PDT) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2A1J4SSk011938; Tue, 1 Nov 2022 20:53:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=vrGR742i6UT4wMCamVewaOgnS4kjvz6dyoifD8CJsYo=; b=sV0yQ1DcYQesFkpjtNBivRlk87HIb6KwXUVPUhyJId4/g1TJ0Sicd7l4ErmovmNmpVZK ce7EbCsifnwgsKv875TauYpf6mnctGH9ZLU8WX0/E1BifA2eVagtuFbXTMn1reuxSbA4 EY60m6MoqRCVLxARsLOGDN6g8TnnLAFP8G61Z/MYj6UcYF9KJIB1hlD2OMBRxdp6EAoE xBRbYonalZ33fTwsD7OUkAFqbg/+BdH+NOtBTKH5MewEsgknOpk7TjuDyZ8j4rxYO4p8 D1PQ26skf9nW1oaxztAAiY63MBuqRNFY2w9ou9wAmS9La7Zp+nRw7M72VkDHOTnMpD0K EQ== Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kjtg5r6np-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 20:53:49 +0000 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 2A1Kokom004361; Tue, 1 Nov 2022 20:53:48 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma02dal.us.ibm.com with ESMTP id 3kgutabxqp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 20:53:48 +0000 Received: from smtpav02.dal12v.mail.ibm.com ([9.208.128.128]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2A1KrmuL36110752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 1 Nov 2022 20:53:48 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DD1955805A; Tue, 1 Nov 2022 20:53:46 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EA4765805F; Tue, 1 Nov 2022 20:53:45 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.160.92.229]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 1 Nov 2022 20:53:45 +0000 (GMT) From: Eddie James To: linux-watchdog@vger.kernel.org Cc: wim@linux-watchdog.org, linux@roeck-us.net, joel@jms.id.au, andrew@aj.id.au, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Eddie James Subject: [PATCH v2 2/2] ARM: dts: aspeed: Setup watchdog pre-timeout interrupt Date: Tue, 1 Nov 2022 15:53:38 -0500 Message-Id: <20221101205338.577427-3-eajames@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221101205338.577427-1-eajames@linux.ibm.com> References: <20221101205338.577427-1-eajames@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Urz1o1Ls_Q7DovowQi2QNTaCyLyNcOpL X-Proofpoint-GUID: Urz1o1Ls_Q7DovowQi2QNTaCyLyNcOpL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-01_09,2022-11-01_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 phishscore=0 impostorscore=0 mlxscore=0 suspectscore=0 adultscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=810 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211010145 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748328658116767391?= X-GMAIL-MSGID: =?utf-8?q?1748328658116767391?= Specify the interrupt lines for the base SOCs that support it. Signed-off-by: Eddie James Acked-by: Guenter Roeck --- arch/arm/boot/dts/aspeed-g5.dtsi | 3 +++ arch/arm/boot/dts/aspeed-g6.dtsi | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 04f98d1dbb97..b4b98bf38e48 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -410,18 +410,21 @@ wdt1: watchdog@1e785000 { compatible = "aspeed,ast2500-wdt"; reg = <0x1e785000 0x20>; clocks = <&syscon ASPEED_CLK_APB>; + interrupts = <27>; }; wdt2: watchdog@1e785020 { compatible = "aspeed,ast2500-wdt"; reg = <0x1e785020 0x20>; clocks = <&syscon ASPEED_CLK_APB>; + interrupts = <27>; }; wdt3: watchdog@1e785040 { compatible = "aspeed,ast2500-wdt"; reg = <0x1e785040 0x20>; clocks = <&syscon ASPEED_CLK_APB>; + interrupts = <27>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index ebbcfe445d9c..d9379fd7b1c2 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -539,23 +539,27 @@ uart5: serial@1e784000 { wdt1: watchdog@1e785000 { compatible = "aspeed,ast2600-wdt"; + interrupts = ; reg = <0x1e785000 0x40>; }; wdt2: watchdog@1e785040 { compatible = "aspeed,ast2600-wdt"; + interrupts = ; reg = <0x1e785040 0x40>; status = "disabled"; }; wdt3: watchdog@1e785080 { compatible = "aspeed,ast2600-wdt"; + interrupts = ; reg = <0x1e785080 0x40>; status = "disabled"; }; wdt4: watchdog@1e7850c0 { compatible = "aspeed,ast2600-wdt"; + interrupts = ; reg = <0x1e7850C0 0x40>; status = "disabled"; };