Message ID | 20230922081055.6242-2-alexandre.torgue@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp5531395vqi; Fri, 22 Sep 2023 05:28:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRizAtQLE9nzXen8A8FWIKXxmrk9Oq4IYA4uOMnU8p+HK/n5zuh+KGY3eyuNxfFtcnQ6+8 X-Received: by 2002:a17:90a:6d65:b0:26d:2635:5a7c with SMTP id z92-20020a17090a6d6500b0026d26355a7cmr7638539pjj.2.1695385731469; Fri, 22 Sep 2023 05:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695385731; cv=none; d=google.com; s=arc-20160816; b=GUxz0Z+xe40S8wp9buChGLs/5L9w/8m8RSP0RoE58Ob7XhNsi+vkqRrLJqm0szNFwz cXflG+Ai5nrTB+cA6AzWbnzeM3i5Thxg7NjzkbXwzY444ibT/HMhCf78U9nInxSnAlpN FUbL2je9rf8aIr/fbbmvO9ro2/3ebGIPBkeNcoD2UZ5oAKY1RO1s0OGD2lXGrROmblU8 ruPz1o3gGGAi33f8eh0I5j3eT/A0BrSxObJPhZBd3Eg7qjHOcl42hqDK5hbkMu+MQGVR R8lyv0wrXv8EUn+uIcmoBYH8TeTQhzRzxf1HKH6OsMcjaWrvVAFSEHmkswni4Z9q0rxT Hjbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=4DBHArcLHHs3PcEL5s63o1s4aDBzEADhjTJ8QgH11SE=; fh=LVp76Y48Zu90TXBKYIxpLnX9qKpNkAecdHoND4swDpY=; b=JPyP28fonLgTdz6yEdTKTwSmq5zUKE8ghsbeFuKC67RlLNiabWY4H2PRJ/wjOwlf56 RqwhV0iNtsaX3Y6//N2fuX/z68g/kTfbq0Doyx8yy8Zjkc2nxFIGd/ZbuUYxtOwDJWSE dpQnuZKKC+joxq0VyhU80rDc1doe1GSYKvZ15uy3uilWM2100iieMS5uXIgjTBMFAmCl f2oeX5tSfyJB5OGSEr7JyYMarfdIe5aC5uFf/8xxG9MNajiRJAcIWufQob6RO1pTGKB/ YqTZHbFI0TAf6NileVfRx/zbKjMuugYbWt9sRcwei7+1KJgLXj3TxQPVxuzk2m5/26AY CXHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=3TBBmhJr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l7-20020a17090a49c700b00276a3a6b0c7si3960089pjm.118.2023.09.22.05.28.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 05:28:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=3TBBmhJr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id DA4EF83B95F6; Fri, 22 Sep 2023 01:11:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232308AbjIVILs (ORCPT <rfc822;chrisfriedt@gmail.com> + 30 others); Fri, 22 Sep 2023 04:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232075AbjIVIL3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 22 Sep 2023 04:11:29 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C51DB1734; Fri, 22 Sep 2023 01:11:19 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38M3QAq6003954; Fri, 22 Sep 2023 10:11:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=selector1; bh=4DBHArcLHHs3PcEL5s63 o1s4aDBzEADhjTJ8QgH11SE=; b=3TBBmhJrxkfzes/j+RcYqliLB0vq+d4PYtGO hxYt4mTnMZ/Q250+lc+rLeA4wT1Su1kS88/G/oUrasBsiVaxE2aRlREu8rb+igE8 7E68SBpsbJkSnIRwd4NQc0sFQK1jALqBuFhg/0oYGnUaHxC+p0s2U0Qik1CZiTS4 6nqofbYiQo2or0+I5sBTUl5GVPyvudf4g978E4a+waiT/WZJmkKnTNyh1puDPqg9 kRAAVMROYDPn/puHQBNEcDCyJYfzRBMK1RcJp9swNwWHXDX6dHo2GOi6/lwFYWfB Va/LunRiw0VvslhXt8XJK3SbRvCodn314WRwQ/HZzBGWWZGZ1A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3t8tt7aa8d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 10:11:02 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 73266100051; Fri, 22 Sep 2023 10:11:01 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 6BCD921230E; Fri, 22 Sep 2023 10:11:01 +0200 (CEST) Received: from localhost (10.201.21.122) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 22 Sep 2023 10:11:01 +0200 From: Alexandre Torgue <alexandre.torgue@foss.st.com> To: <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, Alexandre Torgue <alexandre.torgue@foss.st.com>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-kernel@vger.kernel.org> Subject: [PATCH 1/2] arm64: dts: st: add arm-wdt node for watchdog support on stm32mp251 Date: Fri, 22 Sep 2023 10:10:54 +0200 Message-ID: <20230922081055.6242-2-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230922081055.6242-1-alexandre.torgue@foss.st.com> References: <20230922081055.6242-1-alexandre.torgue@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.21.122] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_06,2023-09-21_01,2023-05-22_02 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 22 Sep 2023 01:11:57 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777740788564384710 X-GMAIL-MSGID: 1777740788564384710 |
Series |
Declare and enable watchdog on stm32mp25
|
|
Commit Message
Alexandre TORGUE
Sept. 22, 2023, 8:10 a.m. UTC
Add the node to use the ARM SMC watchdog support. It will use a dedicated smc-id to configure and kick the watchdog. Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index d7cb05d534ac..124403f5f1f4 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -28,6 +28,12 @@ interrupt-parent = <&intc>; }; + arm_wdt: watchdog { + compatible = "arm,smc-wdt"; + arm,smc-id = <0xb200005a>; + status = "disabled"; + }; + clocks { ck_flexgen_08: ck-flexgen-08 { #clock-cells = <0>;