Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 28 additions & 10 deletions arch/arm64/boot/dts/apple/t6002.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
next-level-cache = <&l2_cache_3>;
i-cache-size = <0x20000>;
d-cache-size = <0x10000>;
operating-points-v2 = <&icestorm_opp>;
operating-points-v2 = <&icestorm_e1_opp>;
capacity-dmips-mhz = <714>;
performance-domains = <&cpufreq_e_die1>;
};
Expand All @@ -93,7 +93,7 @@
next-level-cache = <&l2_cache_3>;
i-cache-size = <0x20000>;
d-cache-size = <0x10000>;
operating-points-v2 = <&icestorm_opp>;
operating-points-v2 = <&icestorm_e1_opp>;
capacity-dmips-mhz = <714>;
performance-domains = <&cpufreq_e_die1>;
};
Expand All @@ -107,7 +107,7 @@
next-level-cache = <&l2_cache_4>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p2_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0_die1>;
};
Expand All @@ -121,7 +121,7 @@
next-level-cache = <&l2_cache_4>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p2_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0_die1>;
};
Expand All @@ -135,7 +135,7 @@
next-level-cache = <&l2_cache_4>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p2_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0_die1>;
};
Expand All @@ -149,7 +149,7 @@
next-level-cache = <&l2_cache_4>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p2_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0_die1>;
};
Expand All @@ -163,7 +163,7 @@
next-level-cache = <&l2_cache_5>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p3_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1_die1>;
};
Expand All @@ -177,7 +177,7 @@
next-level-cache = <&l2_cache_5>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p3_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1_die1>;
};
Expand All @@ -191,7 +191,7 @@
next-level-cache = <&l2_cache_5>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p3_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1_die1>;
};
Expand All @@ -205,7 +205,7 @@
next-level-cache = <&l2_cache_5>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p3_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1_die1>;
};
Expand All @@ -232,6 +232,24 @@
};
};

icestorm_e1_opp: opp-table-e1 {
compatible = "operating-points-v2";
opp-shared;
#include "t600x-icestorm-opp.dtsi"
};

firestorm_p2_opp: opp-table-p2 {
compatible = "operating-points-v2";
opp-shared;
#include "t600x-firestorm-opp.dtsi"
};

firestorm_p3_opp: opp-table-p3 {
compatible = "operating-points-v2";
opp-shared;
#include "t600x-firestorm-opp.dtsi"
};

die0: soc@200000000 {
compatible = "simple-bus";
#address-cells = <2>;
Expand Down
157 changes: 21 additions & 136 deletions arch/arm64/boot/dts/apple/t600x-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
next-level-cache = <&l2_cache_0>;
i-cache-size = <0x20000>;
d-cache-size = <0x10000>;
operating-points-v2 = <&icestorm_opp>;
operating-points-v2 = <&icestorm_e0_opp>;
capacity-dmips-mhz = <714>;
performance-domains = <&cpufreq_e>;
};
Expand All @@ -86,7 +86,7 @@
next-level-cache = <&l2_cache_0>;
i-cache-size = <0x20000>;
d-cache-size = <0x10000>;
operating-points-v2 = <&icestorm_opp>;
operating-points-v2 = <&icestorm_e0_opp>;
capacity-dmips-mhz = <714>;
performance-domains = <&cpufreq_e>;
};
Expand All @@ -100,7 +100,7 @@
next-level-cache = <&l2_cache_1>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p0_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0>;
};
Expand All @@ -114,7 +114,7 @@
next-level-cache = <&l2_cache_1>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p0_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0>;
};
Expand All @@ -128,7 +128,7 @@
next-level-cache = <&l2_cache_1>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p0_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0>;
};
Expand All @@ -142,7 +142,7 @@
next-level-cache = <&l2_cache_1>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p0_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p0>;
};
Expand All @@ -156,7 +156,7 @@
next-level-cache = <&l2_cache_2>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p1_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1>;
};
Expand All @@ -170,7 +170,7 @@
next-level-cache = <&l2_cache_2>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p1_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1>;
};
Expand All @@ -184,7 +184,7 @@
next-level-cache = <&l2_cache_2>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p1_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1>;
};
Expand All @@ -198,7 +198,7 @@
next-level-cache = <&l2_cache_2>;
i-cache-size = <0x30000>;
d-cache-size = <0x20000>;
operating-points-v2 = <&firestorm_opp>;
operating-points-v2 = <&firestorm_p1_opp>;
capacity-dmips-mhz = <1024>;
performance-domains = <&cpufreq_p1>;
};
Expand All @@ -225,137 +225,22 @@
};
};

