summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/ingenic/qi_lb60.dts
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2016-10-31 23:39:50 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-05 02:02:01 +0300
commit6ab59018370345b0909af7c1f24553b2608c5fbc (patch)
tree43c0d00a4533f881f7db50c1c13ef8ff98c6c843 /arch/mips/boot/dts/ingenic/qi_lb60.dts
parent262d62cb00cef9c6f495efdf1a0236a0e99daa19 (diff)
downloadlinux-6ab59018370345b0909af7c1f24553b2608c5fbc.tar.xz
MIPS: qi_lb60: Probe RTC driver from DT and use it as power controller
Since we already have a devicetree node for the jz4740-rtc driver, we don't have to probe it from platform code. Besides, using the jz4740-rtc driver as the power controller for the qi_lb60 platform allows us to remove the jz4740 platform power-off code, since this is the only jz4740-based board upstream. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Maarten ter Huurne <maarten@treewalker.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/mips/boot/dts/ingenic/qi_lb60.dts')
-rw-r--r--arch/mips/boot/dts/ingenic/qi_lb60.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/qi_lb60.dts b/arch/mips/boot/dts/ingenic/qi_lb60.dts
index 2414d63ae818..be1a7d3a3e1b 100644
--- a/arch/mips/boot/dts/ingenic/qi_lb60.dts
+++ b/arch/mips/boot/dts/ingenic/qi_lb60.dts
@@ -13,3 +13,7 @@
&ext {
clock-frequency = <12000000>;
};
+
+&rtc_dev {
+ system-power-controller;
+};