Lines Matching +full:mt7621 +full:- +full:wdt
1 // SPDX-License-Identifier: GPL-2.0+
3 * Ralink / Mediatek RT288x/RT3xxx/MT76xx built-in hardware watchdog timer
14 #include <wdt.h>
33 writel(TMR1CTL_RESTART, priv->regs + TIMER_REG_TMRSTAT); in mt762x_wdt_ping()
43 writel(1000 << TMR1CTL_PRESCALE_SHIFT, priv->regs + TIMER_REG_TMR1CTL); in mt762x_wdt_start()
44 writel(ms, priv->regs + TIMER_REG_TMR1LOAD); in mt762x_wdt_start()
46 setbits_le32(priv->regs + TIMER_REG_TMR1CTL, TMR1CTL_ENABLE); in mt762x_wdt_start()
57 clrbits_le32(priv->regs + TIMER_REG_TMR1CTL, TMR1CTL_ENABLE); in mt762x_wdt_stop()
75 priv->regs = dev_remap_addr(dev); in mt762x_wdt_probe()
76 if (!priv->regs) in mt762x_wdt_probe()
77 return -EINVAL; in mt762x_wdt_probe()
91 { .compatible = "mediatek,mt7621-wdt" },