@@ -1827,6 +1827,7 @@ venus: video-codec@1d00000 {
reg = <0x01d00000 0xff000>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&gcc VENUS_GDSC>;
+ operating-points-v2 = <&venus_opp_table>;
clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
<&gcc GCC_VENUS0_AHB_CLK>,
<&gcc GCC_VENUS0_AXI_CLK>;
@@ -1835,6 +1836,25 @@ venus: video-codec@1d00000 {
memory-region = <&venus_mem>;
status = "disabled";
+ venus_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-100000000 {
+ opp-hz = /bits/ 64 <100000000>;
+ required-opps = <&rpmpd_opp_svs_soc>;
+ };
+
+ opp-160000000 {
+ opp-hz = /bits/ 64 <160000000>;
+ required-opps = <&rpmpd_opp_nom>;
+ };
+
+ opp-228570000 {
+ opp-hz = /bits/ 64 <228570000>;
+ required-opps = <&rpmpd_opp_super_turbo>;
+ };
+ };
+
video-decoder {
compatible = "venus-decoder";
};