| /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| |
| #include <dt-bindings/gpio/gpio.h> |
| #include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
| |
| /* Stub regulators */ |
| / { |
| |
| /* |
| * RPMh does not provide support for PM8998 S4 because it is always-on |
| * at 1.8 V in auto mode. Therefore, use a stub regulator for S4. |
| */ |
| pm8998_s4: regulator-pm8998-s4 { |
| compatible = "qcom,stub-regulator"; |
| regulator-name = "pm8998_s4"; |
| qcom,hpm-min-load = <100000>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| }; |
| }; |
| |
| &spmi_bus { |
| qcom,pm8998@1 { |
| /* PM8998 S12 + S11 + S10 = VDD_APC1 supply */ |
| pm8998_s12: regulator@3500 { |
| compatible = "qcom,qpnp-regulator"; |
| reg = <0x3500 0x100>; |
| regulator-name = "pm8998_s12"; |
| regulator-min-microvolt = <568000>; |
| regulator-max-microvolt = <1136000>; |
| qcom,enable-time = <500>; |
| regulator-always-on; |
| }; |
| |
| /* PM8998 S13 = VDD_APC0 supply */ |
| pm8998_s13: regulator@3800 { |
| compatible = "qcom,qpnp-regulator"; |
| reg = <0x3800 0x100>; |
| regulator-name = "pm8998_s13"; |
| regulator-min-microvolt = <568000>; |
| regulator-max-microvolt = <996000>; |
| qcom,enable-time = <500>; |
| regulator-always-on; |
| }; |
| }; |
| }; |
| |
| &soc { |
| /* CPR controller regulators */ |
| apc0_cpr: cprh-ctrl@17dc0000 { |
| compatible = "qcom,cprh-sdm845-v1-kbss-regulator"; |
| reg = <0x17dc0000 0x4000>, |
| <0x00784000 0x1000>, |
| <0x17840000 0x1000>; |
| reg-names = "cpr_ctrl", "fuse_base", "saw"; |
| clocks = <&clock_gcc GCC_CPUSS_RBCPR_CLK>; |
| clock-names = "core_clk"; |
| qcom,cpr-ctrl-name = "apc0"; |
| qcom,cpr-controller-id = <0>; |
| |
| qcom,cpr-sensor-time = <1000>; |
| qcom,cpr-loop-time = <5000000>; |
| qcom,cpr-idle-cycles = <15>; |
| qcom,cpr-up-down-delay-time = <3000>; |
| qcom,cpr-step-quot-init-min = <11>; |
| qcom,cpr-step-quot-init-max = <12>; |
| qcom,cpr-count-mode = <0>; /* All at once */ |
| qcom,cpr-count-repeat = <20>; |
| qcom,cpr-down-error-step-limit = <1>; |
| qcom,cpr-up-error-step-limit = <1>; |
| qcom,cpr-corner-switch-delay-time = <1042>; |
| qcom,cpr-voltage-settling-time = <1760>; |
| qcom,cpr-reset-step-quot-loop-en; |
| |
| qcom,voltage-step = <4000>; |
| qcom,voltage-base = <352000>; |
| qcom,cpr-saw-use-unit-mV; |
| |
| qcom,saw-avs-ctrl = <0x101C031>; |
| qcom,saw-avs-limit = <0x3A003A0>; |
| |
| qcom,cpr-enable; |
| qcom,cpr-hw-closed-loop; |
| |
| qcom,cpr-panic-reg-addr-list = |
| <0x17dc3a84 0x17dc3a88 0x17840c18>; |
| qcom,cpr-panic-reg-name-list = |
| "APSS_SILVER_CPRH_STATUS_0", |
| "APSS_SILVER_CPRH_STATUS_1", |
| "SILVER_SAW4_PMIC_STS"; |
| |
| qcom,cpr-aging-ref-voltage = <996000>; |
| vdd-supply = <&pm8998_s13>; |
| |
| thread@1 { |
| qcom,cpr-thread-id = <1>; |
| qcom,cpr-consecutive-up = <0>; |
| qcom,cpr-consecutive-down = <0>; |
| qcom,cpr-up-threshold = <2>; |
| qcom,cpr-down-threshold = <2>; |
| |
| apc0_pwrcl_vreg: regulator { |
| regulator-name = "apc0_pwrcl_corner"; |
| regulator-min-microvolt = <1>; |
| regulator-max-microvolt = <19>; |
| |
| qcom,cpr-fuse-corners = <4>; |
| qcom,cpr-fuse-combos = <24>; |
| qcom,cpr-speed-bins = <3>; |
| qcom,cpr-speed-bin-corners = <19 19 19>; |
| qcom,cpr-corners = <19>; |
| |
| qcom,cpr-corner-fmax-map = <6 12 17 19>; |
| |
| qcom,cpr-voltage-ceiling = |
| <872000 872000 872000 872000 872000 |
| 872000 872000 872000 872000 872000 |
| 872000 872000 872000 872000 872000 |
| 872000 928000 996000 996000>; |
| |
| qcom,cpr-voltage-floor = |
| /* Speed bin 0 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 996000 996000>, |
| /* Speed bin 1 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000>, |
| /* Speed bin 2 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000>; |
| |
| qcom,cpr-floor-to-ceiling-max-range = |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 40000 40000>; |
| |
| qcom,corner-frequencies = |
| /* Speed bin 0 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 748800000 |
| 825600000 902400000 979200000 |
| 1056000000 1132800000 1209600000 |
| 1286400000 1363200000 1440000000 |
| 1516800000 1593600000 1651200000 |
| 1708800000>, |
| /* Speed bin 1 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 748800000 |
| 825600000 902400000 979200000 |
| 1056000000 1132800000 1209600000 |
| 1286400000 1363200000 1440000000 |
| 1516800000 1593600000 1651200000 |
| 1708800000>, |
| /* Speed bin 2 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 748800000 |
| 825600000 902400000 979200000 |
| 1056000000 1132800000 1209600000 |
| 1286400000 1363200000 1440000000 |
| 1516800000 1593600000 1670400000 |
| 1747200000>; |
| |
| qcom,cpr-ro-scaling-factor = |
| <2594 2795 2576 2761 2469 2673 2198 |
| 2553 3188 3255 3191 2962 3055 2984 |
| 2043 2947>, |
| <2594 2795 2576 2761 2469 2673 2198 |
| 2553 3188 3255 3191 2962 3055 2984 |
| 2043 2947>, |
| <2259 2389 2387 2531 2294 2464 2218 |
| 2476 2525 2855 2817 2836 2740 2490 |
| 1950 2632>, |
| <2259 2389 2387 2531 2294 2464 2218 |
| 2476 2525 2855 2817 2836 2740 2490 |
| 1950 2632>; |
| |
| qcom,cpr-open-loop-voltage-fuse-adjustment = |
| /* Speed bin 0 */ |
| <100000 100000 100000 100000>, |
| < 0 0 0 100000>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| /* Speed bin 1 */ |
| <100000 100000 100000 100000>, |
| < 0 0 0 100000>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| /* Speed bin 2 */ |
| <100000 100000 100000 100000>, |
| < 0 0 0 100000>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>; |
| |
| qcom,cpr-closed-loop-voltage-fuse-adjustment = |
| /* Speed bin 0 */ |
| <100000 100000 100000 100000>, |
| < 0 0 0 100000>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| /* Speed bin 1 */ |
| <100000 100000 100000 100000>, |
| < 0 0 0 100000>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| /* Speed bin 2 */ |
| <100000 100000 100000 100000>, |
| < 0 0 0 100000>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>, |
| < 0 0 0 0>; |
| |
| qcom,allow-voltage-interpolation; |
| qcom,allow-quotient-interpolation; |
| qcom,cpr-scaled-open-loop-voltage-as-ceiling; |
| |
| qcom,cpr-aging-max-voltage-adjustment = <15000>; |
| qcom,cpr-aging-ref-corner = <19>; |
| qcom,cpr-aging-ro-scaling-factor = <1620>; |
| qcom,allow-aging-voltage-adjustment = |
| /* Speed bin 0 */ |
| <0 1 1 1 1 1 1 1>, |
| /* Speed bin 1 */ |
| <0 1 1 1 1 1 1 1>, |
| /* Speed bin 2 */ |
| <0 1 1 1 1 1 1 1>; |
| qcom,allow-aging-open-loop-voltage-adjustment = |
| <1>; |
| }; |
| }; |
| |
| thread@0 { |
| qcom,cpr-thread-id = <0>; |
| qcom,cpr-consecutive-up = <0>; |
| qcom,cpr-consecutive-down = <0>; |
| qcom,cpr-up-threshold = <2>; |
| qcom,cpr-down-threshold = <2>; |
| |
| apc0_l3_vreg: regulator { |
| regulator-name = "apc0_l3_corner"; |
| regulator-min-microvolt = <1>; |
| regulator-max-microvolt = <13>; |
| |
| qcom,cpr-fuse-corners = <4>; |
| qcom,cpr-fuse-combos = <24>; |
| qcom,cpr-speed-bins = <3>; |
| qcom,cpr-speed-bin-corners = <11 11 13>; |
| qcom,cpr-corners = |
| /* Speed bin 0 */ |
| <11 11 11 11 11 11 11 11>, |
| /* Speed bin 1 */ |
| <11 11 11 11 11 11 11 11>, |
| /* Speed bin 2 */ |
| <13 13 13 13 13 13 13 13>; |
| |
| qcom,cpr-corner-fmax-map = |
| /* Speed bin 0 */ |
| <4 7 9 11>, |
| /* Speed bin 1 */ |
| <4 7 9 11>, |
| /* Speed bin 2 */ |
| <4 7 9 13>; |
| |
| qcom,cpr-voltage-ceiling = |
| /* Speed bin 0 */ |
| <872000 872000 872000 872000 872000 |
| 872000 872000 872000 928000 996000 |
| 996000>, |
| /* Speed bin 1 */ |
| <872000 872000 872000 872000 872000 |
| 872000 872000 872000 928000 996000 |
| 996000>, |
| /* Speed bin 2 */ |
| <872000 872000 872000 872000 872000 |
| 872000 872000 872000 928000 996000 |
| 996000 996000 996000>; |
| |
| qcom,cpr-voltage-floor = |
| /* Speed bin 0 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 996000 |
| 996000>, |
| /* Speed bin 1 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000>, |
| /* Speed bin 2 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000>; |
| |
| qcom,cpr-floor-to-ceiling-max-range = |
| /* Speed bin 0 */ |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 40000 |
| 40000>, |
| /* Speed bin 1 */ |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 40000 |
| 40000>, |
| /* Speed bin 2 */ |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 40000 |
| 40000 40000 40000>; |
| |
| qcom,corner-frequencies = |
| /* Speed bin 0 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000 |
| 1036800000 1094400000>, |
| /* Speed bin 1 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000 |
| 1036800000 1094400000>, |
| /* Speed bin 2 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000 |
| 1036800000 1113600000 1209600000 |
| 1305600000>; |
| |
| qcom,cpr-ro-scaling-factor = |
| <2857 3056 2828 2952 2699 2796 2447 |
| 2631 2630 2579 2244 3343 3287 3137 |
| 3164 2656>, |
| <2857 3056 2828 2952 2699 2796 2447 |
| 2631 2630 2579 2244 3343 3287 3137 |
| 3164 2656>, |
| <2439 2577 2552 2667 2461 2577 2394 |
| 2536 2132 2307 2191 2903 2838 2912 |
| 2501 2095>, |
| <2439 2577 2552 2667 2461 2577 2394 |
| 2536 2132 2307 2191 2903 2838 2912 |
| 2501 2095>; |
| |
| qcom,cpr-open-loop-voltage-fuse-adjustment = |
| /* Speed bin 0 */ |
| <100000 100000 100000 100000>, |
| < 0 24000 4000 100000>, |
| < 0 24000 4000 0>, |
| < 0 24000 4000 0>, |
| < 0 24000 4000 0>, |
| < 0 24000 4000 0>, |
| < 0 24000 4000 0>, |
| < 0 24000 4000 0>, |
| /* Speed bin 1 */ |
| <100000 100000 100000 100000>, |
| < 0 24000 4000 100000>, |
| < 0 24000 4000 20000>, |
| < 0 24000 4000 20000>, |
| < 0 24000 4000 20000>, |
| < 0 24000 4000 20000>, |
| < 0 24000 4000 20000>, |
| < 0 24000 4000 20000>, |
| /* Speed bin 2 */ |
| <100000 100000 100000 100000>, |
| < 0 24000 4000 100000>, |
| < 0 24000 4000 40000>, |
| < 0 24000 4000 40000>, |
| < 0 24000 4000 40000>, |
| < 0 24000 4000 40000>, |
| < 0 24000 4000 40000>, |
| < 0 24000 4000 40000>; |
| |
| qcom,cpr-closed-loop-voltage-fuse-adjustment = |
| /* Speed bin 0 */ |
| <100000 100000 100000 100000>, |
| < 0 29000 6000 100000>, |
| < 0 29000 6000 0>, |
| < 0 29000 6000 0>, |
| < 0 29000 6000 0>, |
| < 0 29000 6000 0>, |
| < 0 29000 6000 0>, |
| < 0 29000 6000 0>, |
| /* Speed bin 1 */ |
| <100000 100000 100000 100000>, |
| < 0 29000 6000 100000>, |
| < 0 29000 6000 20000>, |
| < 0 29000 6000 20000>, |
| < 0 29000 6000 20000>, |
| < 0 29000 6000 20000>, |
| < 0 29000 6000 20000>, |
| < 0 29000 6000 20000>, |
| /* Speed bin 2 */ |
| <100000 100000 100000 100000>, |
| < 0 29000 6000 100000>, |
| < 0 29000 6000 40000>, |
| < 0 29000 6000 40000>, |
| < 0 29000 6000 40000>, |
| < 0 29000 6000 40000>, |
| < 0 29000 6000 40000>, |
| < 0 29000 6000 40000>; |
| |
| qcom,allow-voltage-interpolation; |
| qcom,allow-quotient-interpolation; |
| qcom,cpr-scaled-open-loop-voltage-as-ceiling; |
| |
| qcom,cpr-aging-max-voltage-adjustment = <15000>; |
| qcom,cpr-aging-ref-corner = <11 11 13>; |
| qcom,cpr-aging-ro-scaling-factor = <1620>; |
| qcom,allow-aging-voltage-adjustment = |
| /* Speed bin 0 */ |
| <0 1 1 1 1 1 1 1>, |
| /* Speed bin 1 */ |
| <0 1 1 1 1 1 1 1>, |
| /* Speed bin 2 */ |
| <0 1 1 1 1 1 1 1>; |
| qcom,allow-aging-open-loop-voltage-adjustment = |
| <1>; |
| }; |
| }; |
| }; |
| |
| apc1_cpr: cprh-ctrl@17db0000 { |
| compatible = "qcom,cprh-sdm845-kbss-regulator"; |
| reg = <0x17db0000 0x4000>, |
| <0x00784000 0x1000>, |
| <0x17830000 0x1000>; |
| reg-names = "cpr_ctrl", "fuse_base", "saw"; |
| clocks = <&clock_gcc GCC_CPUSS_RBCPR_CLK>; |
| clock-names = "core_clk"; |
| qcom,cpr-ctrl-name = "apc1"; |
| qcom,cpr-controller-id = <1>; |
| |
| qcom,cpr-sensor-time = <1000>; |
| qcom,cpr-loop-time = <5000000>; |
| qcom,cpr-idle-cycles = <15>; |
| qcom,cpr-up-down-delay-time = <3000>; |
| qcom,cpr-step-quot-init-min = <9>; |
| qcom,cpr-step-quot-init-max = <14>; |
| qcom,cpr-count-mode = <0>; /* All at once */ |
| qcom,cpr-count-repeat = <20>; |
| qcom,cpr-down-error-step-limit = <1>; |
| qcom,cpr-up-error-step-limit = <1>; |
| qcom,cpr-corner-switch-delay-time = <1042>; |
| qcom,cpr-voltage-settling-time = <1760>; |
| qcom,cpr-reset-step-quot-loop-en; |
| |
| qcom,apm-threshold-voltage = <800000>; |
| qcom,apm-crossover-voltage = <880000>; |
| qcom,mem-acc-threshold-voltage = <852000>; |
| qcom,mem-acc-crossover-voltage = <852000>; |
| |
| qcom,voltage-step = <4000>; |
| qcom,voltage-base = <352000>; |
| qcom,cpr-saw-use-unit-mV; |
| |
| qcom,saw-avs-ctrl = <0x101C031>; |
| qcom,saw-avs-limit = <0x4200420>; |
| |
| qcom,cpr-enable; |
| qcom,cpr-hw-closed-loop; |
| |
| qcom,cpr-panic-reg-addr-list = |
| <0x17db3a84 0x17830c18>; |
| qcom,cpr-panic-reg-name-list = |
| "APSS_GOLD_CPRH_STATUS_0", "GOLD_SAW4_PMIC_STS"; |
| |
| qcom,cpr-aging-ref-voltage = <1136000>; |
| vdd-supply = <&pm8998_s12>; |
| |
| thread@0 { |
| qcom,cpr-thread-id = <0>; |
| qcom,cpr-consecutive-up = <0>; |
| qcom,cpr-consecutive-down = <0>; |
| qcom,cpr-up-threshold = <2>; |
| qcom,cpr-down-threshold = <2>; |
| |
| apc1_perfcl_vreg: regulator { |
| regulator-name = "apc1_perfcl_corner"; |
| regulator-min-microvolt = <1>; |
| regulator-max-microvolt = <27>; |
| |
| qcom,cpr-fuse-corners = <3>; |
| qcom,cpr-fuse-combos = <24>; |
| qcom,cpr-speed-bins = <3>; |
| qcom,cpr-speed-bin-corners = <22 24 25>; |
| qcom,cpr-corners = |
| /* Speed bin 0 */ |
| <22 22 22 22 22 22 22 22>, |
| /* Speed bin 1 */ |
| <24 24 24 24 24 24 24 24>, |
| /* Speed bin 2 */ |
| <25 25 25 25 25 25 25 25>; |
| |
| qcom,cpr-corner-fmax-map = |
| /* Speed bin 0 */ |
| <10 17 22>, |
| /* Speed bin 1 */ |
| <10 17 24>, |
| /* Speed bin 2 */ |
| <10 17 25>; |
| |
| qcom,cpr-voltage-ceiling = |
| /* Speed bin 0 */ |
| <828000 828000 828000 828000 828000 |
| 828000 828000 828000 828000 828000 |
| 828000 828000 828000 828000 828000 |
| 828000 828000 884000 952000 952000 |
| 1136000 1136000>, |
| /* Speed bin 1 */ |
| <828000 828000 828000 828000 828000 |
| 828000 828000 828000 828000 828000 |
| 828000 828000 828000 828000 828000 |
| 828000 828000 884000 952000 952000 |
| 1136000 1136000 1136000 1136000>, |
| /* Speed bin 2 */ |
| <828000 828000 828000 828000 828000 |
| 828000 828000 828000 828000 828000 |
| 828000 828000 828000 828000 828000 |
| 828000 828000 884000 952000 952000 |
| 1136000 1136000 1136000 1136000 |
| 1136000>; |
| |
| qcom,cpr-voltage-floor = |
| /* Speed bin 0 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000>, |
| /* Speed bin 1 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000>, |
| /* Speed bin 2 */ |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 |
| 568000>; |
| |
| qcom,cpr-floor-to-ceiling-max-range = |
| /* Speed bin 0 */ |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 40000 40000 40000 |
| 40000 40000>, |
| /* Speed bin 1 */ |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 40000 40000 40000 |
| 40000 40000 40000 40000>, |
| /* Speed bin 2 */ |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 40000 40000 40000 |
| 40000 40000 40000 40000 40000>; |
| |
| qcom,corner-frequencies = |
| /* Speed bin 0 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000 |
| 1036800000 1113600000 1190400000 |
| 1267200000 1344000000 1420800000 |
| 1497600000 1574400000 1651200000 |
| 1728000000 1804800000 1881600000 |
| 1958400000>, |
| /* Speed bin 1 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000 |
| 1036800000 1113600000 1190400000 |
| 1267200000 1344000000 1420800000 |
| 1497600000 1574400000 1651200000 |
| 1728000000 1804800000 1881600000 |
| 1958400000 2035200000 2092800000>, |
| /* Speed bin 2 */ |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000 |
| 1036800000 1113600000 1190400000 |
| 1267200000 1344000000 1420800000 |
| 1497600000 1574400000 1651200000 |
| 1728000000 1804800000 1881600000 |
| 1958400000 2035200000 2112000000 |
| 2208000000>; |
| |
| qcom,cpr-ro-scaling-factor = |
| <2857 3056 2828 2952 2699 2796 2447 |
| 2631 2630 2579 2244 3343 3287 3137 |
| 3164 2656>, |
| <2857 3056 2828 2952 2699 2796 2447 |
| 2631 2630 2579 2244 3343 3287 3137 |
| 3164 2656>, |
| <2086 2208 2273 2408 2203 2327 2213 |
| 2340 1755 2039 2049 2474 2437 2618 |
| 2003 1675>; |
| |
| qcom,cpr-open-loop-voltage-fuse-adjustment = |
| /* Speed bin 0 */ |
| <100000 100000 100000>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| /* Speed bin 1 */ |
| <100000 100000 100000>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| /* Speed bin 2 */ |
| <100000 100000 100000>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>; |
| |
| qcom,cpr-closed-loop-voltage-fuse-adjustment = |
| /* Speed bin 0 */ |
| <100000 100000 100000>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| /* Speed bin 1 */ |
| <100000 100000 100000>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| /* Speed bin 2 */ |
| <100000 100000 100000>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>, |
| < 0 0 0>; |
| |
| qcom,allow-voltage-interpolation; |
| qcom,allow-quotient-interpolation; |
| qcom,cpr-scaled-open-loop-voltage-as-ceiling; |
| |
| qcom,cpr-aging-max-voltage-adjustment = <15000>; |
| qcom,cpr-aging-ref-corner = <22 24 25>; |
| qcom,cpr-aging-ro-scaling-factor = <1700>; |
| qcom,allow-aging-voltage-adjustment = |
| /* Speed bin 0 */ |
| <0 1 1 1 1 1 1 1>, |
| /* Speed bin 1 */ |
| <0 1 1 1 1 1 1 1>, |
| /* Speed bin 2 */ |
| <0 1 1 1 1 1 1 1>; |
| qcom,allow-aging-open-loop-voltage-adjustment = |
| <1>; |
| }; |
| }; |
| }; |
| |
| /* RPMh regulators: */ |
| |
| /* PM8998 S1 = VDD_EBI supply */ |
| rpmh-regulator-ebilvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ebi.lvl"; |
| pm8998_s1_level: regulator-s1 { |
| regulator-name = "pm8998_s1_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| |
| ebi_cdev: regulator-cdev { |
| compatible = "qcom,rpmh-reg-cdev"; |
| mboxes = <&qmp_aop 0>; |
| qcom,reg-resource-name = "ebi"; |
| #cooling-cells = <2>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa2 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa2"; |
| pm8998_s2: regulator-s2 { |
| regulator-name = "pm8998_s2"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1100000>; |
| regulator-max-microvolt = <1100000>; |
| qcom,init-voltage = <1100000>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa3 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa3"; |
| pm8998_s3: regulator-s3 { |
| regulator-name = "pm8998_s3"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1352000>; |
| regulator-max-microvolt = <1352000>; |
| qcom,init-voltage = <1352000>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa5 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa5"; |
| pm8998_s5: regulator-s5 { |
| regulator-name = "pm8998_s5"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1904000>; |
| regulator-max-microvolt = <2040000>; |
| qcom,init-voltage = <1904000>; |
| }; |
| }; |
| |
| /* PM8998 S6 = VDD_MX supply */ |
| rpmh-regulator-mxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "mx.lvl"; |
| pm8998_s6_level: regulator-s6-level { |
| regulator-name = "pm8998_s6_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| |
| pm8998_s6_level_ao: regulator-s6-level-ao { |
| regulator-name = "pm8998_s6_level_ao"; |
| qcom,set = <RPMH_REGULATOR_SET_ACTIVE>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa7 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa7"; |
| pm8998_s7: regulator-s7 { |
| regulator-name = "pm8998_s7"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <900000>; |
| regulator-max-microvolt = <1028000>; |
| qcom,init-voltage = <900000>; |
| }; |
| }; |
| |
| /* PM8998 S9 + S8 = VDD_CX supply */ |
| rpmh-regulator-cxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "cx.lvl"; |
| pm8998_s9_level-parent-supply = <&pm8998_s6_level>; |
| pm8998_s9_level_ao-parent-supply = <&pm8998_s6_level_ao>; |
| pm8998_s9_level: regulator-s9-level { |
| regulator-name = "pm8998_s9_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| qcom,min-dropout-voltage-level = <(-1)>; |
| }; |
| |
| pm8998_s9_level_ao: regulator-s9-level-ao { |
| regulator-name = "pm8998_s9_level_ao"; |
| qcom,set = <RPMH_REGULATOR_SET_ACTIVE>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| qcom,min-dropout-voltage-level = <(-1)>; |
| }; |
| |
| cx_cdev: regulator-cdev { |
| compatible = "qcom,rpmh-reg-cdev"; |
| mboxes = <&qmp_aop 0>; |
| qcom,reg-resource-name = "cx"; |
| #cooling-cells = <2>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa1 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa1"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l1: regulator-l1 { |
| regulator-name = "pm8998_l1"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <880000>; |
| regulator-max-microvolt = <880000>; |
| qcom,init-voltage = <880000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa2 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa2"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 30000>; |
| pm8998_l2: regulator-l2 { |
| regulator-name = "pm8998_l2"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1200000>; |
| regulator-max-microvolt = <1200000>; |
| qcom,init-voltage = <1200000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| regulator-always-on; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa3 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa3"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l3: regulator-l3 { |
| regulator-name = "pm8998_l3"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1000000>; |
| regulator-max-microvolt = <1000000>; |
| qcom,init-voltage = <1000000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| /* PM8998 L4 = VDD_SSC_MX supply */ |
| rpmh-regulator-lmxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "lmx.lvl"; |
| pm8998_l4_level: regulator-l4-level { |
| regulator-name = "pm8998_l4_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| |
| mx_cdev: regulator-cdev { |
| compatible = "qcom,rpmh-reg-cdev"; |
| mboxes = <&qmp_aop 0>; |
| qcom,reg-resource-name = "mx"; |
| #cooling-cells = <2>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa5 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa5"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l5: regulator-l5 { |
| regulator-name = "pm8998_l5"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <800000>; |
| qcom,init-voltage = <800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa6 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa6"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l6: regulator-l6 { |
| regulator-name = "pm8998_l6"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1856000>; |
| regulator-max-microvolt = <1856000>; |
| qcom,init-voltage = <1856000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa7 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa7"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l7: regulator-l7 { |
| regulator-name = "pm8998_l7"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa8 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa8"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l8: regulator-l8 { |
| regulator-name = "pm8998_l8"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1200000>; |
| regulator-max-microvolt = <1248000>; |
| qcom,init-voltage = <1200000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa9 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa9"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l9: regulator-l9 { |
| regulator-name = "pm8998_l9"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1704000>; |
| regulator-max-microvolt = <2928000>; |
| qcom,init-voltage = <1704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa10 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa10"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l10: regulator-l10 { |
| regulator-name = "pm8998_l10"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1704000>; |
| regulator-max-microvolt = <2928000>; |
| qcom,init-voltage = <1704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa11 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa11"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l11: regulator-l11 { |
| regulator-name = "pm8998_l11"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1000000>; |
| regulator-max-microvolt = <1048000>; |
| qcom,init-voltage = <1000000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa12 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa12"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l12: regulator-l12 { |
| regulator-name = "pm8998_l12"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa13 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa13"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l13: regulator-l13 { |
| regulator-name = "pm8998_l13"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa14 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa14"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l14: regulator-l14 { |
| regulator-name = "pm8998_l14"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1880000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa15 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa15"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l15: regulator-l15 { |
| regulator-name = "pm8998_l15"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa16 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa16"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l16: regulator-l16 { |
| regulator-name = "pm8998_l16"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2704000>; |
| regulator-max-microvolt = <2704000>; |
| qcom,init-voltage = <2704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa17 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa17"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l17: regulator-l17 { |
| regulator-name = "pm8998_l17"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1304000>; |
| regulator-max-microvolt = <1304000>; |
| qcom,init-voltage = <1304000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa18 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa18"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l18: regulator-l18 { |
| regulator-name = "pm8998_l18"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2704000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <2704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa19 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa19"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l19: regulator-l19 { |
| regulator-name = "pm8998_l19"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2856000>; |
| regulator-max-microvolt = <3104000>; |
| qcom,init-voltage = <2856000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa20 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa20"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l20: regulator-l20 { |
| regulator-name = "pm8998_l20"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2704000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <2704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa21 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa21"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l21: regulator-l21 { |
| regulator-name = "pm8998_l21"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2704000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <2704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa22 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa22"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l22: regulator-l22 { |
| regulator-name = "pm8998_l22"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2864000>; |
| regulator-max-microvolt = <3312000>; |
| qcom,init-voltage = <2864000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa23 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa23"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l23: regulator-l23 { |
| regulator-name = "pm8998_l23"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3000000>; |
| regulator-max-microvolt = <3312000>; |
| qcom,init-voltage = <3000000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa24 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa24"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l24-parent-supply = <&pm8998_l12>; |
| pm8998_l24: regulator-l24 { |
| regulator-name = "pm8998_l24"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3088000>; |
| regulator-max-microvolt = <3088000>; |
| qcom,init-voltage = <3088000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa25 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa25"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l25: regulator-l25 { |
| regulator-name = "pm8998_l25"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3000000>; |
| regulator-max-microvolt = <3312000>; |
| qcom,init-voltage = <3000000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa26 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa26"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l26: regulator-l26 { |
| regulator-name = "pm8998_l26"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1200000>; |
| regulator-max-microvolt = <1200000>; |
| qcom,init-voltage = <1200000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| /* PM8998 L27 = VDD_SSC_CX supply */ |
| rpmh-regulator-lcxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "lcx.lvl"; |
| pm8998_l27_level: regulator-l27-level { |
| regulator-name = "pm8998_l27_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa28 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa28"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l28: regulator-l28 { |
| regulator-name = "pm8998_l28"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2856000>; |
| regulator-max-microvolt = <3008000>; |
| qcom,init-voltage = <2856000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-vsa1 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "vsa1"; |
| pm8998_lvs1: regulator-lvs1 { |
| regulator-name = "pm8998_lvs1"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| }; |
| }; |
| |
| rpmh-regulator-vsa2 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "vsa2"; |
| pm8998_lvs2: regulator-lvs2 { |
| regulator-name = "pm8998_lvs2"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| }; |
| }; |
| |
| rpmh-regulator-bobb1 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "bobb1"; |
| pmi8998_bob: regulator-bob { |
| regulator-name = "pmi8998_bob"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3312000>; |
| regulator-max-microvolt = <3600000>; |
| qcom,init-voltage = <3312000>; |
| }; |
| }; |
| |
| /* PM8005 S1 + S4 = 2 phase VDD_GFX supply */ |
| rpmh-regulator-gfxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "gfx.lvl"; |
| pm8005_s1_level: regulator-s1-level { |
| regulator-name = "pm8005_s1_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt |
| = <RPMH_REGULATOR_LEVEL_MIN_SVS>; |
| regulator-max-microvolt |
| = <RPMH_REGULATOR_LEVEL_MAX>; |
| qcom,init-voltage-level |
| = <RPMH_REGULATOR_LEVEL_MIN_SVS>; |
| }; |
| }; |
| |
| /* PM8005 S2 = VDD_MODEM supply */ |
| rpmh-regulator-msslvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "mss.lvl"; |
| pm8005_s2_level: regulator-s2-level { |
| regulator-name = "pm8005_s2_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-smpc3 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpc3"; |
| pm8005_s3: regulator-s3 { |
| regulator-name = "pm8005_s3"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <600000>; |
| regulator-max-microvolt = <600000>; |
| qcom,init-voltage = <600000>; |
| }; |
| }; |
| |
| ext_5v_boost: ext_5v_boost { |
| status = "disabled"; |
| compatible = "regulator-fixed"; |
| regulator-name = "ext_5v_boost"; |
| gpio = <&pmi8998_gpios 10 GPIO_ACTIVE_HIGH>; |
| enable-active-high; |
| |
| regulator-enable-ramp-delay = <1600>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&usb2_ext_5v_boost_default>; |
| }; |
| }; |
| |
| &pmi8998_charger { |
| smb2_vconn: qcom,smb2-vconn { |
| regulator-name = "smb2-vconn"; |
| }; |
| }; |