icestorm_opp: opp-table-0 {
icestorm_e0_opp: opp-table-e0 {
compatible = "operating-points-v2";

opp01 {
opp-hz = /bits/ 64 <600000000>;
opp-level = <1>;
clock-latency-ns = <7500>;
opp-microwatt = <47296>;
};
opp02 {
opp-hz = /bits/ 64 <972000000>;
opp-level = <2>;
clock-latency-ns = <23000>;
opp-microwatt = <99715>;
};
opp03 {
opp-hz = /bits/ 64 <1332000000>;
opp-level = <3>;
clock-latency-ns = <29000>;
opp-microwatt = <188860>;
};
opp04 {
opp-hz = /bits/ 64 <1704000000>;
opp-level = <4>;
clock-latency-ns = <40000>;
opp-microwatt = <288891>;
};
opp05 {
opp-hz = /bits/ 64 <2064000000>;
opp-level = <5>;
clock-latency-ns = <50000>;
opp-microwatt = <412979>;
};
opp-shared;
#include "t600x-icestorm-opp.dtsi"
};

firestorm_opp: opp-table-1 {
firestorm_p0_opp: opp-table-p0 {
compatible = "operating-points-v2";
opp-shared;
#include "t600x-firestorm-opp.dtsi"
};

opp01 {
opp-hz = /bits/ 64 <600000000>;
opp-level = <1>;
clock-latency-ns = <8000>;
opp-microwatt = <290230>;
};
opp02 {
opp-hz = /bits/ 64 <828000000>;
opp-level = <2>;
clock-latency-ns = <18000>;
opp-microwatt = <449013>;
};
opp03 {
opp-hz = /bits/ 64 <1056000000>;
opp-level = <3>;
clock-latency-ns = <19000>;
opp-microwatt = <647097>;
};
opp04 {
opp-hz = /bits/ 64 <1296000000>;
opp-level = <4>;
clock-latency-ns = <23000>;
opp-microwatt = <865620>;
};
opp05 {
opp-hz = /bits/ 64 <1524000000>;
opp-level = <5>;
clock-latency-ns = <24000>;
opp-microwatt = <1112838>;
};
opp06 {
opp-hz = /bits/ 64 <1752000000>;
opp-level = <6>;
clock-latency-ns = <28000>;
opp-microwatt = <1453271>;
};
opp07 {
opp-hz = /bits/ 64 <1980000000>;
opp-level = <7>;
clock-latency-ns = <31000>;
opp-microwatt = <1776667>;
};
opp08 {
opp-hz = /bits/ 64 <2208000000>;
opp-level = <8>;
clock-latency-ns = <45000>;
opp-microwatt = <2366690>;
};
opp09 {
opp-hz = /bits/ 64 <2448000000>;
opp-level = <9>;
clock-latency-ns = <49000>;
opp-microwatt = <2892193>;
};
opp10 {
opp-hz = /bits/ 64 <2676000000>;
opp-level = <10>;
clock-latency-ns = <53000>;
opp-microwatt = <3475417>;
};
opp11 {
opp-hz = /bits/ 64 <2904000000>;
opp-level = <11>;
clock-latency-ns = <56000>;
opp-microwatt = <3959410>;
};
opp12 {
opp-hz = /bits/ 64 <3036000000>;
opp-level = <12>;
clock-latency-ns = <56000>;
opp-microwatt = <4540620>;
};
opp13 {
opp-hz = /bits/ 64 <3132000000>;
opp-level = <13>;
clock-latency-ns = <56000>;
opp-microwatt = <4745031>;
turbo-mode;
};
opp14 {
opp-hz = /bits/ 64 <3168000000>;
opp-level = <14>;
clock-latency-ns = <56000>;
opp-microwatt = <4822390>;
turbo-mode;
};
opp15 {
opp-hz = /bits/ 64 <3228000000>;
opp-level = <15>;
clock-latency-ns = <56000>;
opp-microwatt = <4951324>;
turbo-mode;
};
firestorm_p1_opp: opp-table-p1 {
compatible = "operating-points-v2";
opp-shared;
#include "t600x-firestorm-opp.dtsi"
};

gpu_opp: opp-table-gpu {
Expand Down
Loading
Loading