drivers: watchdog: Adding watchdog support for sam SOC
Adding watchdog driver for sam SoC. The current implemntation just diables the watchdog on device boot. This PR adds the following support for SAM3X, SAM4S and SAME70 1. Activate processor reset 2. Activate all reset 3. Generate interrupt on watchdog timer expiration. Signed-off-by: Subramanian Meenakshi Sundaram <subbu147@gmail.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
f05888446d
commit
4e1179bba5
16 changed files with 294 additions and 29 deletions
|
@ -32,6 +32,15 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
wdog: watchdog@400E1A50 {
|
||||
compatible = "atmel,sam-watchdog";
|
||||
reg = <0x400E1A50 0xc>;
|
||||
interrupts = <4 0>;
|
||||
peripheral-id = <4>;
|
||||
label = "WATCHDOG_0";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c0: i2c@4008C000 {
|
||||
compatible = "atmel,sam-i2c-twi";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue