OSDN Git Service

ARM: dts: imx53: add cpufreq-dt support
authorLucas Stach <l.stach@pengutronix.de>
Fri, 26 Sep 2014 13:41:03 +0000 (15:41 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 23 Nov 2014 07:08:06 +0000 (15:08 +0800)
Add all required properties for the cpufreq-dt driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx53.dtsi

index 2a5012a..a30bddf 100644 (file)
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               cpu@0 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a8";
                        reg = <0x0>;
+                       clocks = <&clks IMX5_CLK_ARM>;
+                       clock-latency = <61036>;
+                       voltage-tolerance = <5>;
+                       operating-points = <
+                               /* kHz */
+                                166666  850000
+                                400000  900000
+                                800000 1050000
+                               1000000 1200000
+                               1200000 1300000
+                       >;
                };
        };