Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/s8003.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Apple S8003 "A9" (TSMC) SoC
4 *
5 * Other names: H8P, "Malta"
6 *
7 * Copyright (c) 2024, Nick Chan <[email protected]>
8 */
9
10 #include "s800-0-3.dtsi"
11
12 / {
13 twister_opp: opp-table {
14 compatible = "operating-points-v2";
15
16 opp01 {
17 opp-hz = /bits/ 64 <300000000>;
18 opp-level = <1>;
19 clock-latency-ns = <500>;
20 };
21 opp02 {
22 opp-hz = /bits/ 64 <396000000>;
23 opp-level = <2>;
24 clock-latency-ns = <45000>;
25 };
26 opp03 {
27 opp-hz = /bits/ 64 <600000000>;
28 opp-level = <3>;
29 clock-latency-ns = <22000>;
30 };
31 opp04 {
32 opp-hz = /bits/ 64 <912000000>;
33 opp-level = <4>;
34 clock-latency-ns = <25000>;
35 };
36 opp05 {
37 opp-hz = /bits/ 64 <1200000000>;
38 opp-level = <5>;
39 clock-latency-ns = <28000>;
40 };
41 opp06 {
42 opp-hz = /bits/ 64 <1512000000>;
43 opp-level = <6>;
44 clock-latency-ns = <35000>;
45 };
46 opp07 {
47 opp-hz = /bits/ 64 <1800000000>;
48 opp-level = <7>;
49 clock-latency-ns = <38000>;
50 };
51 #if 0
52 /* Not available until CPU deep sleep is implemented */
53 opp08 {
54 opp-hz = /bits/ 64 <1844000000>;
55 opp-level = <8>;
56 clock-latency-ns = <38000>;
57 turbo-mode;
58 };
59 #endif
60 };
61 };
62
63 /*
64 * The A9 was made by two separate fabs on two different process
65 * nodes: Samsung made the S8000 (APL0898) on 14nm and TSMC made
66 * the S8003 (APL1022) on 16nm. There are some minor differences
67 * such as timing in cpufreq state transistions.
68 */