summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/mstar-infinity2m.dtsi
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@gmail.com>2021-11-30 18:54:49 +0100
committerRomain Perier <romain.perier@gmail.com>2022-02-16 19:27:48 +0100
commit344118c3ee4e9083c678d8393c539daf917e3b33 (patch)
tree47a9194e11b4f6a8990b68931d9fd888c2649012 /arch/arm/boot/dts/mstar-infinity2m.dtsi
parentARM: mstar: Add OPP table for infinity3 (diff)
downloadlinux-344118c3ee4e9083c678d8393c539daf917e3b33.tar.xz
linux-344118c3ee4e9083c678d8393c539daf917e3b33.zip
ARM: mstar: Extend opp_table for infinity2m
infinity2m are running up to 1.2Ghz, this extends opp_table with the corresponding frequencies and enable operating-points table for cpu1 Signed-off-by: Romain Perier <romain.perier@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/mstar-infinity2m.dtsi')
-rw-r--r--arch/arm/boot/dts/mstar-infinity2m.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi
index dc339cd29778..1b485efd7156 100644
--- a/arch/arm/boot/dts/mstar-infinity2m.dtsi
+++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi
@@ -6,10 +6,25 @@
#include "mstar-infinity.dtsi"
+&cpu0_opp_table {
+ opp-1000000000 {
+ opp-hz = /bits/ 64 <1000000000>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <300000>;
+ };
+
+ opp-1200000000 {
+ opp-hz = /bits/ 64 <1200000000>;
+ opp-microvolt = <1000000>;
+ clock-latency-ns = <300000>;
+ };
+};
+
&cpus {
cpu1: cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a7";
+ operating-points-v2 = <&cpu0_opp_table>;
reg = <0x1>;
clocks = <&cpupll>;
clock-names = "cpuclk";