]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
watchdog: octeontx_wdt: fix DT matches to Marvell compatibles
authorJuuso Rinta <juuso.rinta@nokia.com>
Mon, 4 May 2026 09:36:58 +0000 (12:36 +0300)
committerStefan Roese <stefan.roese@mailbox.org>
Tue, 9 Jun 2026 09:51:19 +0000 (11:51 +0200)
The OcteonTX watchdog driver currently matches arm,sbsa-gwdt.
On systems with multiple watchdog devices this can be ambiguous since
arm,sbsa-gwdt is a generic SBSA binding.

Replace the SBSA match with SoC-specific Marvell compatibles
marvell,cn10624-wdt and marvell,cn9670-wdt.

These compatibles align with the upstream Linux device tree binding:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/watchdog/marvell,cn10624-wdt.yaml

Reviewed-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Juuso Rinta <juuso.rinta@nokia.com>
Reviewed-by: Stefan Roese <stefan.roese@mailbox.org>
drivers/watchdog/octeontx_wdt.c

index c79d9539c13f64f3335dad038ce547e81d615e72..7299a9f9739da0ae7490fb70404a9e395a897e3e 100644 (file)
@@ -159,7 +159,8 @@ static const struct octeontx_wdt_data octeon_data = {
 };
 
 static const struct udevice_id octeontx_wdt_ids[] = {
-       { .compatible = "arm,sbsa-gwdt", .data = (ulong)&octeontx_data },
+       { .compatible = "marvell,cn10624-wdt", .data = (ulong)&octeontx_data },
+       { .compatible = "marvell,cn9670-wdt", .data = (ulong)&octeontx_data },
        { .compatible = "cavium,octeon-7890-ciu3", .data = (ulong)&octeon_data },
        {}
 };