Stepan Moskovchenko | 6b8bbc5 | 2013-06-14 15:55:04 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /* |
| 14 | * As a general rule, only chipset-specific property overrides should be placed |
| 15 | * inside this file. However, device definitions should be placed inside the |
| 16 | * msm8974.dtsi / msm8974pro.dtsi file(s). |
| 17 | */ |
| 18 | |
| 19 | /include/ "msm8974pro.dtsi" |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 20 | |
| 21 | /include/ "msm-pm8x41-rpm-regulator.dtsi" |
| 22 | /include/ "msm-pm8841.dtsi" |
| 23 | &spmi_bus { |
| 24 | pm8941_lsid0: qcom,pm8941@0 { |
| 25 | reg = <0x0>; |
| 26 | }; |
| 27 | pm8941_lsid1: qcom,pm8941@1 { |
| 28 | reg = <0x1>; |
| 29 | }; |
| 30 | }; |
| 31 | /include/ "msm-pm8941.dtsi" |
| 32 | /include/ "msm8974-regulator.dtsi" |
| 33 | /include/ "msm8974-clock.dtsi" |
| 34 | |
| 35 | &krait_pdn { |
| 36 | qcom,use-phase-switching; |
Abhijeet Dharmapurikar | 5c50e2f | 2014-02-20 20:36:11 -0800 | [diff] [blame^] | 37 | qcom,valid-scaling-factor-versions = <0 1 1 0>; |
| 38 | |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 39 | }; |
| 40 | |
Junjie Wu | 576a647 | 2013-10-02 13:54:33 -0700 | [diff] [blame] | 41 | &krait0_vreg { |
| 42 | regulator-max-microvolt = <1120000>; |
Abhijeet Dharmapurikar | 1441641 | 2013-12-18 13:19:44 -0800 | [diff] [blame] | 43 | qcom,ldo-delta-voltage = <12500>; |
Junjie Wu | 576a647 | 2013-10-02 13:54:33 -0700 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | &krait1_vreg { |
| 47 | regulator-max-microvolt = <1120000>; |
Abhijeet Dharmapurikar | 1441641 | 2013-12-18 13:19:44 -0800 | [diff] [blame] | 48 | qcom,ldo-delta-voltage = <12500>; |
Junjie Wu | 576a647 | 2013-10-02 13:54:33 -0700 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | &krait2_vreg { |
| 52 | regulator-max-microvolt = <1120000>; |
Abhijeet Dharmapurikar | 1441641 | 2013-12-18 13:19:44 -0800 | [diff] [blame] | 53 | qcom,ldo-delta-voltage = <12500>; |
Junjie Wu | 576a647 | 2013-10-02 13:54:33 -0700 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | &krait3_vreg { |
| 57 | regulator-max-microvolt = <1120000>; |
Abhijeet Dharmapurikar | 1441641 | 2013-12-18 13:19:44 -0800 | [diff] [blame] | 58 | qcom,ldo-delta-voltage = <12500>; |
Junjie Wu | 576a647 | 2013-10-02 13:54:33 -0700 | [diff] [blame] | 59 | }; |
| 60 | |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 61 | &tspp { |
| 62 | vdd_cx-supply = <&pm8841_s2_corner>; |
| 63 | }; |
Abhijeet Dharmapurikar | 579347c | 2013-07-19 12:35:06 -0700 | [diff] [blame] | 64 | |
David Collins | eb238ee75 | 2013-12-19 12:14:45 -0800 | [diff] [blame] | 65 | &pm8841_s2_corner { |
| 66 | qcom,init-smps-mode = <0>; /* Allow AUTO mode for VDD_CX. */ |
| 67 | }; |
| 68 | |
Vijayavardhan Vennapusa | 51f76c1 | 2014-02-17 11:01:12 +0530 | [diff] [blame] | 69 | &usb3 { |
| 70 | qcom,usbin-vadc = <&pm8941_vadc>; |
| 71 | }; |
| 72 | |
Abhijeet Dharmapurikar | 579347c | 2013-07-19 12:35:06 -0700 | [diff] [blame] | 73 | &krait_regulator_pmic { |
| 74 | status = "ok"; |
| 75 | |
| 76 | qcom,ctl@2000 { |
| 77 | status = "ok"; |
| 78 | }; |
| 79 | |
| 80 | qcom,ps@2100 { |
| 81 | status = "ok"; |
| 82 | }; |
| 83 | |
| 84 | qcom,freq@2200 { |
| 85 | status = "ok"; |
| 86 | }; |
| 87 | }; |