diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-04-19 07:22:57 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 07:54:25 -0400 |
commit | ae87bb8ef751bf8a2b664cb2ea7cdd54affa14c0 (patch) | |
tree | eacbe0eb898b775a93c2ad49cdffb5e5e0d39db9 /arch/arm | |
parent | a16b6c630ff8f291639c4cd0f8e57543735a1b5c (diff) |
ARM: u300: add RTC to device tree
This adds the COH 901 331 RTC to the U300 device tree.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm')
-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 f0eb5f4dd249..711a2d9311ad 100644 --- a/arch/arm/boot/dts/ste-u300.dts +++ b/arch/arm/boot/dts/ste-u300.dts | |||
@@ -56,6 +56,13 @@ | |||
56 | interrupts = <3>; | 56 | interrupts = <3>; |
57 | }; | 57 | }; |
58 | 58 | ||
59 | rtc: rtc@c0017000 { | ||
60 | compatible = "stericsson,coh901331"; | ||
61 | reg = <0xc0017000 0x1000>; | ||
62 | interrupt-parent = <&vicb>; | ||
63 | interrupts = <10>; | ||
64 | }; | ||
65 | |||
59 | i2c0: i2c@c0004000 { | 66 | i2c0: i2c@c0004000 { |
60 | compatible = "st,ddci2c"; | 67 | compatible = "st,ddci2c"; |
61 | reg = <0xc0004000 0x1000>; | 68 | reg = <0xc0004000 0x1000>; |
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 190e788907f7..637034b0ae44 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -712,6 +712,8 @@ static struct of_dev_auxdata u300_auxdata_lookup[] __initdata = { | |||
712 | "u300-gpio", &u300_gpio_plat), | 712 | "u300-gpio", &u300_gpio_plat), |
713 | OF_DEV_AUXDATA("stericsson,coh901327", U300_WDOG_BASE, | 713 | OF_DEV_AUXDATA("stericsson,coh901327", U300_WDOG_BASE, |
714 | "coh901327_wdog", NULL), | 714 | "coh901327_wdog", NULL), |
715 | OF_DEV_AUXDATA("stericsson,coh901331", U300_RTC_BASE, | ||
716 | "rtc-coh901331", NULL), | ||
715 | OF_DEV_AUXDATA("arm,primecell", U300_UART0_BASE, | 717 | OF_DEV_AUXDATA("arm,primecell", U300_UART0_BASE, |
716 | "uart0", &uart0_plat_data), | 718 | "uart0", &uart0_plat_data), |
717 | OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE, | 719 | OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE, |