]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
watchdog: sp805_wdt: use correct compatible string
authorMichael Walle <michael@walle.cc>
Wed, 13 Oct 2021 16:14:16 +0000 (18:14 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
According to the linux device tree specification the compatible string
is:
  compatible = "arm,sp805", "arm,primecell";

Fix all users in u-boot.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1028a.dtsi
arch/arm/dts/hi3660.dtsi
drivers/watchdog/sp805_wdt.c

index e5b5a0dc9f2377cc08242178b80f51172bd05c7c..cbdddccaea62c4efe6cfeac654e8ceb3824f43e3 100644 (file)
                };
 
                cluster1_core0_watchdog: wdt@c000000 {
-                       compatible = "arm,sp805-wdt";
+                       compatible = "arm,sp805", "arm,primecell";
                        reg = <0x0 0xc000000 0x0 0x1000>;
                };
 
index 65a45b0e80c884ecf76f9d428437938fa3320948..028f4db60d277600db3184ebddc813e7633884b6 100644 (file)
                };
 
                watchdog0: watchdog@e8a06000 {
-                       compatible = "arm,sp805-wdt", "arm,primecell";
+                       compatible = "arm,sp805", "arm,primecell";
                        reg = <0x0 0xe8a06000 0x0 0x1000>;
                        interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&crg_ctrl HI3660_OSC32K>;
                };
 
                watchdog1: watchdog@e8a07000 {
-                       compatible = "arm,sp805-wdt", "arm,primecell";
+                       compatible = "arm,sp805", "arm,primecell";
                        reg = <0x0 0xe8a07000 0x0 0x1000>;
                        interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&crg_ctrl HI3660_OSC32K>;
index bec8827ceb153e49a8a38a5d6108393b0b2c9340..0d6fb1206546592e83d104d0763f23dc9738e151 100644 (file)
@@ -134,7 +134,7 @@ static const struct wdt_ops sp805_wdt_ops = {
 };
 
 static const struct udevice_id sp805_wdt_ids[] = {
-       { .compatible = "arm,sp805-wdt" },
+       { .compatible = "arm,sp805" },
        {}
 };