diff options
author | David Lechner <david@lechnology.com> | 2019-05-27 10:22:56 +0200 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2019-06-14 18:22:37 +0530 |
commit | 3975205ac334373efe65641482ef42ff3fec80af (patch) | |
tree | 219f158f9e14e764ac4765fbe2c107a1f98f5a69 /arch/arm/boot/dts/da850-lego-ev3.dts | |
parent | 3be5c7425fd2869f438e179ba54b03619a545977 (diff) | |
download | linux-3975205ac334373efe65641482ef42ff3fec80af.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/boot/dts/da850-lego-ev3.dts')
-rw-r--r-- | arch/arm/boot/dts/da850-lego-ev3.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts index 66fcadf0ba91..553717f84483 100644 --- a/arch/arm/boot/dts/da850-lego-ev3.dts +++ b/arch/arm/boot/dts/da850-lego-ev3.dts @@ -125,6 +125,15 @@ amp-supply = <&>; }; + cvdd: regulator0 { + compatible = "regulator-fixed"; + regulator-name = "cvdd"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + regulator-boot-on; + }; + /* * This is a 5V current limiting regulator that is shared by USB, * the sensor (input) ports, the motor (output) ports and the A/DC. @@ -204,6 +213,27 @@ clock-frequency = <24000000>; }; +&cpu { + cpu-supply = <&cvdd>; +}; + +/* since we have a fixed regulator, we can't run at these points */ +&opp_100 { + status = "disabled"; +}; + +&opp_200 { + status = "disabled"; +}; + +/* + * The SoC is actually the 456MHz version, but because of the fixed regulator + * This is the fastest we can go. + */ +&opp_375 { + status = "okay"; +}; + &pmx_core { status = "okay"; |