Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp855548pxb; Thu, 21 Oct 2021 10:44:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy/qu5Ntoo5RvRnaLm/TofpfH1qHXNAxbGWhHJxTAccjUg9CVZGJaqSovvtOzCVKZVxVWa X-Received: by 2002:a63:dc42:: with SMTP id f2mr5596174pgj.152.1634838275925; Thu, 21 Oct 2021 10:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634838275; cv=none; d=google.com; s=arc-20160816; b=wTfSSIWwZf9hUdkKDLyPy8xtv4WSa1s+avstWLSXiusYIH6zpXqf5Pw2wiMgIGQ7PQ fmrvJKmh3Y1dQkvx+iLLkDfx8gTz32GGE3PAzMczR5UlQjiKaltzp0Wte7y34koNOGca hKhMk5j2QKx3cOz6WXUAsb1l13KPoerR4J070tJ07jj1LVUqkDq+F9VReQn14/kel19t hwkSV3buRThmKK2OBUGGVBVykaDkzU6XKjnsOHPi16hCcfviJXAt3TV76NjYsyAmq4ce i9lCHlH8H1T++qht8XAXFCNUeyP1ajCW1yRQDsSoxATx4xAAYnJWtMijmeC0d5OnWXCX 53QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=HqgyXodbeEj9EN3woToGO8Vj7DNiZI6wQo931sZR7Qw=; b=TIM6OY7G9tzUwKIZdvujFk6wj5Ga84lRxVjuulWIaP248u21BwdRmuoDkf2RTJONF6 X3/HPPZs4iumZPjsdajysXx/2o8Cz3d8szyu9/5ZuOPN9JJOa4Ysu3M1v3ef/9CiI1Hv nH+aEcA2rRe5OUMY8ZKatPejGLmc8gvf3UFm5OZK58BWeIvCX9dV8ryGum/NN/wnNMog dY2wfgXHAGq3PrOJsSxFCPKLL3CgJm9yOA6ftArOxOdzsimrLaJjI24Jg/+Cc/1BgVoS lXjBT3ei8K7CYf7XfDVJCU8qzvfXNPi9AXdYcRf+3W+R8HiT3BHJc0OeiL/7RQ9kdR+A ivrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FD4P2twU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n9si9919080plh.326.2021.10.21.10.44.23; Thu, 21 Oct 2021 10:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20210112 header.b=FD4P2twU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232363AbhJURpa (ORCPT + 99 others); Thu, 21 Oct 2021 13:45:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232318AbhJURo7 (ORCPT ); Thu, 21 Oct 2021 13:44:59 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BB25C061570; Thu, 21 Oct 2021 10:42:43 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id e19so3934309edy.0; Thu, 21 Oct 2021 10:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HqgyXodbeEj9EN3woToGO8Vj7DNiZI6wQo931sZR7Qw=; b=FD4P2twUUQljHhRU5uqac39LtPCuqa8XC8cvSM3/Q0dLN6R3AlOZVMRYeBHkBfvapm gZrL7VPYBJZeFdlvDBvNSfTvfpJug6HuCWTvoqkpg7EK5GFg/sUwX1YWUe/yMgl6zAJs 11uv+4ThUIrZUi3QzipW+N1ZKG5XEeY3tE5qUptvS/awFlscHL6Rj9zHWOXjkYKtJAR3 oOS+Wh3DJ+PULEp2/ugRq65QUAnl6DqF6JIUzRYkBHk1o72Su03ogBZazQiPI1q7+YbA HC7yAUphstQnd/WOjoG1EjL0hSSonv+Tku0QPGeOZ/6IVNdI6avWTjHcSTJajrdBYMl+ smYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=HqgyXodbeEj9EN3woToGO8Vj7DNiZI6wQo931sZR7Qw=; b=KjZmX7cZ7VFnpuJdfxk5ok9dgV0fYH5MchJbvtWyo5p2BqFx0DJQUnzv+wHCU8T1+O 89Ir9Kxb3PC4G8E9FyiBRkpM7GXaZRPfGzUXwqJku2/1i0XiOmbd7JCCcU71KM24ukqN Kro9CPWE/xrbDqkOEqWyBpx1lqegOpy8PkvLvYfGaSmbJT/uT0l9Y+otuE/4XbwSvUCV ZrtUuq7f/7z6L0A4m4JutsvJD5KHNfXdt5VM5iuFM8ibqc/ksG2BWsoA/M6mJAh8Wilc Yuq1XoK/LXjIuVfwK2BflhuCrFgfty9TahiceEjqUc3JlsJ56ZYdYkHhE1dLGT9GWMCI Mc0w== X-Gm-Message-State: AOAM5338VBuPafbYT7K7MkjJYfXC1OI1ovg5pZUpr38LcMmJOEdn0BME KG+wkWgL3rrRI4A/yhK4I+s= X-Received: by 2002:a05:6402:2712:: with SMTP id y18mr10028767edd.392.1634838161403; Thu, 21 Oct 2021 10:42:41 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id h7sm3144847edt.37.2021.10.21.10.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 10:42:41 -0700 (PDT) Sender: Emil Renner Berthing From: Emil Renner Berthing To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org Cc: Geert Uytterhoeven , Palmer Dabbelt , Paul Walmsley , Rob Herring , Michael Turquette , Stephen Boyd , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Linus Walleij , Greg Kroah-Hartman , Daniel Lezcano , Andy Shevchenko , Jiri Slaby , Maximilian Luz , Sagar Kadam , Drew Fustini , Michael Zhu , Fu Wei , Anup Patel , Atish Patra , Matteo Croce , linux-kernel@vger.kernel.org, Emil Renner Berthing Subject: [PATCH v2 07/16] dt-bindings: reset: Add StarFive JH7100 reset definitions Date: Thu, 21 Oct 2021 19:42:14 +0200 Message-Id: <20211021174223.43310-8-kernel@esmil.dk> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211021174223.43310-1-kernel@esmil.dk> References: <20211021174223.43310-1-kernel@esmil.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven Add all resets for the StarFive JH7100 reset controller. Based on work by Ahmad Fatoum for Barebox, with "JH7100_" prefixes added to all definitions. Signed-off-by: Geert Uytterhoeven Signed-off-by: Emil Renner Berthing --- include/dt-bindings/reset/starfive-jh7100.h | 126 ++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 include/dt-bindings/reset/starfive-jh7100.h diff --git a/include/dt-bindings/reset/starfive-jh7100.h b/include/dt-bindings/reset/starfive-jh7100.h new file mode 100644 index 000000000000..42dc95868efc --- /dev/null +++ b/include/dt-bindings/reset/starfive-jh7100.h @@ -0,0 +1,126 @@ +/* SPDX-License-Identifier: GPL-2.0 OR X11 */ +/* + * Copyright (c) 2021 Ahmad Fatoum, Pengutronix + */ + +#ifndef __DT_BINDINGS_RESET_STARFIVE_JH7100_H__ +#define __DT_BINDINGS_RESET_STARFIVE_JH7100_H__ + +#define JH7100_RSTN_DOM3AHB_BUS 0 +#define JH7100_RSTN_DOM7AHB_BUS 1 +#define JH7100_RST_U74 2 +#define JH7100_RSTN_U74_AXI 3 +#define JH7100_RSTN_SGDMA2P_AHB 4 +#define JH7100_RSTN_SGDMA2P_AXI 5 +#define JH7100_RSTN_DMA2PNOC_AXI 6 +#define JH7100_RSTN_DLA_AXI 7 +#define JH7100_RSTN_DLANOC_AXI 8 +#define JH7100_RSTN_DLA_APB 9 +#define JH7100_RST_VP6_DRESET 10 +#define JH7100_RST_VP6_BRESET 11 +#define JH7100_RSTN_VP6_AXI 12 +#define JH7100_RSTN_VDECBRG_MAIN 13 +#define JH7100_RSTN_VDEC_AXI 14 +#define JH7100_RSTN_VDEC_BCLK 15 +#define JH7100_RSTN_VDEC_CCLK 16 +#define JH7100_RSTN_VDEC_APB 17 +#define JH7100_RSTN_JPEG_AXI 18 +#define JH7100_RSTN_JPEG_CCLK 19 +#define JH7100_RSTN_JPEG_APB 20 +#define JH7100_RSTN_JPCGC300_MAIN 21 +#define JH7100_RSTN_GC300_2X 22 +#define JH7100_RSTN_GC300_AXI 23 +#define JH7100_RSTN_GC300_AHB 24 +#define JH7100_RSTN_VENC_AXI 25 +#define JH7100_RSTN_VENCBRG_MAIN 26 +#define JH7100_RSTN_VENC_BCLK 27 +#define JH7100_RSTN_VENC_CCLK 28 +#define JH7100_RSTN_VENC_APB 29 +#define JH7100_RSTN_DDRPHY_APB 30 +#define JH7100_RSTN_NOC_ROB 31 +#define JH7100_RSTN_NOC_COG 32 +#define JH7100_RSTN_HIFI4_AXI 33 +#define JH7100_RSTN_HIFI4NOC_AXI 34 +#define JH7100_RST_HIFI4_DRESET 35 +#define JH7100_RST_HIFI4_BRESET 36 +#define JH7100_RSTN_USB_AXI 37 +#define JH7100_RSTN_USBNOC_AXI 38 +#define JH7100_RSTN_SGDMA1P_AXI 39 +#define JH7100_RSTN_DMA1P_AXI 40 +#define JH7100_RSTN_X2C_AXI 41 +#define JH7100_RSTN_NNE_AHB 42 +#define JH7100_RSTN_NNE_AXI 43 +#define JH7100_RSTN_NNENOC_AXI 44 +#define JH7100_RSTN_DLASLV_AXI 45 +#define JH7100_RSTN_DSPX2C_AXI 46 +#define JH7100_RSTN_VIN_SRC 47 +#define JH7100_RSTN_ISPSLV_AXI 48 +#define JH7100_RSTN_VIN_AXI 49 +#define JH7100_RSTN_VINNOC_AXI 50 +#define JH7100_RSTN_ISP0_AXI 51 +#define JH7100_RSTN_ISP0NOC_AXI 52 +#define JH7100_RSTN_ISP1_AXI 53 +#define JH7100_RSTN_ISP1NOC_AXI 54 +#define JH7100_RSTN_VOUT_SRC 55 +#define JH7100_RSTN_DISP_AXI 56 +#define JH7100_RSTN_DISPNOC_AXI 57 +#define JH7100_RSTN_SDIO0_AHB 58 +#define JH7100_RSTN_SDIO1_AHB 59 +#define JH7100_RSTN_GMAC_AHB 60 +#define JH7100_RSTN_SPI2AHB_AHB 61 +#define JH7100_RSTN_SPI2AHB_CORE 62 +#define JH7100_RSTN_EZMASTER_AHB 63 +#define JH7100_RST_E24 64 +#define JH7100_RSTN_QSPI_AHB 65 +#define JH7100_RSTN_QSPI_CORE 66 +#define JH7100_RSTN_QSPI_APB 67 +#define JH7100_RSTN_SEC_AHB 68 +#define JH7100_RSTN_AES 69 +#define JH7100_RSTN_PKA 70 +#define JH7100_RSTN_SHA 71 +#define JH7100_RSTN_TRNG_APB 72 +#define JH7100_RSTN_OTP_APB 73 +#define JH7100_RSTN_UART0_APB 74 +#define JH7100_RSTN_UART0_CORE 75 +#define JH7100_RSTN_UART1_APB 76 +#define JH7100_RSTN_UART1_CORE 77 +#define JH7100_RSTN_SPI0_APB 78 +#define JH7100_RSTN_SPI0_CORE 79 +#define JH7100_RSTN_SPI1_APB 80 +#define JH7100_RSTN_SPI1_CORE 81 +#define JH7100_RSTN_I2C0_APB 82 +#define JH7100_RSTN_I2C0_CORE 83 +#define JH7100_RSTN_I2C1_APB 84 +#define JH7100_RSTN_I2C1_CORE 85 +#define JH7100_RSTN_GPIO_APB 86 +#define JH7100_RSTN_UART2_APB 87 +#define JH7100_RSTN_UART2_CORE 88 +#define JH7100_RSTN_UART3_APB 89 +#define JH7100_RSTN_UART3_CORE 90 +#define JH7100_RSTN_SPI2_APB 91 +#define JH7100_RSTN_SPI2_CORE 92 +#define JH7100_RSTN_SPI3_APB 93 +#define JH7100_RSTN_SPI3_CORE 94 +#define JH7100_RSTN_I2C2_APB 95 +#define JH7100_RSTN_I2C2_CORE 96 +#define JH7100_RSTN_I2C3_APB 97 +#define JH7100_RSTN_I2C3_CORE 98 +#define JH7100_RSTN_WDTIMER_APB 99 +#define JH7100_RSTN_WDT 100 +#define JH7100_RSTN_TIMER0 101 +#define JH7100_RSTN_TIMER1 102 +#define JH7100_RSTN_TIMER2 103 +#define JH7100_RSTN_TIMER3 104 +#define JH7100_RSTN_TIMER4 105 +#define JH7100_RSTN_TIMER5 106 +#define JH7100_RSTN_TIMER6 107 +#define JH7100_RSTN_VP6INTC_APB 108 +#define JH7100_RSTN_PWM_APB 109 +#define JH7100_RSTN_MSI_APB 110 +#define JH7100_RSTN_TEMP_APB 111 +#define JH7100_RSTN_TEMP_SENSE 112 +#define JH7100_RSTN_SYSERR_APB 113 + +#define JH7100_RSTN_END 114 + +#endif /* __DT_BINDINGS_RESET_STARFIVE_JH7100_H__ */ -- 2.33.1