mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
|
From 5cfa3beb7761cb84be77225902e018d9d3f9b973 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Golle <daniel@makrotopia.org>
|
||
|
Date: Sun, 17 Dec 2023 21:49:45 +0000
|
||
|
Subject: [PATCH 1/4] 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>
|
||
|
---
|
||
|
include/dt-bindings/reset/mediatek,mt7988-resets.h | 13 +++++++++++++
|
||
|
1 file changed, 13 insertions(+)
|
||
|
create mode 100644 include/dt-bindings/reset/mediatek,mt7988-resets.h
|
||
|
|
||
|
--- /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 */
|