aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/reset/imx7-reset.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-05-09 13:01:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-09 13:01:15 -0400
commit0160e00ae8e987be8822745fb166aa76451c9bcc (patch)
treedeca2d09a729155ed0cb631f2bc8f557e634ab06 /include/dt-bindings/reset/imx7-reset.h
parentc81ee18e97e4e3162169a749eb7f2b79b3510c7a (diff)
parentb6942b68f85ed3161c91741791ec6f1779574919 (diff)
Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC driver updates from Olof Johansson: "Driver updates for ARM SoCs: Reset subsystem, merged through arm-soc by tradition: - Make bool drivers explicitly non-modular - New support for i.MX7 and Arria10 reset controllers PATA driver for Palmchip BK371 (acked by Tejun) Power domain drivers for i.MX (GPC, GPCv2) - Moved out of mach-imx for GPC - Bunch of tweaks, fixes, etc PMC support for Tegra186 SoC detection support for Renesas RZ/G1H and RZ/G1N Move Tegra flow controller driver from mach directory to drivers/soc - (Power management / CPU power driver) Misc smaller tweaks for other platforms" * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (60 commits) soc: pm-domain: Fix the mangled urls soc: renesas: rcar-sysc: Add support for R-Car H3 ES2.0 soc: renesas: rcar-sysc: Add support for fixing up power area tables soc: renesas: Register SoC device early soc: imx: gpc: add workaround for i.MX6QP to the GPC PD driver dt-bindings: imx-gpc: add i.MX6 QuadPlus compatible soc: imx: gpc: add defines for domain index soc: imx: Add GPCv2 power gating driver dt-bindings: Add GPCv2 power gating driver ARM/clk: move the ICST library to drivers/clk ARM: plat-versatile: remove stale clock header ARM: keystone: Drop PM domain support for k2g soc: ti: Add ti_sci_pm_domains driver dt-bindings: Add TI SCI PM Domains PM / Domains: Do not check if simple providers have phandle cells PM / Domains: Add generic data pointer to genpd data struct soc/tegra: Add initial flowctrl support for Tegra132/210 soc/tegra: flowctrl: Add basic platform driver soc/tegra: Move Tegra flowctrl driver ARM: tegra: Remove unnecessary inclusion of flowctrl header ...
Diffstat (limited to 'include/dt-bindings/reset/imx7-reset.h')
-rw-r--r--include/dt-bindings/reset/imx7-reset.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/imx7-reset.h b/include/dt-bindings/reset/imx7-reset.h
new file mode 100644
index 000000000000..63948170c7b2
--- /dev/null
+++ b/include/dt-bindings/reset/imx7-reset.h
@@ -0,0 +1,62 @@
1/*
2 * Copyright (C) 2017 Impinj, Inc.
3 *
4 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef DT_BINDING_RESET_IMX7_H
20#define DT_BINDING_RESET_IMX7_H
21
22#define IMX7_RESET_A7_CORE_POR_RESET0 0
23#define IMX7_RESET_A7_CORE_POR_RESET1 1
24#define IMX7_RESET_A7_CORE_RESET0 2
25#define IMX7_RESET_A7_CORE_RESET1 3
26#define IMX7_RESET_A7_DBG_RESET0 4
27#define IMX7_RESET_A7_DBG_RESET1 5
28#define IMX7_RESET_A7_ETM_RESET0 6
29#define IMX7_RESET_A7_ETM_RESET1 7
30#define IMX7_RESET_A7_SOC_DBG_RESET 8
31#define IMX7_RESET_A7_L2RESET 9
32#define IMX7_RESET_SW_M4C_RST 10
33#define IMX7_RESET_SW_M4P_RST 11
34#define IMX7_RESET_EIM_RST 12
35#define IMX7_RESET_HSICPHY_PORT_RST 13
36#define IMX7_RESET_USBPHY1_POR 14
37#define IMX7_RESET_USBPHY1_PORT_RST 15
38#define IMX7_RESET_USBPHY2_POR 16
39#define IMX7_RESET_USBPHY2_PORT_RST 17
40#define IMX7_RESET_MIPI_PHY_MRST 18
41#define IMX7_RESET_MIPI_PHY_SRST 19
42
43/*
44 * IMX7_RESET_PCIEPHY is a logical reset line combining PCIEPHY_BTN
45 * and PCIEPHY_G_RST
46 */
47#define IMX7_RESET_PCIEPHY 20
48#define IMX7_RESET_PCIEPHY_PERST 21
49
50/*
51 * IMX7_RESET_PCIE_CTRL_APPS_EN is not strictly a reset line, but it
52 * can be used to inhibit PCIe LTTSM, so, in a way, it can be thoguht
53 * of as one
54 */
55#define IMX7_RESET_PCIE_CTRL_APPS_EN 22
56#define IMX7_RESET_DDRC_PRST 23
57#define IMX7_RESET_DDRC_CORE_RST 24
58
59#define IMX7_RESET_NUM 25
60
61#endif
62