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: 394548 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp230315jai; Sat, 6 Mar 2021 03:42:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOm+P3t0/toDinECoocFgzhbaLJiyflwgg+nQa55AaPT8jVw8dKZx9VDeYQydfwyvR28Pl X-Received: by 2002:a05:6402:26c9:: with SMTP id x9mr9542294edd.322.1615030949955; Sat, 06 Mar 2021 03:42:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1615030949; cv=pass; d=google.com; s=arc-20160816; b=e8vLhdLHF1SKIoyn/xfP3Vt5ylmtTDVlp6HUFKU9AnGMk4cVas5NF6um3YQlp81u5d 1T0foH/Z4oLUreMEpz1P29vGzRYrUNWhOYIbi/pJ5QVKlHdWjKcTbVu6V3D0O3YzDHSJ sdJKrKoHQ1TNjhbx1xJEXATvWtkVZYm25EcuuMxRdOGiv1aDGQitmt9a+8S0FGIpR1qx TZj5W33bcZ7x3gZXbhZShTaamKNAwm4H95JnpUsTzeq8qz31mc7Sw51Pcp2IILf021gB IeQIWPDNSNRmVJE0w+HI08R+1o8NxWmOMNsDvliMCxTRxzoYuxze84hQ5uNQehmr06+H mDiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=AITUwyRKxRZp9pgVMvI2v3whlC6IPwz7C0/2JRL/glU=; b=AEEzS2PVg4rwqG4xLubTfHgYAFUyFu8EVySC5CCVZCRCOB62NtsYo4D94Ekw3nxzDz fWkefugLw5tLzJuZBDmpKkAsbxDt2y9kSJl2j0+e8JNxXDh9QIGtz8f4F7qx6DXrmMhn Vkw/Kr9Evx+PQFv9ciSL+GRpB01mBd0cFXq/yR/NwFkQGeV9sURhQGJd6M1drxPED7sI lV3v7Jj9H2t8QxWTZtqDEoIqDPCgGKfBJ0XLeHuPj/IfgIugCEb79SAYlAKJZ+lMQyQh y8C1LYE8JdxFQw5ygqyxk0Tl6sFOeXMYw2kSMWzF1JeSTmHUsv7MTsbbIeNMSeCohrlJ lmdg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=NLylvLgR; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si941854eds.454.2021.03.06.03.42.29; Sat, 06 Mar 2021 03:42:29 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=NLylvLgR; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbhCFLl4 (ORCPT + 6 others); Sat, 6 Mar 2021 06:41:56 -0500 Received: from mail-vi1eur05on2086.outbound.protection.outlook.com ([40.107.21.86]:47969 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230208AbhCFLlb (ORCPT ); Sat, 6 Mar 2021 06:41:31 -0500 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+bjWQ5BGo0AsGq9yd1AKeYhnQWEir1yNBTP6kavgMMBxOM2J/y1S323zu8+RS4CVfNlQn0Ky+PCH2lXQM8rkoNKZTdUd9sMTmcv6s8rz0qHhi4c9aXLiROX1ULVL7YOAYgsKQAWp6ODqE8ckjeKqplj8aPC9dEHuH3VNlfpuqpdILsssfz7VTiH64qScG9hidiCojtZwDAnG85F0o5G3oYQhGTfj7Z1ueZKB5cb0Z5itRCQq6H2tnGMlGdEKevjsxoD/LtKuSgAhMTlS63aq9Ig9ek3RxS2uUdTAfZZczMpMRFv+LbeDIw/AguwIjRNXXXbr11IMYdEu7hgusjz2W7sfCeKMRh5RAp65EwdVPNGAcM1S+38qtDle9VT2J9mItCwoaP6+Z3F/TSiMoXm/Sa07UwB3ruwLD4kksGCo8fdK8HRxwnPXrv4h4ZUytYX4aAY10RaMLut+N+QTmc7eq2AQvrpL+ahBDlYJ7PrqStOumHehpeHvfyzghdAk0LD7reqkn4e4YPIHEmvTqte2GDRQD1iqKPtS/H4Mn05pgByi4QVzHQuwhbX3cM8soNZDBujALMOghc/pNyNSXJJ5+q+oJbqzJLNjMO3Pogs3dRGL89BrQFREM6CXRBbAzd+5F3c5rHaRL+aZxHE5A2jMFvrr8huTzgSuAPrcq+Gvyk1+47CzX4gIyTBd6F1ZtxBX9yrxETrgGmb5ivjAU5s+jcEhfSomrxhLTtRTYHH/wsDV+eva5uo9AAw64k9vMkU/LZWV2eLyzS5Bg7CdImPocIn4XTpboAUVFJO5VNBp67IhjtjGSgAnFgiEFyCPJQOVhDADHzOvx5sd4XkUTCgnVLb7gVPGdWqU3l7L8XNTqgg5Tv472H7dZwNSwP3UJMJG+85wlUHiMQ2d9ybRZ9Yg7KpfyvNsG0DVZOC3/lKTMmX90vrr17C52UcX72OklJG52MfYH+Zkw/JLEWxdX/xuV4LIMUgvL/vRhwlin4qFQLfcZ1iCRctrK/2+xJkoSiLMtyMEzVcqoZKMHyv8mY9vOr4XNkYNm5YEAgjNkz8rieRObbZmsOYnBRN/O6HreEd5fQnQXPyjARdOwqpZqMx3c0EsypeCj29iCHoQ/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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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(+) -- 2.30.0 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>;