ARM: dts: Add CPU OPP and regulator supply property for exynos3250
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 24 Jul 2015 03:55:21 +0000 (12:55 +0900)
committerKukjin Kim <kgene@kernel.org>
Thu, 13 Aug 2015 17:06:09 +0000 (02:06 +0900)
This patch add CPU operating points which include CPU frequency and
regulator voltage to use generic cpufreq drivers.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos3250-monk.dts
arch/arm/boot/dts/exynos3250-rinato.dts
arch/arm/boot/dts/exynos3250.dtsi

index a5863acc5fff36aa28e1be183a85fc37883cd186..7863265d4868fe96f1425483e0500d9294e9d558 100644 (file)
        };
 };
 
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
+
 &exynos_usbphy {
        status = "okay";
 };
index 031853b75528c1043451d9c3fc02adc107f5e325..ddd7ac283045f2b379594ff257d0cd5ccba3b532 100644 (file)
        };
 };
 
+&cpu0 {
+       cpu0-supply = <&buck2_reg>;
+};
+
 &exynos_usbphy {
        status = "okay";
 };
index 2db99433e17fdad0299b672ae87e49b6444a457e..9e58a2322a2dc8833ec2ba9e8810e2c9f6483fab 100644 (file)
                        compatible = "arm,cortex-a7";
                        reg = <0>;
                        clock-frequency = <1000000000>;
+                       clocks = <&cmu CLK_ARM_CLK>;
+                       clock-names = "cpu";
+
+                       operating-points = <
+                               1000000 1150000
+                               900000  1112500
+                               800000  1075000
+                               700000  1037500
+                               600000  1000000
+                               500000  962500
+                               400000  925000
+                               300000  887500
+                               200000  850000
+                               100000  850000
+                       >;
                };
 
                cpu1: cpu@1 {