diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2018-12-20 16:12:51 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-14 17:43:18 -0500 |
commit | 3e066bcaefb51adcf5c0594d42abe145f701dbeb (patch) | |
tree | d5090d0a91d3152284c7c287d98d8d3a5bbc9d92 /include/dt-bindings/reset/mtk-reset.h | |
parent | 37cbd8918c83c9b160e79c3b79f3521cd8f73537 (diff) |
reset: MedaiTek: add reset controller driver for MediaTek SoCs
This patch adds reset controller driver for MediaTek SoCs.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'include/dt-bindings/reset/mtk-reset.h')
-rw-r--r-- | include/dt-bindings/reset/mtk-reset.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/mtk-reset.h b/include/dt-bindings/reset/mtk-reset.h new file mode 100644 index 0000000000..5f0a74f280 --- /dev/null +++ b/include/dt-bindings/reset/mtk-reset.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 MediaTek Inc. + */ + +#ifndef _DT_BINDINGS_MTK_RESET_H_ +#define _DT_BINDINGS_MTK_RESET_H_ + +/* ETHSYS */ +#define ETHSYS_PPE_RST 31 +#define ETHSYS_EPHY_RST 24 +#define ETHSYS_GMAC_RST 23 +#define ETHSYS_ESW_RST 16 +#define ETHSYS_FE_RST 6 +#define ETHSYS_MCM_RST 2 +#define ETHSYS_SYS_RST 0 + +#endif /* _DT_BINDINGS_MTK_RESET_H_ */ |