Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | #include "skeleton.dtsi" |
| 4 | #include <dt-bindings/clock/qcom,gcc-msm8960.h> |
Srinivas Kandagatla | 223280b | 2015-04-10 21:43:30 +0100 | [diff] [blame] | 5 | #include <dt-bindings/reset/qcom,gcc-msm8960.h> |
Stephen Boyd | 3fe5e3c | 2014-07-16 13:49:43 -0700 | [diff] [blame] | 6 | #include <dt-bindings/clock/qcom,mmcc-msm8960.h> |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 7 | #include <dt-bindings/soc/qcom,gsbi.h> |
Linus Walleij | ca88696 | 2016-08-05 10:38:37 +0200 | [diff] [blame] | 8 | #include <dt-bindings/interrupt-controller/irq.h> |
Pramod Gurav | 8b8936f | 2014-08-29 20:00:56 +0530 | [diff] [blame] | 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 10 | / { |
| 11 | model = "Qualcomm APQ8064"; |
| 12 | compatible = "qcom,apq8064"; |
| 13 | interrupt-parent = <&intc>; |
| 14 | |
Bjorn Andersson | 24a9baf | 2015-10-22 11:13:48 -0700 | [diff] [blame] | 15 | reserved-memory { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | ranges; |
| 19 | |
| 20 | smem_region: smem@80000000 { |
| 21 | reg = <0x80000000 0x200000>; |
| 22 | no-map; |
| 23 | }; |
Bjorn Andersson | f9a8aae | 2016-12-21 03:49:36 -0800 | [diff] [blame^] | 24 | |
| 25 | wcnss_mem: wcnss@8f000000 { |
| 26 | reg = <0x8f000000 0x700000>; |
| 27 | no-map; |
| 28 | }; |
Bjorn Andersson | 24a9baf | 2015-10-22 11:13:48 -0700 | [diff] [blame] | 29 | }; |
| 30 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 31 | cpus { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | |
| 35 | cpu@0 { |
| 36 | compatible = "qcom,krait"; |
| 37 | enable-method = "qcom,kpss-acc-v1"; |
| 38 | device_type = "cpu"; |
| 39 | reg = <0>; |
| 40 | next-level-cache = <&L2>; |
| 41 | qcom,acc = <&acc0>; |
| 42 | qcom,saw = <&saw0>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 43 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | cpu@1 { |
| 47 | compatible = "qcom,krait"; |
| 48 | enable-method = "qcom,kpss-acc-v1"; |
| 49 | device_type = "cpu"; |
| 50 | reg = <1>; |
| 51 | next-level-cache = <&L2>; |
| 52 | qcom,acc = <&acc1>; |
| 53 | qcom,saw = <&saw1>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 54 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | cpu@2 { |
| 58 | compatible = "qcom,krait"; |
| 59 | enable-method = "qcom,kpss-acc-v1"; |
| 60 | device_type = "cpu"; |
| 61 | reg = <2>; |
| 62 | next-level-cache = <&L2>; |
| 63 | qcom,acc = <&acc2>; |
| 64 | qcom,saw = <&saw2>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 65 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 66 | }; |
| 67 | |
| 68 | cpu@3 { |
| 69 | compatible = "qcom,krait"; |
| 70 | enable-method = "qcom,kpss-acc-v1"; |
| 71 | device_type = "cpu"; |
| 72 | reg = <3>; |
| 73 | next-level-cache = <&L2>; |
| 74 | qcom,acc = <&acc3>; |
| 75 | qcom,saw = <&saw3>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 76 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | L2: l2-cache { |
| 80 | compatible = "cache"; |
| 81 | cache-level = <2>; |
| 82 | }; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 83 | |
| 84 | idle-states { |
| 85 | CPU_SPC: spc { |
| 86 | compatible = "qcom,idle-state-spc", |
| 87 | "arm,idle-state"; |
| 88 | entry-latency-us = <400>; |
| 89 | exit-latency-us = <900>; |
| 90 | min-residency-us = <3000>; |
| 91 | }; |
| 92 | }; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 93 | }; |
| 94 | |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 95 | thermal-zones { |
| 96 | cpu-thermal0 { |
| 97 | polling-delay-passive = <250>; |
| 98 | polling-delay = <1000>; |
| 99 | |
| 100 | thermal-sensors = <&gcc 7>; |
| 101 | coefficients = <1199 0>; |
| 102 | |
| 103 | trips { |
| 104 | cpu_alert0: trip0 { |
| 105 | temperature = <75000>; |
| 106 | hysteresis = <2000>; |
| 107 | type = "passive"; |
| 108 | }; |
| 109 | cpu_crit0: trip1 { |
| 110 | temperature = <110000>; |
| 111 | hysteresis = <2000>; |
| 112 | type = "critical"; |
| 113 | }; |
| 114 | }; |
| 115 | }; |
| 116 | |
| 117 | cpu-thermal1 { |
| 118 | polling-delay-passive = <250>; |
| 119 | polling-delay = <1000>; |
| 120 | |
| 121 | thermal-sensors = <&gcc 8>; |
| 122 | coefficients = <1132 0>; |
| 123 | |
| 124 | trips { |
| 125 | cpu_alert1: trip0 { |
| 126 | temperature = <75000>; |
| 127 | hysteresis = <2000>; |
| 128 | type = "passive"; |
| 129 | }; |
| 130 | cpu_crit1: trip1 { |
| 131 | temperature = <110000>; |
| 132 | hysteresis = <2000>; |
| 133 | type = "critical"; |
| 134 | }; |
| 135 | }; |
| 136 | }; |
| 137 | |
| 138 | cpu-thermal2 { |
| 139 | polling-delay-passive = <250>; |
| 140 | polling-delay = <1000>; |
| 141 | |
| 142 | thermal-sensors = <&gcc 9>; |
| 143 | coefficients = <1199 0>; |
| 144 | |
| 145 | trips { |
| 146 | cpu_alert2: trip0 { |
| 147 | temperature = <75000>; |
| 148 | hysteresis = <2000>; |
| 149 | type = "passive"; |
| 150 | }; |
| 151 | cpu_crit2: trip1 { |
| 152 | temperature = <110000>; |
| 153 | hysteresis = <2000>; |
| 154 | type = "critical"; |
| 155 | }; |
| 156 | }; |
| 157 | }; |
| 158 | |
| 159 | cpu-thermal3 { |
| 160 | polling-delay-passive = <250>; |
| 161 | polling-delay = <1000>; |
| 162 | |
| 163 | thermal-sensors = <&gcc 10>; |
| 164 | coefficients = <1132 0>; |
| 165 | |
| 166 | trips { |
| 167 | cpu_alert3: trip0 { |
| 168 | temperature = <75000>; |
| 169 | hysteresis = <2000>; |
| 170 | type = "passive"; |
| 171 | }; |
| 172 | cpu_crit3: trip1 { |
| 173 | temperature = <110000>; |
| 174 | hysteresis = <2000>; |
| 175 | type = "critical"; |
| 176 | }; |
| 177 | }; |
| 178 | }; |
| 179 | }; |
| 180 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 181 | cpu-pmu { |
| 182 | compatible = "qcom,krait-pmu"; |
| 183 | interrupts = <1 10 0x304>; |
| 184 | }; |
| 185 | |
Georgi Djakov | aa26912 | 2015-12-03 16:02:55 +0200 | [diff] [blame] | 186 | clocks { |
Bjorn Andersson | f9a8aae | 2016-12-21 03:49:36 -0800 | [diff] [blame^] | 187 | cxo_board: cxo_board { |
Georgi Djakov | aa26912 | 2015-12-03 16:02:55 +0200 | [diff] [blame] | 188 | compatible = "fixed-clock"; |
| 189 | #clock-cells = <0>; |
| 190 | clock-frequency = <19200000>; |
| 191 | }; |
| 192 | |
| 193 | pxo_board { |
| 194 | compatible = "fixed-clock"; |
| 195 | #clock-cells = <0>; |
| 196 | clock-frequency = <27000000>; |
| 197 | }; |
| 198 | |
| 199 | sleep_clk { |
| 200 | compatible = "fixed-clock"; |
| 201 | #clock-cells = <0>; |
| 202 | clock-frequency = <32768>; |
| 203 | }; |
| 204 | }; |
| 205 | |
Bjorn Andersson | 24a9baf | 2015-10-22 11:13:48 -0700 | [diff] [blame] | 206 | sfpb_mutex: hwmutex { |
| 207 | compatible = "qcom,sfpb-mutex"; |
| 208 | syscon = <&sfpb_wrapper_mutex 0x604 0x4>; |
| 209 | #hwlock-cells = <1>; |
| 210 | }; |
| 211 | |
| 212 | smem { |
| 213 | compatible = "qcom,smem"; |
| 214 | memory-region = <&smem_region>; |
| 215 | |
| 216 | hwlocks = <&sfpb_mutex 3>; |
| 217 | }; |
| 218 | |
Bjorn Andersson | 2afc528 | 2016-03-28 20:37:04 -0700 | [diff] [blame] | 219 | smd { |
| 220 | compatible = "qcom,smd"; |
| 221 | |
| 222 | modem@0 { |
| 223 | interrupts = <0 37 IRQ_TYPE_EDGE_RISING>; |
| 224 | |
| 225 | qcom,ipc = <&l2cc 8 3>; |
| 226 | qcom,smd-edge = <0>; |
| 227 | |
| 228 | status = "disabled"; |
| 229 | }; |
| 230 | |
| 231 | q6@1 { |
| 232 | interrupts = <0 90 IRQ_TYPE_EDGE_RISING>; |
| 233 | |
| 234 | qcom,ipc = <&l2cc 8 15>; |
| 235 | qcom,smd-edge = <1>; |
| 236 | |
| 237 | status = "disabled"; |
| 238 | }; |
| 239 | |
| 240 | dsps@3 { |
| 241 | interrupts = <0 138 IRQ_TYPE_EDGE_RISING>; |
| 242 | |
| 243 | qcom,ipc = <&sps_sic_non_secure 0x4080 0>; |
| 244 | qcom,smd-edge = <3>; |
| 245 | |
| 246 | status = "disabled"; |
| 247 | }; |
| 248 | |
| 249 | riva@6 { |
| 250 | interrupts = <0 198 IRQ_TYPE_EDGE_RISING>; |
| 251 | |
| 252 | qcom,ipc = <&l2cc 8 25>; |
| 253 | qcom,smd-edge = <6>; |
| 254 | |
| 255 | status = "disabled"; |
| 256 | }; |
| 257 | }; |
| 258 | |
Bjorn Andersson | b4d4582 | 2016-03-28 20:37:03 -0700 | [diff] [blame] | 259 | smsm { |
| 260 | compatible = "qcom,smsm"; |
| 261 | |
| 262 | #address-cells = <1>; |
| 263 | #size-cells = <0>; |
| 264 | |
| 265 | qcom,ipc-1 = <&l2cc 8 4>; |
| 266 | qcom,ipc-2 = <&l2cc 8 14>; |
| 267 | qcom,ipc-3 = <&l2cc 8 23>; |
| 268 | qcom,ipc-4 = <&sps_sic_non_secure 0x4094 0>; |
| 269 | |
| 270 | apps_smsm: apps@0 { |
| 271 | reg = <0>; |
Andy Gross | 30f1e2d | 2016-06-12 01:20:11 -0500 | [diff] [blame] | 272 | #qcom,smem-state-cells = <1>; |
Bjorn Andersson | b4d4582 | 2016-03-28 20:37:03 -0700 | [diff] [blame] | 273 | }; |
| 274 | |
| 275 | modem_smsm: modem@1 { |
| 276 | reg = <1>; |
| 277 | interrupts = <0 38 IRQ_TYPE_EDGE_RISING>; |
| 278 | |
| 279 | interrupt-controller; |
| 280 | #interrupt-cells = <2>; |
| 281 | }; |
| 282 | |
| 283 | q6_smsm: q6@2 { |
| 284 | reg = <2>; |
| 285 | interrupts = <0 89 IRQ_TYPE_EDGE_RISING>; |
| 286 | |
| 287 | interrupt-controller; |
| 288 | #interrupt-cells = <2>; |
| 289 | }; |
| 290 | |
| 291 | wcnss_smsm: wcnss@3 { |
| 292 | reg = <3>; |
| 293 | interrupts = <0 204 IRQ_TYPE_EDGE_RISING>; |
| 294 | |
| 295 | interrupt-controller; |
| 296 | #interrupt-cells = <2>; |
| 297 | }; |
| 298 | |
| 299 | dsps_smsm: dsps@4 { |
| 300 | reg = <4>; |
| 301 | interrupts = <0 137 IRQ_TYPE_EDGE_RISING>; |
| 302 | |
| 303 | interrupt-controller; |
| 304 | #interrupt-cells = <2>; |
| 305 | }; |
| 306 | }; |
| 307 | |
Andy Gross | 9e5d41d | 2016-06-03 18:25:30 -0500 | [diff] [blame] | 308 | firmware { |
| 309 | scm { |
| 310 | compatible = "qcom,scm-apq8064"; |
| 311 | }; |
| 312 | }; |
| 313 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 314 | soc: soc { |
| 315 | #address-cells = <1>; |
| 316 | #size-cells = <1>; |
| 317 | ranges; |
| 318 | compatible = "simple-bus"; |
| 319 | |
Pramod Gurav | 8b8936f | 2014-08-29 20:00:56 +0530 | [diff] [blame] | 320 | tlmm_pinmux: pinctrl@800000 { |
| 321 | compatible = "qcom,apq8064-pinctrl"; |
| 322 | reg = <0x800000 0x4000>; |
| 323 | |
| 324 | gpio-controller; |
| 325 | #gpio-cells = <2>; |
| 326 | interrupt-controller; |
| 327 | #interrupt-cells = <2>; |
| 328 | interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>; |
Pramod Gurav | cd6dd11 | 2014-08-29 20:00:57 +0530 | [diff] [blame] | 329 | |
| 330 | pinctrl-names = "default"; |
| 331 | pinctrl-0 = <&ps_hold>; |
Pramod Gurav | 8b8936f | 2014-08-29 20:00:56 +0530 | [diff] [blame] | 332 | }; |
| 333 | |
Bjorn Andersson | 24a9baf | 2015-10-22 11:13:48 -0700 | [diff] [blame] | 334 | sfpb_wrapper_mutex: syscon@1200000 { |
| 335 | compatible = "syscon"; |
| 336 | reg = <0x01200000 0x8000>; |
| 337 | }; |
| 338 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 339 | intc: interrupt-controller@2000000 { |
| 340 | compatible = "qcom,msm-qgic2"; |
| 341 | interrupt-controller; |
| 342 | #interrupt-cells = <3>; |
| 343 | reg = <0x02000000 0x1000>, |
| 344 | <0x02002000 0x1000>; |
| 345 | }; |
| 346 | |
| 347 | timer@200a000 { |
Matthew McClintock | 6e06269 | 2016-06-29 10:50:00 -0700 | [diff] [blame] | 348 | compatible = "qcom,kpss-timer", |
| 349 | "qcom,kpss-wdt-apq8064", "qcom,msm-timer"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 350 | interrupts = <1 1 0x301>, |
| 351 | <1 2 0x301>, |
| 352 | <1 3 0x301>; |
| 353 | reg = <0x0200a000 0x100>; |
| 354 | clock-frequency = <27000000>, |
| 355 | <32768>; |
| 356 | cpu-offset = <0x80000>; |
| 357 | }; |
| 358 | |
| 359 | acc0: clock-controller@2088000 { |
| 360 | compatible = "qcom,kpss-acc-v1"; |
| 361 | reg = <0x02088000 0x1000>, <0x02008000 0x1000>; |
| 362 | }; |
| 363 | |
| 364 | acc1: clock-controller@2098000 { |
| 365 | compatible = "qcom,kpss-acc-v1"; |
| 366 | reg = <0x02098000 0x1000>, <0x02008000 0x1000>; |
| 367 | }; |
| 368 | |
| 369 | acc2: clock-controller@20a8000 { |
| 370 | compatible = "qcom,kpss-acc-v1"; |
| 371 | reg = <0x020a8000 0x1000>, <0x02008000 0x1000>; |
| 372 | }; |
| 373 | |
| 374 | acc3: clock-controller@20b8000 { |
| 375 | compatible = "qcom,kpss-acc-v1"; |
| 376 | reg = <0x020b8000 0x1000>, <0x02008000 0x1000>; |
| 377 | }; |
| 378 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 379 | saw0: power-controller@2089000 { |
| 380 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 381 | reg = <0x02089000 0x1000>, <0x02009000 0x1000>; |
| 382 | regulator; |
| 383 | }; |
| 384 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 385 | saw1: power-controller@2099000 { |
| 386 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 387 | reg = <0x02099000 0x1000>, <0x02009000 0x1000>; |
| 388 | regulator; |
| 389 | }; |
| 390 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 391 | saw2: power-controller@20a9000 { |
| 392 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 393 | reg = <0x020a9000 0x1000>, <0x02009000 0x1000>; |
| 394 | regulator; |
| 395 | }; |
| 396 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 397 | saw3: power-controller@20b9000 { |
| 398 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 399 | reg = <0x020b9000 0x1000>, <0x02009000 0x1000>; |
| 400 | regulator; |
| 401 | }; |
| 402 | |
Bjorn Andersson | b9e4c5e | 2016-03-28 20:37:02 -0700 | [diff] [blame] | 403 | sps_sic_non_secure: sps-sic-non-secure@12100000 { |
| 404 | compatible = "syscon"; |
| 405 | reg = <0x12100000 0x10000>; |
| 406 | }; |
| 407 | |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 408 | gsbi1: gsbi@12440000 { |
| 409 | status = "disabled"; |
| 410 | compatible = "qcom,gsbi-v1.0.0"; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 411 | cell-index = <1>; |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 412 | reg = <0x12440000 0x100>; |
| 413 | clocks = <&gcc GSBI1_H_CLK>; |
| 414 | clock-names = "iface"; |
| 415 | #address-cells = <1>; |
| 416 | #size-cells = <1>; |
| 417 | ranges; |
| 418 | |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 419 | syscon-tcsr = <&tcsr>; |
| 420 | |
Srinivas Kandagatla | 1286167 | 2016-04-12 10:33:51 +0100 | [diff] [blame] | 421 | gsbi1_serial: serial@12450000 { |
| 422 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 423 | reg = <0x12450000 0x100>, |
| 424 | <0x12400000 0x03>; |
| 425 | interrupts = <0 193 0x0>; |
| 426 | clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>; |
| 427 | clock-names = "core", "iface"; |
| 428 | status = "disabled"; |
| 429 | }; |
| 430 | |
Srinivas Kandagatla | e07214d | 2016-02-23 14:11:10 +0000 | [diff] [blame] | 431 | gsbi1_i2c: i2c@12460000 { |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 432 | compatible = "qcom,i2c-qup-v1.1.1"; |
Srinivas Kandagatla | 67b5ad5 | 2016-04-12 10:33:50 +0100 | [diff] [blame] | 433 | pinctrl-0 = <&i2c1_pins>; |
| 434 | pinctrl-1 = <&i2c1_pins_sleep>; |
Srinivas Kandagatla | 64b22b2 | 2016-02-23 14:14:26 +0000 | [diff] [blame] | 435 | pinctrl-names = "default", "sleep"; |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 436 | reg = <0x12460000 0x1000>; |
| 437 | interrupts = <0 194 IRQ_TYPE_NONE>; |
| 438 | clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>; |
| 439 | clock-names = "core", "iface"; |
| 440 | #address-cells = <1>; |
| 441 | #size-cells = <0>; |
| 442 | }; |
Srinivas Kandagatla | b2dc04c5 | 2016-02-23 14:14:33 +0000 | [diff] [blame] | 443 | |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 444 | }; |
| 445 | |
| 446 | gsbi2: gsbi@12480000 { |
| 447 | status = "disabled"; |
| 448 | compatible = "qcom,gsbi-v1.0.0"; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 449 | cell-index = <2>; |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 450 | reg = <0x12480000 0x100>; |
| 451 | clocks = <&gcc GSBI2_H_CLK>; |
| 452 | clock-names = "iface"; |
| 453 | #address-cells = <1>; |
| 454 | #size-cells = <1>; |
| 455 | ranges; |
| 456 | |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 457 | syscon-tcsr = <&tcsr>; |
| 458 | |
Srinivas Kandagatla | e07214d | 2016-02-23 14:11:10 +0000 | [diff] [blame] | 459 | gsbi2_i2c: i2c@124a0000 { |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 460 | compatible = "qcom,i2c-qup-v1.1.1"; |
| 461 | reg = <0x124a0000 0x1000>; |
Srinivas Kandagatla | 67b5ad5 | 2016-04-12 10:33:50 +0100 | [diff] [blame] | 462 | pinctrl-0 = <&i2c2_pins>; |
| 463 | pinctrl-1 = <&i2c2_pins_sleep>; |
Srinivas Kandagatla | 7788d43 | 2016-02-23 14:14:45 +0000 | [diff] [blame] | 464 | pinctrl-names = "default", "sleep"; |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 465 | interrupts = <0 196 IRQ_TYPE_NONE>; |
| 466 | clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>; |
| 467 | clock-names = "core", "iface"; |
| 468 | #address-cells = <1>; |
| 469 | #size-cells = <0>; |
| 470 | }; |
| 471 | }; |
| 472 | |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 473 | gsbi3: gsbi@16200000 { |
| 474 | status = "disabled"; |
| 475 | compatible = "qcom,gsbi-v1.0.0"; |
Srinivas Kandagatla | 504155c | 2015-07-27 14:52:19 +0100 | [diff] [blame] | 476 | cell-index = <3>; |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 477 | reg = <0x16200000 0x100>; |
| 478 | clocks = <&gcc GSBI3_H_CLK>; |
| 479 | clock-names = "iface"; |
| 480 | #address-cells = <1>; |
| 481 | #size-cells = <1>; |
| 482 | ranges; |
Srinivas Kandagatla | e07214d | 2016-02-23 14:11:10 +0000 | [diff] [blame] | 483 | gsbi3_i2c: i2c@16280000 { |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 484 | compatible = "qcom,i2c-qup-v1.1.1"; |
Srinivas Kandagatla | 67b5ad5 | 2016-04-12 10:33:50 +0100 | [diff] [blame] | 485 | pinctrl-0 = <&i2c3_pins>; |
| 486 | pinctrl-1 = <&i2c3_pins_sleep>; |
Srinivas Kandagatla | 64b22b2 | 2016-02-23 14:14:26 +0000 | [diff] [blame] | 487 | pinctrl-names = "default", "sleep"; |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 488 | reg = <0x16280000 0x1000>; |
| 489 | interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>; |
| 490 | clocks = <&gcc GSBI3_QUP_CLK>, |
| 491 | <&gcc GSBI3_H_CLK>; |
| 492 | clock-names = "core", "iface"; |
John Stultz | 5d31f60 | 2016-02-05 10:06:17 -0800 | [diff] [blame] | 493 | #address-cells = <1>; |
| 494 | #size-cells = <0>; |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 495 | }; |
| 496 | }; |
| 497 | |
Srinivas Kandagatla | 2a5cbc1 | 2016-02-23 14:14:50 +0000 | [diff] [blame] | 498 | gsbi4: gsbi@16300000 { |
| 499 | status = "disabled"; |
| 500 | compatible = "qcom,gsbi-v1.0.0"; |
| 501 | cell-index = <4>; |
| 502 | reg = <0x16300000 0x03>; |
| 503 | clocks = <&gcc GSBI4_H_CLK>; |
| 504 | clock-names = "iface"; |
| 505 | #address-cells = <1>; |
| 506 | #size-cells = <1>; |
| 507 | ranges; |
| 508 | |
| 509 | gsbi4_i2c: i2c@16380000 { |
| 510 | compatible = "qcom,i2c-qup-v1.1.1"; |
Srinivas Kandagatla | 67b5ad5 | 2016-04-12 10:33:50 +0100 | [diff] [blame] | 511 | pinctrl-0 = <&i2c4_pins>; |
| 512 | pinctrl-1 = <&i2c4_pins_sleep>; |
Srinivas Kandagatla | 2a5cbc1 | 2016-02-23 14:14:50 +0000 | [diff] [blame] | 513 | pinctrl-names = "default", "sleep"; |
| 514 | reg = <0x16380000 0x1000>; |
| 515 | interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>; |
| 516 | clocks = <&gcc GSBI4_QUP_CLK>, |
| 517 | <&gcc GSBI4_H_CLK>; |
| 518 | clock-names = "core", "iface"; |
| 519 | }; |
| 520 | }; |
| 521 | |
Bjorn Andersson | 1099b26 | 2015-10-22 11:13:50 -0700 | [diff] [blame] | 522 | gsbi5: gsbi@1a200000 { |
| 523 | status = "disabled"; |
| 524 | compatible = "qcom,gsbi-v1.0.0"; |
| 525 | cell-index = <5>; |
| 526 | reg = <0x1a200000 0x03>; |
| 527 | clocks = <&gcc GSBI5_H_CLK>; |
| 528 | clock-names = "iface"; |
| 529 | #address-cells = <1>; |
| 530 | #size-cells = <1>; |
| 531 | ranges; |
| 532 | |
| 533 | gsbi5_serial: serial@1a240000 { |
| 534 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 535 | reg = <0x1a240000 0x100>, |
| 536 | <0x1a200000 0x03>; |
| 537 | interrupts = <0 154 0x0>; |
| 538 | clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>; |
| 539 | clock-names = "core", "iface"; |
| 540 | status = "disabled"; |
| 541 | }; |
Srinivas Kandagatla | b2dc04c5 | 2016-02-23 14:14:33 +0000 | [diff] [blame] | 542 | |
| 543 | gsbi5_spi: spi@1a280000 { |
| 544 | compatible = "qcom,spi-qup-v1.1.1"; |
| 545 | reg = <0x1a280000 0x1000>; |
| 546 | interrupts = <0 155 0>; |
Srinivas Kandagatla | 67b5ad5 | 2016-04-12 10:33:50 +0100 | [diff] [blame] | 547 | pinctrl-0 = <&spi5_default>; |
| 548 | pinctrl-1 = <&spi5_sleep>; |
Srinivas Kandagatla | b2dc04c5 | 2016-02-23 14:14:33 +0000 | [diff] [blame] | 549 | pinctrl-names = "default", "sleep"; |
| 550 | clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>; |
| 551 | clock-names = "core", "iface"; |
| 552 | status = "disabled"; |
| 553 | #address-cells = <1>; |
| 554 | #size-cells = <0>; |
| 555 | }; |
Bjorn Andersson | 1099b26 | 2015-10-22 11:13:50 -0700 | [diff] [blame] | 556 | }; |
| 557 | |
Pramod Gurav | 86e252a | 2015-07-27 14:52:10 +0100 | [diff] [blame] | 558 | gsbi6: gsbi@16500000 { |
| 559 | status = "disabled"; |
| 560 | compatible = "qcom,gsbi-v1.0.0"; |
| 561 | cell-index = <6>; |
| 562 | reg = <0x16500000 0x03>; |
| 563 | clocks = <&gcc GSBI6_H_CLK>; |
| 564 | clock-names = "iface"; |
| 565 | #address-cells = <1>; |
| 566 | #size-cells = <1>; |
| 567 | ranges; |
| 568 | |
| 569 | gsbi6_serial: serial@16540000 { |
| 570 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 571 | reg = <0x16540000 0x100>, |
| 572 | <0x16500000 0x03>; |
| 573 | interrupts = <0 156 0x0>; |
| 574 | clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>; |
| 575 | clock-names = "core", "iface"; |
| 576 | status = "disabled"; |
| 577 | }; |
Srinivas Kandagatla | 806334e | 2016-02-23 14:15:03 +0000 | [diff] [blame] | 578 | |
| 579 | gsbi6_i2c: i2c@16580000 { |
| 580 | compatible = "qcom,i2c-qup-v1.1.1"; |
Srinivas Kandagatla | 67b5ad5 | 2016-04-12 10:33:50 +0100 | [diff] [blame] | 581 | pinctrl-0 = <&i2c6_pins>; |
| 582 | pinctrl-1 = <&i2c6_pins_sleep>; |
Srinivas Kandagatla | 806334e | 2016-02-23 14:15:03 +0000 | [diff] [blame] | 583 | pinctrl-names = "default", "sleep"; |
| 584 | reg = <0x16580000 0x1000>; |
| 585 | interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>; |
| 586 | clocks = <&gcc GSBI6_QUP_CLK>, |
| 587 | <&gcc GSBI6_H_CLK>; |
| 588 | clock-names = "core", "iface"; |
| 589 | }; |
Pramod Gurav | 86e252a | 2015-07-27 14:52:10 +0100 | [diff] [blame] | 590 | }; |
| 591 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 592 | gsbi7: gsbi@16600000 { |
| 593 | status = "disabled"; |
| 594 | compatible = "qcom,gsbi-v1.0.0"; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 595 | cell-index = <7>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 596 | reg = <0x16600000 0x100>; |
| 597 | clocks = <&gcc GSBI7_H_CLK>; |
| 598 | clock-names = "iface"; |
| 599 | #address-cells = <1>; |
| 600 | #size-cells = <1>; |
| 601 | ranges; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 602 | syscon-tcsr = <&tcsr>; |
| 603 | |
Pramod Gurav | d5d4654 | 2015-04-10 21:44:31 +0100 | [diff] [blame] | 604 | gsbi7_serial: serial@16640000 { |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 605 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 606 | reg = <0x16640000 0x1000>, |
| 607 | <0x16600000 0x1000>; |
| 608 | interrupts = <0 158 0x0>; |
| 609 | clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>; |
| 610 | clock-names = "core", "iface"; |
| 611 | status = "disabled"; |
| 612 | }; |
Srinivas Kandagatla | e4b01fda | 2016-04-12 10:33:52 +0100 | [diff] [blame] | 613 | |
| 614 | gsbi7_i2c: i2c@16680000 { |
| 615 | compatible = "qcom,i2c-qup-v1.1.1"; |
| 616 | pinctrl-0 = <&i2c7_pins>; |
| 617 | pinctrl-1 = <&i2c7_pins_sleep>; |
| 618 | pinctrl-names = "default", "sleep"; |
| 619 | reg = <0x16680000 0x1000>; |
| 620 | interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>; |
| 621 | clocks = <&gcc GSBI7_QUP_CLK>, |
| 622 | <&gcc GSBI7_H_CLK>; |
| 623 | clock-names = "core", "iface"; |
| 624 | status = "disabled"; |
| 625 | }; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 626 | }; |
| 627 | |
John Stultz | 6a607e0 | 2015-09-18 13:31:12 +0100 | [diff] [blame] | 628 | rng@1a500000 { |
| 629 | compatible = "qcom,prng"; |
| 630 | reg = <0x1a500000 0x200>; |
| 631 | clocks = <&gcc PRNG_CLK>; |
| 632 | clock-names = "core"; |
| 633 | }; |
| 634 | |
Srinivas Kandagatla | 4123366 | 2016-11-15 12:01:52 +0000 | [diff] [blame] | 635 | ssbi@c00000 { |
| 636 | compatible = "qcom,ssbi"; |
| 637 | reg = <0x00c00000 0x1000>; |
| 638 | qcom,controller-type = "pmic-arbiter"; |
| 639 | |
| 640 | pm8821: pmic@1 { |
| 641 | compatible = "qcom,pm8821"; |
| 642 | interrupt-parent = <&tlmm_pinmux>; |
| 643 | interrupts = <76 IRQ_TYPE_LEVEL_LOW>; |
| 644 | #interrupt-cells = <2>; |
| 645 | interrupt-controller; |
| 646 | #address-cells = <1>; |
| 647 | #size-cells = <0>; |
| 648 | |
| 649 | pm8821_mpps: mpps@50 { |
| 650 | compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp"; |
| 651 | reg = <0x50>; |
| 652 | interrupts = <24 IRQ_TYPE_NONE>, |
| 653 | <25 IRQ_TYPE_NONE>, |
| 654 | <26 IRQ_TYPE_NONE>, |
| 655 | <27 IRQ_TYPE_NONE>; |
| 656 | gpio-controller; |
| 657 | #gpio-cells = <2>; |
| 658 | }; |
| 659 | }; |
| 660 | }; |
| 661 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 662 | qcom,ssbi@500000 { |
| 663 | compatible = "qcom,ssbi"; |
| 664 | reg = <0x00500000 0x1000>; |
| 665 | qcom,controller-type = "pmic-arbiter"; |
Srinivas Kandagatla | 874443f | 2015-07-27 14:51:52 +0100 | [diff] [blame] | 666 | |
| 667 | pmicintc: pmic@0 { |
| 668 | compatible = "qcom,pm8921"; |
| 669 | interrupt-parent = <&tlmm_pinmux>; |
| 670 | interrupts = <74 8>; |
| 671 | #interrupt-cells = <2>; |
| 672 | interrupt-controller; |
| 673 | #address-cells = <1>; |
| 674 | #size-cells = <0>; |
| 675 | |
| 676 | pm8921_gpio: gpio@150 { |
| 677 | |
Stephen Boyd | 2ca9c2a4 | 2015-11-20 17:49:46 -0800 | [diff] [blame] | 678 | compatible = "qcom,pm8921-gpio", |
| 679 | "qcom,ssbi-gpio"; |
Srinivas Kandagatla | 874443f | 2015-07-27 14:51:52 +0100 | [diff] [blame] | 680 | reg = <0x150>; |
Linus Walleij | ca88696 | 2016-08-05 10:38:37 +0200 | [diff] [blame] | 681 | interrupts = <192 IRQ_TYPE_NONE>, |
| 682 | <193 IRQ_TYPE_NONE>, |
| 683 | <194 IRQ_TYPE_NONE>, |
| 684 | <195 IRQ_TYPE_NONE>, |
| 685 | <196 IRQ_TYPE_NONE>, |
| 686 | <197 IRQ_TYPE_NONE>, |
| 687 | <198 IRQ_TYPE_NONE>, |
| 688 | <199 IRQ_TYPE_NONE>, |
| 689 | <200 IRQ_TYPE_NONE>, |
| 690 | <201 IRQ_TYPE_NONE>, |
| 691 | <202 IRQ_TYPE_NONE>, |
| 692 | <203 IRQ_TYPE_NONE>, |
| 693 | <204 IRQ_TYPE_NONE>, |
| 694 | <205 IRQ_TYPE_NONE>, |
| 695 | <206 IRQ_TYPE_NONE>, |
| 696 | <207 IRQ_TYPE_NONE>, |
| 697 | <208 IRQ_TYPE_NONE>, |
| 698 | <209 IRQ_TYPE_NONE>, |
| 699 | <210 IRQ_TYPE_NONE>, |
| 700 | <211 IRQ_TYPE_NONE>, |
| 701 | <212 IRQ_TYPE_NONE>, |
| 702 | <213 IRQ_TYPE_NONE>, |
| 703 | <214 IRQ_TYPE_NONE>, |
| 704 | <215 IRQ_TYPE_NONE>, |
| 705 | <216 IRQ_TYPE_NONE>, |
| 706 | <217 IRQ_TYPE_NONE>, |
| 707 | <218 IRQ_TYPE_NONE>, |
| 708 | <219 IRQ_TYPE_NONE>, |
| 709 | <220 IRQ_TYPE_NONE>, |
| 710 | <221 IRQ_TYPE_NONE>, |
| 711 | <222 IRQ_TYPE_NONE>, |
| 712 | <223 IRQ_TYPE_NONE>, |
| 713 | <224 IRQ_TYPE_NONE>, |
| 714 | <225 IRQ_TYPE_NONE>, |
| 715 | <226 IRQ_TYPE_NONE>, |
| 716 | <227 IRQ_TYPE_NONE>, |
| 717 | <228 IRQ_TYPE_NONE>, |
| 718 | <229 IRQ_TYPE_NONE>, |
| 719 | <230 IRQ_TYPE_NONE>, |
| 720 | <231 IRQ_TYPE_NONE>, |
| 721 | <232 IRQ_TYPE_NONE>, |
| 722 | <233 IRQ_TYPE_NONE>, |
| 723 | <234 IRQ_TYPE_NONE>, |
| 724 | <235 IRQ_TYPE_NONE>; |
Srinivas Kandagatla | 874443f | 2015-07-27 14:51:52 +0100 | [diff] [blame] | 725 | gpio-controller; |
| 726 | #gpio-cells = <2>; |
| 727 | |
| 728 | }; |
Srinivas Kandagatla | bce3604 | 2015-07-27 14:52:02 +0100 | [diff] [blame] | 729 | |
| 730 | pm8921_mpps: mpps@50 { |
Stephen Boyd | 2ca9c2a4 | 2015-11-20 17:49:46 -0800 | [diff] [blame] | 731 | compatible = "qcom,pm8921-mpp", |
| 732 | "qcom,ssbi-mpp"; |
Srinivas Kandagatla | bce3604 | 2015-07-27 14:52:02 +0100 | [diff] [blame] | 733 | reg = <0x50>; |
| 734 | gpio-controller; |
| 735 | #gpio-cells = <2>; |
| 736 | interrupts = |
Linus Walleij | ca88696 | 2016-08-05 10:38:37 +0200 | [diff] [blame] | 737 | <128 IRQ_TYPE_NONE>, |
| 738 | <129 IRQ_TYPE_NONE>, |
| 739 | <130 IRQ_TYPE_NONE>, |
| 740 | <131 IRQ_TYPE_NONE>, |
| 741 | <132 IRQ_TYPE_NONE>, |
| 742 | <133 IRQ_TYPE_NONE>, |
| 743 | <134 IRQ_TYPE_NONE>, |
| 744 | <135 IRQ_TYPE_NONE>, |
| 745 | <136 IRQ_TYPE_NONE>, |
| 746 | <137 IRQ_TYPE_NONE>, |
| 747 | <138 IRQ_TYPE_NONE>, |
| 748 | <139 IRQ_TYPE_NONE>; |
Srinivas Kandagatla | bce3604 | 2015-07-27 14:52:02 +0100 | [diff] [blame] | 749 | }; |
| 750 | |
Srinivas Kandagatla | bbf89b9 | 2015-09-18 13:31:19 +0100 | [diff] [blame] | 751 | rtc@11d { |
| 752 | compatible = "qcom,pm8921-rtc"; |
| 753 | interrupt-parent = <&pmicintc>; |
| 754 | interrupts = <39 1>; |
| 755 | reg = <0x11d>; |
| 756 | allow-set-time; |
| 757 | }; |
| 758 | |
Srinivas Kandagatla | 3050c5f | 2015-09-18 13:31:25 +0100 | [diff] [blame] | 759 | pwrkey@1c { |
| 760 | compatible = "qcom,pm8921-pwrkey"; |
| 761 | reg = <0x1c>; |
| 762 | interrupt-parent = <&pmicintc>; |
| 763 | interrupts = <50 1>, <51 1>; |
| 764 | debounce = <15625>; |
| 765 | pull-up; |
| 766 | }; |
Srinivas Kandagatla | 874443f | 2015-07-27 14:51:52 +0100 | [diff] [blame] | 767 | }; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 768 | }; |
| 769 | |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 770 | qfprom: qfprom@700000 { |
| 771 | compatible = "qcom,qfprom"; |
| 772 | reg = <0x00700000 0x1000>; |
| 773 | #address-cells = <1>; |
| 774 | #size-cells = <1>; |
| 775 | ranges; |
| 776 | tsens_calib: calib { |
| 777 | reg = <0x404 0x10>; |
| 778 | }; |
| 779 | tsens_backup: backup_calib { |
| 780 | reg = <0x414 0x10>; |
| 781 | }; |
| 782 | }; |
| 783 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 784 | gcc: clock-controller@900000 { |
| 785 | compatible = "qcom,gcc-apq8064"; |
| 786 | reg = <0x00900000 0x4000>; |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 787 | nvmem-cells = <&tsens_calib>, <&tsens_backup>; |
| 788 | nvmem-cell-names = "calib", "calib_backup"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 789 | #clock-cells = <1>; |
| 790 | #reset-cells = <1>; |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 791 | #thermal-sensor-cells = <1>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 792 | }; |
Stephen Boyd | 3fe5e3c | 2014-07-16 13:49:43 -0700 | [diff] [blame] | 793 | |
Kumar Gala | 1e1177b | 2015-01-28 13:36:12 -0800 | [diff] [blame] | 794 | lcc: clock-controller@28000000 { |
| 795 | compatible = "qcom,lcc-apq8064"; |
| 796 | reg = <0x28000000 0x1000>; |
| 797 | #clock-cells = <1>; |
| 798 | #reset-cells = <1>; |
| 799 | }; |
| 800 | |
Stephen Boyd | 3fe5e3c | 2014-07-16 13:49:43 -0700 | [diff] [blame] | 801 | mmcc: clock-controller@4000000 { |
| 802 | compatible = "qcom,mmcc-apq8064"; |
| 803 | reg = <0x4000000 0x1000>; |
| 804 | #clock-cells = <1>; |
| 805 | #reset-cells = <1>; |
| 806 | }; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 807 | |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 808 | l2cc: clock-controller@2011000 { |
| 809 | compatible = "syscon"; |
| 810 | reg = <0x2011000 0x1000>; |
| 811 | }; |
| 812 | |
| 813 | rpm@108000 { |
| 814 | compatible = "qcom,rpm-apq8064"; |
| 815 | reg = <0x108000 0x1000>; |
| 816 | qcom,ipc = <&l2cc 0x8 2>; |
| 817 | |
| 818 | interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>, |
| 819 | <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>, |
| 820 | <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>; |
| 821 | interrupt-names = "ack", "err", "wakeup"; |
| 822 | |
Georgi Djakov | aac1b29 | 2015-12-03 16:02:56 +0200 | [diff] [blame] | 823 | rpmcc: clock-controller { |
| 824 | compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc"; |
| 825 | #clock-cells = <1>; |
| 826 | }; |
| 827 | |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 828 | regulators { |
| 829 | compatible = "qcom,rpm-pm8921-regulators"; |
| 830 | |
Bjorn Andersson | 2bce6e2 | 2015-10-22 11:13:49 -0700 | [diff] [blame] | 831 | pm8921_s1: s1 {}; |
| 832 | pm8921_s2: s2 {}; |
| 833 | pm8921_s3: s3 {}; |
| 834 | pm8921_s4: s4 {}; |
| 835 | pm8921_s7: s7 {}; |
| 836 | pm8921_s8: s8 {}; |
| 837 | |
| 838 | pm8921_l1: l1 {}; |
| 839 | pm8921_l2: l2 {}; |
| 840 | pm8921_l3: l3 {}; |
| 841 | pm8921_l4: l4 {}; |
| 842 | pm8921_l5: l5 {}; |
| 843 | pm8921_l6: l6 {}; |
| 844 | pm8921_l7: l7 {}; |
| 845 | pm8921_l8: l8 {}; |
| 846 | pm8921_l9: l9 {}; |
| 847 | pm8921_l10: l10 {}; |
| 848 | pm8921_l11: l11 {}; |
| 849 | pm8921_l12: l12 {}; |
| 850 | pm8921_l14: l14 {}; |
| 851 | pm8921_l15: l15 {}; |
| 852 | pm8921_l16: l16 {}; |
| 853 | pm8921_l17: l17 {}; |
| 854 | pm8921_l18: l18 {}; |
| 855 | pm8921_l21: l21 {}; |
| 856 | pm8921_l22: l22 {}; |
| 857 | pm8921_l23: l23 {}; |
| 858 | pm8921_l24: l24 {}; |
| 859 | pm8921_l25: l25 {}; |
| 860 | pm8921_l26: l26 {}; |
| 861 | pm8921_l27: l27 {}; |
| 862 | pm8921_l28: l28 {}; |
| 863 | pm8921_l29: l29 {}; |
| 864 | |
| 865 | pm8921_lvs1: lvs1 {}; |
| 866 | pm8921_lvs2: lvs2 {}; |
| 867 | pm8921_lvs3: lvs3 {}; |
| 868 | pm8921_lvs4: lvs4 {}; |
| 869 | pm8921_lvs5: lvs5 {}; |
| 870 | pm8921_lvs6: lvs6 {}; |
| 871 | pm8921_lvs7: lvs7 {}; |
| 872 | |
| 873 | pm8921_usb_switch: usb-switch {}; |
| 874 | |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 875 | pm8921_hdmi_switch: hdmi-switch { |
| 876 | bias-pull-down; |
| 877 | }; |
Bjorn Andersson | 2bce6e2 | 2015-10-22 11:13:49 -0700 | [diff] [blame] | 878 | |
| 879 | pm8921_ncp: ncp {}; |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 880 | }; |
| 881 | }; |
| 882 | |
Srinivas Kandagatla | ea98661 | 2015-04-10 21:43:42 +0100 | [diff] [blame] | 883 | usb1_phy: phy@12500000 { |
| 884 | compatible = "qcom,usb-otg-ci"; |
| 885 | reg = <0x12500000 0x400>; |
| 886 | interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>; |
| 887 | status = "disabled"; |
Srinivas Kandagatla | ea98661 | 2015-04-10 21:43:42 +0100 | [diff] [blame] | 888 | |
| 889 | clocks = <&gcc USB_HS1_XCVR_CLK>, |
| 890 | <&gcc USB_HS1_H_CLK>; |
| 891 | clock-names = "core", "iface"; |
| 892 | |
| 893 | resets = <&gcc USB_HS1_RESET>; |
| 894 | reset-names = "link"; |
| 895 | }; |
| 896 | |
Srinivas Kandagatla | 223280b | 2015-04-10 21:43:30 +0100 | [diff] [blame] | 897 | usb3_phy: phy@12520000 { |
| 898 | compatible = "qcom,usb-otg-ci"; |
| 899 | reg = <0x12520000 0x400>; |
| 900 | interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>; |
| 901 | status = "disabled"; |
| 902 | dr_mode = "host"; |
| 903 | |
| 904 | clocks = <&gcc USB_HS3_XCVR_CLK>, |
| 905 | <&gcc USB_HS3_H_CLK>; |
| 906 | clock-names = "core", "iface"; |
| 907 | |
| 908 | resets = <&gcc USB_HS3_RESET>; |
| 909 | reset-names = "link"; |
| 910 | }; |
| 911 | |
| 912 | usb4_phy: phy@12530000 { |
| 913 | compatible = "qcom,usb-otg-ci"; |
| 914 | reg = <0x12530000 0x400>; |
| 915 | interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>; |
| 916 | status = "disabled"; |
| 917 | dr_mode = "host"; |
| 918 | |
| 919 | clocks = <&gcc USB_HS4_XCVR_CLK>, |
| 920 | <&gcc USB_HS4_H_CLK>; |
| 921 | clock-names = "core", "iface"; |
| 922 | |
| 923 | resets = <&gcc USB_HS4_RESET>; |
| 924 | reset-names = "link"; |
| 925 | }; |
| 926 | |
Srinivas Kandagatla | ea98661 | 2015-04-10 21:43:42 +0100 | [diff] [blame] | 927 | gadget1: gadget@12500000 { |
| 928 | compatible = "qcom,ci-hdrc"; |
| 929 | reg = <0x12500000 0x400>; |
| 930 | status = "disabled"; |
| 931 | dr_mode = "peripheral"; |
| 932 | interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>; |
| 933 | usb-phy = <&usb1_phy>; |
| 934 | }; |
| 935 | |
| 936 | usb1: usb@12500000 { |
| 937 | compatible = "qcom,ehci-host"; |
| 938 | reg = <0x12500000 0x400>; |
| 939 | interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>; |
| 940 | status = "disabled"; |
| 941 | usb-phy = <&usb1_phy>; |
| 942 | }; |
| 943 | |
Srinivas Kandagatla | 223280b | 2015-04-10 21:43:30 +0100 | [diff] [blame] | 944 | usb3: usb@12520000 { |
| 945 | compatible = "qcom,ehci-host"; |
| 946 | reg = <0x12520000 0x400>; |
| 947 | interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>; |
| 948 | status = "disabled"; |
| 949 | usb-phy = <&usb3_phy>; |
| 950 | }; |
| 951 | |
| 952 | usb4: usb@12530000 { |
| 953 | compatible = "qcom,ehci-host"; |
| 954 | reg = <0x12530000 0x400>; |
| 955 | interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>; |
| 956 | status = "disabled"; |
| 957 | usb-phy = <&usb4_phy>; |
| 958 | }; |
| 959 | |
Srinivas Kandagatla | e629335 | 2015-04-10 21:43:56 +0100 | [diff] [blame] | 960 | sata_phy0: phy@1b400000 { |
| 961 | compatible = "qcom,apq8064-sata-phy"; |
| 962 | status = "disabled"; |
| 963 | reg = <0x1b400000 0x200>; |
| 964 | reg-names = "phy_mem"; |
| 965 | clocks = <&gcc SATA_PHY_CFG_CLK>; |
| 966 | clock-names = "cfg"; |
| 967 | #phy-cells = <0>; |
| 968 | }; |
| 969 | |
| 970 | sata0: sata@29000000 { |
Srinivas Kandagatla | bb4add2 | 2016-04-01 08:52:58 +0100 | [diff] [blame] | 971 | compatible = "qcom,apq8064-ahci", "generic-ahci"; |
Srinivas Kandagatla | e629335 | 2015-04-10 21:43:56 +0100 | [diff] [blame] | 972 | status = "disabled"; |
| 973 | reg = <0x29000000 0x180>; |
| 974 | interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>; |
| 975 | |
| 976 | clocks = <&gcc SFAB_SATA_S_H_CLK>, |
| 977 | <&gcc SATA_H_CLK>, |
| 978 | <&gcc SATA_A_CLK>, |
| 979 | <&gcc SATA_RXOOB_CLK>, |
| 980 | <&gcc SATA_PMALIVE_CLK>; |
| 981 | clock-names = "slave_iface", |
| 982 | "iface", |
| 983 | "bus", |
| 984 | "rxoob", |
| 985 | "core_pmalive"; |
| 986 | |
| 987 | assigned-clocks = <&gcc SATA_RXOOB_CLK>, |
| 988 | <&gcc SATA_PMALIVE_CLK>; |
| 989 | assigned-clock-rates = <100000000>, <100000000>; |
| 990 | |
| 991 | phys = <&sata_phy0>; |
| 992 | phy-names = "sata-phy"; |
Srinivas Kandagatla | bb4add2 | 2016-04-01 08:52:58 +0100 | [diff] [blame] | 993 | ports-implemented = <0x1>; |
Srinivas Kandagatla | e629335 | 2015-04-10 21:43:56 +0100 | [diff] [blame] | 994 | }; |
| 995 | |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 996 | /* Temporary fixed regulator */ |
Srinivas Kandagatla | edb81ca | 2014-05-16 20:18:53 +0100 | [diff] [blame] | 997 | sdcc1bam:dma@12402000{ |
| 998 | compatible = "qcom,bam-v1.3.0"; |
| 999 | reg = <0x12402000 0x8000>; |
| 1000 | interrupts = <0 98 0>; |
| 1001 | clocks = <&gcc SDC1_H_CLK>; |
| 1002 | clock-names = "bam_clk"; |
| 1003 | #dma-cells = <1>; |
| 1004 | qcom,ee = <0>; |
| 1005 | }; |
| 1006 | |
| 1007 | sdcc3bam:dma@12182000{ |
| 1008 | compatible = "qcom,bam-v1.3.0"; |
| 1009 | reg = <0x12182000 0x8000>; |
| 1010 | interrupts = <0 96 0>; |
| 1011 | clocks = <&gcc SDC3_H_CLK>; |
| 1012 | clock-names = "bam_clk"; |
| 1013 | #dma-cells = <1>; |
| 1014 | qcom,ee = <0>; |
| 1015 | }; |
| 1016 | |
Srinivas Kandagatla | 0be5fef | 2014-09-17 06:39:35 +0100 | [diff] [blame] | 1017 | sdcc4bam:dma@121c2000{ |
| 1018 | compatible = "qcom,bam-v1.3.0"; |
| 1019 | reg = <0x121c2000 0x8000>; |
| 1020 | interrupts = <0 95 0>; |
| 1021 | clocks = <&gcc SDC4_H_CLK>; |
| 1022 | clock-names = "bam_clk"; |
| 1023 | #dma-cells = <1>; |
| 1024 | qcom,ee = <0>; |
| 1025 | }; |
| 1026 | |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 1027 | amba { |
Masahiro Yamada | 2ef7d5f | 2016-03-09 13:26:45 +0900 | [diff] [blame] | 1028 | compatible = "simple-bus"; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 1029 | #address-cells = <1>; |
| 1030 | #size-cells = <1>; |
| 1031 | ranges; |
| 1032 | sdcc1: sdcc@12400000 { |
| 1033 | status = "disabled"; |
| 1034 | compatible = "arm,pl18x", "arm,primecell"; |
Srinivas Kandagatla | ccd140b | 2016-06-10 10:38:34 +0100 | [diff] [blame] | 1035 | pinctrl-names = "default"; |
| 1036 | pinctrl-0 = <&sdcc1_pins>; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 1037 | arm,primecell-periphid = <0x00051180>; |
| 1038 | reg = <0x12400000 0x2000>; |
| 1039 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
| 1040 | interrupt-names = "cmd_irq"; |
| 1041 | clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; |
| 1042 | clock-names = "mclk", "apb_pclk"; |
| 1043 | bus-width = <8>; |
| 1044 | max-frequency = <96000000>; |
| 1045 | non-removable; |
| 1046 | cap-sd-highspeed; |
| 1047 | cap-mmc-highspeed; |
Srinivas Kandagatla | edb81ca | 2014-05-16 20:18:53 +0100 | [diff] [blame] | 1048 | dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; |
| 1049 | dma-names = "tx", "rx"; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 1050 | }; |
| 1051 | |
| 1052 | sdcc3: sdcc@12180000 { |
| 1053 | compatible = "arm,pl18x", "arm,primecell"; |
| 1054 | arm,primecell-periphid = <0x00051180>; |
| 1055 | status = "disabled"; |
| 1056 | reg = <0x12180000 0x2000>; |
| 1057 | interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; |
| 1058 | interrupt-names = "cmd_irq"; |
| 1059 | clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; |
| 1060 | clock-names = "mclk", "apb_pclk"; |
| 1061 | bus-width = <4>; |
| 1062 | cap-sd-highspeed; |
| 1063 | cap-mmc-highspeed; |
| 1064 | max-frequency = <192000000>; |
| 1065 | no-1-8-v; |
Srinivas Kandagatla | edb81ca | 2014-05-16 20:18:53 +0100 | [diff] [blame] | 1066 | dmas = <&sdcc3bam 2>, <&sdcc3bam 1>; |
| 1067 | dma-names = "tx", "rx"; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 1068 | }; |
Srinivas Kandagatla | 0be5fef | 2014-09-17 06:39:35 +0100 | [diff] [blame] | 1069 | |
| 1070 | sdcc4: sdcc@121c0000 { |
| 1071 | compatible = "arm,pl18x", "arm,primecell"; |
| 1072 | arm,primecell-periphid = <0x00051180>; |
| 1073 | status = "disabled"; |
| 1074 | reg = <0x121c0000 0x2000>; |
| 1075 | interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
| 1076 | interrupt-names = "cmd_irq"; |
| 1077 | clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>; |
| 1078 | clock-names = "mclk", "apb_pclk"; |
| 1079 | bus-width = <4>; |
| 1080 | cap-sd-highspeed; |
| 1081 | cap-mmc-highspeed; |
| 1082 | max-frequency = <48000000>; |
Srinivas Kandagatla | 0be5fef | 2014-09-17 06:39:35 +0100 | [diff] [blame] | 1083 | dmas = <&sdcc4bam 2>, <&sdcc4bam 1>; |
| 1084 | dma-names = "tx", "rx"; |
| 1085 | pinctrl-names = "default"; |
| 1086 | pinctrl-0 = <&sdc4_gpios>; |
| 1087 | }; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 1088 | }; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 1089 | |
| 1090 | tcsr: syscon@1a400000 { |
| 1091 | compatible = "qcom,tcsr-apq8064", "syscon"; |
| 1092 | reg = <0x1a400000 0x100>; |
| 1093 | }; |
Stanimir Varbanov | bcc74b0 | 2015-12-18 14:38:58 +0200 | [diff] [blame] | 1094 | |
John Stultz | f078eac | 2016-09-23 17:01:04 -0700 | [diff] [blame] | 1095 | gpu: adreno-3xx@4300000 { |
| 1096 | compatible = "qcom,adreno-3xx"; |
| 1097 | reg = <0x04300000 0x20000>; |
| 1098 | reg-names = "kgsl_3d0_reg_memory"; |
| 1099 | interrupts = <GIC_SPI 80 0>; |
| 1100 | interrupt-names = "kgsl_3d0_irq"; |
| 1101 | clock-names = |
| 1102 | "core_clk", |
| 1103 | "iface_clk", |
| 1104 | "mem_clk", |
| 1105 | "mem_iface_clk"; |
| 1106 | clocks = |
| 1107 | <&mmcc GFX3D_CLK>, |
| 1108 | <&mmcc GFX3D_AHB_CLK>, |
| 1109 | <&mmcc GFX3D_AXI_CLK>, |
| 1110 | <&mmcc MMSS_IMEM_AHB_CLK>; |
| 1111 | qcom,chipid = <0x03020002>; |
| 1112 | |
| 1113 | iommus = <&gfx3d 0 |
| 1114 | &gfx3d 1 |
| 1115 | &gfx3d 2 |
| 1116 | &gfx3d 3 |
| 1117 | &gfx3d 4 |
| 1118 | &gfx3d 5 |
| 1119 | &gfx3d 6 |
| 1120 | &gfx3d 7 |
| 1121 | &gfx3d 8 |
| 1122 | &gfx3d 9 |
| 1123 | &gfx3d 10 |
| 1124 | &gfx3d 11 |
| 1125 | &gfx3d 12 |
| 1126 | &gfx3d 13 |
| 1127 | &gfx3d 14 |
| 1128 | &gfx3d 15 |
| 1129 | &gfx3d 16 |
| 1130 | &gfx3d 17 |
| 1131 | &gfx3d 18 |
| 1132 | &gfx3d 19 |
| 1133 | &gfx3d 20 |
| 1134 | &gfx3d 21 |
| 1135 | &gfx3d 22 |
| 1136 | &gfx3d 23 |
| 1137 | &gfx3d 24 |
| 1138 | &gfx3d 25 |
| 1139 | &gfx3d 26 |
| 1140 | &gfx3d 27 |
| 1141 | &gfx3d 28 |
| 1142 | &gfx3d 29 |
| 1143 | &gfx3d 30 |
| 1144 | &gfx3d 31 |
| 1145 | &gfx3d1 0 |
| 1146 | &gfx3d1 1 |
| 1147 | &gfx3d1 2 |
| 1148 | &gfx3d1 3 |
| 1149 | &gfx3d1 4 |
| 1150 | &gfx3d1 5 |
| 1151 | &gfx3d1 6 |
| 1152 | &gfx3d1 7 |
| 1153 | &gfx3d1 8 |
| 1154 | &gfx3d1 9 |
| 1155 | &gfx3d1 10 |
| 1156 | &gfx3d1 11 |
| 1157 | &gfx3d1 12 |
| 1158 | &gfx3d1 13 |
| 1159 | &gfx3d1 14 |
| 1160 | &gfx3d1 15 |
| 1161 | &gfx3d1 16 |
| 1162 | &gfx3d1 17 |
| 1163 | &gfx3d1 18 |
| 1164 | &gfx3d1 19 |
| 1165 | &gfx3d1 20 |
| 1166 | &gfx3d1 21 |
| 1167 | &gfx3d1 22 |
| 1168 | &gfx3d1 23 |
| 1169 | &gfx3d1 24 |
| 1170 | &gfx3d1 25 |
| 1171 | &gfx3d1 26 |
| 1172 | &gfx3d1 27 |
| 1173 | &gfx3d1 28 |
| 1174 | &gfx3d1 29 |
| 1175 | &gfx3d1 30 |
| 1176 | &gfx3d1 31>; |
| 1177 | |
| 1178 | qcom,gpu-pwrlevels { |
| 1179 | compatible = "qcom,gpu-pwrlevels"; |
| 1180 | qcom,gpu-pwrlevel@0 { |
| 1181 | qcom,gpu-freq = <450000000>; |
| 1182 | }; |
| 1183 | qcom,gpu-pwrlevel@1 { |
| 1184 | qcom,gpu-freq = <27000000>; |
| 1185 | }; |
| 1186 | }; |
| 1187 | }; |
| 1188 | |
| 1189 | mmss_sfpb: syscon@5700000 { |
| 1190 | compatible = "syscon"; |
| 1191 | reg = <0x5700000 0x70>; |
| 1192 | }; |
| 1193 | |
| 1194 | dsi0: mdss_dsi@4700000 { |
| 1195 | compatible = "qcom,mdss-dsi-ctrl"; |
| 1196 | label = "MDSS DSI CTRL->0"; |
| 1197 | #address-cells = <1>; |
| 1198 | #size-cells = <0>; |
| 1199 | interrupts = <GIC_SPI 82 0>; |
| 1200 | reg = <0x04700000 0x200>; |
| 1201 | reg-names = "dsi_ctrl"; |
| 1202 | |
| 1203 | clocks = <&mmcc DSI_M_AHB_CLK>, |
| 1204 | <&mmcc DSI_S_AHB_CLK>, |
| 1205 | <&mmcc AMP_AHB_CLK>, |
| 1206 | <&mmcc DSI_CLK>, |
| 1207 | <&mmcc DSI1_BYTE_CLK>, |
| 1208 | <&mmcc DSI_PIXEL_CLK>, |
| 1209 | <&mmcc DSI1_ESC_CLK>; |
| 1210 | clock-names = "iface_clk", "bus_clk", "core_mmss_clk", |
| 1211 | "src_clk", "byte_clk", "pixel_clk", |
| 1212 | "core_clk"; |
| 1213 | |
| 1214 | assigned-clocks = <&mmcc DSI1_BYTE_SRC>, |
| 1215 | <&mmcc DSI1_ESC_SRC>, |
| 1216 | <&mmcc DSI_SRC>, |
| 1217 | <&mmcc DSI_PIXEL_SRC>; |
| 1218 | assigned-clock-parents = <&dsi0_phy 0>, |
| 1219 | <&dsi0_phy 0>, |
| 1220 | <&dsi0_phy 1>, |
| 1221 | <&dsi0_phy 1>; |
| 1222 | syscon-sfpb = <&mmss_sfpb>; |
| 1223 | phys = <&dsi0_phy>; |
| 1224 | ports { |
| 1225 | #address-cells = <1>; |
| 1226 | #size-cells = <0>; |
| 1227 | |
| 1228 | port@0 { |
| 1229 | reg = <0>; |
| 1230 | dsi0_in: endpoint { |
| 1231 | }; |
| 1232 | }; |
| 1233 | |
| 1234 | port@1 { |
| 1235 | reg = <1>; |
| 1236 | dsi0_out: endpoint { |
| 1237 | }; |
| 1238 | }; |
| 1239 | }; |
| 1240 | }; |
| 1241 | |
| 1242 | |
| 1243 | dsi0_phy: dsi-phy@4700200 { |
| 1244 | compatible = "qcom,dsi-phy-28nm-8960"; |
| 1245 | #clock-cells = <1>; |
| 1246 | |
| 1247 | reg = <0x04700200 0x100>, |
| 1248 | <0x04700300 0x200>, |
| 1249 | <0x04700500 0x5c>; |
| 1250 | reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator"; |
| 1251 | clock-names = "iface_clk"; |
| 1252 | clocks = <&mmcc DSI_M_AHB_CLK>; |
| 1253 | }; |
| 1254 | |
| 1255 | |
| 1256 | mdp_port0: iommu@7500000 { |
| 1257 | compatible = "qcom,apq8064-iommu"; |
| 1258 | #iommu-cells = <1>; |
| 1259 | clock-names = |
| 1260 | "smmu_pclk", |
| 1261 | "iommu_clk"; |
| 1262 | clocks = |
| 1263 | <&mmcc SMMU_AHB_CLK>, |
| 1264 | <&mmcc MDP_AXI_CLK>; |
| 1265 | reg = <0x07500000 0x100000>; |
| 1266 | interrupts = |
| 1267 | <GIC_SPI 63 0>, |
| 1268 | <GIC_SPI 64 0>; |
| 1269 | qcom,ncb = <2>; |
| 1270 | }; |
| 1271 | |
| 1272 | mdp_port1: iommu@7600000 { |
| 1273 | compatible = "qcom,apq8064-iommu"; |
| 1274 | #iommu-cells = <1>; |
| 1275 | clock-names = |
| 1276 | "smmu_pclk", |
| 1277 | "iommu_clk"; |
| 1278 | clocks = |
| 1279 | <&mmcc SMMU_AHB_CLK>, |
| 1280 | <&mmcc MDP_AXI_CLK>; |
| 1281 | reg = <0x07600000 0x100000>; |
| 1282 | interrupts = |
| 1283 | <GIC_SPI 61 0>, |
| 1284 | <GIC_SPI 62 0>; |
| 1285 | qcom,ncb = <2>; |
| 1286 | }; |
| 1287 | |
| 1288 | gfx3d: iommu@7c00000 { |
| 1289 | compatible = "qcom,apq8064-iommu"; |
| 1290 | #iommu-cells = <1>; |
| 1291 | clock-names = |
| 1292 | "smmu_pclk", |
| 1293 | "iommu_clk"; |
| 1294 | clocks = |
| 1295 | <&mmcc SMMU_AHB_CLK>, |
| 1296 | <&mmcc GFX3D_AXI_CLK>; |
| 1297 | reg = <0x07c00000 0x100000>; |
| 1298 | interrupts = |
| 1299 | <GIC_SPI 69 0>, |
| 1300 | <GIC_SPI 70 0>; |
| 1301 | qcom,ncb = <3>; |
| 1302 | }; |
| 1303 | |
| 1304 | gfx3d1: iommu@7d00000 { |
| 1305 | compatible = "qcom,apq8064-iommu"; |
| 1306 | #iommu-cells = <1>; |
| 1307 | clock-names = |
| 1308 | "smmu_pclk", |
| 1309 | "iommu_clk"; |
| 1310 | clocks = |
| 1311 | <&mmcc SMMU_AHB_CLK>, |
| 1312 | <&mmcc GFX3D_AXI_CLK>; |
| 1313 | reg = <0x07d00000 0x100000>; |
| 1314 | interrupts = |
| 1315 | <GIC_SPI 210 0>, |
| 1316 | <GIC_SPI 211 0>; |
| 1317 | qcom,ncb = <3>; |
| 1318 | }; |
| 1319 | |
Stanimir Varbanov | bcc74b0 | 2015-12-18 14:38:58 +0200 | [diff] [blame] | 1320 | pcie: pci@1b500000 { |
| 1321 | compatible = "qcom,pcie-apq8064", "snps,dw-pcie"; |
| 1322 | reg = <0x1b500000 0x1000 |
| 1323 | 0x1b502000 0x80 |
| 1324 | 0x1b600000 0x100 |
| 1325 | 0x0ff00000 0x100000>; |
| 1326 | reg-names = "dbi", "elbi", "parf", "config"; |
| 1327 | device_type = "pci"; |
| 1328 | linux,pci-domain = <0>; |
| 1329 | bus-range = <0x00 0xff>; |
| 1330 | num-lanes = <1>; |
| 1331 | #address-cells = <3>; |
| 1332 | #size-cells = <2>; |
| 1333 | ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */ |
| 1334 | 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */ |
| 1335 | interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>; |
| 1336 | interrupt-names = "msi"; |
| 1337 | #interrupt-cells = <1>; |
| 1338 | interrupt-map-mask = <0 0 0 0x7>; |
| 1339 | interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ |
| 1340 | <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ |
| 1341 | <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ |
| 1342 | <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ |
| 1343 | clocks = <&gcc PCIE_A_CLK>, |
| 1344 | <&gcc PCIE_H_CLK>, |
| 1345 | <&gcc PCIE_PHY_REF_CLK>; |
| 1346 | clock-names = "core", "iface", "phy"; |
| 1347 | resets = <&gcc PCIE_ACLK_RESET>, |
| 1348 | <&gcc PCIE_HCLK_RESET>, |
| 1349 | <&gcc PCIE_POR_RESET>, |
| 1350 | <&gcc PCIE_PCI_RESET>, |
| 1351 | <&gcc PCIE_PHY_RESET>; |
| 1352 | reset-names = "axi", "ahb", "por", "pci", "phy"; |
| 1353 | status = "disabled"; |
| 1354 | }; |
Archit Taneja | e77a3a7 | 2016-09-23 12:03:06 +0530 | [diff] [blame] | 1355 | |
| 1356 | hdmi: hdmi-tx@4a00000 { |
| 1357 | compatible = "qcom,hdmi-tx-8960"; |
| 1358 | reg = <0x04a00000 0x2f0>; |
| 1359 | reg-names = "core_physical"; |
| 1360 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 1361 | clocks = <&mmcc HDMI_APP_CLK>, |
| 1362 | <&mmcc HDMI_M_AHB_CLK>, |
| 1363 | <&mmcc HDMI_S_AHB_CLK>; |
| 1364 | clock-names = "core_clk", |
| 1365 | "master_iface_clk", |
| 1366 | "slave_iface_clk"; |
| 1367 | |
| 1368 | phys = <&hdmi_phy>; |
| 1369 | phy-names = "hdmi-phy"; |
| 1370 | |
| 1371 | ports { |
| 1372 | #address-cells = <1>; |
| 1373 | #size-cells = <0>; |
| 1374 | |
| 1375 | port@0 { |
| 1376 | reg = <0>; |
| 1377 | hdmi_in: endpoint { |
| 1378 | }; |
| 1379 | }; |
| 1380 | |
| 1381 | port@1 { |
| 1382 | reg = <1>; |
| 1383 | hdmi_out: endpoint { |
| 1384 | }; |
| 1385 | }; |
| 1386 | }; |
| 1387 | }; |
| 1388 | |
| 1389 | hdmi_phy: hdmi-phy@4a00400 { |
| 1390 | compatible = "qcom,hdmi-phy-8960"; |
| 1391 | reg = <0x4a00400 0x60>, |
| 1392 | <0x4a00500 0x100>; |
| 1393 | reg-names = "hdmi_phy", |
| 1394 | "hdmi_pll"; |
| 1395 | |
| 1396 | clocks = <&mmcc HDMI_S_AHB_CLK>; |
| 1397 | clock-names = "slave_iface_clk"; |
| 1398 | }; |
| 1399 | |
| 1400 | mdp: mdp@5100000 { |
| 1401 | compatible = "qcom,mdp4"; |
| 1402 | reg = <0x05100000 0xf0000>; |
| 1403 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
| 1404 | clocks = <&mmcc MDP_CLK>, |
| 1405 | <&mmcc MDP_AHB_CLK>, |
| 1406 | <&mmcc MDP_AXI_CLK>, |
| 1407 | <&mmcc MDP_LUT_CLK>, |
| 1408 | <&mmcc HDMI_TV_CLK>, |
| 1409 | <&mmcc MDP_TV_CLK>; |
| 1410 | clock-names = "core_clk", |
| 1411 | "iface_clk", |
| 1412 | "bus_clk", |
| 1413 | "lut_clk", |
| 1414 | "hdmi_clk", |
| 1415 | "tv_clk"; |
| 1416 | |
John Stultz | f078eac | 2016-09-23 17:01:04 -0700 | [diff] [blame] | 1417 | iommus = <&mdp_port0 0 |
| 1418 | &mdp_port0 2 |
| 1419 | &mdp_port1 0 |
| 1420 | &mdp_port1 2>; |
| 1421 | |
Archit Taneja | e77a3a7 | 2016-09-23 12:03:06 +0530 | [diff] [blame] | 1422 | ports { |
| 1423 | #address-cells = <1>; |
| 1424 | #size-cells = <0>; |
| 1425 | |
| 1426 | port@0 { |
| 1427 | reg = <0>; |
| 1428 | mdp_lvds_out: endpoint { |
| 1429 | }; |
| 1430 | }; |
| 1431 | |
| 1432 | port@1 { |
| 1433 | reg = <1>; |
| 1434 | mdp_dsi1_out: endpoint { |
| 1435 | }; |
| 1436 | }; |
| 1437 | |
| 1438 | port@2 { |
| 1439 | reg = <2>; |
| 1440 | mdp_dsi2_out: endpoint { |
| 1441 | }; |
| 1442 | }; |
| 1443 | |
| 1444 | port@3 { |
| 1445 | reg = <3>; |
| 1446 | mdp_dtv_out: endpoint { |
| 1447 | }; |
| 1448 | }; |
| 1449 | }; |
| 1450 | }; |
Bjorn Andersson | f9a8aae | 2016-12-21 03:49:36 -0800 | [diff] [blame^] | 1451 | |
| 1452 | riva: riva-pil@3204000 { |
| 1453 | compatible = "qcom,riva-pil"; |
| 1454 | |
| 1455 | reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>; |
| 1456 | reg-names = "ccu", "dxe", "pmu"; |
| 1457 | |
| 1458 | interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>, |
| 1459 | <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>; |
| 1460 | interrupt-names = "wdog", "fatal"; |
| 1461 | |
| 1462 | memory-region = <&wcnss_mem>; |
| 1463 | |
| 1464 | vddcx-supply = <&pm8921_s3>; |
| 1465 | vddmx-supply = <&pm8921_l24>; |
| 1466 | vddpx-supply = <&pm8921_s4>; |
| 1467 | |
| 1468 | status = "disabled"; |
| 1469 | |
| 1470 | iris { |
| 1471 | compatible = "qcom,wcn3660"; |
| 1472 | |
| 1473 | clocks = <&cxo_board>; |
| 1474 | clock-names = "xo"; |
| 1475 | |
| 1476 | vddxo-supply = <&pm8921_l4>; |
| 1477 | vddrfa-supply = <&pm8921_s2>; |
| 1478 | vddpa-supply = <&pm8921_l10>; |
| 1479 | vdddig-supply = <&pm8921_lvs2>; |
| 1480 | }; |
| 1481 | |
| 1482 | smd-edge { |
| 1483 | interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>; |
| 1484 | |
| 1485 | qcom,ipc = <&l2cc 8 25>; |
| 1486 | qcom,smd-edge = <6>; |
| 1487 | |
| 1488 | label = "riva"; |
| 1489 | |
| 1490 | wcnss { |
| 1491 | compatible = "qcom,wcnss"; |
| 1492 | qcom,smd-channels = "WCNSS_CTRL"; |
| 1493 | |
| 1494 | qcom,mmio = <&riva>; |
| 1495 | |
| 1496 | bt { |
| 1497 | compatible = "qcom,wcnss-bt"; |
| 1498 | }; |
| 1499 | |
| 1500 | wifi { |
| 1501 | compatible = "qcom,wcnss-wlan"; |
| 1502 | |
| 1503 | interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>, |
| 1504 | <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>; |
| 1505 | interrupt-names = "tx", "rx"; |
| 1506 | |
| 1507 | qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>; |
| 1508 | qcom,smem-state-names = "tx-enable", "tx-rings-empty"; |
| 1509 | }; |
| 1510 | }; |
| 1511 | }; |
| 1512 | }; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 1513 | }; |
| 1514 | }; |
Srinivas Kandagatla | a30e78b | 2016-02-23 14:14:07 +0000 | [diff] [blame] | 1515 | #include "qcom-apq8064-pins.dtsi" |