ARM: dts: vfxxx: Add SNVS node
authorSanchayan Maity <maitysanchayan@gmail.com>
Wed, 7 Jan 2015 07:09:30 +0000 (12:39 +0530)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 13 Jan 2015 11:18:16 +0000 (19:18 +0800)
Add device tree node for the Secure Non-Volatile Storage
(SNVS) on the VF610 platform. The SNVS block also has a
Real Time Counter (RTC).

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/vf500.dtsi
arch/arm/boot/dts/vfxxx.dtsi

index 29016090d0601b00dd325eef8e29fcdecc0a8017..0d0de864643f015bcab12675e0fdb63519d0df36 100644 (file)
        interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
 };
 
+&snvsrtc {
+       interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+};
+
 &src {
        interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
 };
index a55e1f9a414d6afab524bcf74b8a5f1c0879c673..ae5c35879a5387045d0e700819aed8d89d9226c0 100644 (file)
                                status = "disabled";
                        };
 
+                       snvs0: snvs@400a7000 {
+                           compatible = "fsl,sec-v4.0-mon", "simple-bus";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0 0x400a7000 0x2000>;
+
+                               snvsrtc: snvs-rtc-lp@34 {
+                                       compatible = "fsl,sec-v4.0-mon-rtc-lp";
+                                       reg = <0x34 0x58>;
+                                       clocks = <&clks VF610_CLK_SNVS>;
+                                       clock-names = "snvs-rtc";
+                               };
+                       };
+
                        uart4: serial@400a9000 {
                                compatible = "fsl,vf610-lpuart";
                                reg = <0x400a9000 0x1000>;