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