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

ARM: dts: da850-lcdk: enable cpufreq

Add a fixed regulator for the da850-lcdk 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
fdf1b274 3975205a

+36
+36
arch/arm/boot/dts/da850-lcdk.dts
··· 155 155 }; 156 156 }; 157 157 }; 158 + 159 + cvdd: regulator0 { 160 + compatible = "regulator-fixed"; 161 + regulator-name = "cvdd"; 162 + regulator-min-microvolt = <1300000>; 163 + regulator-max-microvolt = <1300000>; 164 + regulator-always-on; 165 + regulator-boot-on; 166 + }; 158 167 }; 159 168 160 169 &ref_clk { 161 170 clock-frequency = <24000000>; 171 + }; 172 + 173 + &cpu { 174 + cpu-supply = <&cvdd>; 175 + }; 176 + 177 + /* 178 + * LCDK has a fixed CVDD of 1.3V, so only operating points >= 300MHz are 179 + * valid. Unfortunately due to a problem with the DA8XX OHCI controller, we 180 + * can't enable more than one OPP by default, since the controller sometimes 181 + * becomes unresponsive after a transition. Fix the frequency at 456 MHz. 182 + */ 183 + 184 + &opp_100 { 185 + status = "disabled"; 186 + }; 187 + 188 + &opp_200 { 189 + status = "disabled"; 190 + }; 191 + 192 + &opp_300 { 193 + status = "disabled"; 194 + }; 195 + 196 + &opp_456 { 197 + status = "okay"; 162 198 }; 163 199 164 200 &pmx_core {