1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2016-2017 Fuzhou Rockchip Ele 4 */ 5 6 #include "rk3399.dtsi" 7 8 / { 9 cluster0_opp: opp-table-0 { 10 compatible = "operating-points 11 opp-shared; 12 13 opp00 { 14 opp-hz = /bits/ 64 <40 15 opp-microvolt = <80000 16 clock-latency-ns = <40 17 }; 18 opp01 { 19 opp-hz = /bits/ 64 <60 20 opp-microvolt = <82500 21 }; 22 opp02 { 23 opp-hz = /bits/ 64 <81 24 opp-microvolt = <85000 25 }; 26 opp03 { 27 opp-hz = /bits/ 64 <10 28 opp-microvolt = <90000 29 }; 30 opp04 { 31 opp-hz = /bits/ 64 <12 32 opp-microvolt = <97500 33 }; 34 opp05 { 35 opp-hz = /bits/ 64 <14 36 opp-microvolt = <11000 37 }; 38 opp06 { 39 opp-hz = /bits/ 64 <15 40 opp-microvolt = <11500 41 }; 42 }; 43 44 cluster1_opp: opp-table-1 { 45 compatible = "operating-points 46 opp-shared; 47 48 opp00 { 49 opp-hz = /bits/ 64 <40 50 opp-microvolt = <80000 51 clock-latency-ns = <40 52 }; 53 opp01 { 54 opp-hz = /bits/ 64 <60 55 opp-microvolt = <80000 56 }; 57 opp02 { 58 opp-hz = /bits/ 64 <81 59 opp-microvolt = <82500 60 }; 61 opp03 { 62 opp-hz = /bits/ 64 <10 63 opp-microvolt = <85000 64 }; 65 opp04 { 66 opp-hz = /bits/ 64 <12 67 opp-microvolt = <90000 68 }; 69 opp05 { 70 opp-hz = /bits/ 64 <14 71 opp-microvolt = <97500 72 }; 73 opp06 { 74 opp-hz = /bits/ 64 <16 75 opp-microvolt = <10500 76 }; 77 opp07 { 78 opp-hz = /bits/ 64 <18 79 opp-microvolt = <11500 80 }; 81 opp08 { 82 opp-hz = /bits/ 64 <20 83 opp-microvolt = <12500 84 }; 85 }; 86 87 gpu_opp_table: opp-table-2 { 88 compatible = "operating-points 89 90 opp00 { 91 opp-hz = /bits/ 64 <20 92 opp-microvolt = <80000 93 }; 94 opp01 { 95 opp-hz = /bits/ 64 <29 96 opp-microvolt = <80000 97 }; 98 opp02 { 99 opp-hz = /bits/ 64 <40 100 opp-microvolt = <82500 101 }; 102 opp03 { 103 opp-hz = /bits/ 64 <50 104 opp-microvolt = <85000 105 }; 106 opp04 { 107 opp-hz = /bits/ 64 <60 108 opp-microvolt = <92500 109 }; 110 opp05 { 111 opp-hz = /bits/ 64 <80 112 opp-microvolt = <10750 113 }; 114 }; 115 116 dmc_opp_table: opp-table-3 { 117 compatible = "operating-points 118 119 opp00 { 120 opp-hz = /bits/ 64 <40 121 opp-microvolt = <90000 122 }; 123 opp01 { 124 opp-hz = /bits/ 64 <66 125 opp-microvolt = <90000 126 }; 127 opp02 { 128 opp-hz = /bits/ 64 <80 129 opp-microvolt = <90000 130 }; 131 opp03 { 132 opp-hz = /bits/ 64 <92 133 opp-microvolt = <92500 134 }; 135 }; 136 }; 137 138 &cpu_l0 { 139 operating-points-v2 = <&cluster0_opp>; 140 }; 141 142 &cpu_l1 { 143 operating-points-v2 = <&cluster0_opp>; 144 }; 145 146 &cpu_l2 { 147 operating-points-v2 = <&cluster0_opp>; 148 }; 149 150 &cpu_l3 { 151 operating-points-v2 = <&cluster0_opp>; 152 }; 153 154 &cpu_b0 { 155 operating-points-v2 = <&cluster1_opp>; 156 }; 157 158 &cpu_b1 { 159 operating-points-v2 = <&cluster1_opp>; 160 }; 161 162 &dmc { 163 operating-points-v2 = <&dmc_opp_table> 164 }; 165 166 &gpu { 167 operating-points-v2 = <&gpu_opp_table> 168 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.