[v2, 2/3] dt-bindings: watchdog: add a new head file for toprgu reset-controllers

Crystal Guo crystal.guo at mediatek.com
Wed Jul 29 02:30:48 EDT 2020


merge all the reset numbers in one head file.

Signed-off-by: Crystal Guo <crystal.guo at mediatek.com>
---
 include/dt-bindings/reset-controller/mtk-resets.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 include/dt-bindings/reset-controller/mtk-resets.h

diff --git a/include/dt-bindings/reset-controller/mtk-resets.h b/include/dt-bindings/reset-controller/mtk-resets.h
new file mode 100644
index 0000000..d73a4ba
--- /dev/null
+++ b/include/dt-bindings/reset-controller/mtk-resets.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2020 Mediatek Inc.
+ *
+ */
+
+#ifndef _DT_BINDINGS_RESET_CONTROLLER_MTK
+#define _DT_BINDINGS_RESET_CONTROLLER_MTK
+
+#define MT2712_TOPRGU_SW_RST_NUM	11
+#define MT8183_TOPRGU_SW_RST_NUM        19
+
+#endif
-- 
1.8.1.1.dirty


More information about the linux-arm-kernel mailing list