Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
69 lines
1.4 KiB
Devicetree
69 lines
1.4 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
/*
|
|
* Apple S8003 "A9" (TSMC) SoC
|
|
*
|
|
* Other names: H8P, "Malta"
|
|
*
|
|
* Copyright (c) 2024, Nick Chan <towinchenmi@gmail.com>
|
|
*/
|
|
|
|
#include "s800-0-3.dtsi"
|
|
|
|
/ {
|
|
twister_opp: opp-table {
|
|
compatible = "operating-points-v2";
|
|
|
|
opp01 {
|
|
opp-hz = /bits/ 64 <300000000>;
|
|
opp-level = <1>;
|
|
clock-latency-ns = <500>;
|
|
};
|
|
opp02 {
|
|
opp-hz = /bits/ 64 <396000000>;
|
|
opp-level = <2>;
|
|
clock-latency-ns = <45000>;
|
|
};
|
|
opp03 {
|
|
opp-hz = /bits/ 64 <600000000>;
|
|
opp-level = <3>;
|
|
clock-latency-ns = <22000>;
|
|
};
|
|
opp04 {
|
|
opp-hz = /bits/ 64 <912000000>;
|
|
opp-level = <4>;
|
|
clock-latency-ns = <25000>;
|
|
};
|
|
opp05 {
|
|
opp-hz = /bits/ 64 <1200000000>;
|
|
opp-level = <5>;
|
|
clock-latency-ns = <28000>;
|
|
};
|
|
opp06 {
|
|
opp-hz = /bits/ 64 <1512000000>;
|
|
opp-level = <6>;
|
|
clock-latency-ns = <35000>;
|
|
};
|
|
opp07 {
|
|
opp-hz = /bits/ 64 <1800000000>;
|
|
opp-level = <7>;
|
|
clock-latency-ns = <38000>;
|
|
};
|
|
#if 0
|
|
/* Not available until CPU deep sleep is implemented */
|
|
opp08 {
|
|
opp-hz = /bits/ 64 <1844000000>;
|
|
opp-level = <8>;
|
|
clock-latency-ns = <38000>;
|
|
turbo-mode;
|
|
};
|
|
#endif
|
|
};
|
|
};
|
|
|
|
/*
|
|
* The A9 was made by two separate fabs on two different process
|
|
* nodes: Samsung made the S8000 (APL0898) on 14nm and TSMC made
|
|
* the S8003 (APL1022) on 16nm. There are some minor differences
|
|
* such as timing in cpufreq state transistions.
|
|
*/
|