diff --git a/qcom/ravelin-rumi.dtsi b/qcom/ravelin-rumi.dtsi index e5f50420..2e8b03b0 100644 --- a/qcom/ravelin-rumi.dtsi +++ b/qcom/ravelin-rumi.dtsi @@ -205,3 +205,7 @@ compatible = "qcom,dummycc"; clock-output-names = "rpmhcc_clocks"; }; + +&cpufreq_hw { + clocks = <&bi_tcxo>, <&gcc GCC_GPLL0>; +}; diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index ad16e70e..1192898f 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -20,7 +20,9 @@ #address-cells = <2>; #size-cells = <2>; - chosen: chosen { }; + chosen: chosen { + bootargs = "cpufreq.default_governor=performance"; + }; memory { device_type = "memory"; reg = <0 0 0 0>; }; @@ -47,6 +49,7 @@ cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>; power-domains = <&CPU_PD0>; power-domain-names = "psci"; + qcom,freq-domain = <&cpufreq_hw 0 6>; next-level-cache = <&L2_0>; #cooling-cells = <2>; L2_0: l2-cache { @@ -69,6 +72,7 @@ cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>; power-domains = <&CPU_PD1>; power-domain-names = "psci"; + qcom,freq-domain = <&cpufreq_hw 0 6>; next-level-cache = <&L2_1>; #cooling-cells = <2>; L2_1: l2-cache { @@ -86,6 +90,7 @@ cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>; power-domains = <&CPU_PD2>; power-domain-names = "psci"; + qcom,freq-domain = <&cpufreq_hw 0 6>; next-level-cache = <&L2_2>; #cooling-cells = <2>; L2_2: l2-cache { @@ -103,6 +108,7 @@ cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>; power-domains = <&CPU_PD3>; power-domain-names = "psci"; + qcom,freq-domain = <&cpufreq_hw 0 6>; next-level-cache = <&L2_3>; #cooling-cells = <2>; L2_3: l2-cache { @@ -121,6 +127,7 @@ power-domains = <&CPU_PD4>; power-domain-names = "psci"; #cooling-cells = <2>; + qcom,freq-domain = <&cpufreq_hw 0 6>; L2_4: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -136,6 +143,7 @@ cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>; power-domains = <&CPU_PD5>; power-domain-names = "psci"; + qcom,freq-domain = <&cpufreq_hw 0 6>; next-level-cache = <&L2_5>; #cooling-cells = <2>; L2_5: l2-cache { @@ -153,6 +161,7 @@ cpu-idle-states = <&GOLD_CPU_OFF &GOLD_CPU_RAIL_OFF>; power-domains = <&CPU_PD6>; power-domain-names = "psci"; + qcom,freq-domain = <&cpufreq_hw 1 2>; next-level-cache = <&L2_6>; #cooling-cells = <2>; L2_6: l2-cache { @@ -170,6 +179,7 @@ cpu-idle-states = <&GOLD_CPU_OFF &GOLD_CPU_RAIL_OFF>; power-domains = <&CPU_PD7>; power-domain-names = "psci"; + qcom,freq-domain = <&cpufreq_hw 1 2>; next-level-cache = <&L2_7>; #cooling-cells = <2>; L2_7: l2-cache { @@ -807,6 +817,25 @@ #clock-cells = <1>; }; + cpufreq_hw: qcom,cpufreq-hw { + compatible = "qcom,cpufreq-hw-epss"; + reg = <0x17d91000 0x1000>, <0x17d92000 0x1000>; + reg-names = "freq-domain0", "freq-domain1"; + 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", "dcvsh1_int"; + #freq-domain-cells = <2>; + }; + + qcom,cpufreq-hw-debug { + compatible = "qcom,cpufreq-hw-epss-debug"; + qcom,freq-hw-domain = <&cpufreq_hw 0>, <&cpufreq_hw 1>; + }; + tcsr: syscon@1fc0000 { compatible = "syscon"; reg = <0x1fc0000 0x30000>;