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"; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 42 | qcom,speed0-bin-v0 = |
| 43 | < 0 0>, |
| 44 | < 384000000 2>, |
| 45 | < 787200000 4>, |
| 46 | <1190400000 7>; |
Patrick Daly | 3d1e067 | 2013-12-16 12:33:40 -0800 | [diff] [blame] | 47 | qcom,speed0-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,speed1-bin-v1 = |
| 58 | < 0 0>, |
Ke Liu | a7ed4f5 | 2014-01-10 11:58:33 -0800 | [diff] [blame] | 59 | < 384000000 2>, |
| 60 | < 787200000 4>, |
| 61 | < 998400000 5>, |
| 62 | <1094400000 6>, |
| 63 | <1190400000 7>, |
| 64 | <1305600000 8>, |
| 65 | <1344000000 9>, |
| 66 | <1401600000 10>, |
| 67 | <1497600000 11>, |
| 68 | <1593600000 12>; |
Patrick Daly | cd99982 | 2014-01-17 15:16:52 -0800 | [diff] [blame] | 69 | qcom,speed5-bin-v1 = |
| 70 | < 0 0>, |
| 71 | < 384000000 2>, |
| 72 | < 787200000 4>, |
| 73 | < 998400000 5>, |
| 74 | <1094400000 6>, |
| 75 | <1190400000 7>, |
| 76 | <1305600000 8>, |
| 77 | <1344000000 9>, |
| 78 | <1401600000 10>, |
| 79 | <1497600000 11>, |
| 80 | <1593600000 12>, |
| 81 | <1689600000 13>, |
| 82 | <1785600000 14>; |
Patrick Daly | 10acc8c | 2013-06-05 16:44:19 -0700 | [diff] [blame] | 83 | }; |
Jennifer Liu | 993487f | 2013-10-01 10:47:18 -0700 | [diff] [blame] | 84 | |
| 85 | qcom,msm-thermal { |
| 86 | qcom,cpu-sensors = "tsens_tz_sensor5", "tsens_tz_sensor5", |
| 87 | "tsens_tz_sensor1", "tsens_tz_sensor1"; |
| 88 | }; |
Murali Nalajala | ea5957b | 2013-10-04 11:41:13 +0530 | [diff] [blame] | 89 | |
| 90 | qcom,mpm@fc4281d0 { |
| 91 | qcom,gpio-map = <3 1>, |
| 92 | <4 4 >, |
| 93 | <5 5 >, |
| 94 | <6 9 >, |
| 95 | <7 13>, |
| 96 | <8 17>, |
| 97 | <9 21>, |
| 98 | <10 27>, |
| 99 | <11 29>, |
| 100 | <12 31>, |
| 101 | <13 33>, |
| 102 | <14 35>, |
| 103 | <15 37>, |
| 104 | <16 38>, |
| 105 | <17 39>, |
| 106 | <18 41>, |
| 107 | <19 46>, |
| 108 | <20 48>, |
| 109 | <21 49>, |
| 110 | <22 50>, |
| 111 | <23 51>, |
| 112 | <24 52>, |
| 113 | <25 54>, |
| 114 | <26 62>, |
| 115 | <27 63>, |
| 116 | <28 64>, |
| 117 | <29 65>, |
| 118 | <30 66>, |
| 119 | <31 67>, |
| 120 | <32 68>, |
| 121 | <33 69>, |
| 122 | <34 71>, |
| 123 | <35 72>, |
| 124 | <36 106>, |
| 125 | <37 107>, |
| 126 | <38 108>, |
| 127 | <39 109>, |
| 128 | <40 110>, |
| 129 | <41 119>, |
| 130 | <54 111>, |
| 131 | <55 113>; |
| 132 | }; |
Patrick Daly | c42e904 | 2013-05-23 13:45:34 -0700 | [diff] [blame] | 133 | }; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 134 | |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 135 | &apc_vreg_corner { |
Ke Liu | 7abaef8 | 2013-12-23 10:22:26 -0800 | [diff] [blame] | 136 | qcom,cpr-up-threshold = <0>; |
Ke Liu | 3853bd1 | 2014-02-01 10:57:17 -0800 | [diff] [blame] | 137 | qcom,cpr-down-threshold = <2>; |
Ke Liu | 9102dcf | 2014-02-10 11:50:28 -0800 | [diff] [blame] | 138 | regulator-min-microvolt = <1>; |
| 139 | regulator-max-microvolt = <14>; |
| 140 | qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3 3 3 3 3 3>; |
| 141 | qcom,cpr-quot-adjust-table = |
| 142 | <1 5 450>, |
| 143 | <1 6 375>, |
| 144 | <1 7 300>, |
| 145 | <1 8 225>, |
| 146 | <1 9 187>, |
| 147 | <1 10 150>, |
| 148 | <1 11 75>; |
Ke Liu | 3853bd1 | 2014-02-01 10:57:17 -0800 | [diff] [blame] | 149 | qcom,cpr-quotient-adjustment = <0 72 72>; |
David Collins | f2d9b20 | 2013-06-04 13:53:17 -0700 | [diff] [blame] | 150 | }; |
Siddartha Mohanadoss | 36666c9 | 2013-07-17 20:42:12 -0700 | [diff] [blame] | 151 | |
| 152 | &tsens { |
| 153 | qcom,sensors = <6>; |
| 154 | qcom,slope = <2901 2846 3038 2955 2901 2846>; |
| 155 | }; |
Neeti Desai | f82314e | 2013-08-09 15:59:54 -0700 | [diff] [blame] | 156 | |
Syed Rameez Mustafa | 9c079a9 | 2013-07-29 14:59:54 -0700 | [diff] [blame] | 157 | &msmgpio { |
Pavankumar Kondeti | de06842 | 2013-09-24 16:15:38 +0530 | [diff] [blame] | 158 | ngpio = <121>; |
Syed Rameez Mustafa | 9c079a9 | 2013-07-29 14:59:54 -0700 | [diff] [blame] | 159 | }; |
| 160 | |
Neeti Desai | f82314e | 2013-08-09 15:59:54 -0700 | [diff] [blame] | 161 | &memory_hole { |
| 162 | qcom,memblock-remove = <0x08000000 0x7500000 |
| 163 | 0x0fa00000 0x500000>; /* Address and size of the hole */ |
| 164 | }; |
Pavankumar Kondeti | 7c69f62 | 2013-09-24 15:48:20 +0530 | [diff] [blame] | 165 | |
| 166 | &hsic_host { |
| 167 | interrupt-map = <0 &intc 0 136 0 |
| 168 | 1 &intc 0 148 0 |
| 169 | 2 &msmgpio 119 0x8>; |
| 170 | hsic,strobe-gpio = <&msmgpio 119 0x00>; |
| 171 | hsic,data-gpio = <&msmgpio 120 0x00>; |
| 172 | }; |