18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 28cc087a1SEmmanuel Vadot%YAML 1.2 38cc087a1SEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/qcom/qcom,spm.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68cc087a1SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm Subsystem Power Manager 88cc087a1SEmmanuel Vadot 98cc087a1SEmmanuel Vadotmaintainers: 108cc087a1SEmmanuel Vadot - Andy Gross <agross@kernel.org> 118cc087a1SEmmanuel Vadot - Bjorn Andersson <bjorn.andersson@linaro.org> 128cc087a1SEmmanuel Vadot 138cc087a1SEmmanuel Vadotdescription: | 148cc087a1SEmmanuel Vadot This binding describes the Qualcomm Subsystem Power Manager, used to control 158cc087a1SEmmanuel Vadot the peripheral logic surrounding the application cores in Qualcomm platforms. 168cc087a1SEmmanuel Vadot 178cc087a1SEmmanuel Vadotproperties: 188cc087a1SEmmanuel Vadot compatible: 198cc087a1SEmmanuel Vadot items: 208cc087a1SEmmanuel Vadot - enum: 218cc087a1SEmmanuel Vadot - qcom,sdm660-gold-saw2-v4.1-l2 228cc087a1SEmmanuel Vadot - qcom,sdm660-silver-saw2-v4.1-l2 238cc087a1SEmmanuel Vadot - qcom,msm8998-gold-saw2-v4.1-l2 248cc087a1SEmmanuel Vadot - qcom,msm8998-silver-saw2-v4.1-l2 25b97ee269SEmmanuel Vadot - qcom,msm8909-saw2-v3.0-cpu 268cc087a1SEmmanuel Vadot - qcom,msm8916-saw2-v3.0-cpu 278bab661aSEmmanuel Vadot - qcom,msm8939-saw2-v3.0-cpu 288cc087a1SEmmanuel Vadot - qcom,msm8226-saw2-v2.1-cpu 298cc087a1SEmmanuel Vadot - qcom,msm8974-saw2-v2.1-cpu 308bab661aSEmmanuel Vadot - qcom,msm8976-gold-saw2-v2.3-l2 318bab661aSEmmanuel Vadot - qcom,msm8976-silver-saw2-v2.3-l2 328cc087a1SEmmanuel Vadot - qcom,apq8084-saw2-v2.1-cpu 338cc087a1SEmmanuel Vadot - qcom,apq8064-saw2-v1.1-cpu 348cc087a1SEmmanuel Vadot - const: qcom,saw2 358cc087a1SEmmanuel Vadot 368cc087a1SEmmanuel Vadot reg: 378cc087a1SEmmanuel Vadot description: Base address and size of the SPM register region 388cc087a1SEmmanuel Vadot maxItems: 1 398cc087a1SEmmanuel Vadot 408cc087a1SEmmanuel Vadotrequired: 418cc087a1SEmmanuel Vadot - compatible 428cc087a1SEmmanuel Vadot - reg 438cc087a1SEmmanuel Vadot 448cc087a1SEmmanuel VadotadditionalProperties: false 458cc087a1SEmmanuel Vadot 468cc087a1SEmmanuel Vadotexamples: 478cc087a1SEmmanuel Vadot - | 488cc087a1SEmmanuel Vadot 498cc087a1SEmmanuel Vadot /* Example 1: SoC using SAW2 and kpss-acc-v2 CPUIdle */ 508cc087a1SEmmanuel Vadot cpus { 518cc087a1SEmmanuel Vadot #address-cells = <1>; 528cc087a1SEmmanuel Vadot #size-cells = <0>; 538cc087a1SEmmanuel Vadot 548cc087a1SEmmanuel Vadot cpu@0 { 558cc087a1SEmmanuel Vadot compatible = "qcom,kryo"; 568cc087a1SEmmanuel Vadot device_type = "cpu"; 578cc087a1SEmmanuel Vadot enable-method = "qcom,kpss-acc-v2"; 588cc087a1SEmmanuel Vadot qcom,saw = <&saw0>; 598cc087a1SEmmanuel Vadot reg = <0x0>; 608cc087a1SEmmanuel Vadot operating-points-v2 = <&cpu_opp_table>; 618cc087a1SEmmanuel Vadot }; 628cc087a1SEmmanuel Vadot }; 638cc087a1SEmmanuel Vadot 648cc087a1SEmmanuel Vadot saw0: power-manager@f9089000 { 658cc087a1SEmmanuel Vadot compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2"; 668cc087a1SEmmanuel Vadot reg = <0xf9089000 0x1000>; 678cc087a1SEmmanuel Vadot }; 688cc087a1SEmmanuel Vadot 698cc087a1SEmmanuel Vadot - | 708cc087a1SEmmanuel Vadot 718cc087a1SEmmanuel Vadot /* 728cc087a1SEmmanuel Vadot * Example 2: New-gen multi cluster SoC using SAW only for L2; 738cc087a1SEmmanuel Vadot * This does not require any cpuidle driver, nor any cpu phandle. 748cc087a1SEmmanuel Vadot */ 758cc087a1SEmmanuel Vadot power-manager@17812000 { 768cc087a1SEmmanuel Vadot compatible = "qcom,msm8998-gold-saw2-v4.1-l2", "qcom,saw2"; 778cc087a1SEmmanuel Vadot reg = <0x17812000 0x1000>; 788cc087a1SEmmanuel Vadot }; 798cc087a1SEmmanuel Vadot 808cc087a1SEmmanuel Vadot power-manager@17912000 { 818cc087a1SEmmanuel Vadot compatible = "qcom,msm8998-silver-saw2-v4.1-l2", "qcom,saw2"; 828cc087a1SEmmanuel Vadot reg = <0x17912000 0x1000>; 838cc087a1SEmmanuel Vadot }; 848cc087a1SEmmanuel Vadot 858cc087a1SEmmanuel Vadot... 86