Commit 9260918d authored by James Liao's avatar James Liao Committed by Matthias Brugger
Browse files

arm64: dts: mt8192: Add cpu-idle-states

parent 9e1b7d00
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ cpu0: cpu@0 {
			reg = <0x000>;
			enable-method = "psci";
			clock-frequency = <1701000000>;
			cpu-idle-states = <&cpuoff_l &clusteroff_l>;
			next-level-cache = <&l2_0>;
			capacity-dmips-mhz = <530>;
		};
@@ -49,6 +50,7 @@ cpu1: cpu@100 {
			reg = <0x100>;
			enable-method = "psci";
			clock-frequency = <1701000000>;
			cpu-idle-states = <&cpuoff_l &clusteroff_l>;
			next-level-cache = <&l2_0>;
			capacity-dmips-mhz = <530>;
		};
@@ -59,6 +61,7 @@ cpu2: cpu@200 {
			reg = <0x200>;
			enable-method = "psci";
			clock-frequency = <1701000000>;
			cpu-idle-states = <&cpuoff_l &clusteroff_l>;
			next-level-cache = <&l2_0>;
			capacity-dmips-mhz = <530>;
		};
@@ -69,6 +72,7 @@ cpu3: cpu@300 {
			reg = <0x300>;
			enable-method = "psci";
			clock-frequency = <1701000000>;
			cpu-idle-states = <&cpuoff_l &clusteroff_l>;
			next-level-cache = <&l2_0>;
			capacity-dmips-mhz = <530>;
		};
@@ -79,6 +83,7 @@ cpu4: cpu@400 {
			reg = <0x400>;
			enable-method = "psci";
			clock-frequency = <2171000000>;
			cpu-idle-states = <&cpuoff_b &clusteroff_b>;
			next-level-cache = <&l2_1>;
			capacity-dmips-mhz = <1024>;
		};
@@ -89,6 +94,7 @@ cpu5: cpu@500 {
			reg = <0x500>;
			enable-method = "psci";
			clock-frequency = <2171000000>;
			cpu-idle-states = <&cpuoff_b &clusteroff_b>;
			next-level-cache = <&l2_1>;
			capacity-dmips-mhz = <1024>;
		};
@@ -99,6 +105,7 @@ cpu6: cpu@600 {
			reg = <0x600>;
			enable-method = "psci";
			clock-frequency = <2171000000>;
			cpu-idle-states = <&cpuoff_b &clusteroff_b>;
			next-level-cache = <&l2_1>;
			capacity-dmips-mhz = <1024>;
		};
@@ -109,6 +116,7 @@ cpu7: cpu@700 {
			reg = <0x700>;
			enable-method = "psci";
			clock-frequency = <2171000000>;
			cpu-idle-states = <&cpuoff_b &clusteroff_b>;
			next-level-cache = <&l2_1>;
			capacity-dmips-mhz = <1024>;
		};
@@ -158,6 +166,42 @@ l2_1: l2-cache1 {
		l3_0: l3-cache {
			compatible = "cache";
		};

		idle-states {
			entry-method = "arm,psci";
			cpuoff_l: cpuoff_l {
				compatible = "arm,idle-state";
				arm,psci-suspend-param = <0x00010001>;
				local-timer-stop;
				entry-latency-us = <55>;
				exit-latency-us = <140>;
				min-residency-us = <780>;
			};
			cpuoff_b: cpuoff_b {
				compatible = "arm,idle-state";
				arm,psci-suspend-param = <0x00010001>;
				local-timer-stop;
				entry-latency-us = <35>;
				exit-latency-us = <145>;
				min-residency-us = <720>;
			};
			clusteroff_l: clusteroff_l {
				compatible = "arm,idle-state";
				arm,psci-suspend-param = <0x01010002>;
				local-timer-stop;
				entry-latency-us = <60>;
				exit-latency-us = <155>;
				min-residency-us = <860>;
			};
			clusteroff_b: clusteroff_b {
				compatible = "arm,idle-state";
				arm,psci-suspend-param = <0x01010002>;
				local-timer-stop;
				entry-latency-us = <40>;
				exit-latency-us = <155>;
				min-residency-us = <780>;
			};
		};
	};

	pmu-a55 {