ARM: qcom: add description of KPSS WDT for IPQ8064
authorMathieu Olivari <mathieu@codeaurora.org>
Sat, 21 Feb 2015 02:19:35 +0000 (18:19 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 22 Apr 2015 13:28:11 +0000 (15:28 +0200)
Add the watchdog related entries to the Krait Processor Sub-system
(KPSS) timer IPQ8064 devicetree section. Also, add a fixed-clock
description of SLEEP_CLK, which will do for now.

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
arch/arm/boot/dts/qcom-ipq8064.dtsi

index cb225da..d01f618 100644 (file)
                };
        };
 
+       clocks {
+               sleep_clk: sleep_clk {
+                       compatible = "fixed-clock";
+                       clock-frequency = <32768>;
+                       #clock-cells = <0>;
+               };
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;
                        compatible = "qcom,kpss-timer", "qcom,msm-timer";
                        interrupts = <1 1 0x301>,
                                     <1 2 0x301>,
-                                    <1 3 0x301>;
+                                    <1 3 0x301>,
+                                    <1 4 0x301>,
+                                    <1 5 0x301>;
                        reg = <0x0200a000 0x100>;
                        clock-frequency = <25000000>,
                                          <32768>;
+                       clocks = <&sleep_clk>;
+                       clock-names = "sleep";
                        cpu-offset = <0x80000>;
                };