Home | History | Annotate | Line # | Download | only in reset
      1      1.1  jmcneill /*	$NetBSD: imx7-reset.h,v 1.1.1.3 2020/01/03 14:33:06 skrll Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.3     skrll /* SPDX-License-Identifier: GPL-2.0-only */
      4      1.1  jmcneill /*
      5      1.1  jmcneill  * Copyright (C) 2017 Impinj, Inc.
      6      1.1  jmcneill  *
      7      1.1  jmcneill  * Author: Andrey Smirnov <andrew.smirnov (at) gmail.com>
      8      1.1  jmcneill  */
      9      1.1  jmcneill 
     10      1.1  jmcneill #ifndef DT_BINDING_RESET_IMX7_H
     11      1.1  jmcneill #define DT_BINDING_RESET_IMX7_H
     12      1.1  jmcneill 
     13      1.1  jmcneill #define IMX7_RESET_A7_CORE_POR_RESET0	0
     14      1.1  jmcneill #define IMX7_RESET_A7_CORE_POR_RESET1	1
     15      1.1  jmcneill #define IMX7_RESET_A7_CORE_RESET0	2
     16      1.1  jmcneill #define IMX7_RESET_A7_CORE_RESET1	3
     17      1.1  jmcneill #define IMX7_RESET_A7_DBG_RESET0	4
     18      1.1  jmcneill #define IMX7_RESET_A7_DBG_RESET1	5
     19      1.1  jmcneill #define IMX7_RESET_A7_ETM_RESET0	6
     20      1.1  jmcneill #define IMX7_RESET_A7_ETM_RESET1	7
     21      1.1  jmcneill #define IMX7_RESET_A7_SOC_DBG_RESET	8
     22      1.1  jmcneill #define IMX7_RESET_A7_L2RESET		9
     23      1.1  jmcneill #define IMX7_RESET_SW_M4C_RST		10
     24      1.1  jmcneill #define IMX7_RESET_SW_M4P_RST		11
     25      1.1  jmcneill #define IMX7_RESET_EIM_RST		12
     26      1.1  jmcneill #define IMX7_RESET_HSICPHY_PORT_RST	13
     27      1.1  jmcneill #define IMX7_RESET_USBPHY1_POR		14
     28      1.1  jmcneill #define IMX7_RESET_USBPHY1_PORT_RST	15
     29      1.1  jmcneill #define IMX7_RESET_USBPHY2_POR		16
     30      1.1  jmcneill #define IMX7_RESET_USBPHY2_PORT_RST	17
     31      1.1  jmcneill #define IMX7_RESET_MIPI_PHY_MRST	18
     32      1.1  jmcneill #define IMX7_RESET_MIPI_PHY_SRST	19
     33      1.1  jmcneill 
     34      1.1  jmcneill /*
     35      1.1  jmcneill  * IMX7_RESET_PCIEPHY is a logical reset line combining PCIEPHY_BTN
     36      1.1  jmcneill  * and PCIEPHY_G_RST
     37      1.1  jmcneill  */
     38      1.1  jmcneill #define IMX7_RESET_PCIEPHY		20
     39      1.1  jmcneill #define IMX7_RESET_PCIEPHY_PERST	21
     40      1.1  jmcneill 
     41      1.1  jmcneill /*
     42      1.1  jmcneill  * IMX7_RESET_PCIE_CTRL_APPS_EN is not strictly a reset line, but it
     43      1.1  jmcneill  * can be used to inhibit PCIe LTTSM, so, in a way, it can be thoguht
     44      1.1  jmcneill  * of as one
     45      1.1  jmcneill  */
     46      1.1  jmcneill #define IMX7_RESET_PCIE_CTRL_APPS_EN	22
     47      1.1  jmcneill #define IMX7_RESET_DDRC_PRST		23
     48      1.1  jmcneill #define IMX7_RESET_DDRC_CORE_RST	24
     49      1.1  jmcneill 
     50  1.1.1.2  jmcneill #define IMX7_RESET_PCIE_CTRL_APPS_TURNOFF 25
     51  1.1.1.2  jmcneill 
     52  1.1.1.2  jmcneill #define IMX7_RESET_NUM			26
     53      1.1  jmcneill 
     54      1.1  jmcneill #endif
     55      1.1  jmcneill 
     56