Gilad Avidov | 289d0fc | 2012-08-08 14:06:24 -0600 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [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 | /include/ "skeleton.dtsi" |
| 14 | |
| 15 | / { |
| 16 | model = "Qualcomm MPQ8092"; |
| 17 | compatible = "qcom,mpq8092"; |
| 18 | interrupt-parent = <&intc>; |
| 19 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 20 | soc: soc { }; |
| 21 | }; |
| 22 | |
| 23 | /include/ "mpq8092-iommu.dtsi" |
Chintan Pandya | 0754176 | 2013-05-23 15:21:54 +0530 | [diff] [blame^] | 24 | /include/ "mpq8092-iommu-domains.dtsi" |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 25 | /include/ "msm-gdsc.dtsi" |
| 26 | /include/ "mpq8092-ion.dtsi" |
| 27 | |
| 28 | &soc { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <1>; |
| 31 | ranges; |
| 32 | |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 33 | intc: interrupt-controller@f9000000 { |
| 34 | compatible = "qcom,msm-qgic2"; |
| 35 | interrupt-controller; |
| 36 | #interrupt-cells = <3>; |
| 37 | reg = <0xf9000000 0x1000>, |
| 38 | <0xf9002000 0x1000>; |
| 39 | }; |
| 40 | |
Ravi Kumar V | 57f65f5 | 2012-09-12 14:39:23 +0530 | [diff] [blame] | 41 | msmgpio: gpio@fd510000 { |
| 42 | compatible = "qcom,msm-gpio"; |
| 43 | gpio-controller; |
| 44 | #gpio-cells = <2>; |
| 45 | interrupt-controller; |
| 46 | #interrupt-cells = <2>; |
| 47 | reg = <0xfd510000 0x4000>; |
Rohit Vaswani | 341c203 | 2012-11-08 18:49:29 -0800 | [diff] [blame] | 48 | ngpio = <146>; |
Rohit Vaswani | d200152 | 2012-12-05 19:23:44 -0800 | [diff] [blame] | 49 | interrupts = <0 208 0>; |
Rohit Vaswani | ed0a4ef | 2012-12-11 15:14:42 -0800 | [diff] [blame] | 50 | qcom,direct-connect-irqs = <8>; |
Ravi Kumar V | 57f65f5 | 2012-09-12 14:39:23 +0530 | [diff] [blame] | 51 | }; |
| 52 | |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 53 | timer { |
Syed Rameez Mustafa | 0824d6c | 2012-11-29 18:53:56 -0800 | [diff] [blame] | 54 | compatible = "arm,armv7-timer"; |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 55 | interrupts = <1 2 0>, <1 3 0>; |
| 56 | clock-frequency = <19200000>; |
| 57 | }; |
| 58 | |
Srinivas Ramana | b4103ab | 2013-06-04 19:55:03 +0530 | [diff] [blame] | 59 | timer@f9020000 { |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <1>; |
| 62 | ranges; |
| 63 | compatible = "arm,armv7-timer-mem"; |
| 64 | reg = <0xf9020000 0x1000>; |
| 65 | clock-frequency = <19200000>; |
| 66 | |
| 67 | frame@f9021000 { |
| 68 | frame-number = <0>; |
| 69 | interrupts = <0 8 0x4>, |
| 70 | <0 7 0x4>; |
| 71 | reg = <0xf9021000 0x1000>, |
| 72 | <0xf9022000 0x1000>; |
| 73 | }; |
| 74 | |
| 75 | frame@f9023000 { |
| 76 | frame-number = <1>; |
| 77 | interrupts = <0 9 0x4>; |
| 78 | reg = <0xf9023000 0x1000>; |
| 79 | status = "disabled"; |
| 80 | }; |
| 81 | |
| 82 | frame@f9024000 { |
| 83 | frame-number = <2>; |
| 84 | interrupts = <0 10 0x4>; |
| 85 | reg = <0xf9024000 0x1000>; |
| 86 | status = "disabled"; |
| 87 | }; |
| 88 | |
| 89 | frame@f9025000 { |
| 90 | frame-number = <3>; |
| 91 | interrupts = <0 11 0x4>; |
| 92 | reg = <0xf9025000 0x1000>; |
| 93 | status = "disabled"; |
| 94 | }; |
| 95 | |
| 96 | frame@f9026000 { |
| 97 | frame-number = <4>; |
| 98 | interrupts = <0 12 0x4>; |
| 99 | reg = <0xf9026000 0x1000>; |
| 100 | status = "disabled"; |
| 101 | }; |
| 102 | |
| 103 | frame@f9027000 { |
| 104 | frame-number = <5>; |
| 105 | interrupts = <0 13 0x4>; |
| 106 | reg = <0xf9027000 0x1000>; |
| 107 | status = "disabled"; |
| 108 | }; |
| 109 | |
| 110 | frame@f9028000 { |
| 111 | frame-number = <6>; |
| 112 | interrupts = <0 14 0x4>; |
| 113 | reg = <0xf9028000 0x1000>; |
| 114 | status = "disabled"; |
| 115 | }; |
| 116 | }; |
| 117 | |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 118 | serial@f991f000 { |
| 119 | compatible = "qcom,msm-lsuart-v14"; |
| 120 | reg = <0xf991f000 0x1000>; |
| 121 | interrupts = <0 109 0>; |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
Srinivas Ramana | b4103ab | 2013-06-04 19:55:03 +0530 | [diff] [blame] | 125 | serial@f9922000 { |
| 126 | compatible = "qcom,msm-lsuart-v14"; |
| 127 | reg = <0xf9922000 0x1000>; |
| 128 | interrupts = <0 112 0>; |
| 129 | status = "disabled"; |
| 130 | }; |
| 131 | |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 132 | serial@f995e000 { |
| 133 | compatible = "qcom,msm-lsuart-v14"; |
| 134 | reg = <0xf995e000 0x1000>; |
| 135 | interrupts = <0 114 0>; |
| 136 | status = "disabled"; |
| 137 | }; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 138 | |
Srinivas Ramana | 8a9ad55 | 2013-05-22 14:58:56 +0530 | [diff] [blame] | 139 | qcom,msm-imem@fe805000 { |
| 140 | compatible = "qcom,msm-imem"; |
| 141 | reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ |
| 142 | }; |
| 143 | |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 144 | spmi_bus: qcom,spmi@fc4c0000 { |
| 145 | cell-index = <0>; |
| 146 | compatible = "qcom,spmi-pmic-arb"; |
Kenneth Heitke | 366b8a4 | 2012-12-18 13:51:37 -0700 | [diff] [blame] | 147 | reg-names = "core", "intr", "cnfg"; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 148 | reg = <0xfc4cf000 0x1000>, |
Kenneth Heitke | 366b8a4 | 2012-12-18 13:51:37 -0700 | [diff] [blame] | 149 | <0Xfc4cb000 0x1000>, |
| 150 | <0Xfc4ca000 0x1000>; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 151 | /* 190,ee0_krait_hlos_spmi_periph_irq */ |
| 152 | /* 187,channel_0_krait_hlos_trans_done_irq */ |
| 153 | interrupts = <0 190 0 0 187 0>; |
Sujit Reddy Thumma | 397dffd | 2012-10-29 13:38:49 +0530 | [diff] [blame] | 154 | qcom,not-wakeup; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 155 | qcom,pmic-arb-ee = <0>; |
| 156 | qcom,pmic-arb-channel = <0>; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 157 | }; |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 158 | |
| 159 | sdcc1: qcom,sdcc@f9824000 { |
| 160 | cell-index = <1>; /* SDC1 eMMC slot */ |
| 161 | compatible = "qcom,msm-sdcc"; |
| 162 | reg = <0xf9824000 0x800>; |
| 163 | reg-names = "core_mem"; |
| 164 | interrupts = <0 123 0>; |
| 165 | interrupt-names = "core_irq"; |
| 166 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 167 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 168 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 169 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 170 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 171 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 172 | qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; |
| 173 | qcom,sup-voltages = <2950 2950>; |
| 174 | qcom,bus-width = <8>; |
| 175 | qcom,nonremovable; |
| 176 | qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 177 | }; |
| 178 | |
| 179 | sdcc2: qcom,sdcc@f98a4000 { |
| 180 | cell-index = <2>; /* SDC2 SD card slot */ |
| 181 | compatible = "qcom,msm-sdcc"; |
| 182 | reg = <0xf98a4000 0x800>; |
| 183 | reg-names = "core_mem"; |
| 184 | interrupts = <0 125 0>; |
| 185 | interrupt-names = "core_irq"; |
| 186 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 187 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 188 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 189 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 190 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 191 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 192 | qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; |
| 193 | qcom,sup-voltages = <2950 2950>; |
| 194 | qcom,bus-width = <4>; |
| 195 | qcom,xpc; |
| 196 | qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; |
| 197 | qcom,current-limit = <800>; |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 198 | }; |
Sujit Reddy Thumma | 3510638 | 2012-10-12 20:36:53 +0530 | [diff] [blame] | 199 | |
| 200 | sata: sata@fc580000 { |
| 201 | compatible = "qcom,msm-ahci"; |
| 202 | reg = <0xfc580000 0x17c>; |
| 203 | interrupts = <0 243 0>; |
| 204 | }; |
Srinivas Ramana | 97e3a09 | 2013-05-21 19:23:39 +0530 | [diff] [blame] | 205 | |
| 206 | qcom,wdt@f9017000 { |
| 207 | compatible = "qcom,msm-watchdog"; |
| 208 | reg = <0xf9017000 0x1000>; |
| 209 | interrupts = <0 3 0>, <0 4 0>; |
| 210 | qcom,bark-time = <11000>; |
| 211 | qcom,pet-time = <10000>; |
| 212 | qcom,ipi-ping; |
| 213 | }; |
Trilok Soni | 4220d46 | 2013-06-06 16:39:58 +0530 | [diff] [blame] | 214 | |
| 215 | qcom,ocmem@fdd00000 { |
| 216 | compatible = "qcom,msm-ocmem"; |
| 217 | reg = <0xfdd00000 0x2000>, |
| 218 | <0xfdd02000 0x2000>, |
| 219 | <0xfe070000 0x400>, |
| 220 | <0xfec00000 0x180000>; |
| 221 | reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical"; |
| 222 | interrupts = <0 76 0>, <0 77 0>; |
| 223 | interrupt-names = "ocmem_irq", "dm_irq"; |
| 224 | qcom,ocmem-num-regions = <0x3>; |
| 225 | qcom,ocmem-num-macros = <0x18>; |
| 226 | qcom,resource-type = <0x706d636f>; |
| 227 | #address-cells = <1>; |
| 228 | #size-cells = <1>; |
| 229 | ranges = <0x0 0xfec00000 0x180000>; |
| 230 | |
| 231 | partition@0 { |
| 232 | reg = <0x0 0x100000>; |
| 233 | qcom,ocmem-part-name = "graphics"; |
| 234 | qcom,ocmem-part-min = <0x80000>; |
| 235 | }; |
| 236 | |
| 237 | partition@80000 { |
| 238 | reg = <0x100000 0x80000>; |
| 239 | qcom,ocmem-part-name = "lp_audio"; |
| 240 | qcom,ocmem-part-min = <0x80000>; |
| 241 | }; |
| 242 | |
| 243 | partition@100000 { |
| 244 | reg = <0x100000 0x80000>; |
| 245 | qcom,ocmem-part-name = "video"; |
| 246 | qcom,ocmem-part-min = <0x55000>; |
| 247 | }; |
| 248 | }; |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 249 | }; |
Ravi Kumar V | 605f1cd | 2012-09-10 20:43:17 +0530 | [diff] [blame] | 250 | |
Patrick Daly | e8977aa | 2012-11-06 15:25:58 -0800 | [diff] [blame] | 251 | &gdsc_venus { |
| 252 | status = "ok"; |
| 253 | }; |
| 254 | |
| 255 | &gdsc_mdss { |
| 256 | status = "ok"; |
| 257 | }; |
| 258 | |
| 259 | &gdsc_jpeg { |
| 260 | status = "ok"; |
| 261 | }; |
| 262 | |
Srinivas Ramana | a381761 | 2013-07-09 12:29:12 +0530 | [diff] [blame] | 263 | &gdsc_vpu { |
| 264 | status = "ok"; |
| 265 | }; |
| 266 | |
Patrick Daly | e8977aa | 2012-11-06 15:25:58 -0800 | [diff] [blame] | 267 | &gdsc_oxili_gx { |
| 268 | status = "ok"; |
| 269 | }; |
| 270 | |
| 271 | &gdsc_oxili_cx { |
| 272 | status = "ok"; |
| 273 | }; |
| 274 | |
| 275 | &gdsc_usb_hsic { |
| 276 | status = "ok"; |
| 277 | }; |
| 278 | |
David Collins | 819bebf | 2013-04-22 14:55:19 -0700 | [diff] [blame] | 279 | /include/ "msm-pma8084.dtsi" |
Ravi Kumar V | d9e522c | 2012-10-03 12:52:14 +0530 | [diff] [blame] | 280 | /include/ "mpq8092-regulator.dtsi" |