summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/arm-realview-pb1176.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-10-10 14:26:06 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-10-22 13:49:10 +0200
commit383caed2e54849e94568a00bbc94db217ccc03ce (patch)
tree38d9e5bad363d5e846c5258283dffe6aa8607d4a /arch/arm/boot/dts/arm-realview-pb1176.dts
parentARM: realview: add charlcd to PB1176 device tree (diff)
downloadlinux-383caed2e54849e94568a00bbc94db217ccc03ce.tar.xz
linux-383caed2e54849e94568a00bbc94db217ccc03ce.zip
ARM: realview: add RTC clocks to device tree
The PB1176 has two PL031 RTC clocks, one in the devchip and one in the FPGA. Add them to the device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/arm-realview-pb1176.dts')
-rw-r--r--arch/arm/boot/dts/arm-realview-pb1176.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts
index 4ca486796f71..0e5b608ab9db 100644
--- a/arch/arm/boot/dts/arm-realview-pb1176.dts
+++ b/arch/arm/boot/dts/arm-realview-pb1176.dts
@@ -196,6 +196,15 @@
clock-names = "timer1", "timer2", "apb_pclk";
};
+ pb1176_rtc: rtc@10108000 {
+ compatible = "arm,pl031", "arm,primecell";
+ reg = <0x10108000 0x1000>;
+ interrupt-parent = <&intc_dc1176>;
+ interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&pclk>;
+ clock-names = "apb_pclk";
+ };
+
pb1176_gpio0: gpio@1010a000 {
compatible = "arm,pl061", "arm,primecell";
reg = <0x1010a000 0x1000>;
@@ -299,5 +308,14 @@
clocks = <&pclk>;
clock-names = "apb_pclk";
};
+
+ fpga_rtc: rtc@10017000 {
+ compatible = "arm,pl031", "arm,primecell";
+ reg = <0x10017000 0x1000>;
+ interrupt-parent = <&intc_fpga1176>;
+ interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&pclk>;
+ clock-names = "apb_pclk";
+ };
};
};