From patchwork Fri Jan 25 07:46:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 10778477 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BB7AC1515 for ; Thu, 24 Jan 2019 08:01:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA75B29B58 for ; Thu, 24 Jan 2019 08:01:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99F9C2E332; Thu, 24 Jan 2019 08:01:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_12_24,DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 610EC29B58 for ; Thu, 24 Jan 2019 08:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oE4kePJYX9q647vGLGJ+fxAD6rgDpe0oZspS0zspU8s=; b=LtapVgC1nNEdcC mbPiGXqIb5tFrmWn3ZtpzUr9iMFR+aUZ1oT2ED3M9Gm9UlL/VBZpqTvr0p0dkbSpvc7ZINcS1lO7q 3rau1Axy4qBxeOe7GZhupSCP9Za5bL+wXWrMDoQ5uq/1E9JSxhGX7gb0x2iDwJ7EQCJqwwDv/xuCi A39ucje0/yZcXYfp0+q9kgc5NCmg+3QbYvAGCbFgMRD/WWyGoBo8HNJ0emxRd98HHm/0cj+AvHAoz reaYtfXUbgeVXqA9v/gTdxEKOS31HsMWqZzv/ORFphBe6yzuM6UeC5Jp8xB7UsLBMSpCcRJssHXCK 2epxX+kMdsxY97vE5mzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmZxD-0000kM-An; Thu, 24 Jan 2019 08:01:39 +0000 Received: from mail-eopbgr810044.outbound.protection.outlook.com ([40.107.81.44] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmZwg-0000Gn-3q for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 08:01:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bJwXgWin8VvLhRCmB6C0/0GfD8TL5S6HaPiOpNCIn08=; b=D1BwIIDGldVwBIGPY5zZTiA7v3MCnM3HdapO1wwDQfvZU+gMSguO4UZ39AVY2mpnap4B/7FlEtfgCsQBVjThXV7/5VnIyhAa2Ew6YF3fnSPSrpNzutkcJWOVWUAkok7luy4UNfQ6N2ywAQAwc0jOHdCxWQOucBmPsa3seWdeq3E= Received: from SN6PR02CA0033.namprd02.prod.outlook.com (2603:10b6:805:a2::46) by DM6PR02MB4331.namprd02.prod.outlook.com (2603:10b6:5:2a::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.16; Thu, 24 Jan 2019 07:46:31 +0000 Received: from CY1NAM02FT014.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::203) by SN6PR02CA0033.outlook.office365.com (2603:10b6:805:a2::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.16 via Frontend Transport; Thu, 24 Jan 2019 07:46:31 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by CY1NAM02FT014.mail.protection.outlook.com (10.152.75.142) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1558.11 via Frontend Transport; Thu, 24 Jan 2019 07:46:28 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:49028 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1gmZiV-0007f2-CR; Wed, 23 Jan 2019 23:46:27 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1gmZiQ-00071u-8R; Wed, 23 Jan 2019 23:46:22 -0800 Received: from xsj-pvapsmtp01 (smtp-fallback.xilinx.com [149.199.38.66] (may be forged)) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id x0O7kHtw028337; Wed, 23 Jan 2019 23:46:17 -0800 Received: from [172.23.37.118] (helo=xhdnavam40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1gmZiL-0006yr-5K; Wed, 23 Jan 2019 23:46:17 -0800 From: Nava kishore Manne To: , , , , , , , , , , Subject: [PATCH v3 2/3] dt-bindings: reset: Add bindings for ZynqMP reset driver Date: Fri, 25 Jan 2019 13:16:53 +0530 Message-ID: <20190125074654.10950-3-nava.manne@xilinx.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190125074654.10950-1-nava.manne@xilinx.com> References: <20190125074654.10950-1-nava.manne@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(39860400002)(136003)(376002)(396003)(2980300002)(199004)(189003)(48376002)(63266004)(7696005)(76176011)(39060400002)(1076003)(14444005)(50466002)(478600001)(47776003)(51416003)(336012)(9786002)(2906002)(486006)(8676002)(6666004)(356004)(81166006)(81156014)(11346002)(36756003)(316002)(16586007)(476003)(77096007)(110136005)(446003)(26005)(126002)(106002)(305945005)(2616005)(186003)(426003)(36386004)(50226002)(2201001)(106466001)(8936002)(107986001)(921003)(42866002)(83996005)(2101003)(1121003)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR02MB4331; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; LANG:en; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT014; 1:qtSxNhF6vlixUA/5c4IZwzpAqm9zxyQQC/AsKrLFzuQuw7ZKMT5Td69IVtmlK3nQkzq/GzLeTeYKPPc45wTEyFbAKXpFM9xrfUg8i46iizSag9WFJh19OGCjm3h4r4jpBaU4PqHFU03OOaVbzXk7edOPI8pm09jNZsI7NdOGtKo= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c6de092d-ccae-42f8-b3bc-08d681d00e16 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605077)(4608076)(4709027)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060); SRVR:DM6PR02MB4331; X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4331; 3:aS8GQq98/+60LLiVtf2Cx6puWPsnSShzrszIa/p0xGRosr6TfJSuj4nw4qjy54p7sqeOirn6eyl4Ay+IvClzplA13+PxpnVz4KLPux5K2xKj9HU9QMPf6yGLlIxc3X38udtluSWqyPdNLRY4SmOUzTXHb79E9ypVN1EICa/CaAv8qzVO2aR2Ka/kV/fTprrBL7fFODOk3vXTe4G4vzDnFS3+zopt2H+NTlS5SIav8TtgqH7H5t7mzwaAJMxufdL5l1vMA+bLO8tE7eZ5OhWez5astux8ynA9dKwX9nfLd5iF6ann3iLFzd45az09/X/f87ctvS49BvXaJ9nXrW+bhAa1QoN+DRIGebHTq21FvlLSgiaTcNoAer5kkXV7faw7; 25:3CeylflJNBZOrEz3zUJmyCtZ91oQoIqM0S5fXgV0Ll0RjyrCfZC+X9O2kW3LitdHLyzARx0QUqN/6U9kAu8CHL6AJ69jS9jlH/6R5OOh2KuaAGh2CEpWLA76h9ghh0fPViEpmlQzRrV3rxfM0qFSCLvLnhasIANQBw/Nb+Gqo2MXNZZMG86ERDLB/Z6tGyaxzYLiOSRtSFgOkoe3l7d8cTpAxnyEdxlkByKMoCuOIvukU0FHogMQtLjdpmdQjOjYpo5xaqghiueLSIbP3BVAn3uGAoVmKECNMBcj1MIHYSN+EZCqYvJ+MznyqmM+wT0zc5iTT0R/+nGxEhlaZOwVuQ== X-MS-TrafficTypeDiagnostic: DM6PR02MB4331: X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4331; 31:Oho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lda8QStUdL/xxjeq+YsrhMoxWnxjM/eGodupx/dDmqCQDFasNTPK1Ws5W8PtwFhsIxYt8q0+NB0aNm/EvZISq4YiiX+4+M7TjhuPzeMU5lb2tb/5GySv+g1KSMr3z3mngSrYJIXEvVQaAWArsVPHD1foUBZ/f1YD4TNVqD8tQZMj3TlNXFc7GKP8u5Fd1WdI646ULC1hIcme9BLpN99V7RICHbjCyCkhCrzGWB4YdadPNQ3zvDwCqcoRkAHWbVF0ijRt74ldXmcTyt40Px0K36xKIB3lowLfv7UkN8NnD X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: P77Wb8SsMy7gkh7cFuzz9cou5PzxM2CM7XiIL03PYXXz5rxd7E0YpLBXCaxJk0oZVt6d7SmkEg86UN4SKfTRicW2E02GHvE2CsuUgqJ54V/7K7HEqV0jdfoXy+4OMIkHVATzsOl9JXLoT1WGi+7c9YiSyQe/1BWCzzNfK014jBqojMroJ0f0h38aslIScX/AsSCrNGYJ7iSLWp9EPXcYwKT0z8uux9y0purnPEja1EHLhUG8lZ5CoGMin7PA7X/xOv3/68OD4goRWONEH8NwNfJgEDazS173pFG/bSGiZr6gh1Y/pO3m0rtCSL+O1fagdaigKewOfNDk+/jezcZuEYlhCiuPz/zJ6aE4rJAQB5WgyOtT6vnV4OP2Zatj40HxmhYvKAY2zWbUasxEEcKuCm0Et6YcI+oIN5FIuYeKdLQ= X-Microsoft-Exchange-Diagnostics: 1; DM6PR02MB4331; 6:QaZQy9Rj5+NMo54SKYjx+bUy6+nSOdCzak3KsUzv9Y87Ug+viznX9+xh7uywCqOsfEpU3E8BDA8yVLeCmFfgedbla7GCvAQoCvxHLQGMwMyckjmvluQQOze16O96iEvyeKwOepCJ4PaFdQYEZ5vIlpy80afzx63nZLEmOh3UCi4PM6g3/DzWNTST53ZFxkT81HGZTYsJFPGDqCzxQi0XndpJGCrtHwsKMdn0mLalqB1+yoi2cF93t3nhp/jqAidKxmWYso8AJWR/69tofDP71VwtQQ0ywKv03BSQdhL7Bj9Ql4Z2T+lgjK02V/b9km5CTZ2VZjh539aSKkB9TZhVa12Pk/9SpPVuTZQsBSMM4sDn0Y3CLLGVgj+cHuLR2FBY9W13fKshts/6feafvpmR33C1O8Af0UXa3pIDOqXVNDulQkNiJ2xyveGqL80N2ejM80ujoxX6vvCfGlpsuO2E8g==; 5:4/bUNgwp/mbX4zDk4lAwWKS5V/vjJvofUs0eyxu61yuqbB7nSo5zGOAf4WWeM08Anhdx1GAhEW8wMtLXM0Kq9k9VMPR490zsBSVYXvMJUgENtV7nZed+Gcp3qssXYk1YTa4X9h4uEJ74BhaCH/oE8vBsuDBSEtn0RrJ5HcI5eFqpjSTGFYSq7mbrkIOU/H6BWFYkDM0YjR5hge7jPU4mqg==; 7:IHjlWI/1Nn98mtThR7chH5mTzMwOaVq5U7cCpgnGXO36xfFLXy1sgXsKIRdgp6/0/0RCdAzAsHUUpiNpYfKJhp3/DoVzO58y+9ifR3DcigiBG7qO4uTqoQQYWaTWRLJUcaQsdSnAVjDrgu5n1+lvpA== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2019 07:46:28.2333 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c6de092d-ccae-42f8-b3bc-08d681d00e16 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4331 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_000106_826579_CE8EAA14 X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation to describe Xilinx ZynqMP reset driver bindings. Signed-off-by: Nava kishore Manne Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../bindings/reset/xlnx,zynqmp-reset.txt | 52 +++++++ .../dt-bindings/reset/xlnx-zynqmp-resets.h | 130 ++++++++++++++++++ 2 files changed, 182 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.txt create mode 100644 include/dt-bindings/reset/xlnx-zynqmp-resets.h diff --git a/Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.txt b/Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.txt new file mode 100644 index 000000000000..27a45fe5ecf1 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.txt @@ -0,0 +1,52 @@ +-------------------------------------------------------------------------- + = Zynq UltraScale+ MPSoC reset driver binding = +-------------------------------------------------------------------------- +The Zynq UltraScale+ MPSoC has several different resets. + +See Chapter 36 of the Zynq UltraScale+ MPSoC TRM (UG) for more information +about zynqmp resets. + +Please also refer to reset.txt in this directory for common reset +controller binding usage. + +Required Properties: +- compatible: "xlnx,zynqmp-reset" +- #reset-cells: Specifies the number of cells needed to encode reset + line, should be 1 + +------- +Example +------- + +firmware { + zynqmp_firmware: zynqmp-firmware { + compatible = "xlnx,zynqmp-firmware"; + method = "smc"; + + zynqmp_reset: reset-controller { + compatible = "xlnx,zynqmp-reset"; + #reset-cells = <1>; + }; + }; +}; + +Specifying reset lines connected to IP modules +============================================== + +Device nodes that need access to reset lines should +specify them as a reset phandle in their corresponding node as +specified in reset.txt. + +For list of all valid reset indicies see + + +Example: + +serdes: zynqmp_phy@fd400000 { + ... + + resets = <&zynqmp_reset ZYNQMP_RESET_SATA>; + reset-names = "sata_rst"; + + ... +}; diff --git a/include/dt-bindings/reset/xlnx-zynqmp-resets.h b/include/dt-bindings/reset/xlnx-zynqmp-resets.h new file mode 100644 index 000000000000..d44525b9f8db --- /dev/null +++ b/include/dt-bindings/reset/xlnx-zynqmp-resets.h @@ -0,0 +1,130 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 Xilinx, Inc. + */ + +#ifndef _DT_BINDINGS_ZYNQMP_RESETS_H +#define _DT_BINDINGS_ZYNQMP_RESETS_H + +#define ZYNQMP_RESET_PCIE_CFG 0 +#define ZYNQMP_RESET_PCIE_BRIDGE 1 +#define ZYNQMP_RESET_PCIE_CTRL 2 +#define ZYNQMP_RESET_DP 3 +#define ZYNQMP_RESET_SWDT_CRF 4 +#define ZYNQMP_RESET_AFI_FM5 5 +#define ZYNQMP_RESET_AFI_FM4 6 +#define ZYNQMP_RESET_AFI_FM3 7 +#define ZYNQMP_RESET_AFI_FM2 8 +#define ZYNQMP_RESET_AFI_FM1 9 +#define ZYNQMP_RESET_AFI_FM0 10 +#define ZYNQMP_RESET_GDMA 11 +#define ZYNQMP_RESET_GPU_PP1 12 +#define ZYNQMP_RESET_GPU_PP0 13 +#define ZYNQMP_RESET_GPU 14 +#define ZYNQMP_RESET_GT 15 +#define ZYNQMP_RESET_SATA 16 +#define ZYNQMP_RESET_ACPU3_PWRON 17 +#define ZYNQMP_RESET_ACPU2_PWRON 18 +#define ZYNQMP_RESET_ACPU1_PWRON 19 +#define ZYNQMP_RESET_ACPU0_PWRON 20 +#define ZYNQMP_RESET_APU_L2 21 +#define ZYNQMP_RESET_ACPU3 22 +#define ZYNQMP_RESET_ACPU2 23 +#define ZYNQMP_RESET_ACPU1 24 +#define ZYNQMP_RESET_ACPU0 25 +#define ZYNQMP_RESET_DDR 26 +#define ZYNQMP_RESET_APM_FPD 27 +#define ZYNQMP_RESET_SOFT 28 +#define ZYNQMP_RESET_GEM0 29 +#define ZYNQMP_RESET_GEM1 30 +#define ZYNQMP_RESET_GEM2 31 +#define ZYNQMP_RESET_GEM3 32 +#define ZYNQMP_RESET_QSPI 33 +#define ZYNQMP_RESET_UART0 34 +#define ZYNQMP_RESET_UART1 35 +#define ZYNQMP_RESET_SPI0 36 +#define ZYNQMP_RESET_SPI1 37 +#define ZYNQMP_RESET_SDIO0 38 +#define ZYNQMP_RESET_SDIO1 39 +#define ZYNQMP_RESET_CAN0 40 +#define ZYNQMP_RESET_CAN1 41 +#define ZYNQMP_RESET_I2C0 42 +#define ZYNQMP_RESET_I2C1 43 +#define ZYNQMP_RESET_TTC0 44 +#define ZYNQMP_RESET_TTC1 45 +#define ZYNQMP_RESET_TTC2 46 +#define ZYNQMP_RESET_TTC3 47 +#define ZYNQMP_RESET_SWDT_CRL 48 +#define ZYNQMP_RESET_NAND 49 +#define ZYNQMP_RESET_ADMA 50 +#define ZYNQMP_RESET_GPIO 51 +#define ZYNQMP_RESET_IOU_CC 52 +#define ZYNQMP_RESET_TIMESTAMP 53 +#define ZYNQMP_RESET_RPU_R50 54 +#define ZYNQMP_RESET_RPU_R51 55 +#define ZYNQMP_RESET_RPU_AMBA 56 +#define ZYNQMP_RESET_OCM 57 +#define ZYNQMP_RESET_RPU_PGE 58 +#define ZYNQMP_RESET_USB0_CORERESET 59 +#define ZYNQMP_RESET_USB1_CORERESET 60 +#define ZYNQMP_RESET_USB0_HIBERRESET 61 +#define ZYNQMP_RESET_USB1_HIBERRESET 62 +#define ZYNQMP_RESET_USB0_APB 63 +#define ZYNQMP_RESET_USB1_APB 64 +#define ZYNQMP_RESET_IPI 65 +#define ZYNQMP_RESET_APM_LPD 66 +#define ZYNQMP_RESET_RTC 67 +#define ZYNQMP_RESET_SYSMON 68 +#define ZYNQMP_RESET_AFI_FM6 69 +#define ZYNQMP_RESET_LPD_SWDT 70 +#define ZYNQMP_RESET_FPD 71 +#define ZYNQMP_RESET_RPU_DBG1 72 +#define ZYNQMP_RESET_RPU_DBG0 73 +#define ZYNQMP_RESET_DBG_LPD 74 +#define ZYNQMP_RESET_DBG_FPD 75 +#define ZYNQMP_RESET_APLL 76 +#define ZYNQMP_RESET_DPLL 77 +#define ZYNQMP_RESET_VPLL 78 +#define ZYNQMP_RESET_IOPLL 79 +#define ZYNQMP_RESET_RPLL 80 +#define ZYNQMP_RESET_GPO3_PL_0 81 +#define ZYNQMP_RESET_GPO3_PL_1 82 +#define ZYNQMP_RESET_GPO3_PL_2 83 +#define ZYNQMP_RESET_GPO3_PL_3 84 +#define ZYNQMP_RESET_GPO3_PL_4 85 +#define ZYNQMP_RESET_GPO3_PL_5 86 +#define ZYNQMP_RESET_GPO3_PL_6 87 +#define ZYNQMP_RESET_GPO3_PL_7 88 +#define ZYNQMP_RESET_GPO3_PL_8 89 +#define ZYNQMP_RESET_GPO3_PL_9 90 +#define ZYNQMP_RESET_GPO3_PL_10 91 +#define ZYNQMP_RESET_GPO3_PL_11 92 +#define ZYNQMP_RESET_GPO3_PL_12 93 +#define ZYNQMP_RESET_GPO3_PL_13 94 +#define ZYNQMP_RESET_GPO3_PL_14 95 +#define ZYNQMP_RESET_GPO3_PL_15 96 +#define ZYNQMP_RESET_GPO3_PL_16 97 +#define ZYNQMP_RESET_GPO3_PL_17 98 +#define ZYNQMP_RESET_GPO3_PL_18 99 +#define ZYNQMP_RESET_GPO3_PL_19 100 +#define ZYNQMP_RESET_GPO3_PL_20 101 +#define ZYNQMP_RESET_GPO3_PL_21 102 +#define ZYNQMP_RESET_GPO3_PL_22 103 +#define ZYNQMP_RESET_GPO3_PL_23 104 +#define ZYNQMP_RESET_GPO3_PL_24 105 +#define ZYNQMP_RESET_GPO3_PL_25 106 +#define ZYNQMP_RESET_GPO3_PL_26 107 +#define ZYNQMP_RESET_GPO3_PL_27 108 +#define ZYNQMP_RESET_GPO3_PL_28 109 +#define ZYNQMP_RESET_GPO3_PL_29 110 +#define ZYNQMP_RESET_GPO3_PL_30 111 +#define ZYNQMP_RESET_GPO3_PL_31 112 +#define ZYNQMP_RESET_RPU_LS 113 +#define ZYNQMP_RESET_PS_ONLY 114 +#define ZYNQMP_RESET_PL 115 +#define ZYNQMP_RESET_PS_PL0 116 +#define ZYNQMP_RESET_PS_PL1 117 +#define ZYNQMP_RESET_PS_PL2 118 +#define ZYNQMP_RESET_PS_PL3 119 + +#endif