summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-09-19 22:21:26 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-10-06 17:31:01 +0200
commit0a46ffa3604ec64b6a6784f134267c49ec224b75 (patch)
tree039639f1960e9c57dd23ef6a0c532748bfa7f3a3 /arch/mips/boot
parenteea1645bb8645cdf40b788dc6f2cbe2309e82411 (diff)
downloadlinux-stable-0a46ffa3604ec64b6a6784f134267c49ec224b75.tar.gz
linux-stable-0a46ffa3604ec64b6a6784f134267c49ec224b75.tar.bz2
linux-stable-0a46ffa3604ec64b6a6784f134267c49ec224b75.zip
MIPS: Malta: Probe RTC via DT
Add the DT node required to probe the RTC, and remove the platform code that was previously doing it. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14277/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r--arch/mips/boot/dts/mti/malta.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/mti/malta.dts b/arch/mips/boot/dts/mti/malta.dts
index af765afce825..fecbca8ca691 100644
--- a/arch/mips/boot/dts/mti/malta.dts
+++ b/arch/mips/boot/dts/mti/malta.dts
@@ -49,4 +49,19 @@
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>;
};
+
+ isa {
+ compatible = "isa";
+ #address-cells = <2>;
+ #size-cells = <1>;
+ ranges = <1 0 0 0x1000>;
+
+ rtc@70 {
+ compatible = "motorola,mc146818";
+ reg = <1 0x70 0x8>;
+
+ interrupt-parent = <&i8259>;
+ interrupts = <8>;
+ };
+ };
};