ARM: dts: Exynos4x12: add CPU OPP and regulator supply property
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 10 Apr 2015 17:59:00 +0000 (19:59 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 14 May 2015 05:42:53 +0000 (14:42 +0900)
For Exynos4x12 platforms, add CPU operating points and CPU
regulator supply properties for migrating from Exynos specific
cpufreq driver to using generic cpufreq driver.

Based on the earlier work by Thomas Abraham.

Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: Andreas Faerber <afaerber@suse.de>
Cc: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Andreas Farber <afaerber@suse.de>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
arch/arm/boot/dts/exynos4212.dtsi
arch/arm/boot/dts/exynos4412-odroid-common.dtsi
arch/arm/boot/dts/exynos4412-origen.dts
arch/arm/boot/dts/exynos4412-trats2.dts
arch/arm/boot/dts/exynos4412.dtsi

index 5be0328..f97e4b5 100644 (file)
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0xA00>;
+                       clocks = <&clock CLK_ARM_CLK>;
+                       clock-names = "cpu";
+
+                       operating-points = <
+                               1400000 1287500
+                               1300000 1250000
+                               1200000 1187500
+                               1100000 1137500
+                               1000000 1087500
+                                900000 1037500
+                                800000 1000000
+                                700000  987500
+                                600000  975000
+                                500000  950000
+                                400000  925000
+                                300000  900000
+                                200000  900000
+                       >;
+                       boost-opps = <
+                               1500000 1350000
+                       >;
+                       clock-latency = <200000>;
                        cooling-min-level = <13>;
                        cooling-max-level = <7>;
                        #cooling-cells = <2>; /* min followed by max */
index 8b28c28..c252212 100644 (file)
                samsung,pin-pud = <1>;
        };
 };
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index bd8b730..a9c957c 100644 (file)
                };
        };
 };
+
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index 173ffa4..47f9b47 100644 (file)
                PIN_SLP(gpv4-0, INPUT, DOWN);
        };
 };
+
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index 68ad43b..903981e 100644 (file)
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0xA00>;
+                       clocks = <&clock CLK_ARM_CLK>;
+                       clock-names = "cpu";
+
+                       operating-points = <
+                               1400000 1287500
+                               1300000 1250000
+                               1200000 1187500
+                               1100000 1137500
+                               1000000 1087500
+                                900000 1037500
+                                800000 1000000
+                                700000  987500
+                                600000  975000
+                                500000  950000
+                                400000  925000
+                                300000  900000
+                                200000  900000
+                       >;
+                       boost-opps = <
+                               1500000 1350000
+                       >;
+                       clock-latency = <200000>;
                        cooling-min-level = <13>;
                        cooling-max-level = <7>;
                        #cooling-cells = <2>; /* min followed by max */