ARM: dts: rockchip: add new watchdog compatible to rk322x.dtsi
authorJohan Jonker <jbx6244@gmail.com>
Fri, 18 Dec 2020 12:05:29 +0000 (13:05 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 25 Mar 2021 00:35:44 +0000 (01:35 +0100)
The watchdog compatible strings are suppose to be SoC orientated.
In the more recently added Rockchip rk322x.dtsi file only
the fallback string "snps,dw-wdt" is used, so add the new
compatible string:

"rockchip,rk3228-wdt", "snps,dw-wdt"

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20201218120534.13788-3-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk322x.dtsi

index a4dd50a..118d964 100644 (file)
        };
 
        wdt: watchdog@110a0000 {
-               compatible = "snps,dw-wdt";
+               compatible = "rockchip,rk3228-wdt", "snps,dw-wdt";
                reg = <0x110a0000 0x100>;
                interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru PCLK_CPU>;