summaryrefslogtreecommitdiff
path: root/include/dt-bindings/reset/mediatek,mt7988-resets.h
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-12-18 00:49:45 +0300
committerStephen Boyd <sboyd@kernel.org>2024-01-04 02:55:15 +0300
commit5cfa3beb7761cb84be77225902e018d9d3f9b973 (patch)
tree563801a8984e58bd4ce6954a8521596b617b4866 /include/dt-bindings/reset/mediatek,mt7988-resets.h
parent8187e001de156e99ef95366ffd10d627ed090826 (diff)
downloadlinux-5cfa3beb7761cb84be77225902e018d9d3f9b973.tar.xz
dt-bindings: reset: mediatek: add MT7988 ethwarp reset IDs
Add reset ID for ethwarp subsystem allowing to reset the built-in Ethernet switch of the MediaTek MT7988 SoC. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/0c14bbacf471683af67ffa7572bfa1d5c45a0b5d.1702849494.git.daniel@makrotopia.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings/reset/mediatek,mt7988-resets.h')
-rw-r--r--include/dt-bindings/reset/mediatek,mt7988-resets.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/mediatek,mt7988-resets.h b/include/dt-bindings/reset/mediatek,mt7988-resets.h
new file mode 100644
index 000000000000..493301971367
--- /dev/null
+++ b/include/dt-bindings/reset/mediatek,mt7988-resets.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2023 Daniel Golle <daniel@makrotopia.org>
+ * Author: Daniel Golle <daniel@makrotopia.org>
+ */
+
+#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7988
+#define _DT_BINDINGS_RESET_CONTROLLER_MT7988
+
+/* ETHWARP resets */
+#define MT7988_ETHWARP_RST_SWITCH 0
+
+#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7988 */