diff options
author | Xingyu Wu <xingyu.wu@starfivetech.com> | 2022-09-01 05:54:07 +0300 |
---|---|---|
committer | Xingyu Wu <xingyu.wu@starfivetech.com> | 2022-09-01 05:54:42 +0300 |
commit | bf307564c2238560772139fe713810bd743ecfcd (patch) | |
tree | 9e9470339474c8bfcebfce43ac2a599e08fa4eaf | |
parent | 73f00cdaec98196fa712c2dae25166708298d9c2 (diff) | |
download | linux-bf307564c2238560772139fe713810bd743ecfcd.tar.xz |
watchdog:starfive:Modify compattible name
Modify compatible name to 'starfive,jh7110-wdt'.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/starfive,wdt.yaml | 6 | ||||
-rwxr-xr-x | arch/riscv/boot/dts/starfive/jh7110.dtsi | 2 | ||||
-rwxr-xr-x | drivers/watchdog/starfive-wdt.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/starfive,wdt.yaml b/Documentation/devicetree/bindings/watchdog/starfive,wdt.yaml index eed74e0da019..a2d9b4ec2e1c 100644 --- a/Documentation/devicetree/bindings/watchdog/starfive,wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/starfive,wdt.yaml @@ -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>, diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 08b0435086ad..b0fe3388cad2 100755 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -490,7 +490,7 @@ }; wdog: wdog@13070000 { - compatible = "starfive,dskit-wdt"; + compatible = "starfive,jh7110-wdt"; reg = <0x0 0x13070000 0x0 0x10000>; interrupts = <68>; interrupt-names = "wdog"; diff --git a/drivers/watchdog/starfive-wdt.c b/drivers/watchdog/starfive-wdt.c index 6db31d3bd234..70588a5cbb87 100755 --- a/drivers/watchdog/starfive-wdt.c +++ b/drivers/watchdog/starfive-wdt.c @@ -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 }, {}, }; |