Hanumant Singh | 14301b4 | 2014-01-16 11:58:29 -0800 | [diff] [blame^] | 1 | /* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. |
Syed Rameez Mustafa | a94a1c0 | 2013-05-20 16:56:07 -0700 | [diff] [blame] | 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 | * 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 Mustafa | 59547c6 | 2013-08-22 21:12:19 -0700 | [diff] [blame] | 20 | /include/ "msm8226-v2-pm.dtsi" |
Syed Rameez Mustafa | a94a1c0 | 2013-05-20 16:56:07 -0700 | [diff] [blame] | 21 | |
| 22 | / { |
| 23 | model = "Qualcomm MSM 8926"; |
| 24 | compatible = "qcom,msm8926"; |
| 25 | }; |
Patrick Daly | c42e904 | 2013-05-23 13:45:34 -0700 | [diff] [blame] | 26 | |
| 27 | &soc { |
| 28 | qcom,mss@fc880000 { |
Patrick Daly | 678f846 | 2013-06-10 19:00:07 -0700 | [diff] [blame] | 29 | 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 Daly | c42e904 | 2013-05-23 13:45:34 -0700 | [diff] [blame] | 35 | vdd_mss-supply = <&pm8226_s5>; |
| 36 | }; |
Patrick Daly | 10acc8c | 2013-06-05 16:44:19 -0700 | [diff] [blame] | 37 | |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 38 | qcom,clock-a7@f9011050 { |
Patrick Daly | 10acc8c | 2013-06-05 16:44:19 -0700 | [diff] [blame] | 39 | reg = <0xf9011050 0x8>, |
| 40 | <0xfc4b80b0 0x8>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 41 | reg-names = "rcg-base", "efuse"; |
| 42 | qcom,speed0-bin-v1 = |
| 43 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 44 | < 384000000 2>, |
| 45 | < 787200000 4>, |
| 46 | <1190400000 7>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 47 | qcom,speed6-bin-v1 = |
| 48 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 49 | < 384000000 2>, |
| 50 | < 787200000 4>, |
| 51 | <1190400000 7>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 52 | qcom,speed2-bin-v1 = |
| 53 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 54 | < 384000000 2>, |
| 55 | < 787200000 4>, |
| 56 | <1401600000 10>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 57 | qcom,speed5-bin-v1 = |
| 58 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 59 | < 384000000 2>, |
| 60 | < 787200000 4>, |
| 61 | <1401600000 10>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 62 | qcom,speed4-bin-v1 = |
| 63 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 64 | < 384000000 2>, |
| 65 | < 787200000 4>, |
| 66 | <1401600000 10>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 67 | qcom,speed7-bin-v1 = |
| 68 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 69 | < 384000000 2>, |
| 70 | < 787200000 4>, |
| 71 | <1401600000 10>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 72 | qcom,speed1-bin-v1 = |
| 73 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 74 | < 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 Daly | 10acc8c | 2013-06-05 16:44:19 -0700 | [diff] [blame] | 84 | }; |
Jennifer Liu | 993487f | 2013-10-01 10:47:18 -0700 | [diff] [blame] | 85 | |
| 86 | qcom,msm-thermal { |
| 87 | qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5", |
| 88 | "tsens_tz_sensor1", "tsens_tz_sensor1"; |
| 89 | }; |
Murali Nalajala | ea5957b | 2013-10-04 11:41:13 +0530 | [diff] [blame] | 90 | |
| 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 Daly | c42e904 | 2013-05-23 13:45:34 -0700 | [diff] [blame] | 134 | }; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 135 | |
| 136 | &pm8226_l3 { |
| 137 | regulator-min-microvolt = <750000>; |
Ke Liu | c9372f8 | 2013-09-19 15:32:08 -0700 | [diff] [blame] | 138 | regulator-max-microvolt = <1350000>; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 139 | }; |
| 140 | |
| 141 | &pm8226_l3_ao { |
| 142 | regulator-min-microvolt = <750000>; |
Ke Liu | c9372f8 | 2013-09-19 15:32:08 -0700 | [diff] [blame] | 143 | regulator-max-microvolt = <1350000>; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 144 | }; |
| 145 | |
| 146 | &pm8226_l3_so { |
| 147 | regulator-min-microvolt = <750000>; |
Ke Liu | c9372f8 | 2013-09-19 15:32:08 -0700 | [diff] [blame] | 148 | regulator-max-microvolt = <1350000>; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 149 | }; |
| 150 | |
| 151 | &pm8226_s2 { |
| 152 | regulator-min-microvolt = <900000>; |
Ke Liu | c9372f8 | 2013-09-19 15:32:08 -0700 | [diff] [blame] | 153 | regulator-max-microvolt = <1350000>; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 154 | }; |
| 155 | |
| 156 | &apc_vreg_corner { |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 157 | qcom,pvs-init-voltage = <1350000 1340000 1330000 1320000 1310000 |
Ke Liu | c9372f8 | 2013-09-19 15:32:08 -0700 | [diff] [blame] | 158 | 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 Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 164 | 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 Liu | 8879361 | 2013-12-18 12:26:48 -0800 | [diff] [blame] | 169 | qcom,cpr-down-threshold = <1>; |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 170 | qcom,cpr-apc-volt-step = <10000>; |
Ke Liu | 8879361 | 2013-12-18 12:26:48 -0800 | [diff] [blame] | 171 | qcom,cpr-quotient-adjustment = <96>; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 172 | }; |
Siddartha Mohanadoss | 36666c9 | 2013-07-17 20:42:12 -0700 | [diff] [blame] | 173 | |
| 174 | &tsens { |
| 175 | qcom,sensors = <6>; |
| 176 | qcom,slope = <2901 2846 3038 2955 2901 2846>; |
| 177 | }; |
Neeti Desai | f82314e | 2013-08-09 15:59:54 -0700 | [diff] [blame] | 178 | |
Syed Rameez Mustafa | 9c079a9 | 2013-07-29 14:59:54 -0700 | [diff] [blame] | 179 | &msmgpio { |
Pavankumar Kondeti | de06842 | 2013-09-24 16:15:38 +0530 | [diff] [blame] | 180 | ngpio = <121>; |
Syed Rameez Mustafa | 9c079a9 | 2013-07-29 14:59:54 -0700 | [diff] [blame] | 181 | }; |
| 182 | |
Neeti Desai | f82314e | 2013-08-09 15:59:54 -0700 | [diff] [blame] | 183 | &memory_hole { |
| 184 | qcom,memblock-remove = <0x08000000 0x7500000 |
| 185 | 0x0fa00000 0x500000>; /* Address and size of the hole */ |
| 186 | }; |
Pavankumar Kondeti | 7c69f62 | 2013-09-24 15:48:20 +0530 | [diff] [blame] | 187 | |
| 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 | }; |