| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2019 BayLibre, SAS |
| 4 |
* Author: Neil Armstrong <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
#include "meson-g12b.dtsi" |
| 8 |
|
| 9 |
/ { |
| 10 |
cpu_opp_table_0: opp-table-0 { |
| 11 |
compatible = "operating-points-v2"; |
| 12 |
opp-shared; |
| 13 |
|
| 14 |
opp-1000000000 { |
| 15 |
opp-hz = /bits/ 64 <1000000000>; |
| 16 |
opp-microvolt = <731000>; |
| 17 |
clock-latency-ns = <50000>; |
| 18 |
}; |
| 19 |
|
| 20 |
opp-1200000000 { |
| 21 |
opp-hz = /bits/ 64 <1200000000>; |
| 22 |
opp-microvolt = <731000>; |
| 23 |
}; |
| 24 |
|
| 25 |
opp-1398000000 { |
| 26 |
opp-hz = /bits/ 64 <1398000000>; |
| 27 |
opp-microvolt = <761000>; |
| 28 |
}; |
| 29 |
|
| 30 |
opp-1512000000 { |
| 31 |
opp-hz = /bits/ 64 <1512000000>; |
| 32 |
opp-microvolt = <791000>; |
| 33 |
}; |
| 34 |
|
| 35 |
opp-1608000000 { |
| 36 |
opp-hz = /bits/ 64 <1608000000>; |
| 37 |
opp-microvolt = <831000>; |
| 38 |
}; |
| 39 |
|
| 40 |
opp-1704000000 { |
| 41 |
opp-hz = /bits/ 64 <1704000000>; |
| 42 |
opp-microvolt = <861000>; |
| 43 |
}; |
| 44 |
|
| 45 |
opp-1896000000 { |
| 46 |
opp-hz = /bits/ 64 <1896000000>; |
| 47 |
opp-microvolt = <981000>; |
| 48 |
}; |
| 49 |
|
| 50 |
opp-1992000000 { |
| 51 |
opp-hz = /bits/ 64 <1992000000>; |
| 52 |
opp-microvolt = <1001000>; |
| 53 |
}; |
| 54 |
}; |
| 55 |
|
| 56 |
cpub_opp_table_1: opp-table-1 { |
| 57 |
compatible = "operating-points-v2"; |
| 58 |
opp-shared; |
| 59 |
|
| 60 |
opp-1000000000 { |
| 61 |
opp-hz = /bits/ 64 <1000000000>; |
| 62 |
opp-microvolt = <771000>; |
| 63 |
clock-latency-ns = <50000>; |
| 64 |
}; |
| 65 |
|
| 66 |
opp-1200000000 { |
| 67 |
opp-hz = /bits/ 64 <1200000000>; |
| 68 |
opp-microvolt = <771000>; |
| 69 |
}; |
| 70 |
|
| 71 |
opp-1398000000 { |
| 72 |
opp-hz = /bits/ 64 <1398000000>; |
| 73 |
opp-microvolt = <791000>; |
| 74 |
}; |
| 75 |
|
| 76 |
opp-1512000000 { |
| 77 |
opp-hz = /bits/ 64 <1512000000>; |
| 78 |
opp-microvolt = <821000>; |
| 79 |
}; |
| 80 |
|
| 81 |
opp-1608000000 { |
| 82 |
opp-hz = /bits/ 64 <1608000000>; |
| 83 |
opp-microvolt = <861000>; |
| 84 |
}; |
| 85 |
|
| 86 |
opp-1704000000 { |
| 87 |
opp-hz = /bits/ 64 <1704000000>; |
| 88 |
opp-microvolt = <891000>; |
| 89 |
}; |
| 90 |
|
| 91 |
opp-1800000000 { |
| 92 |
opp-hz = /bits/ 64 <1800000000>; |
| 93 |
opp-microvolt = <981000>; |
| 94 |
}; |
| 95 |
|
| 96 |
opp-1908000000 { |
| 97 |
opp-hz = /bits/ 64 <1908000000>; |
| 98 |
opp-microvolt = <1022000>; |
| 99 |
}; |
| 100 |
}; |
| 101 |
}; |
| 102 |
|
| 103 |
&cpu0 { |
| 104 |
operating-points-v2 = <&cpu_opp_table_0>; |
| 105 |
}; |
| 106 |
|
| 107 |
&cpu1 { |
| 108 |
operating-points-v2 = <&cpu_opp_table_0>; |
| 109 |
}; |
| 110 |
|
| 111 |
&cpu100 { |
| 112 |
operating-points-v2 = <&cpub_opp_table_1>; |
| 113 |
}; |
| 114 |
|
| 115 |
&cpu101 { |
| 116 |
operating-points-v2 = <&cpub_opp_table_1>; |
| 117 |
}; |
| 118 |
|
| 119 |
&cpu102 { |
| 120 |
operating-points-v2 = <&cpub_opp_table_1>; |
| 121 |
}; |
| 122 |
|
| 123 |
&cpu103 { |
| 124 |
operating-points-v2 = <&cpub_opp_table_1>; |
| 125 |
}; |