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"; |
Susheel Khiani | a339e26 | 2014-03-14 16:28:02 +0530 | [diff] [blame^] | 25 | |
| 26 | }; |
| 27 | |
| 28 | &qsecom_mem { |
| 29 | linux,memory-limit = <0x0>; |
Syed Rameez Mustafa | a94a1c0 | 2013-05-20 16:56:07 -0700 | [diff] [blame] | 30 | }; |
Patrick Daly | c42e904 | 2013-05-23 13:45:34 -0700 | [diff] [blame] | 31 | |
| 32 | &soc { |
| 33 | qcom,mss@fc880000 { |
Patrick Daly | 678f846 | 2013-06-10 19:00:07 -0700 | [diff] [blame] | 34 | reg = <0xfc880000 0x100>, |
| 35 | <0xfd485000 0x400>, |
| 36 | <0xfc820000 0x20>, |
| 37 | <0xfc401680 0x4>; |
| 38 | reg-names = "qdsp6_base", "halt_base", "rmb_base", |
| 39 | "restart_reg"; |
Patrick Daly | c42e904 | 2013-05-23 13:45:34 -0700 | [diff] [blame] | 40 | vdd_mss-supply = <&pm8226_s5>; |
| 41 | }; |
Patrick Daly | 10acc8c | 2013-06-05 16:44:19 -0700 | [diff] [blame] | 42 | |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 43 | qcom,clock-a7@f9011050 { |
Patrick Daly | 10acc8c | 2013-06-05 16:44:19 -0700 | [diff] [blame] | 44 | reg = <0xf9011050 0x8>, |
| 45 | <0xfc4b80b0 0x8>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 46 | reg-names = "rcg-base", "efuse"; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 47 | qcom,speed0-bin-v0 = |
| 48 | < 0 0>, |
| 49 | < 384000000 2>, |
| 50 | < 787200000 4>, |
| 51 | <1190400000 7>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 52 | qcom,speed0-bin-v1 = |
| 53 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 54 | < 384000000 2>, |
| 55 | < 787200000 4>, |
| 56 | <1190400000 7>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 57 | qcom,speed2-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,speed1-bin-v1 = |
| 63 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 64 | < 384000000 2>, |
| 65 | < 787200000 4>, |
| 66 | < 998400000 5>, |
| 67 | <1094400000 6>, |
| 68 | <1190400000 7>, |
| 69 | <1305600000 8>, |
| 70 | <1344000000 9>, |
| 71 | <1401600000 10>, |
| 72 | <1497600000 11>, |
| 73 | <1593600000 12>; |
Patrick Daly | cd99982 | 2014-01-17 15:16:52 -0800 | [diff] [blame] | 74 | qcom,speed5-bin-v1 = |
| 75 | < 0 0>, |
| 76 | < 384000000 2>, |
| 77 | < 787200000 4>, |
| 78 | < 998400000 5>, |
| 79 | <1094400000 6>, |
| 80 | <1190400000 7>, |
| 81 | <1305600000 8>, |
| 82 | <1344000000 9>, |
| 83 | <1401600000 10>, |
| 84 | <1497600000 11>, |
| 85 | <1593600000 12>, |
| 86 | <1689600000 13>, |
| 87 | <1785600000 14>; |
Patrick Daly | 10acc8c | 2013-06-05 16:44:19 -0700 | [diff] [blame] | 88 | }; |
Jennifer Liu | 993487f | 2013-10-01 10:47:18 -0700 | [diff] [blame] | 89 | |
| 90 | qcom,msm-thermal { |
| 91 | qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5", |
| 92 | "tsens_tz_sensor1", "tsens_tz_sensor1"; |
| 93 | }; |
Murali Nalajala | ea5957b | 2013-10-04 11:41:13 +0530 | [diff] [blame] | 94 | |
| 95 | qcom,mpm@fc4281d0 { |
| 96 | qcom,gpio-map = <3 1>, |
| 97 | <4 4 >, |
| 98 | <5 5 >, |
| 99 | <6 9 >, |
| 100 | <7 13>, |
| 101 | <8 17>, |
| 102 | <9 21>, |
| 103 | <10 27>, |
| 104 | <11 29>, |
| 105 | <12 31>, |
| 106 | <13 33>, |
| 107 | <14 35>, |
| 108 | <15 37>, |
| 109 | <16 38>, |
| 110 | <17 39>, |
| 111 | <18 41>, |
| 112 | <19 46>, |
| 113 | <20 48>, |
| 114 | <21 49>, |
| 115 | <22 50>, |
| 116 | <23 51>, |
| 117 | <24 52>, |
| 118 | <25 54>, |
| 119 | <26 62>, |
| 120 | <27 63>, |
| 121 | <28 64>, |
| 122 | <29 65>, |
| 123 | <30 66>, |
| 124 | <31 67>, |
| 125 | <32 68>, |
| 126 | <33 69>, |
| 127 | <34 71>, |
| 128 | <35 72>, |
| 129 | <36 106>, |
| 130 | <37 107>, |
| 131 | <38 108>, |
| 132 | <39 109>, |
| 133 | <40 110>, |
| 134 | <41 119>, |
| 135 | <54 111>, |
| 136 | <55 113>; |
| 137 | }; |
Patrick Daly | c42e904 | 2013-05-23 13:45:34 -0700 | [diff] [blame] | 138 | }; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 139 | |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 140 | &apc_vreg_corner { |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 141 | qcom,cpr-up-threshold = <0>; |
Ke Liu | 3853bd1 | 2014-02-01 10:57:17 -0800 | [diff] [blame] | 142 | qcom,cpr-down-threshold = <2>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 143 | regulator-min-microvolt = <1>; |
| 144 | regulator-max-microvolt = <14>; |
| 145 | qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3 3 3 3 3 3>; |
Ke Liu | 3853bd1 | 2014-02-01 10:57:17 -0800 | [diff] [blame] | 146 | qcom,cpr-quotient-adjustment = <0 72 72>; |
Wu Fenglin | f337df1 | 2014-01-14 20:59:58 +0800 | [diff] [blame] | 147 | qcom,pvs-version-fuse-sel = <22 4 2 0>; |
| 148 | qcom,cpr-corner-frequency-map = |
| 149 | <1 300000000>, |
| 150 | <2 384000000>, |
| 151 | <3 600000000>, |
| 152 | <4 787200000>, |
| 153 | <5 998400000>, |
| 154 | <6 1094400000>, |
| 155 | <7 1190400000>, |
| 156 | <8 1305600000>, |
| 157 | <9 1344000000>, |
| 158 | <10 1401600000>, |
| 159 | <11 1497600000>, |
| 160 | <12 1593600000>, |
| 161 | <13 1689600000>, |
| 162 | <14 1785600000>; |
| 163 | qcom,cpr-speed-bin-max-corners = |
| 164 | <0 1 2 4 7>, |
| 165 | <1 1 2 4 12>, |
| 166 | <2 1 2 4 10>, |
| 167 | <5 1 2 4 14>; |
| 168 | qcom,cpr-quot-adjust-scaling-factor-max = <650>; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 169 | }; |
Siddartha Mohanadoss | 36666c9 | 2013-07-17 20:42:12 -0700 | [diff] [blame] | 170 | |
| 171 | &tsens { |
| 172 | qcom,sensors = <6>; |
| 173 | qcom,slope = <2901 2846 3038 2955 2901 2846>; |
| 174 | }; |
Neeti Desai | f82314e | 2013-08-09 15:59:54 -0700 | [diff] [blame] | 175 | |
Syed Rameez Mustafa | 9c079a9 | 2013-07-29 14:59:54 -0700 | [diff] [blame] | 176 | &msmgpio { |
Pavankumar Kondeti | de06842 | 2013-09-24 16:15:38 +0530 | [diff] [blame] | 177 | ngpio = <121>; |
Syed Rameez Mustafa | 9c079a9 | 2013-07-29 14:59:54 -0700 | [diff] [blame] | 178 | }; |
| 179 | |
Neeti Desai | f82314e | 2013-08-09 15:59:54 -0700 | [diff] [blame] | 180 | &memory_hole { |
| 181 | qcom,memblock-remove = <0x08000000 0x7500000 |
| 182 | 0x0fa00000 0x500000>; /* Address and size of the hole */ |
| 183 | }; |
Pavankumar Kondeti | 7c69f62 | 2013-09-24 15:48:20 +0530 | [diff] [blame] | 184 | |
| 185 | &hsic_host { |
| 186 | interrupt-map = <0 &intc 0 136 0 |
| 187 | 1 &intc 0 148 0 |
| 188 | 2 &msmgpio 119 0x8>; |
| 189 | hsic,strobe-gpio = <&msmgpio 119 0x00>; |
| 190 | hsic,data-gpio = <&msmgpio 120 0x00>; |
| 191 | }; |
Saket Saurabh | b39f0f9 | 2014-02-19 11:52:17 +0530 | [diff] [blame] | 192 | |
| 193 | &usb_otg { |
| 194 | /delete-property/ qcom,hsusb-otg-disable-reset; |
| 195 | qcom,ahb-async-bridge-bypass; |
| 196 | }; |
| 197 | |