Commit d9e38040 authored by Linus Walleij's avatar Linus Walleij Committed by Russell King

ARM: 6184/2: ux500: use neutral PRCMU base

The MTU wallclock timing fix-up patch was hardwired to the DB8500
causing a regression. This makes it work on the DB5500 as well.
Signed-off-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 398aa668
...@@ -131,7 +131,7 @@ EXPORT_SYMBOL(clk_disable); ...@@ -131,7 +131,7 @@ EXPORT_SYMBOL(clk_disable);
*/ */
static unsigned long clk_mtu_get_rate(struct clk *clk) static unsigned long clk_mtu_get_rate(struct clk *clk)
{ {
void __iomem *addr = __io_address(U8500_PRCMU_BASE) void __iomem *addr = __io_address(UX500_PRCMU_BASE)
+ PRCM_TCR; + PRCM_TCR;
u32 tcr = readl(addr); u32 tcr = readl(addr);
int mtu = (int) clk->data; int mtu = (int) clk->data;
......
...@@ -21,6 +21,7 @@ static struct map_desc u5500_io_desc[] __initdata = { ...@@ -21,6 +21,7 @@ static struct map_desc u5500_io_desc[] __initdata = {
__IO_DEV_DESC(U5500_GPIO2_BASE, SZ_4K), __IO_DEV_DESC(U5500_GPIO2_BASE, SZ_4K),
__IO_DEV_DESC(U5500_GPIO3_BASE, SZ_4K), __IO_DEV_DESC(U5500_GPIO3_BASE, SZ_4K),
__IO_DEV_DESC(U5500_GPIO4_BASE, SZ_4K), __IO_DEV_DESC(U5500_GPIO4_BASE, SZ_4K),
__IO_DEV_DESC(U5500_PRCMU_BASE, SZ_4K),
}; };
static struct platform_device *u5500_platform_devs[] __initdata = { static struct platform_device *u5500_platform_devs[] __initdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment