From 71d7b33c3b3a898bb0c2a97ac1a17b84611e5cab Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Fri, 30 Jun 2017 13:58:02 +0200 Subject: imx7d-colibri: limit to 800 mhz and 1 ghz operating points Copy operating points from imx7d.dtsi removing unsupported 1.2 ghz one. This fixes the following run time error: [ 2.002793] DCDC2: unsupportable voltage range: 1225000-1100000uV [ 2.010618] DCDC2: unsupportable voltage range: 1225000-1100000uV [ 2.018391] cpu cpu0: failed to scale vddarm up: -22 [ 2.025083] cpufreq: __target_index: Failed to change cpu frequency: -22 Signed-off-by: Marcel Ziswiler Acked-by: Dominik Sliwa --- arch/arm/boot/dts/imx7d-colibri.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx7d-colibri.dtsi b/arch/arm/boot/dts/imx7d-colibri.dtsi index 5cf4ed11e50b..65c110f84636 100644 --- a/arch/arm/boot/dts/imx7d-colibri.dtsi +++ b/arch/arm/boot/dts/imx7d-colibri.dtsi @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Toradex AG + * Copyright (C) 2016-2017 Toradex AG * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -10,10 +10,19 @@ #include "imx7-colibri.dtsi" / { - memory { reg = <0x80000000 0x20000000>; }; + + cpus { + cpu0: cpu@0 { + operating-points = < + /* KHz uV */ + 996000 1075000 + 792000 975000 + >; + }; + }; }; &usbotg2 { -- cgit v1.2.3