]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: qcom: add description of KPSS WDT for APQ8064
authorPramod Gurav <pramod.gurav@smartplayin.com>
Wed, 19 Nov 2014 10:09:04 +0000 (15:39 +0530)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:10 +0000 (09:54 +0000)
Describe the Krait Processor Sub-system (KPSS) Watchdog timer in the
APQ8064 device tree.  Also, add a fixed-clock description of SLEEP_CLK,
which will do for now.

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
arch/arm/boot/dts/qcom-apq8064.dtsi

index eae63a8fc5a8e708f82ac59d3e006b567cd6902f..458c80db2ab4fe60daf1412586caff4657d65e3f 100644 (file)
                #clock-cells = <1>;
        };
 
+       clocks {
+               sleep_clk: sleep_clk {
+                       compatible = "fixed-clock";
+                       clock-frequency = <32768>;
+                       #clock-cells = <0>;
+               };
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;
                        cpu-offset = <0x80000>;
                };
 
+               watchdog@208a038 {
+                       compatible = "qcom,kpss-wdt-apq8064";
+                       reg = <0x0208a038 0x40>;
+                       clocks = <&sleep_clk>;
+                       timeout-sec = <10>;
+               };
+
                acc0: clock-controller@2088000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x02088000 0x1000>, <0x02008000 0x1000>;