ar71xx: remove linux 3.18 support
[openwrt.git] / target / linux / ipq806x / patches-4.0 / 012-ARM-qcom-add-description-of-KPSS-WDT-for-IPQ8064.patch
1 From 297cf8136ecd6a56520888fd28948393766b8ee7 Mon Sep 17 00:00:00 2001
2 From: Mathieu Olivari <mathieu@codeaurora.org>
3 Date: Thu, 19 Feb 2015 20:27:39 -0800
4 Subject: [PATCH 2/3] ARM: qcom: add description of KPSS WDT for IPQ8064
5
6 Add the watchdog related entries to the Krait Processor Sub-system
7 (KPSS) timer IPQ8064 devicetree section. Also, add a fixed-clock
8 description of SLEEP_CLK, which will do for now.
9
10 Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
11 Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
12 ---
13  arch/arm/boot/dts/qcom-ipq8064.dtsi | 14 +++++++++++++-
14  1 file changed, 13 insertions(+), 1 deletion(-)
15
16 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
17 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
18 @@ -60,6 +60,14 @@
19                 };
20         };
21  
22 +       clocks {
23 +               sleep_clk: sleep_clk {
24 +                       compatible = "fixed-clock";
25 +                       clock-frequency = <32768>;
26 +                       #clock-cells = <0>;
27 +               };
28 +       };
29 +
30         soc: soc {
31                 #address-cells = <1>;
32                 #size-cells = <1>;
33 @@ -89,10 +97,14 @@
34                         compatible = "qcom,kpss-timer", "qcom,msm-timer";
35                         interrupts = <1 1 0x301>,
36                                      <1 2 0x301>,
37 -                                    <1 3 0x301>;
38 +                                    <1 3 0x301>,
39 +                                    <1 4 0x301>,
40 +                                    <1 5 0x301>;
41                         reg = <0x0200a000 0x100>;
42                         clock-frequency = <25000000>,
43                                           <32768>;
44 +                       clocks = <&sleep_clk>;
45 +                       clock-names = "sleep";
46                         cpu-offset = <0x80000>;
47                 };
48