Stepan Moskovchenko | 1b6dac6 | 2013-01-15 18:48:51 -0800 | [diff] [blame] | 1 | /* 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 version-specific property overrides should be placed |
| 15 | * inside this file. However, device definitions should be placed inside the |
| 16 | * msm8974.dtsi file. |
| 17 | */ |
| 18 | |
| 19 | /include/ "msm8974.dtsi" |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 20 | |
| 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 | |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 35 | /include/ "msm8974-v1-iommu.dtsi" |
Shalaj Jain | bea6268 | 2013-01-31 18:26:20 -0800 | [diff] [blame] | 36 | /include/ "msm8974-v1-iommu-domains.dtsi" |
Mahesh Sivasubramanian | 84c31c9 | 2013-03-06 18:19:49 -0700 | [diff] [blame] | 37 | /include/ "msm8974-v1-pm.dtsi" |
Abhimanyu Kapur | 032b1f4 | 2013-01-18 00:10:50 -0800 | [diff] [blame] | 38 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 39 | &soc { |
Manu Gautam | 8a7a8f1 | 2013-01-22 13:56:29 +0530 | [diff] [blame] | 40 | android_usb@fc42b0c8 { |
| 41 | compatible = "qcom,android-usb"; |
| 42 | reg = <0xfc42b0c8 0xc8>; |
| 43 | qcom,android-usb-swfi-latency = <1>; |
| 44 | }; |
| 45 | |
Abhimanyu Kapur | 032b1f4 | 2013-01-18 00:10:50 -0800 | [diff] [blame] | 46 | qcom,msm-imem@fc42b000 { |
| 47 | compatible = "qcom,msm-imem"; |
| 48 | reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ |
| 49 | }; |
| 50 | }; |
Siddartha Mohanadoss | 4a8544c | 2013-02-01 19:44:33 -0800 | [diff] [blame] | 51 | |
| 52 | &tsens { |
| 53 | qcom,calibration-less-mode; |
| 54 | }; |
Gilad Avidov | ad83762 | 2013-02-15 09:42:49 -0700 | [diff] [blame] | 55 | |
| 56 | /* I2C clock frequency overrides */ |
| 57 | &i2c_0 { |
| 58 | qcom,i2c-src-freq = <19200000>; |
| 59 | }; |
| 60 | |
| 61 | &i2c_2 { |
| 62 | qcom,i2c-src-freq = <19200000>; |
| 63 | }; |
Vinay Kalia | b35a018 | 2013-02-16 16:44:34 -0800 | [diff] [blame] | 64 | |
Pratik Patel | 1f3ea35 | 2013-02-09 21:13:23 -0800 | [diff] [blame] | 65 | /* CoreSight */ |
| 66 | &tmc_etr { |
| 67 | qcom,reset-flush-race; |
Pushkar Joshi | ffbac90 | 2013-05-13 22:53:52 -0700 | [diff] [blame] | 68 | qcom,byte-cntr-absent; |
Pratik Patel | 1f3ea35 | 2013-02-09 21:13:23 -0800 | [diff] [blame] | 69 | }; |
| 70 | |
Pratik Patel | f26a0e4 | 2013-02-11 12:00:04 -0800 | [diff] [blame] | 71 | &stm { |
| 72 | qcom,write-64bit; |
| 73 | }; |
| 74 | |
Siddhartha Agrawal | 98f415c | 2013-03-26 16:58:01 -0700 | [diff] [blame] | 75 | &mdss_mdp { |
| 76 | qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; |
| 77 | }; |
| 78 | |
Vinay Kalia | b35a018 | 2013-02-16 16:44:34 -0800 | [diff] [blame] | 79 | &msm_vidc { |
| 80 | qcom,vidc-cp-map = <0x1000000 0x3f000000>; |
| 81 | qcom,vidc-ns-map = <0x40000000 0x40000000>; |
| 82 | qcom,load-freq-tbl = <979200 410000000>, |
| 83 | <783360 410000000>, |
| 84 | <489600 266670000>, |
| 85 | <244800 133330000>; |
| 86 | qcom,reg-presets = <0x80004 0x1>, |
| 87 | <0x80178 0x00001FFF>, |
| 88 | <0x8017c 0x1FFF1FFF>, |
| 89 | <0x800b0 0x10101001>, |
| 90 | <0x800b4 0x10101010>, |
| 91 | <0x800b8 0x10101010>, |
| 92 | <0x800bc 0x00000010>, |
| 93 | <0x800c0 0x1010100f>, |
| 94 | <0x800c4 0x10101010>, |
| 95 | <0x800c8 0x10101010>, |
| 96 | <0x800cc 0x00000010>, |
| 97 | <0x800d0 0x00001010>, |
| 98 | <0x800d4 0x00001010>, |
| 99 | <0x800f0 0x00000030>, |
| 100 | <0x800d8 0x00000707>, |
| 101 | <0x800dc 0x00000707>, |
| 102 | <0x80124 0x00000001>, |
| 103 | <0xE0020 0x5555556>, |
| 104 | <0xE0024 0x0>; |
| 105 | qcom,bus-ports = <1>; |
| 106 | qcom,enc-ocmem-ab-ib = <0 0>, |
| 107 | <138200 1222000>, |
| 108 | <414700 1222000>, |
| 109 | <940000 2444000>, |
| 110 | <1880000 2444000>, |
| 111 | <3008000 3910400>, |
| 112 | <3760000 4888000>; |
| 113 | qcom,dec-ocmem-ab-ib = <0 0>, |
| 114 | <176900 1556640>, |
| 115 | <456200 1556640>, |
| 116 | <864800 1556640>, |
| 117 | <1729600 3113280>, |
| 118 | <2767360 4981248>, |
| 119 | <3459200 6226560>; |
| 120 | qcom,enc-ddr-ab-ib = <0 0>, |
| 121 | <60000 664950>, |
| 122 | <181000 664950>, |
| 123 | <403000 664950>, |
| 124 | <806000 1329900>, |
| 125 | <1289600 2127840>, |
| 126 | <161200 6400000>; |
| 127 | qcom,dec-ddr-ab-ib = <0 0>, |
| 128 | <110000 909000>, |
| 129 | <268000 909000>, |
| 130 | <505000 909000>, |
| 131 | <1010000 1818000>, |
| 132 | <1616000 2908800>, |
| 133 | <2020000 6400000>; |
Shalaj Jain | c2feb4d | 2013-02-12 13:44:00 -0800 | [diff] [blame] | 134 | qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; |
| 135 | qcom,iommu-group-buffer-types = <0xfff 0x1ff>; |
| 136 | qcom,buffer-type-tz-usage-table = <0x1 0x1>, |
Cullum Baldwin | 673f986 | 2013-10-25 17:39:47 -0700 | [diff] [blame] | 137 | <0x7fe 0x2>; |
Vinay Kalia | b35a018 | 2013-02-16 16:44:34 -0800 | [diff] [blame] | 138 | }; |
Jeff Hugo | d368de0 | 2013-02-28 10:54:55 -0700 | [diff] [blame] | 139 | |
| 140 | &sfpb_spinlock { |
| 141 | status = "disable"; |
| 142 | }; |
| 143 | |
| 144 | &ldrex_spinlock { |
| 145 | status = "ok"; |
| 146 | }; |
Manu Gautam | 59ce587 | 2013-04-04 13:54:50 +0530 | [diff] [blame] | 147 | |
| 148 | &usb_otg { |
| 149 | qcom,hsusb-otg-pnoc-errata-fix; |
| 150 | }; |
Matt Wagantall | 92fa309 | 2013-07-18 18:51:58 -0700 | [diff] [blame] | 151 | |
Vijayavardhan Vennapusa | 51f76c1 | 2014-02-17 11:01:12 +0530 | [diff] [blame] | 152 | &usb3 { |
| 153 | qcom,usbin-vadc = <&pm8941_vadc>; |
| 154 | }; |
| 155 | |
Matt Wagantall | 92fa309 | 2013-07-18 18:51:58 -0700 | [diff] [blame] | 156 | &gdsc_venus { |
| 157 | qcom,skip-logic-collapse; |
| 158 | qcom,retain-periph; |
| 159 | qcom,retain-mem; |
| 160 | }; |
| 161 | |
| 162 | &gdsc_mdss { |
| 163 | qcom,skip-logic-collapse; |
| 164 | qcom,retain-periph; |
| 165 | qcom,retain-mem; |
| 166 | }; |
| 167 | |
| 168 | &gdsc_oxili_gx { |
| 169 | qcom,retain-mem; |
| 170 | qcom,retain-periph; |
| 171 | }; |
Abhijeet Dharmapurikar | 579347c | 2013-07-19 12:35:06 -0700 | [diff] [blame] | 172 | |
| 173 | &krait_regulator_pmic { |
| 174 | status = "ok"; |
| 175 | |
| 176 | qcom,ctl@2000 { |
| 177 | status = "ok"; |
| 178 | }; |
| 179 | |
| 180 | qcom,ps@2100 { |
| 181 | status = "ok"; |
| 182 | }; |
| 183 | |
| 184 | qcom,freq@2200 { |
| 185 | status = "ok"; |
| 186 | }; |
| 187 | }; |