Skip to content

Commit

Permalink
ARM: ux500: Move rtc-pl031 registration to Device Tree when enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lee Jones committed Jul 13, 2012
1 parent d4b29ac commit ddb3b99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/db8500.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
};

rtc@80154000 {
compatible = "stericsson,db8500-rtc";
compatible = "arm,rtc-pl031", "arm,primecell";
reg = <0x80154000 0x1000>;
interrupts = <0 18 0x4>;
};
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-ux500/cpu-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ struct device * __init u8500_of_init_devices(void)

parent = db8500_soc_device_init();

db8500_add_rtc(parent);
db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg);

platform_device_register_data(parent,
Expand Down

0 comments on commit ddb3b99

Please sign in to comment.