From patchwork Sat Mar 6 11:28:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12119945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2020FC433DB for ; Sat, 6 Mar 2021 11:43:08 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 958A065022 for ; Sat, 6 Mar 2021 11:43:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 958A065022 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=0TO9/oWmEo83u20BLvb0KsxsxkCvN8s6AA1XwGeuoaU=; b=Bm6r/e5PBJqLrZkrgyOOjYQvaE A3HIrBARPk5lc8/oP2Jm67d3/DZmzJ1sA7VrPaiO2uLeyfwcxOo0/2LYQzLoIrLy2ZR5oQMV5TnI4 eSv+JgQCRCsEw8rV3cMlWqV/0ZENVnqUoq5Y9yA+1BMm06BmCJgL9h9dbLm5xYwRT1bgcdqcqmGky 0kxANk92qYBq7a5qQjc8Cc+xkIWOE41Vs5ICX9KFem1lv1OUnGv9GBoT1aYYtlE2y5fvydtElEZFu oaNyxr9vlfnOVnlnmOlfafEPop6y/MjfLjPdpafTs9GIOdOSUS1+2vbsBqAwstLAHNZ95wY7qlaAL nP3bOenA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lIVJR-002vEd-4W; Sat, 06 Mar 2021 11:41:37 +0000 Received: from mail-vi1eur05on2070.outbound.protection.outlook.com ([40.107.21.70] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lIVJL-002vCc-3v for linux-arm-kernel@lists.infradead.org; Sat, 06 Mar 2021 11:41:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dw2VDkAveTPAP9QAddOfTFi6T9WgolwHLX0t/7er1HFVFSbYyj+ml0kNFQwdoDEdI4eiAw6kwndNsWe24892cbqoCAC3f4bOLjafKupJvbydtTPKfHGkW0WVWlsbWz4FX2QNPnIgCC5s69cX9nLwzpElww6wxqEKql0qg+sET/bHPyNT62WpM5xuBwgbNmn3ezZnehsN/5A4m0bfvZdB4XeKUCC/Cor9muF9v/EK5A1BnIHV50OAeczHA3kV0oAetKEL6q1HekC+gjnyADLTnvtpBcABbapnfSaRKZIi/fkN4mYAVMN8YTi03R4mI6VMz+TyKzVcyUh8gj1vHpOnbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AITUwyRKxRZp9pgVMvI2v3whlC6IPwz7C0/2JRL/glU=; b=KSouZh79Q70X8RcHQn/du9QqKzEs1vezgPupK7HcF+IjtBLDdSC2jk4+PU8oF2oRXF/pnkY9YXwaCHl+btXPsG+oL6HFDVtogZg/hOBQtusMlXNS6SgrDzYqThYclN0dqU4Gr0e22V7RUc84vfuYZdO+St1U1NmCwm6YdcPnLq2b1YhBIGlbz8Pg929y4kgYlpgVX3Nr684UZbtALu/TiaP0BMwPV74YumGkfHiDGpomiD9Upr826Vi1CMH9JVTZUVlV3GzkBZIoLS+hDGqohJjNtRvYxLEma5L3Z77ur7ylUjU4Do2hl12ycqi6W/CvXqQxolnIGjX0bXfeim8WwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AITUwyRKxRZp9pgVMvI2v3whlC6IPwz7C0/2JRL/glU=; b=NLylvLgRPzBzxXktFIivQj7wbxoBq6GDfX9p4Y+NK5VxKwHynxVjXz95XqOTlYNUEs9HqbBvFYtHEw+E4rF1gjXQeocg6TqRagvqSWagI8TewVeHtiCgyBUCULyTf2SNqHTWXfx7J1fkfnFYlbEY+AR4Nhk9Rypz90oP8DIw3YQ= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB5802.eurprd04.prod.outlook.com (2603:10a6:10:a4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Sat, 6 Mar 2021 11:41:26 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3846.054; Sat, 6 Mar 2021 11:41:26 +0000 From: peng.fan@oss.nxp.com To: shawnguo@kernel.org, s.hauer@pengutronix.de, robh+dt@kernel.org Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Peng Fan Subject: [PATCH] arm64: dts: imx8mp: add wdog2/3 nodes Date: Sat, 6 Mar 2021 19:28:40 +0800 Message-Id: <1615030121-23439-1-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR02CA0192.apcprd02.prod.outlook.com (2603:1096:201:21::28) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by HK2PR02CA0192.apcprd02.prod.outlook.com (2603:1096:201:21::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3912.17 via Frontend Transport; Sat, 6 Mar 2021 11:41:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cf73eda7-8a4b-4a4d-80bf-08d8e094c63d X-MS-TrafficTypeDiagnostic: DB8PR04MB5802: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2449; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R49ULsPZvITfxfc86lH8+xiOpLTev6krWEp4fHeuIEKoBdmfGCJGOs7Chkbyhk8tbWq0awPhtDWmwsV3bcpGVIgxHUlv/l0kmxmMhdsQa4Y6AgNDpWC+PBc5GiA3JZJOqUWFy1xpgIFL2nLoR/irJNIeWpmYjbOzZQELEgMAbfFQQxxlDQTGAVXQWOjwJCqK+OTFbgbcxK9UqsvtCdleZQlaho0GTLnZ1vvknjv/hkNXPkdy6nzsg3BaBnnZ2XNZK32m2/B3yWbqlD0ribl9dERewPQYT46boEN0J+eNduQ+S47hl92+pFByxnL5zEPWymbPK8orCK6tYtK0tMEgyzloFLLrtuIWsaTazXMZBjj/dpapITfFVF2VaiSMV8YOpmUTbmor4zlmRr2pD/3BMBdGD3aQtJ46tTlJoUuToZUAPAJtA2lQtGzqKKikf2dGsiAUMj6U6FW3MYBhIEwK7jX974qqUXa5b4DmOQZFG0vzd0fyPx2bbeOkAHaGbWptCiIBaySi8/GYI01fu2DmZc5h7rk3bes3+/iOtfhdN/3buCxSVW83nQU03e4183LBJfV3nFn+zWNNkSdOGbPxh8KtO47fyasNTMs7xcroXGQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(396003)(346002)(376002)(26005)(52116002)(2906002)(316002)(86362001)(16526019)(8936002)(5660300002)(6506007)(478600001)(66556008)(66946007)(956004)(66476007)(6486002)(4326008)(6512007)(6666004)(2616005)(69590400012)(9686003)(8676002)(186003)(83380400001)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: gIT1wahj81KwRCMF+bjWQ5BGo0AsGq9yd1AKeYh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ARdOwqpZqMx3c0EsypeCj29iCHoQ/H2A3PtijCQeD8eVbZ0kZYaGqHn/3aLkq0UeJ++vkRKFszMiWHvBFIBemV5cSZsyqh7CPcnhUkX3k8JQ0ZkNUWOXd7IgI/vMR+Wkj8JdJTznBdjZ4+NsbVh4rWz2620t/RVD5RwMqig/6xjcDBa6YRKzwYgTFcmT+C7UoKSECDgVAY7vF9WN+iYqioHS4KRnubAFDd1aj5gA X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf73eda7-8a4b-4a4d-80bf-08d8e094c63d X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2021 11:41:26.2484 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XFAtuoFVwCHkAozfGHEl3C9p1IkOeqWamsP07y6HQViwsBOGIGCtmPThI3SCq9tXNj0ghvtyDF9Qlm+J2xPzpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210306_114131_484146_670D5AEC X-CRM114-Status: UNSURE ( 8.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan There is wdog[2,3] in i.MX8MP, so add them, all wdogs share the same clock root, so use the wdog1 clk here. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index c7523fd4eae9..05dd04116f2e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -312,6 +312,22 @@ wdog1: watchdog@30280000 { status = "disabled"; }; + wdog2: watchdog@30290000 { + compatible = "fsl,imx8mp-wdt", "fsl,imx21-wdt"; + reg = <0x30290000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_WDOG2_ROOT>; + status = "disabled"; + }; + + wdog3: watchdog@302a0000 { + compatible = "fsl,imx8mp-wdt", "fsl,imx21-wdt"; + reg = <0x302a0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_WDOG3_ROOT>; + status = "disabled"; + }; + iomuxc: pinctrl@30330000 { compatible = "fsl,imx8mp-iomuxc"; reg = <0x30330000 0x10000>;