blob: 573fb706e17ae1ebd74d07b625b2fefd8e7ce01c [file] [log] [blame]
Hanumant Singh14301b42014-01-16 11:58:29 -08001/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
Syed Rameez Mustafaa94a1c02013-05-20 16:56:07 -07002 *
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 * Only 8926-specific property overrides should be placed inside this
15 * file. Device definitions should be placed inside the msm8226.dtsi
16 * file.
17 */
18
19/include/ "msm8226.dtsi"
Syed Rameez Mustafa59547c62013-08-22 21:12:19 -070020/include/ "msm8226-v2-pm.dtsi"
Syed Rameez Mustafaa94a1c02013-05-20 16:56:07 -070021
22/ {
23 model = "Qualcomm MSM 8926";
24 compatible = "qcom,msm8926";
25};
Patrick Dalyc42e9042013-05-23 13:45:34 -070026
27&soc {
28 qcom,mss@fc880000 {
Patrick Daly678f8462013-06-10 19:00:07 -070029 reg = <0xfc880000 0x100>,
30 <0xfd485000 0x400>,
31 <0xfc820000 0x20>,
32 <0xfc401680 0x4>;
33 reg-names = "qdsp6_base", "halt_base", "rmb_base",
34 "restart_reg";
Patrick Dalyc42e9042013-05-23 13:45:34 -070035 vdd_mss-supply = <&pm8226_s5>;
36 };
Patrick Daly10acc8c2013-06-05 16:44:19 -070037
Patrick Daly3d1e0672013-12-16 12:33:40 -080038 qcom,clock-a7@f9011050 {
Patrick Daly10acc8c2013-06-05 16:44:19 -070039 reg = <0xf9011050 0x8>,
40 <0xfc4b80b0 0x8>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080041 reg-names = "rcg-base", "efuse";
42 qcom,speed0-bin-v1 =
43 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080044 < 384000000 2>,
45 < 787200000 4>,
46 <1190400000 7>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080047 qcom,speed6-bin-v1 =
48 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080049 < 384000000 2>,
50 < 787200000 4>,
51 <1190400000 7>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080052 qcom,speed2-bin-v1 =
53 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080054 < 384000000 2>,
55 < 787200000 4>,
56 <1401600000 10>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080057 qcom,speed5-bin-v1 =
58 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080059 < 384000000 2>,
60 < 787200000 4>,
61 <1401600000 10>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080062 qcom,speed4-bin-v1 =
63 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080064 < 384000000 2>,
65 < 787200000 4>,
66 <1401600000 10>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080067 qcom,speed7-bin-v1 =
68 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080069 < 384000000 2>,
70 < 787200000 4>,
71 <1401600000 10>;
Patrick Daly3d1e0672013-12-16 12:33:40 -080072 qcom,speed1-bin-v1 =
73 < 0 0>,
Ke Liua7ed4f52014-01-10 11:58:33 -080074 < 384000000 2>,
75 < 787200000 4>,
76 < 998400000 5>,
77 <1094400000 6>,
78 <1190400000 7>,
79 <1305600000 8>,
80 <1344000000 9>,
81 <1401600000 10>,
82 <1497600000 11>,
83 <1593600000 12>;
Patrick Daly10acc8c2013-06-05 16:44:19 -070084 };
Jennifer Liu993487f2013-10-01 10:47:18 -070085
86 qcom,msm-thermal {
87 qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5",
88 "tsens_tz_sensor1", "tsens_tz_sensor1";
89 };
Murali Nalajalaea5957b2013-10-04 11:41:13 +053090
91 qcom,mpm@fc4281d0 {
92 qcom,gpio-map = <3 1>,
93 <4 4 >,
94 <5 5 >,
95 <6 9 >,
96 <7 13>,
97 <8 17>,
98 <9 21>,
99 <10 27>,
100 <11 29>,
101 <12 31>,
102 <13 33>,
103 <14 35>,
104 <15 37>,
105 <16 38>,
106 <17 39>,
107 <18 41>,
108 <19 46>,
109 <20 48>,
110 <21 49>,
111 <22 50>,
112 <23 51>,
113 <24 52>,
114 <25 54>,
115 <26 62>,
116 <27 63>,
117 <28 64>,
118 <29 65>,
119 <30 66>,
120 <31 67>,
121 <32 68>,
122 <33 69>,
123 <34 71>,
124 <35 72>,
125 <36 106>,
126 <37 107>,
127 <38 108>,
128 <39 109>,
129 <40 110>,
130 <41 119>,
131 <54 111>,
132 <55 113>;
133 };
Patrick Dalyc42e9042013-05-23 13:45:34 -0700134};
David Collinsf2d9b202013-06-04 13:53:17 -0700135
136&pm8226_l3 {
137 regulator-min-microvolt = <750000>;
Ke Liuc9372f82013-09-19 15:32:08 -0700138 regulator-max-microvolt = <1350000>;
David Collinsf2d9b202013-06-04 13:53:17 -0700139};
140
141&pm8226_l3_ao {
142 regulator-min-microvolt = <750000>;
Ke Liuc9372f82013-09-19 15:32:08 -0700143 regulator-max-microvolt = <1350000>;
David Collinsf2d9b202013-06-04 13:53:17 -0700144};
145
146&pm8226_l3_so {
147 regulator-min-microvolt = <750000>;
Ke Liuc9372f82013-09-19 15:32:08 -0700148 regulator-max-microvolt = <1350000>;
David Collinsf2d9b202013-06-04 13:53:17 -0700149};
150
151&pm8226_s2 {
152 regulator-min-microvolt = <900000>;
Ke Liuc9372f82013-09-19 15:32:08 -0700153 regulator-max-microvolt = <1350000>;
David Collinsf2d9b202013-06-04 13:53:17 -0700154};
155
156&apc_vreg_corner {
Ke Liu7abaef82013-12-23 10:22:26 -0800157 qcom,pvs-init-voltage = <1350000 1340000 1330000 1320000 1310000
Ke Liuc9372f82013-09-19 15:32:08 -0700158 1300000 1290000 1280000 1270000 1260000
159 1250000 1240000 1230000 1220000 1210000
160 1200000 1190000 1180000 1170000 1160000
161 1150000 1140000 1140000 1140000 1140000
162 1140000 1140000 1140000 1140000 1140000
163 1140000 1140000>;
Ke Liu7abaef82013-12-23 10:22:26 -0800164 qcom,pvs-corner-ceiling-slow = <1050000 1150000 1280000>;
165 qcom,pvs-corner-ceiling-nom = <1050000 1080000 1200000>;
166 qcom,pvs-corner-ceiling-fast = <1050000 1050000 1100000>;
167 qcom,cpr-step-quotient = <30>;
168 qcom,cpr-up-threshold = <0>;
Ke Liu88793612013-12-18 12:26:48 -0800169 qcom,cpr-down-threshold = <1>;
Ke Liu7abaef82013-12-23 10:22:26 -0800170 qcom,cpr-apc-volt-step = <10000>;
Ke Liu88793612013-12-18 12:26:48 -0800171 qcom,cpr-quotient-adjustment = <96>;
David Collinsf2d9b202013-06-04 13:53:17 -0700172};
Siddartha Mohanadoss36666c92013-07-17 20:42:12 -0700173
174&tsens {
175 qcom,sensors = <6>;
176 qcom,slope = <2901 2846 3038 2955 2901 2846>;
177};
Neeti Desaif82314e2013-08-09 15:59:54 -0700178
Syed Rameez Mustafa9c079a92013-07-29 14:59:54 -0700179&msmgpio {
Pavankumar Kondetide068422013-09-24 16:15:38 +0530180 ngpio = <121>;
Syed Rameez Mustafa9c079a92013-07-29 14:59:54 -0700181};
182
Neeti Desaif82314e2013-08-09 15:59:54 -0700183&memory_hole {
184 qcom,memblock-remove = <0x08000000 0x7500000
185 0x0fa00000 0x500000>; /* Address and size of the hole */
186};
Pavankumar Kondeti7c69f622013-09-24 15:48:20 +0530187
188&hsic_host {
189 interrupt-map = <0 &intc 0 136 0
190 1 &intc 0 148 0
191 2 &msmgpio 119 0x8>;
192 hsic,strobe-gpio = <&msmgpio 119 0x00>;
193 hsic,data-gpio = <&msmgpio 120 0x00>;
194};