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>
Thu, 14 May 2015 05:42:54 +0000 (14:42 +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 7e728a1b55590abe15e89d109ad0433a86785f17..c64cec305ffdbce1ca9836de1aeaf25903f5e0df 100644 (file)
        status = "okay";
        samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
 };
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index bc27cc2558fe6518ad990b12a090fb8c7f008f5a..d91db82d8c9db995256fdc81366faa2c93e24223 100644 (file)
                };
        };
 };
+
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
index b9aeec430527e3afd5aeb2c2b1af8f3a1b102682..d6e5e89db40b8ca922bbab8703f9d72a79e79d63 100644 (file)
        vdd_pll-supply = <&ldo8_reg>;
 };
 
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
+
 &i2c_0 {
        status = "okay";
        samsung,i2c-sda-delay = <100>;
index f02775487cd4d3d20925afb84da693f92ad13e1e..bf5b82a66019c8f7de4acfad4788b30bba14ba3c 100644 (file)
        vdd_pll-supply = <&ldo8_reg>;
 };
 
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
+
 &i2c_0 {
        status = "okay";
        samsung,i2c-sda-delay = <100>;
index 689aa2ce3759304afbeb1e2a06991121462c4601..b395da755302a5df15e42e4318bb0bcd0850c20a 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 */