]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
reset: mtmips: add reset controller support for MediaTek MT7620 SoC
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 12 Nov 2020 08:36:19 +0000 (16:36 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 24 Jan 2021 20:39:26 +0000 (21:39 +0100)
This patch adds reset controller bits definition header file for MediaTek
MT7620 SoC

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
include/dt-bindings/reset/mt7620-reset.h [new file with mode: 0644]

diff --git a/include/dt-bindings/reset/mt7620-reset.h b/include/dt-bindings/reset/mt7620-reset.h
new file mode 100644 (file)
index 0000000..3096b29
--- /dev/null
@@ -0,0 +1,35 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2020 MediaTek Inc.
+ *
+ * Author:  Weijie Gao <weijie.gao@mediatek.com>
+ */
+
+#ifndef _DT_BINDINGS_MT7620_RESET_H_
+#define _DT_BINDINGS_MT7620_RESET_H_
+
+#define PPE_RST                        31
+#define SDHC_RST               30
+#define MIPS_CNT_RST           28
+#define PCIE_RST               26
+#define UHST_RST               25
+#define EPHY_RST               24
+#define ESW_RST                        23
+#define UDEV_RST               22
+#define FE_RST                 21
+#define WLAN_RST               20
+#define UARTL_RST              19
+#define SPI_RST                        18
+#define I2S_RST                        17
+#define I2C_RST                        16
+#define NAND_RST               15
+#define DMA_RST                        14
+#define PIO_RST                        13
+#define UARTF_RST              12
+#define PCM_RST                        11
+#define MC_RST                 10
+#define INTC_RST               9
+#define TIMER_RST              8
+#define SYS_RST                        0
+
+#endif /* _DT_BINDINGS_MT7620_RESET_H_ */