diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-05-16 07:48:17 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-05-20 15:47:58 +0300 |
commit | bce48c92a641c1f1a4795a37d57168fd08fecc3b (patch) | |
tree | 4e822b267491da7b2042c3ffe256cdd8a24f7d4c /arch/arm/boot/dts/imx7d.dtsi | |
parent | 0f861aad4a934135e61459543c85bc5c0d5b3c6f (diff) | |
download | linux-bce48c92a641c1f1a4795a37d57168fd08fecc3b.tar.xz |
ARM: dts: imx7d: use operating-points-v2 for cpu
This patch uses "operating-points-v2" instead of
"operating-points" to be more fit with cpufreq-dt
driver.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx7d.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx7d.dtsi | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 4c9877ec29f2..f579fe5c9941 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -9,12 +9,8 @@ / { cpus { cpu0: cpu@0 { - operating-points = < - /* KHz uV */ - 996000 1075000 - 792000 975000 - >; clock-frequency = <996000000>; + operating-points-v2 = <&cpu0_opp_table>; }; cpu1: cpu@1 { @@ -22,6 +18,25 @@ device_type = "cpu"; reg = <1>; clock-frequency = <996000000>; + operating-points-v2 = <&cpu0_opp_table>; + }; + }; + + cpu0_opp_table: opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp-792000000 { + opp-hz = /bits/ 64 <792000000>; + opp-microvolt = <975000>; + clock-latency-ns = <150000>; + }; + + opp-996000000 { + opp-hz = /bits/ 64 <996000000>; + opp-microvolt = <1075000>; + clock-latency-ns = <150000>; + opp-suspend; }; }; |