ARM: dts: Exynos5250: add CPU OPP and regulator supply property
authorThomas Abraham <thomas.ab@samsung.com>
Mon, 13 Apr 2015 17:47:00 +0000 (19:47 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:50:16 +0000 (13:50 +0900)
For Exynos5250 platforms, add CPU operating points and CPU
regulator supply properties for migrating from Exynos specific
cpufreq driver to using generic cpufreq driver.

Changes by Bartlomiej:
- split Exynos5250 support from the original patch
- added CPU regulator supply property for Google Spring board

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>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
arch/arm/boot/dts/exynos5250-arndale.dts
arch/arm/boot/dts/exynos5250-smdk5250.dts
arch/arm/boot/dts/exynos5250-snow.dts
arch/arm/boot/dts/exynos5250-spring.dts
arch/arm/boot/dts/exynos5250.dtsi

index 7e728a1..c64cec3 100644 (file)
        status = "okay";
        samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
 };
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index bc27cc2..d91db82 100644 (file)
                };
        };
 };
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index 236b953..0a02c08 100644 (file)
        vdd_pll-supply = <&ldo8_reg>;
 };
 
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
+
 &i2c_0 {
        status = "okay";
        samsung,i2c-sda-delay = <100>;
index 334d989..b5d5f99 100644 (file)
        vdd_pll-supply = <&ldo8_reg>;
 };
 
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
+
 &i2c_0 {
        status = "okay";
        samsung,i2c-sda-delay = <100>;
index 96471ea..664c4f6 100644 (file)
                        compatible = "arm,cortex-a15";
                        reg = <0>;
                        clock-frequency = <1700000000>;
+                       clocks = <&clock CLK_ARM_CLK>;
+                       clock-names = "cpu";
+                       clock-latency = <140000>;
+
+                       operating-points = <
+                               1700000 1300000
+                               1600000 1250000
+                               1500000 1225000
+                               1400000 1200000
+                               1300000 1150000
+                               1200000 1125000
+                               1100000 1100000
+                               1000000 1075000
+                                900000 1050000
+                                800000 1025000
+                                700000 1012500
+                                600000 1000000
+                                500000  975000
+                                400000  950000
+                                300000  937500
+                                200000  925000
+                       >;
                        cooling-min-level = <15>;
                        cooling-max-level = <9>;
                        #cooling-cells = <2>; /* min followed by max */