Loading Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt 0 → 100644 +9 −0 Original line number Diff line number Diff line Atmel AT91RM9200 System Timer Watchdog Required properties: - compatible: must be "atmel,at91sam9260-wdt". Example: watchdog@fffffd00 { compatible = "atmel,at91rm9200-wdt"; }; drivers/watchdog/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -117,7 +117,7 @@ config ARM_SP805_WATCHDOG config AT91RM9200_WATCHDOG tristate "AT91RM9200 watchdog" depends on ARCH_AT91RM9200 depends on ARCH_AT91 help Watchdog timer embedded into AT91RM9200 chips. This will reboot your system when the timeout is reached. Loading drivers/watchdog/at91rm9200_wdt.c +9 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ #include <linux/types.h> #include <linux/watchdog.h> #include <linux/uaccess.h> #include <linux/of.h> #include <linux/of_device.h> #include <mach/at91_st.h> #define WDT_DEFAULT_TIME 5 /* seconds */ Loading Loading @@ -252,6 +254,12 @@ static int at91wdt_resume(struct platform_device *pdev) #define at91wdt_resume NULL #endif static const struct of_device_id at91_wdt_dt_ids[] = { { .compatible = "atmel,at91rm9200-wdt" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, at91_wdt_dt_ids); static struct platform_driver at91wdt_driver = { .probe = at91wdt_probe, .remove = at91wdt_remove, Loading @@ -261,6 +269,7 @@ static struct platform_driver at91wdt_driver = { .driver = { .name = "at91_wdt", .owner = THIS_MODULE, .of_match_table = of_match_ptr(at91_wdt_dt_ids), }, }; Loading Loading
Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt 0 → 100644 +9 −0 Original line number Diff line number Diff line Atmel AT91RM9200 System Timer Watchdog Required properties: - compatible: must be "atmel,at91sam9260-wdt". Example: watchdog@fffffd00 { compatible = "atmel,at91rm9200-wdt"; };
drivers/watchdog/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -117,7 +117,7 @@ config ARM_SP805_WATCHDOG config AT91RM9200_WATCHDOG tristate "AT91RM9200 watchdog" depends on ARCH_AT91RM9200 depends on ARCH_AT91 help Watchdog timer embedded into AT91RM9200 chips. This will reboot your system when the timeout is reached. Loading
drivers/watchdog/at91rm9200_wdt.c +9 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ #include <linux/types.h> #include <linux/watchdog.h> #include <linux/uaccess.h> #include <linux/of.h> #include <linux/of_device.h> #include <mach/at91_st.h> #define WDT_DEFAULT_TIME 5 /* seconds */ Loading Loading @@ -252,6 +254,12 @@ static int at91wdt_resume(struct platform_device *pdev) #define at91wdt_resume NULL #endif static const struct of_device_id at91_wdt_dt_ids[] = { { .compatible = "atmel,at91rm9200-wdt" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, at91_wdt_dt_ids); static struct platform_driver at91wdt_driver = { .probe = at91wdt_probe, .remove = at91wdt_remove, Loading @@ -261,6 +269,7 @@ static struct platform_driver at91wdt_driver = { .driver = { .name = "at91_wdt", .owner = THIS_MODULE, .of_match_table = of_match_ptr(at91_wdt_dt_ids), }, }; Loading