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