aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/reset-controller
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2015-02-13 06:20:49 -0500
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-08-03 07:13:44 -0400
commitefdf5aa8f175c18def6407bb2b51643e4da88259 (patch)
treef10a24ba611494d35232b141067c79494728f116 /include/dt-bindings/reset-controller
parentb2f6dd7b94ee9c07b93fb8e69d782af6fde0410f (diff)
ARM: STi: DT: Move reset controller constants into common location
By popular vote, the DT binding includes for reset controllers are located in include/dt-bindings/reset/. Move the STi reset constants in there, too, to avoid confusion. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'include/dt-bindings/reset-controller')
-rw-r--r--include/dt-bindings/reset-controller/stih407-resets.h61
-rw-r--r--include/dt-bindings/reset-controller/stih415-resets.h27
-rw-r--r--include/dt-bindings/reset-controller/stih416-resets.h51
3 files changed, 0 insertions, 139 deletions
diff --git a/include/dt-bindings/reset-controller/stih407-resets.h b/include/dt-bindings/reset-controller/stih407-resets.h
deleted file mode 100644
index 02d4328fe479..000000000000
--- a/include/dt-bindings/reset-controller/stih407-resets.h
+++ /dev/null
@@ -1,61 +0,0 @@
1/*
2 * This header provides constants for the reset controller
3 * based peripheral powerdown requests on the STMicroelectronics
4 * STiH407 SoC.
5 */
6#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH407
7#define _DT_BINDINGS_RESET_CONTROLLER_STIH407
8
9/* Powerdown requests control 0 */
10#define STIH407_EMISS_POWERDOWN 0
11#define STIH407_NAND_POWERDOWN 1
12
13/* Synp GMAC PowerDown */
14#define STIH407_ETH1_POWERDOWN 2
15
16/* Powerdown requests control 1 */
17#define STIH407_USB3_POWERDOWN 3
18#define STIH407_USB2_PORT1_POWERDOWN 4
19#define STIH407_USB2_PORT0_POWERDOWN 5
20#define STIH407_PCIE1_POWERDOWN 6
21#define STIH407_PCIE0_POWERDOWN 7
22#define STIH407_SATA1_POWERDOWN 8
23#define STIH407_SATA0_POWERDOWN 9
24
25/* Reset defines */
26#define STIH407_ETH1_SOFTRESET 0
27#define STIH407_MMC1_SOFTRESET 1
28#define STIH407_PICOPHY_SOFTRESET 2
29#define STIH407_IRB_SOFTRESET 3
30#define STIH407_PCIE0_SOFTRESET 4
31#define STIH407_PCIE1_SOFTRESET 5
32#define STIH407_SATA0_SOFTRESET 6
33#define STIH407_SATA1_SOFTRESET 7
34#define STIH407_MIPHY0_SOFTRESET 8
35#define STIH407_MIPHY1_SOFTRESET 9
36#define STIH407_MIPHY2_SOFTRESET 10
37#define STIH407_SATA0_PWR_SOFTRESET 11
38#define STIH407_SATA1_PWR_SOFTRESET 12
39#define STIH407_DELTA_SOFTRESET 13
40#define STIH407_BLITTER_SOFTRESET 14
41#define STIH407_HDTVOUT_SOFTRESET 15
42#define STIH407_HDQVDP_SOFTRESET 16
43#define STIH407_VDP_AUX_SOFTRESET 17
44#define STIH407_COMPO_SOFTRESET 18
45#define STIH407_HDMI_TX_PHY_SOFTRESET 19
46#define STIH407_JPEG_DEC_SOFTRESET 20
47#define STIH407_VP8_DEC_SOFTRESET 21
48#define STIH407_GPU_SOFTRESET 22
49#define STIH407_HVA_SOFTRESET 23
50#define STIH407_ERAM_HVA_SOFTRESET 24
51#define STIH407_LPM_SOFTRESET 25
52#define STIH407_KEYSCAN_SOFTRESET 26
53#define STIH407_USB2_PORT0_SOFTRESET 27
54#define STIH407_USB2_PORT1_SOFTRESET 28
55
56/* Picophy reset defines */
57#define STIH407_PICOPHY0_RESET 0
58#define STIH407_PICOPHY1_RESET 1
59#define STIH407_PICOPHY2_RESET 2
60
61#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH407 */
diff --git a/include/dt-bindings/reset-controller/stih415-resets.h b/include/dt-bindings/reset-controller/stih415-resets.h
deleted file mode 100644
index c2329fe29cf6..000000000000
--- a/include/dt-bindings/reset-controller/stih415-resets.h
+++ /dev/null
@@ -1,27 +0,0 @@
1/*
2 * This header provides constants for the reset controller
3 * based peripheral powerdown requests on the STMicroelectronics
4 * STiH415 SoC.
5 */
6#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH415
7#define _DT_BINDINGS_RESET_CONTROLLER_STIH415
8
9#define STIH415_EMISS_POWERDOWN 0
10#define STIH415_NAND_POWERDOWN 1
11#define STIH415_KEYSCAN_POWERDOWN 2
12#define STIH415_USB0_POWERDOWN 3
13#define STIH415_USB1_POWERDOWN 4
14#define STIH415_USB2_POWERDOWN 5
15#define STIH415_SATA0_POWERDOWN 6
16#define STIH415_SATA1_POWERDOWN 7
17#define STIH415_PCIE_POWERDOWN 8
18
19#define STIH415_ETH0_SOFTRESET 0
20#define STIH415_ETH1_SOFTRESET 1
21#define STIH415_IRB_SOFTRESET 2
22#define STIH415_USB0_SOFTRESET 3
23#define STIH415_USB1_SOFTRESET 4
24#define STIH415_USB2_SOFTRESET 5
25#define STIH415_KEYSCAN_SOFTRESET 6
26
27#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH415 */
diff --git a/include/dt-bindings/reset-controller/stih416-resets.h b/include/dt-bindings/reset-controller/stih416-resets.h
deleted file mode 100644
index fcf9af1ac0b2..000000000000
--- a/include/dt-bindings/reset-controller/stih416-resets.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/*
2 * This header provides constants for the reset controller
3 * based peripheral powerdown requests on the STMicroelectronics
4 * STiH416 SoC.
5 */
6#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH416
7#define _DT_BINDINGS_RESET_CONTROLLER_STIH416
8
9#define STIH416_EMISS_POWERDOWN 0
10#define STIH416_NAND_POWERDOWN 1
11#define STIH416_KEYSCAN_POWERDOWN 2
12#define STIH416_USB0_POWERDOWN 3
13#define STIH416_USB1_POWERDOWN 4
14#define STIH416_USB2_POWERDOWN 5
15#define STIH416_USB3_POWERDOWN 6
16#define STIH416_SATA0_POWERDOWN 7
17#define STIH416_SATA1_POWERDOWN 8
18#define STIH416_PCIE0_POWERDOWN 9
19#define STIH416_PCIE1_POWERDOWN 10
20
21#define STIH416_ETH0_SOFTRESET 0
22#define STIH416_ETH1_SOFTRESET 1
23#define STIH416_IRB_SOFTRESET 2
24#define STIH416_USB0_SOFTRESET 3
25#define STIH416_USB1_SOFTRESET 4
26#define STIH416_USB2_SOFTRESET 5
27#define STIH416_USB3_SOFTRESET 6
28#define STIH416_SATA0_SOFTRESET 7
29#define STIH416_SATA1_SOFTRESET 8
30#define STIH416_PCIE0_SOFTRESET 9
31#define STIH416_PCIE1_SOFTRESET 10
32#define STIH416_AUD_DAC_SOFTRESET 11
33#define STIH416_HDTVOUT_SOFTRESET 12
34#define STIH416_VTAC_M_RX_SOFTRESET 13
35#define STIH416_VTAC_A_RX_SOFTRESET 14
36#define STIH416_SYNC_HD_SOFTRESET 15
37#define STIH416_SYNC_SD_SOFTRESET 16
38#define STIH416_BLITTER_SOFTRESET 17
39#define STIH416_GPU_SOFTRESET 18
40#define STIH416_VTAC_M_TX_SOFTRESET 19
41#define STIH416_VTAC_A_TX_SOFTRESET 20
42#define STIH416_VTG_AUX_SOFTRESET 21
43#define STIH416_JPEG_DEC_SOFTRESET 22
44#define STIH416_HVA_SOFTRESET 23
45#define STIH416_COMPO_M_SOFTRESET 24
46#define STIH416_COMPO_A_SOFTRESET 25
47#define STIH416_VP8_DEC_SOFTRESET 26
48#define STIH416_VTG_MAIN_SOFTRESET 27
49#define STIH416_KEYSCAN_SOFTRESET 28
50
51#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH416 */