arm: sbsa_gwdt: fixup default "clock-frequency"
Comment about keeping legacy freq, is wrong to begin with (should be 62.5MHz), but that value also doesn't make sense anymore as the watchdog is used only by un-versioned SBSA board and the later has hard-coded it to 1GHz. Other potential user (arm/virt) also has system clock at 1GHz. Drop misleading comment about legacy and set default to 1GHz to match both boards. (not that it does matter, since users are setting frequency to match CPU's one explicitly) Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260702145856.1539572-2-imammedo@redhat.com>
Igor Mammedov committed
Jul 2, 2026 at 16:58 UTC
8e1aee6db42122cd1f781bf6048103fc76436c41
1 file changed
+2
-3
hw/watchdog/sbsa_gwdt.c
+2
-3
@@ -264,11 +264,10 @@ static void wdt_sbsa_gwdt_realize(DeviceState *dev, Error **errp)
264
static const Property wdt_sbsa_gwdt_props[] = {
265
/*
266
* Timer frequency in Hz. This must match the frequency used by
267
- * the CPU's generic timer. Default 62.5Hz matches QEMU's legacy
268
- * CPU timer frequency default.
267
+ * the CPU's generic timer.
268
*/
269
DEFINE_PROP_UINT64("clock-frequency", struct SBSA_GWDTState, freq,
271
- 62500000),
270
+ 1000000000),
271
};
272
273
static void wdt_sbsa_gwdt_class_init(ObjectClass *klass, const void *data)