Device bricked due to firmware upgrade

Tried to upgrade firmware.

During upgrade, device stuck in rebooting for more then an hour.

Finally, I can't communicate with device.

Upon start power green/red light toggles and all lights turn off later.

I guess I need factory reset.