Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: da850-lego-ev3: enable cpufreq

Add a fixed regulator for the LEGO EV3 board along with board-specific
CPU configuration.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

authored by

David Lechner and committed by
Sekhar Nori
3975205a 3be5c742

+30
+30
arch/arm/boot/dts/da850-lego-ev3.dts
··· 125 125 amp-supply = <&amp>; 126 126 }; 127 127 128 + cvdd: regulator0 { 129 + compatible = "regulator-fixed"; 130 + regulator-name = "cvdd"; 131 + regulator-min-microvolt = <1200000>; 132 + regulator-max-microvolt = <1200000>; 133 + regulator-always-on; 134 + regulator-boot-on; 135 + }; 136 + 128 137 /* 129 138 * This is a 5V current limiting regulator that is shared by USB, 130 139 * the sensor (input) ports, the motor (output) ports and the A/DC. ··· 211 202 212 203 &ref_clk { 213 204 clock-frequency = <24000000>; 205 + }; 206 + 207 + &cpu { 208 + cpu-supply = <&cvdd>; 209 + }; 210 + 211 + /* since we have a fixed regulator, we can't run at these points */ 212 + &opp_100 { 213 + status = "disabled"; 214 + }; 215 + 216 + &opp_200 { 217 + status = "disabled"; 218 + }; 219 + 220 + /* 221 + * The SoC is actually the 456MHz version, but because of the fixed regulator 222 + * This is the fastest we can go. 223 + */ 224 + &opp_375 { 225 + status = "okay"; 214 226 }; 215 227 216 228 &pmx_core {