18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci// Copyright (C) 2020 Ondrej Jirman <megous@megous.com> 38c2ecf20Sopenharmony_ci// Copyright (C) 2020 Clément Péron <peron.clem@gmail.com> 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/ { 68c2ecf20Sopenharmony_ci cpu_opp_table: opp-table-cpu { 78c2ecf20Sopenharmony_ci compatible = "allwinner,sun50i-h6-operating-points"; 88c2ecf20Sopenharmony_ci nvmem-cells = <&cpu_speed_grade>; 98c2ecf20Sopenharmony_ci opp-shared; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci opp@480000000 { 128c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 138c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <480000000>; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <880000 880000 1200000>; 168c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <820000 820000 1200000>; 178c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <820000 820000 1200000>; 188c2ecf20Sopenharmony_ci }; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci opp@720000000 { 218c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 228c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <720000000>; 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <880000 880000 1200000>; 258c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <820000 820000 1200000>; 268c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <820000 820000 1200000>; 278c2ecf20Sopenharmony_ci }; 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci opp@816000000 { 308c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 318c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <816000000>; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <880000 880000 1200000>; 348c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <820000 820000 1200000>; 358c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <820000 820000 1200000>; 368c2ecf20Sopenharmony_ci }; 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci opp@888000000 { 398c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 408c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <888000000>; 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <880000 880000 1200000>; 438c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <820000 820000 1200000>; 448c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <820000 820000 1200000>; 458c2ecf20Sopenharmony_ci }; 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci opp@1080000000 { 488c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 498c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <1080000000>; 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <940000 940000 1200000>; 528c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <880000 880000 1200000>; 538c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <880000 880000 1200000>; 548c2ecf20Sopenharmony_ci }; 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci opp@1320000000 { 578c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 588c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <1320000000>; 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <1000000 1000000 1200000>; 618c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <940000 940000 1200000>; 628c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <940000 940000 1200000>; 638c2ecf20Sopenharmony_ci }; 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci opp@1488000000 { 668c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 678c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <1488000000>; 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <1060000 1060000 1200000>; 708c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <1000000 1000000 1200000>; 718c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <1000000 1000000 1200000>; 728c2ecf20Sopenharmony_ci }; 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci opp@1608000000 { 758c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 768c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <1608000000>; 778c2ecf20Sopenharmony_ci 788c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <1090000 1090000 1200000>; 798c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <1030000 1030000 1200000>; 808c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <1030000 1030000 1200000>; 818c2ecf20Sopenharmony_ci }; 828c2ecf20Sopenharmony_ci 838c2ecf20Sopenharmony_ci opp@1704000000 { 848c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 858c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <1704000000>; 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <1120000 1120000 1200000>; 888c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <1060000 1060000 1200000>; 898c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <1060000 1060000 1200000>; 908c2ecf20Sopenharmony_ci }; 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_ci opp@1800000000 { 938c2ecf20Sopenharmony_ci clock-latency-ns = <244144>; /* 8 32k periods */ 948c2ecf20Sopenharmony_ci opp-hz = /bits/ 64 <1800000000>; 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci opp-microvolt-speed0 = <1160000 1160000 1200000>; 978c2ecf20Sopenharmony_ci opp-microvolt-speed1 = <1100000 1100000 1200000>; 988c2ecf20Sopenharmony_ci opp-microvolt-speed2 = <1100000 1100000 1200000>; 998c2ecf20Sopenharmony_ci }; 1008c2ecf20Sopenharmony_ci }; 1018c2ecf20Sopenharmony_ci}; 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci&cpu0 { 1048c2ecf20Sopenharmony_ci operating-points-v2 = <&cpu_opp_table>; 1058c2ecf20Sopenharmony_ci}; 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ci&cpu1 { 1088c2ecf20Sopenharmony_ci operating-points-v2 = <&cpu_opp_table>; 1098c2ecf20Sopenharmony_ci}; 1108c2ecf20Sopenharmony_ci 1118c2ecf20Sopenharmony_ci&cpu2 { 1128c2ecf20Sopenharmony_ci operating-points-v2 = <&cpu_opp_table>; 1138c2ecf20Sopenharmony_ci}; 1148c2ecf20Sopenharmony_ci 1158c2ecf20Sopenharmony_ci&cpu3 { 1168c2ecf20Sopenharmony_ci operating-points-v2 = <&cpu_opp_table>; 1178c2ecf20Sopenharmony_ci}; 118