linux/include/dt-bindings/reset/mediatek,mt7988-resets.h
Frank Wunderlich c9d9bea92c dt-bindings: reset: mediatek: add MT7988 infracfg reset IDs
Add reset constants for using as index in driver and dts.

Value is starting again from 0 because resets are used in another device
than existing constants.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240201182409.39878-2-linux@fw-web.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2024-02-21 21:03:17 -08:00

20 lines
489 B
C

/* 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
/* INFRA resets */
#define MT7988_INFRA_RST0_PEXTP_MAC_SWRST 0
#define MT7988_INFRA_RST1_THERM_CTRL_SWRST 1
#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7988 */