diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-12-28 10:46:03 +0000 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-12-28 10:46:03 +0000 |
commit | 15db3e823c3246e3bd31fe454f5c8927eb85caf2 (patch) | |
tree | f91811c5872ede20ec86f4256a9f60befa6b8a61 /arch/arm/mach-pxa/devices.c | |
parent | d7bd1b8a6104bcdc53611689fec8715a236a22c8 (diff) | |
parent | edf3ff5bac2582b57de4e7c6569fee5d7c1c0a42 (diff) | |
download | op-kernel-dev-15db3e823c3246e3bd31fe454f5c8927eb85caf2.zip op-kernel-dev-15db3e823c3246e3bd31fe454f5c8927eb85caf2.tar.gz |
Merge branch 'drivers/rtc-sa1100' into next/drivers
* drivers/rtc-sa1100:
ARM: sa1100: clean up of the clock support
ARM: pxa: add dummy clock for sa1100-rtc
RTC: sa1100: support sa1100, pxa and mmp soc families
RTC: sa1100: remove redundant code of setting alarm
RTC: sa1100: Clean out ost register
Conflicts:
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
Diffstat (limited to 'arch/arm/mach-pxa/devices.c')
-rw-r--r-- | arch/arm/mach-pxa/devices.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c index 5bc1312..18fd177 100644 --- a/arch/arm/mach-pxa/devices.c +++ b/arch/arm/mach-pxa/devices.c @@ -415,9 +415,29 @@ static struct resource pxa_rtc_resources[] = { }, }; +static struct resource sa1100_rtc_resources[] = { + [0] = { + .start = 0x40900000, + .end = 0x409000ff, + .flags = IORESOURCE_MEM, + }, + [1] = { + .start = IRQ_RTC1Hz, + .end = IRQ_RTC1Hz, + .flags = IORESOURCE_IRQ, + }, + [2] = { + .start = IRQ_RTCAlrm, + .end = IRQ_RTCAlrm, + .flags = IORESOURCE_IRQ, + }, +}; + struct platform_device sa1100_device_rtc = { .name = "sa1100-rtc", .id = -1, + .num_resources = ARRAY_SIZE(sa1100_rtc_resources), + .resource = sa1100_rtc_resources, }; struct platform_device pxa_device_rtc = { |