developer | d48dd9a | 2018-12-20 16:12:51 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (C) 2018 MediaTek Inc. |
| 4 | */ |
| 5 | |
| 6 | #ifndef _DT_BINDINGS_MTK_RESET_H_ |
| 7 | #define _DT_BINDINGS_MTK_RESET_H_ |
| 8 | |
developer | cc0b4c0 | 2019-08-22 12:26:52 +0200 | [diff] [blame] | 9 | /* ETHSYS resets */ |
developer | d48dd9a | 2018-12-20 16:12:51 +0800 | [diff] [blame] | 10 | #define ETHSYS_PPE_RST 31 |
developer | d48dd9a | 2018-12-20 16:12:51 +0800 | [diff] [blame] | 11 | #define ETHSYS_GMAC_RST 23 |
developer | d48dd9a | 2018-12-20 16:12:51 +0800 | [diff] [blame] | 12 | #define ETHSYS_FE_RST 6 |
| 13 | #define ETHSYS_MCM_RST 2 |
| 14 | #define ETHSYS_SYS_RST 0 |
| 15 | |
developer | a3d81fe | 2019-07-29 22:17:47 +0800 | [diff] [blame] | 16 | /* HIFSYS resets */ |
| 17 | #define HIFSYS_PCIE2_RST 26 |
| 18 | #define HIFSYS_PCIE1_RST 25 |
| 19 | #define HIFSYS_PCIE0_RST 24 |
| 20 | #define HIFSYS_UPHY1_RST 22 |
| 21 | #define HIFSYS_UPHY0_RST 21 |
| 22 | #define HIFSYS_UHOST1_RST 4 |
| 23 | #define HIFSYS_UHOST0_RST 3 |
| 24 | |
developer | d48dd9a | 2018-12-20 16:12:51 +0800 | [diff] [blame] | 25 | #endif /* _DT_BINDINGS_MTK_RESET_H_ */ |