diff --git a/qcom/neo-rumi.dtsi b/qcom/neo-rumi.dtsi index 264c9c91..f39a505a 100644 --- a/qcom/neo-rumi.dtsi +++ b/qcom/neo-rumi.dtsi @@ -125,3 +125,7 @@ &debugcc { clocks = <&bi_tcxo>; }; + +&cpufreq_hw { + clocks = <&bi_tcxo>, <&gcc GCC_GPLL0>; +}; diff --git a/qcom/neo.dtsi b/qcom/neo.dtsi index 589e99fc..fdc26761 100644 --- a/qcom/neo.dtsi +++ b/qcom/neo.dtsi @@ -20,7 +20,7 @@ #size-cells = <2>; chosen: chosen { - bootargs = " rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kpti=off console=ttyMSM0,115200,n8 loglevel=8"; + bootargs = " rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kpti=off console=ttyMSM0,115200,n8 loglevel=8 cpufreq.default_governor=performance"; }; memory { device_type = "memory"; reg = <0 0 0 0>; }; @@ -50,6 +50,7 @@ power-domain-names = "psci"; capacity-dmips-mhz = <1024>; dynamic-power-coefficient = <100>; + qcom,freq-domain = <&cpufreq_hw 0 4>; L2_0: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -73,6 +74,7 @@ power-domain-names = "psci"; capacity-dmips-mhz = <1024>; dynamic-power-coefficient = <100>; + qcom,freq-domain = <&cpufreq_hw 0 4>; L2_1: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -96,6 +98,7 @@ power-domain-names = "psci"; capacity-dmips-mhz = <1024>; dynamic-power-coefficient = <100>; + qcom,freq-domain = <&cpufreq_hw 0 4>; L2_2: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -119,6 +122,7 @@ power-domain-names = "psci"; capacity-dmips-mhz = <1024>; dynamic-power-coefficient = <100>; + qcom,freq-domain = <&cpufreq_hw 0 4>; L2_3: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -587,6 +591,24 @@ #reset-cells = <1>; }; + cpufreq_hw: qcom,cpufreq-hw { + compatible = "qcom,cpufreq-hw-epss"; + reg = <0x17d91000 0x1000>; + reg-names = "freq-domain0"; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; + clock-names = "xo", "alternate"; + qcom,lut-row-size = <4>; + qcom,skip-enable-check; + interrupts = ; + interrupt-names = "dcvsh0_int"; + #freq-domain-cells = <2>; + }; + + qcom,cpufreq-hw-debug { + compatible = "qcom,cpufreq-hw-epss-debug"; + qcom,freq-hw-domain = <&cpufreq_hw 0>; + }; + sdhc1_opp_table: sdhc1-opp-table { compatible = "operating-points-v2";