watchdog:starfive:Modify compattible name
authorXingyu Wu <xingyu.wu@starfivetech.com>
Thu, 1 Sep 2022 02:54:07 +0000 (10:54 +0800)
committerXingyu Wu <xingyu.wu@starfivetech.com>
Thu, 1 Sep 2022 02:54:42 +0000 (10:54 +0800)
Modify compatible name to 'starfive,jh7110-wdt'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Documentation/devicetree/bindings/watchdog/starfive,wdt.yaml
arch/riscv/boot/dts/starfive/jh7110.dtsi
drivers/watchdog/starfive-wdt.c

index eed74e0..a2d9b4e 100644 (file)
@@ -16,8 +16,8 @@ maintainers:
 properties:
   compatible:
     enum:
-      - starfive,wdt
-      - starfive,dskit-wdt
+      - starfive,jh7100-wdt
+      - starfive,jh7110-wdt
 
   reg:
     maxItems: 1
@@ -64,7 +64,7 @@ examples:
     #include <dt-bindings/reset/starfive-jh7110.h>
 
     wdog: watchdog@13070000 {
-            compatible = "starfive,dskit-wdt";
+            compatible = "starfive,jh7110-wdt";
             reg = <0x13070000 0x10000>;
             interrupts = <68>;
             clocks = <&clkgen JH7110_DSKIT_WDT_CLK_WDT>,
index 08b0435..b0fe338 100755 (executable)
                };
 
                wdog: wdog@13070000 {
-                       compatible = "starfive,dskit-wdt";
+                       compatible = "starfive,jh7110-wdt";
                        reg = <0x0 0x13070000 0x0 0x10000>;
                        interrupts = <68>;
                        interrupt-names = "wdog";
index 6db31d3..70588a5 100755 (executable)
@@ -183,9 +183,9 @@ static const struct starfive_wdt_variant drv_data_jh7110 = {
 };
 
 static const struct of_device_id starfive_wdt_match[] = {
-       { .compatible = "starfive,wdt",
+       { .compatible = "starfive,jh7100-wdt",
                .data = &drv_data_jh7100 },
-       { .compatible = "starfive,dskit-wdt",
+       { .compatible = "starfive,jh7110-wdt",
                .data = &drv_data_jh7110 },
        {},
 };