diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-04-19 14:59:59 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-31 13:25:53 +0400 |
commit | 63a62ec09d634bc4a35dd61c513c2df006885a39 (patch) | |
tree | a17af0c6029a23fbf4e979eff5a98c26caa43877 | |
parent | c83c199199b9d68c56b5cc53b01b8f513f91b93a (diff) | |
download | linux-63a62ec09d634bc4a35dd61c513c2df006885a39.tar.xz |
ARM: u300: add the COH 901 327 watchdog to device tree
This adds the COH 901 327 watchdog to the U300 device tree.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/ste-u300.dts | 7 | ||||
-rw-r--r-- | arch/arm/mach-u300/core.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-u300.dts b/arch/arm/boot/dts/ste-u300.dts index 67a1b52401f4..f0eb5f4dd249 100644 --- a/arch/arm/boot/dts/ste-u300.dts +++ b/arch/arm/boot/dts/ste-u300.dts @@ -49,6 +49,13 @@ reg = <0xc0011000 0x1000>; }; + watchdog: watchdog@c0012000 { + compatible = "stericsson,coh901327"; + reg = <0xc0012000 0x1000>; + interrupt-parent = <&vicb>; + interrupts = <3>; + }; + i2c0: i2c@c0004000 { compatible = "st,ddci2c"; reg = <0xc0004000 0x1000>; diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index abe97041128a..190e788907f7 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -710,6 +710,8 @@ static struct of_dev_auxdata u300_auxdata_lookup[] __initdata = { "pinctrl-u300", NULL), OF_DEV_AUXDATA("stericsson,gpio-coh901", U300_GPIO_BASE, "u300-gpio", &u300_gpio_plat), + OF_DEV_AUXDATA("stericsson,coh901327", U300_WDOG_BASE, + "coh901327_wdog", NULL), OF_DEV_AUXDATA("arm,primecell", U300_UART0_BASE, "uart0", &uart0_plat_data), OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE, |