Do I need to configure the wdt to gpio groups?

For the mt7621 board, which uses an external watchdog.

Do I need to configure the wdt to gpio groups? What does gpio group mean?

The board dts:

/dts-v1/;

#include "mt7621.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

/ {
        compatible = "mediatek,mt7621-soc";

        watchdog {
                compatible = "linux,wdt-gpio";
                gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                hw_algo = "toggle";
                hw_margin_ms = <1000>;
                always-running;
        };
        ...
};

&state_default {
        gpio {
                groups = "jtag";
                function = "gpio";
        };
};

Isn't this a duplicate of How to enable watchdog on mt7621 dts?

The previous problem(How to enable watchdog on mt7621 dts?) was a hardware issue, which was resolved by replacing the hardware.

Currently trying to figure out what gpio groups do and if it's possible to put wdt into gpio groups?

gpio16 is a member of jtag group, so your dts looks good to me.

Thank you.