Connect the Meta core clock to the root DT node so that the precise rate
of the Meta timer can be determined.

Signed-off-by: James Hogan <james.ho...@imgtec.com>
Cc: Mike Turquette <mturque...@linaro.org>
Cc: Rob Herring <robh...@kernel.org>
Cc: Pawel Moll <pawel.m...@arm.com>
Cc: Mark Rutland <mark.rutl...@arm.com>
Cc: Ian Campbell <ijc+devicet...@hellion.org.uk>
Cc: Kumar Gala <ga...@codeaurora.org>
Cc: linux-metag@vger.kernel.org
Cc: devicet...@vger.kernel.org
---
Changes since v1 (patch 15):
- Split out linking of Meta core clock in DT into this new patch.
---
 arch/metag/boot/dts/tz1090.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/metag/boot/dts/tz1090.dtsi b/arch/metag/boot/dts/tz1090.dtsi
index 48aa8b1..9b37642 100644
--- a/arch/metag/boot/dts/tz1090.dtsi
+++ b/arch/metag/boot/dts/tz1090.dtsi
@@ -16,6 +16,9 @@
 
        interrupt-parent = <&intc>;
 
+       clocks = <&top_clks CLK_TOP_META>;
+       clock-names = "core";
+
        intc: interrupt-controller {
                compatible = "img,meta-intc";
                interrupt-controller;
-- 
2.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-metag" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to