1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2016-2017 Fuzhou Rockchip Ele 4 * Copyright (c) 2022 Radxa Limited 5 */ 6 7 #include "rk3399-base.dtsi" 8 9 / { 10 cluster0_opp: opp-table-0 { 11 compatible = "operating-points 12 opp-shared; 13 14 opp00 { 15 opp-hz = /bits/ 64 <40 16 opp-microvolt = <87500 17 clock-latency-ns = <40 18 }; 19 opp01 { 20 opp-hz = /bits/ 64 <60 21 opp-microvolt = <87500 22 }; 23 opp02 { 24 opp-hz = /bits/ 64 <81 25 opp-microvolt = <90000 26 }; 27 opp03 { 28 opp-hz = /bits/ 64 <10 29 opp-microvolt = <97500 30 }; 31 }; 32 33 cluster1_opp: opp-table-1 { 34 compatible = "operating-points 35 opp-shared; 36 37 opp00 { 38 opp-hz = /bits/ 64 <40 39 opp-microvolt = <87500 40 clock-latency-ns = <40 41 }; 42 opp01 { 43 opp-hz = /bits/ 64 <60 44 opp-microvolt = <87500 45 }; 46 opp02 { 47 opp-hz = /bits/ 64 <81 48 opp-microvolt = <87500 49 }; 50 opp03 { 51 opp-hz = /bits/ 64 <10 52 opp-microvolt = <92500 53 }; 54 opp04 { 55 opp-hz = /bits/ 64 <12 56 opp-microvolt = <10000 57 }; 58 opp05 { 59 opp-hz = /bits/ 64 <14 60 opp-microvolt = <10750 61 }; 62 opp06 { 63 opp-hz = /bits/ 64 <15 64 opp-microvolt = <11500 65 }; 66 }; 67 68 gpu_opp_table: opp-table-2 { 69 compatible = "operating-points 70 71 opp00 { 72 opp-hz = /bits/ 64 <20 73 opp-microvolt = <87500 74 }; 75 opp01 { 76 opp-hz = /bits/ 64 <30 77 opp-microvolt = <87500 78 }; 79 opp02 { 80 opp-hz = /bits/ 64 <40 81 opp-microvolt = <87500 82 }; 83 opp03 { 84 opp-hz = /bits/ 64 <60 85 opp-microvolt = <97500 86 }; 87 }; 88 }; 89 90 &cpu_l0 { 91 operating-points-v2 = <&cluster0_opp>; 92 }; 93 94 &cpu_l1 { 95 operating-points-v2 = <&cluster0_opp>; 96 }; 97 98 &cpu_l2 { 99 operating-points-v2 = <&cluster0_opp>; 100 }; 101 102 &cpu_l3 { 103 operating-points-v2 = <&cluster0_opp>; 104 }; 105 106 &cpu_b0 { 107 operating-points-v2 = <&cluster1_opp>; 108 }; 109 110 &cpu_b1 { 111 operating-points-v2 = <&cluster1_opp>; 112 }; 113 114 &gpu { 115 operating-points-v2 = <&gpu_opp_table> 116 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.