diff options
author | Denys Drozdov <denys.drozdov@toradex.com> | 2021-12-23 17:38:51 +0200 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-12-28 14:07:40 +0200 |
commit | f2a93dd21698bae047152472aa052d0157b58ef0 (patch) | |
tree | 718192be569ec6bd88c1a2d8f4fdf474a177a604 | |
parent | 05a40bd77ab83451bd4d96e1e1d09850f11cfd06 (diff) |
ARM: dts: imx7s: Defined operating points table for cpufreq
Processor operating points for imx7s.dtsi should be properly
defined to perform correct imx-cpufreq-dt probe and registration
and provide an access to the cpufreq and temperature sensors.
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
-rw-r--r-- | arch/arm/boot/dts/imx7s.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index d7aa4fd4ef27..8e7f13f807e7 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -74,6 +74,22 @@ clock-latency = <61036>; /* two CLK32 periods */ clocks = <&clks IMX7D_CLK_ARM>; cpu-idle-states = <&cpu_sleep_wait>; + operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; + nvmem-cells = <&cpu_speed_grade>; + nvmem-cell-names = "speed_grade"; + }; + }; + + cpu0_opp_table: opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp-792000000 { + opp-hz = /bits/ 64 <792000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <150000>; + opp-supported-hw = <0xf>, <0xf>; }; }; |