blob: 9c2be1a5c55f6a5cf3a1655207d989dd0a5cc090 [file] [log] [blame]
Stepan Moskovchenko6b8bbc52013-06-14 15:55:04 -07001/* 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 Collins02817ff2013-06-18 09:31:00 -070020
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 Dharmapurikar5c50e2f2014-02-20 20:36:11 -080037 qcom,valid-scaling-factor-versions = <0 1 1 0>;
38
David Collins02817ff2013-06-18 09:31:00 -070039};
40
Junjie Wu576a6472013-10-02 13:54:33 -070041&krait0_vreg {
42 regulator-max-microvolt = <1120000>;
Abhijeet Dharmapurikar14416412013-12-18 13:19:44 -080043 qcom,ldo-delta-voltage = <12500>;
Junjie Wu576a6472013-10-02 13:54:33 -070044};
45
46&krait1_vreg {
47 regulator-max-microvolt = <1120000>;
Abhijeet Dharmapurikar14416412013-12-18 13:19:44 -080048 qcom,ldo-delta-voltage = <12500>;
Junjie Wu576a6472013-10-02 13:54:33 -070049};
50
51&krait2_vreg {
52 regulator-max-microvolt = <1120000>;
Abhijeet Dharmapurikar14416412013-12-18 13:19:44 -080053 qcom,ldo-delta-voltage = <12500>;
Junjie Wu576a6472013-10-02 13:54:33 -070054};
55
56&krait3_vreg {
57 regulator-max-microvolt = <1120000>;
Abhijeet Dharmapurikar14416412013-12-18 13:19:44 -080058 qcom,ldo-delta-voltage = <12500>;
Junjie Wu576a6472013-10-02 13:54:33 -070059};
60
David Collins02817ff2013-06-18 09:31:00 -070061&tspp {
62 vdd_cx-supply = <&pm8841_s2_corner>;
63};
Abhijeet Dharmapurikar579347c2013-07-19 12:35:06 -070064
David Collinseb238ee752013-12-19 12:14:45 -080065&pm8841_s2_corner {
66 qcom,init-smps-mode = <0>; /* Allow AUTO mode for VDD_CX. */
67};
68
Vijayavardhan Vennapusa51f76c12014-02-17 11:01:12 +053069&usb3 {
70 qcom,usbin-vadc = <&pm8941_vadc>;
71};
72
Abhijeet Dharmapurikar579347c2013-07-19 12:35:06 -070073&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};