Commit b0f1d8be authored by Maxime Ripard's avatar Maxime Ripard Committed by Wim Van Sebroeck

watchdog: sunxi: Change compatibles

The Allwinner A10 and A31 compatibles were following a slightly different
compatible patterns than the rest of the SoCs for historical reasons. Change
the compatibles to match the other pattern in the watchdog controller driver
for consistency.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 0187cca3
...@@ -2,13 +2,13 @@ Allwinner SoCs Watchdog timer ...@@ -2,13 +2,13 @@ Allwinner SoCs Watchdog timer
Required properties: Required properties:
- compatible : should be "allwinner,<soc-family>-wdt", the currently supported - compatible : should be either "allwinner,sun4i-a10-wdt" or
SoC families being sun4i and sun6i "allwinner,sun6i-a31-wdt"
- reg : Specifies base physical address and size of the registers. - reg : Specifies base physical address and size of the registers.
Example: Example:
wdt: watchdog@01c20c90 { wdt: watchdog@01c20c90 {
compatible = "allwinner,sun4i-wdt"; compatible = "allwinner,sun4i-a10-wdt";
reg = <0x01c20c90 0x10>; reg = <0x01c20c90 0x10>;
}; };
...@@ -205,7 +205,7 @@ static void sunxi_wdt_shutdown(struct platform_device *pdev) ...@@ -205,7 +205,7 @@ static void sunxi_wdt_shutdown(struct platform_device *pdev)
} }
static const struct of_device_id sunxi_wdt_dt_ids[] = { static const struct of_device_id sunxi_wdt_dt_ids[] = {
{ .compatible = "allwinner,sun4i-wdt" }, { .compatible = "allwinner,sun4i-a10-wdt" },
{ /* sentinel */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, sunxi_wdt_dt_ids); MODULE_DEVICE_TABLE(of, sunxi_wdt_dt_ids);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment