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