diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-05-26 02:01:31 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-07-13 04:14:38 -0400 |
commit | ddb3b99c532930c9f891e97af5ef4e6691076c16 (patch) | |
tree | ce35bd9bde8d54c9b68b0d3d8b07887be14c0955 | |
parent | d4b29ac1893e342f27fe79bd37641918e3364699 (diff) |
ARM: ux500: Move rtc-pl031 registration to Device Tree when enabled
During a Device Tree boot, all probing will now be completed on parse
of the Device Tree binary. In the same patch we remove platform
registration of the Real Time Clock.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/db8500.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/mach-ux500/cpu-db8500.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi index 1b7f79526a93..f1dc98d4471d 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi | |||
@@ -48,7 +48,7 @@ | |||
48 | }; | 48 | }; |
49 | 49 | ||
50 | rtc@80154000 { | 50 | rtc@80154000 { |
51 | compatible = "stericsson,db8500-rtc"; | 51 | compatible = "arm,rtc-pl031", "arm,primecell"; |
52 | reg = <0x80154000 0x1000>; | 52 | reg = <0x80154000 0x1000>; |
53 | interrupts = <0 18 0x4>; | 53 | interrupts = <0 18 0x4>; |
54 | }; | 54 | }; |
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 33275eb4c689..a12bd9eff08b 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c | |||
@@ -237,7 +237,6 @@ struct device * __init u8500_of_init_devices(void) | |||
237 | 237 | ||
238 | parent = db8500_soc_device_init(); | 238 | parent = db8500_soc_device_init(); |
239 | 239 | ||
240 | db8500_add_rtc(parent); | ||
241 | db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg); | 240 | db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg); |
242 | 241 | ||
243 | platform_device_register_data(parent, | 242 | platform_device_register_data(parent, |