17d0873ebSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 27d0873ebSEmmanuel Vadot// Copyright (C) 2023 Martin Botka <martin@somainline.org> 37d0873ebSEmmanuel Vadot 47d0873ebSEmmanuel Vadot/ { 57d0873ebSEmmanuel Vadot cpu_opp_table: opp-table-cpu { 67d0873ebSEmmanuel Vadot compatible = "allwinner,sun50i-h616-operating-points"; 77d0873ebSEmmanuel Vadot nvmem-cells = <&cpu_speed_grade>; 87d0873ebSEmmanuel Vadot opp-shared; 97d0873ebSEmmanuel Vadot 107d0873ebSEmmanuel Vadot opp-480000000 { 117d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <480000000>; 127d0873ebSEmmanuel Vadot opp-microvolt = <900000>; 137d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 14*0e8011faSEmmanuel Vadot opp-supported-hw = <0x3f>; 157d0873ebSEmmanuel Vadot }; 167d0873ebSEmmanuel Vadot 177d0873ebSEmmanuel Vadot opp-600000000 { 187d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <600000000>; 197d0873ebSEmmanuel Vadot opp-microvolt = <900000>; 207d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 217d0873ebSEmmanuel Vadot opp-supported-hw = <0x12>; 227d0873ebSEmmanuel Vadot }; 237d0873ebSEmmanuel Vadot 247d0873ebSEmmanuel Vadot opp-720000000 { 257d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <720000000>; 267d0873ebSEmmanuel Vadot opp-microvolt = <900000>; 277d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 28*0e8011faSEmmanuel Vadot opp-supported-hw = <0x2d>; 297d0873ebSEmmanuel Vadot }; 307d0873ebSEmmanuel Vadot 317d0873ebSEmmanuel Vadot opp-792000000 { 327d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <792000000>; 337d0873ebSEmmanuel Vadot opp-microvolt-speed1 = <900000>; 347d0873ebSEmmanuel Vadot opp-microvolt-speed4 = <940000>; 357d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 367d0873ebSEmmanuel Vadot opp-supported-hw = <0x12>; 377d0873ebSEmmanuel Vadot }; 387d0873ebSEmmanuel Vadot 397d0873ebSEmmanuel Vadot opp-936000000 { 407d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <936000000>; 417d0873ebSEmmanuel Vadot opp-microvolt = <900000>; 427d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 437d0873ebSEmmanuel Vadot opp-supported-hw = <0x0d>; 447d0873ebSEmmanuel Vadot }; 457d0873ebSEmmanuel Vadot 467d0873ebSEmmanuel Vadot opp-1008000000 { 477d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <1008000000>; 487d0873ebSEmmanuel Vadot opp-microvolt-speed0 = <950000>; 497d0873ebSEmmanuel Vadot opp-microvolt-speed1 = <940000>; 507d0873ebSEmmanuel Vadot opp-microvolt-speed2 = <950000>; 517d0873ebSEmmanuel Vadot opp-microvolt-speed3 = <950000>; 527d0873ebSEmmanuel Vadot opp-microvolt-speed4 = <1020000>; 53*0e8011faSEmmanuel Vadot opp-microvolt-speed5 = <900000>; 547d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 55*0e8011faSEmmanuel Vadot opp-supported-hw = <0x3f>; 56*0e8011faSEmmanuel Vadot }; 57*0e8011faSEmmanuel Vadot 58*0e8011faSEmmanuel Vadot opp-1032000000 { 59*0e8011faSEmmanuel Vadot opp-hz = /bits/ 64 <1032000000>; 60*0e8011faSEmmanuel Vadot opp-microvolt = <900000>; 61*0e8011faSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 62*0e8011faSEmmanuel Vadot opp-supported-hw = <0x20>; 637d0873ebSEmmanuel Vadot }; 647d0873ebSEmmanuel Vadot 657d0873ebSEmmanuel Vadot opp-1104000000 { 667d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <1104000000>; 677d0873ebSEmmanuel Vadot opp-microvolt-speed0 = <1000000>; 687d0873ebSEmmanuel Vadot opp-microvolt-speed2 = <1000000>; 697d0873ebSEmmanuel Vadot opp-microvolt-speed3 = <1000000>; 70*0e8011faSEmmanuel Vadot opp-microvolt-speed5 = <950000>; 717d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 72*0e8011faSEmmanuel Vadot opp-supported-hw = <0x2d>; 737d0873ebSEmmanuel Vadot }; 747d0873ebSEmmanuel Vadot 757d0873ebSEmmanuel Vadot opp-1200000000 { 767d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <1200000000>; 777d0873ebSEmmanuel Vadot opp-microvolt-speed0 = <1050000>; 787d0873ebSEmmanuel Vadot opp-microvolt-speed1 = <1020000>; 797d0873ebSEmmanuel Vadot opp-microvolt-speed2 = <1050000>; 807d0873ebSEmmanuel Vadot opp-microvolt-speed3 = <1050000>; 817d0873ebSEmmanuel Vadot opp-microvolt-speed4 = <1100000>; 82*0e8011faSEmmanuel Vadot opp-microvolt-speed5 = <1020000>; 837d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 84*0e8011faSEmmanuel Vadot opp-supported-hw = <0x3f>; 857d0873ebSEmmanuel Vadot }; 867d0873ebSEmmanuel Vadot 877d0873ebSEmmanuel Vadot opp-1320000000 { 887d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <1320000000>; 897d0873ebSEmmanuel Vadot opp-microvolt = <1100000>; 907d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 917d0873ebSEmmanuel Vadot opp-supported-hw = <0x1d>; 927d0873ebSEmmanuel Vadot }; 937d0873ebSEmmanuel Vadot 947d0873ebSEmmanuel Vadot opp-1416000000 { 957d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <1416000000>; 967d0873ebSEmmanuel Vadot opp-microvolt = <1100000>; 977d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 98*0e8011faSEmmanuel Vadot opp-supported-hw = <0x2d>; 997d0873ebSEmmanuel Vadot }; 1007d0873ebSEmmanuel Vadot 1017d0873ebSEmmanuel Vadot opp-1512000000 { 1027d0873ebSEmmanuel Vadot opp-hz = /bits/ 64 <1512000000>; 1037d0873ebSEmmanuel Vadot opp-microvolt-speed1 = <1100000>; 1047d0873ebSEmmanuel Vadot opp-microvolt-speed3 = <1100000>; 105*0e8011faSEmmanuel Vadot opp-microvolt-speed5 = <1160000>; 1067d0873ebSEmmanuel Vadot clock-latency-ns = <244144>; /* 8 32k periods */ 107*0e8011faSEmmanuel Vadot opp-supported-hw = <0x2a>; 1087d0873ebSEmmanuel Vadot }; 1097d0873ebSEmmanuel Vadot }; 1107d0873ebSEmmanuel Vadot}; 1117d0873ebSEmmanuel Vadot 1127d0873ebSEmmanuel Vadot&cpu0 { 1137d0873ebSEmmanuel Vadot operating-points-v2 = <&cpu_opp_table>; 1147d0873ebSEmmanuel Vadot}; 1157d0873ebSEmmanuel Vadot 1167d0873ebSEmmanuel Vadot&cpu1 { 1177d0873ebSEmmanuel Vadot operating-points-v2 = <&cpu_opp_table>; 1187d0873ebSEmmanuel Vadot}; 1197d0873ebSEmmanuel Vadot 1207d0873ebSEmmanuel Vadot&cpu2 { 1217d0873ebSEmmanuel Vadot operating-points-v2 = <&cpu_opp_table>; 1227d0873ebSEmmanuel Vadot}; 1237d0873ebSEmmanuel Vadot 1247d0873ebSEmmanuel Vadot&cpu3 { 1257d0873ebSEmmanuel Vadot operating-points-v2 = <&cpu_opp_table>; 1267d0873ebSEmmanuel Vadot}; 127