Skip to content

Commit c4e181d

Browse files
Anson-HuangpH5
authored andcommitted
dt-bindings: reset: imx7: Document usage on i.MX8MP SoC
The driver now supports i.MX8MP, so update bindings accordingly. Signed-off-by: Anson Huang <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
1 parent ecd910f commit c4e181d

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

Documentation/devicetree/bindings/reset/fsl,imx7-src.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Required properties:
1010
- For i.MX8MQ SoCs should be "fsl,imx8mq-src", "syscon"
1111
- For i.MX8MM SoCs should be "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon"
1212
- For i.MX8MN SoCs should be "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon"
13+
- For i.MX8MP SoCs should be "fsl,imx8mp-src", "syscon"
1314
- reg: should be register base and length as documented in the
1415
datasheet
1516
- interrupts: Should contain SRC interrupt
@@ -51,4 +52,5 @@ For list of all valid reset indices see
5152
<dt-bindings/reset/imx7-reset.h> for i.MX7,
5253
<dt-bindings/reset/imx8mq-reset.h> for i.MX8MQ and
5354
<dt-bindings/reset/imx8mq-reset.h> for i.MX8MM and
54-
<dt-bindings/reset/imx8mq-reset.h> for i.MX8MN
55+
<dt-bindings/reset/imx8mq-reset.h> for i.MX8MN and
56+
<dt-bindings/reset/imx8mp-reset.h> for i.MX8MP
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
2+
/*
3+
* Copyright 2020 NXP
4+
*/
5+
6+
#ifndef DT_BINDING_RESET_IMX8MP_H
7+
#define DT_BINDING_RESET_IMX8MP_H
8+
9+
#define IMX8MP_RESET_A53_CORE_POR_RESET0 0
10+
#define IMX8MP_RESET_A53_CORE_POR_RESET1 1
11+
#define IMX8MP_RESET_A53_CORE_POR_RESET2 2
12+
#define IMX8MP_RESET_A53_CORE_POR_RESET3 3
13+
#define IMX8MP_RESET_A53_CORE_RESET0 4
14+
#define IMX8MP_RESET_A53_CORE_RESET1 5
15+
#define IMX8MP_RESET_A53_CORE_RESET2 6
16+
#define IMX8MP_RESET_A53_CORE_RESET3 7
17+
#define IMX8MP_RESET_A53_DBG_RESET0 8
18+
#define IMX8MP_RESET_A53_DBG_RESET1 9
19+
#define IMX8MP_RESET_A53_DBG_RESET2 10
20+
#define IMX8MP_RESET_A53_DBG_RESET3 11
21+
#define IMX8MP_RESET_A53_ETM_RESET0 12
22+
#define IMX8MP_RESET_A53_ETM_RESET1 13
23+
#define IMX8MP_RESET_A53_ETM_RESET2 14
24+
#define IMX8MP_RESET_A53_ETM_RESET3 15
25+
#define IMX8MP_RESET_A53_SOC_DBG_RESET 16
26+
#define IMX8MP_RESET_A53_L2RESET 17
27+
#define IMX8MP_RESET_SW_NON_SCLR_M7C_RST 18
28+
#define IMX8MP_RESET_OTG1_PHY_RESET 19
29+
#define IMX8MP_RESET_OTG2_PHY_RESET 20
30+
#define IMX8MP_RESET_SUPERMIX_RESET 21
31+
#define IMX8MP_RESET_AUDIOMIX_RESET 22
32+
#define IMX8MP_RESET_MLMIX_RESET 23
33+
#define IMX8MP_RESET_PCIEPHY 24
34+
#define IMX8MP_RESET_PCIEPHY_PERST 25
35+
#define IMX8MP_RESET_PCIE_CTRL_APPS_EN 26
36+
#define IMX8MP_RESET_PCIE_CTRL_APPS_TURNOFF 27
37+
#define IMX8MP_RESET_HDMI_PHY_APB_RESET 28
38+
#define IMX8MP_RESET_MEDIA_RESET 29
39+
#define IMX8MP_RESET_GPU2D_RESET 30
40+
#define IMX8MP_RESET_GPU3D_RESET 31
41+
#define IMX8MP_RESET_GPU_RESET 32
42+
#define IMX8MP_RESET_VPU_RESET 33
43+
#define IMX8MP_RESET_VPU_G1_RESET 34
44+
#define IMX8MP_RESET_VPU_G2_RESET 35
45+
#define IMX8MP_RESET_VPUVC8KE_RESET 36
46+
#define IMX8MP_RESET_NOC_RESET 37
47+
48+
#define IMX8MP_RESET_NUM 38
49+
50+
#endif

0 commit comments

Comments
 (0)