Skip to content

Commit 8c776a0

Browse files
Huqiang QinWim Van Sebroeck
authored andcommitted
watchdog: Add support for Amlogic-T7 SoCs
Compared with the previous Amlogic-GXBB, the watchdog of Amlogic-T7 has a different reset enable bit. Signed-off-by: Huqiang Qin <[email protected]> Reviewed-by: Dmitry Rokosov <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 55908e3 commit 8c776a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/watchdog/meson_gxbb_wdt.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,13 @@ static const struct wdt_params gxbb_params = {
147147
.rst = BIT(21),
148148
};
149149

150+
static const struct wdt_params t7_params = {
151+
.rst = BIT(22),
152+
};
153+
150154
static const struct of_device_id meson_gxbb_wdt_dt_ids[] = {
151155
{ .compatible = "amlogic,meson-gxbb-wdt", .data = &gxbb_params, },
156+
{ .compatible = "amlogic,t7-wdt", .data = &t7_params, },
152157
{ /* sentinel */ },
153158
};
154159
MODULE_DEVICE_TABLE(of, meson_gxbb_wdt_dt_ids);

0 commit comments

Comments
 (0)