Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4020930ybg; Fri, 25 Oct 2019 12:11:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTUgsN166Xu1SVhghCFxf4rAcDU+w+l7/gDtjv9bIAm+mjBx1rgIgb8eXcCl4sI7QqYGfd X-Received: by 2002:a50:9555:: with SMTP id v21mr5252099eda.90.1572030713603; Fri, 25 Oct 2019 12:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572030713; cv=none; d=google.com; s=arc-20160816; b=B62BLLYaLTFxu/jSxziVAeDXXqf07EjadMp28063X/Zzf62dcU8PeOU9RTkX0F50w7 EdRjeo0ggTrYIH1a+0AZMhZ1avEQA4brIiwPtBk/d6eSMDeNlaNc3hYiO0h4vuSRUEHS pZIACi9yTGorn95jAbUNzgAw8DO7nQjLk7ErqfwyZ3ZReeeb3m24pdib5+UsHzqtIjFd Kyn8T2PJf4Ri6zY7eCzDteNLXiqeSDfdJo2zmNZ3g37Km29Z9nDQ0A0dDcCPZutpdGM8 BPjrl8nh66UJ0r8cHhp1XKxtdKYnhKfquZUPBTpdzpQYF99k67mp0s+rh1eja8wy78ML r4jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=WyPWeyj/VZNpL1oDOTMEWjXpDsHQDJiBvjT+RtgsEIM=; b=qy+QQZCBhB0jW9V/7oH447Y/mNYZaq41Bdxe8ZAekxW+8UeV1Bf0i3NaajRiGduW8M ucMFu3hf8dArHrIDiCiM6Gi5MT7bJJUjZ3/DwbV3NlsxYIFZSEtjLCAnEvZDCSjmqKNV zcWl0lKBJYEwq94GM8EA8u0sEVVg6zfrVgccXxsYHLJJLi/i15seEqnlFOxdMfvDzj2E 2CjskzFIxaRSeAPAdYd6N7lQmvVSqj7ntbgLT6GDB8P6UE4uILaJeEtLaBH/VYnP+Ic1 KnEmLRtxFzk1WmWin2Wys6/iI2yqHoXZ2y+Hu03xw5IipB7T7zrrDWMKlLn9Kj1rwxMe Ht7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si1770931edr.71.2019.10.25.12.11.30; Fri, 25 Oct 2019 12:11:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729955AbfJXWCJ (ORCPT + 99 others); Thu, 24 Oct 2019 18:02:09 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:43370 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729933AbfJXWCG (ORCPT ); Thu, 24 Oct 2019 18:02:06 -0400 X-Greylist: delayed 804 seconds by postgrey-1.27 at vger.kernel.org; Thu, 24 Oct 2019 18:02:00 EDT Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id x9OLlmOE022492; Fri, 25 Oct 2019 00:47:48 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id BB16E60327; Fri, 25 Oct 2019 00:47:48 +0300 (IDT) From: Tomer Maimon To: p.zabel@pengutronix.de, robh+dt@kernel.org, mark.rutland@arm.com, yuenn@google.com, venture@google.com, benjaminfair@google.com, avifishman70@gmail.com, joel@jms.id.au Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tomer Maimon Subject: [PATCH v1 2/3] dt-bindings: reset: Add binding constants for NPCM7xx reset controller Date: Fri, 25 Oct 2019 00:47:45 +0300 Message-Id: <20191024214746.88431-3-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191024214746.88431-1-tmaimon77@gmail.com> References: <20191024214746.88431-1-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding constants for Nuvoton BMC NPCM7xx reset controller. Signed-off-by: Tomer Maimon --- .../dt-bindings/reset/nuvoton,npcm7xx-reset.h | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 include/dt-bindings/reset/nuvoton,npcm7xx-reset.h diff --git a/include/dt-bindings/reset/nuvoton,npcm7xx-reset.h b/include/dt-bindings/reset/nuvoton,npcm7xx-reset.h new file mode 100644 index 000000000000..7b7e870eac35 --- /dev/null +++ b/include/dt-bindings/reset/nuvoton,npcm7xx-reset.h @@ -0,0 +1,82 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +// Copyright (c) 2019 Nuvoton Technology corporation. + +#ifndef _DT_BINDINGS_NPCM7XX_RESET_H +#define _DT_BINDINGS_NPCM7XX_RESET_H + +#define NPCM7XX_RESET_FIU3 1 +#define NPCM7XX_RESET_UDC1 5 +#define NPCM7XX_RESET_EMC1 6 +#define NPCM7XX_RESET_UART_2_3 7 +#define NPCM7XX_RESET_UDC2 8 +#define NPCM7XX_RESET_PECI 9 +#define NPCM7XX_RESET_AES 10 +#define NPCM7XX_RESET_UART_0_1 11 +#define NPCM7XX_RESET_MC 12 +#define NPCM7XX_RESET_SMB2 13 +#define NPCM7XX_RESET_SMB3 14 +#define NPCM7XX_RESET_SMB4 15 +#define NPCM7XX_RESET_SMB5 16 +#define NPCM7XX_RESET_PWM_M0 18 +#define NPCM7XX_RESET_TIMER_0_4 19 +#define NPCM7XX_RESET_TIMER_5_9 20 +#define NPCM7XX_RESET_EMC2 21 +#define NPCM7XX_RESET_UDC4 22 +#define NPCM7XX_RESET_UDC5 23 +#define NPCM7XX_RESET_UDC6 24 +#define NPCM7XX_RESET_UDC3 25 +#define NPCM7XX_RESET_ADC 27 +#define NPCM7XX_RESET_SMB6 28 +#define NPCM7XX_RESET_SMB7 29 +#define NPCM7XX_RESET_SMB0 30 +#define NPCM7XX_RESET_SMB1 31 +#define NPCM7XX_RESET_MFT0 32 +#define NPCM7XX_RESET_MFT1 33 +#define NPCM7XX_RESET_MFT2 34 +#define NPCM7XX_RESET_MFT3 35 +#define NPCM7XX_RESET_MFT4 36 +#define NPCM7XX_RESET_MFT5 37 +#define NPCM7XX_RESET_MFT6 38 +#define NPCM7XX_RESET_MFT7 39 +#define NPCM7XX_RESET_MMC 40 +#define NPCM7XX_RESET_SDHC 41 +#define NPCM7XX_RESET_GFX_SYS 42 +#define NPCM7XX_RESET_AHB_PCIBRG 43 +#define NPCM7XX_RESET_VDMA 44 +#define NPCM7XX_RESET_ECE 45 +#define NPCM7XX_RESET_VCD 46 +#define NPCM7XX_RESET_OTP 48 +#define NPCM7XX_RESET_SIOX1 50 +#define NPCM7XX_RESET_SIOX2 51 +#define NPCM7XX_RESET_3DES 53 +#define NPCM7XX_RESET_PSPI1 54 +#define NPCM7XX_RESET_PSPI2 55 +#define NPCM7XX_RESET_GMAC2 57 +#define NPCM7XX_RESET_USB_HOST 58 +#define NPCM7XX_RESET_GMAC1 60 +#define NPCM7XX_RESET_CP 63 +#define NPCM7XX_RESET_PWM_M1 160 +#define NPCM7XX_RESET_SMB12 161 +#define NPCM7XX_RESET_SPIX 162 +#define NPCM7XX_RESET_SMB13 163 +#define NPCM7XX_RESET_UDC0 164 +#define NPCM7XX_RESET_UDC7 165 +#define NPCM7XX_RESET_UDC8 166 +#define NPCM7XX_RESET_UDC9 167 +#define NPCM7XX_RESET_PCI_MAILBOX 169 +#define NPCM7XX_RESET_SMB14 172 +#define NPCM7XX_RESET_SHA 173 +#define NPCM7XX_RESET_SEC_ECC 174 +#define NPCM7XX_RESET_PCIE_RC 175 +#define NPCM7XX_RESET_TIMER_10_14 176 +#define NPCM7XX_RESET_RNG 177 +#define NPCM7XX_RESET_SMB15 178 +#define NPCM7XX_RESET_SMB8 179 +#define NPCM7XX_RESET_SMB9 180 +#define NPCM7XX_RESET_SMB10 181 +#define NPCM7XX_RESET_SMB11 182 +#define NPCM7XX_RESET_ESPI 183 +#define NPCM7XX_RESET_USB_PHY_1 184 +#define NPCM7XX_RESET_USB_PHY_2 185 + +#endif -- 2.22.0