dts: add devicetree bindings for pxa27x clocks
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 30 Jul 2014 20:51:03 +0000 (22:51 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 30 Sep 2014 19:31:31 +0000 (12:31 -0700)
Add the clock tree description for the PXA27x based boards.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
arch/arm/boot/dts/pxa27x.dtsi

index a7054694598594cb91aefb77b791c6f3f1706018..80fc5d7e9ef9685cc04fb8771f6205aaeaf5932a 100644 (file)
@@ -1,5 +1,6 @@
 /* The pxa3xx skeleton simply augments the 2xx version */
-/include/ "pxa2xx.dtsi"
+#include "pxa2xx.dtsi"
+#include "dt-bindings/clock/pxa2xx-clock.h"
 
 / {
        model = "Marvell PXA27x familiy SoC";
                        #pwm-cells = <1>;
                };
        };
+
+       clocks {
+              /*
+               * The muxing of external clocks/internal dividers for osc* clock
+               * sources has been hidden under the carpet by now.
+               */
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               pxa2xx_clks: pxa2xx_clks@41300004 {
+                       compatible = "marvell,pxa-clocks";
+                       #clock-cells = <1>;
+                       status = "okay";
+               };
+       };
+
 };