ARM: dts: imx6ull: add operating points
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Fri, 29 Jun 2018 14:52:21 +0000 (16:52 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 3 Jul 2018 06:33:25 +0000 (14:33 +0800)
i.MX6ULL has different operating ranges than i.MX6UL so add the
operating points for the i.MX6ULL and remove them from board device
trees. A 25mV offset is added to the minimum allowed values like for the
i.MX6UL.
The valid frequencies are now selected by the cpufreq driver according
to ratings stored in fuses since commit 0aa9abd4c212 ("cpufreq: imx6q:
check speed grades for i.MX6ULL")

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi
arch/arm/boot/dts/imx6ull.dtsi

index 3dffbcd50bf682a452423f5137f441b612e65af2..183193e8580dd12a99f1d14d365fceff892e0853 100644 (file)
 
 &cpu0 {
        clock-frequency = <792000000>;
-       operating-points = <
-               /* kHz  uV */
-               792000  1225000
-               528000  1175000
-               396000  1025000
-               198000  950000
-       >;
-       fsl,soc-operating-points = <
-               /* KHz  uV */
-               792000  1175000
-               528000  1175000
-               396000  1175000
-               198000  1175000
-       >;
 };
 
 &iomuxc {
index 70a28628e9b05dda27badef83a5a6f05af3e96a9..cd1776a7015ac0dc6d10630eb45bc93f816b0aae 100644 (file)
 /* Delete CAAM node in AIPS-2 (i.MX6UL specific) */
 /delete-node/ &crypto;
 
+&cpu0 {
+       operating-points = <
+               /* kHz  uV */
+               900000  1275000
+               792000  1225000
+               528000  1175000
+               396000  1025000
+               198000  950000
+       >;
+       fsl,soc-operating-points = <
+               /* KHz  uV */
+               900000  1175000
+               792000  1175000
+               528000  1175000
+               396000  1175000
+               198000  1175000
+       >;
+};
+
 / {
        soc {
                aips3: aips-bus@2200000 {