Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Rohit Vaswani | 2aec37c | 2013-12-20 11:09:15 -0800 | [diff] [blame] | 2 | /dts-v1/; |
| 3 | |
Andy Gross | d44cbb1 | 2016-06-09 22:45:11 -0500 | [diff] [blame] | 4 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 5 | #include <dt-bindings/clock/qcom,gcc-msm8974.h> |
Georgi Djakov | 9db9559 | 2017-03-16 14:55:09 +0200 | [diff] [blame] | 6 | #include <dt-bindings/clock/qcom,rpmcc.h> |
Stephen Boyd | 4ac5a20 | 2017-01-26 16:47:26 -0800 | [diff] [blame] | 7 | #include <dt-bindings/reset/qcom,gcc-msm8974.h> |
Bhushan Shah | 73bae19 | 2016-07-29 11:39:07 +0530 | [diff] [blame] | 8 | #include <dt-bindings/gpio/gpio.h> |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 9 | #include "skeleton.dtsi" |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 10 | |
Rohit Vaswani | 2aec37c | 2013-12-20 11:09:15 -0800 | [diff] [blame] | 11 | / { |
| 12 | model = "Qualcomm MSM8974"; |
| 13 | compatible = "qcom,msm8974"; |
| 14 | interrupt-parent = <&intc>; |
| 15 | |
Bjorn Andersson | 6297c4b | 2015-06-26 14:50:17 -0700 | [diff] [blame] | 16 | reserved-memory { |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
| 19 | ranges; |
| 20 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 21 | mpss@8000000 { |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 22 | reg = <0x08000000 0x5100000>; |
| 23 | no-map; |
| 24 | }; |
| 25 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 26 | mba@d100000 { |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 27 | reg = <0x0d100000 0x100000>; |
| 28 | no-map; |
| 29 | }; |
| 30 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 31 | reserved@d200000 { |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 32 | reg = <0x0d200000 0xa00000>; |
| 33 | no-map; |
| 34 | }; |
| 35 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 36 | adsp_region: adsp@dc00000 { |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 37 | reg = <0x0dc00000 0x1900000>; |
| 38 | no-map; |
| 39 | }; |
| 40 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 41 | venus@f500000 { |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 42 | reg = <0x0f500000 0x500000>; |
| 43 | no-map; |
| 44 | }; |
| 45 | |
Bjorn Andersson | 6297c4b | 2015-06-26 14:50:17 -0700 | [diff] [blame] | 46 | smem_region: smem@fa00000 { |
| 47 | reg = <0xfa00000 0x200000>; |
| 48 | no-map; |
| 49 | }; |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 50 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 51 | tz@fc00000 { |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 52 | reg = <0x0fc00000 0x160000>; |
| 53 | no-map; |
| 54 | }; |
| 55 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 56 | rfsa@fd60000 { |
Bjorn Andersson | 9731119 | 2016-03-28 18:32:37 -0700 | [diff] [blame] | 57 | reg = <0x0fd60000 0x20000>; |
| 58 | no-map; |
| 59 | }; |
| 60 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 61 | rmtfs@fd80000 { |
Bjorn Andersson | 9731119 | 2016-03-28 18:32:37 -0700 | [diff] [blame] | 62 | reg = <0x0fd80000 0x180000>; |
Bjorn Andersson | ca3971c | 2015-12-27 17:17:40 -0800 | [diff] [blame] | 63 | no-map; |
| 64 | }; |
Bjorn Andersson | 6297c4b | 2015-06-26 14:50:17 -0700 | [diff] [blame] | 65 | }; |
| 66 | |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 67 | cpus { |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <0>; |
| 70 | interrupts = <1 9 0xf04>; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 71 | |
Ivan T. Ivanov | 1e20223d | 2017-02-03 20:36:28 +0200 | [diff] [blame] | 72 | CPU0: cpu@0 { |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 73 | compatible = "qcom,krait"; |
| 74 | enable-method = "qcom,kpss-acc-v2"; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 75 | device_type = "cpu"; |
| 76 | reg = <0>; |
| 77 | next-level-cache = <&L2>; |
| 78 | qcom,acc = <&acc0>; |
Lina Iyer | 8c76a63 | 2015-03-25 14:25:30 -0600 | [diff] [blame] | 79 | qcom,saw = <&saw0>; |
Lina Iyer | d596d62 | 2015-03-25 14:25:33 -0600 | [diff] [blame] | 80 | cpu-idle-states = <&CPU_SPC>; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 81 | }; |
| 82 | |
Ivan T. Ivanov | 1e20223d | 2017-02-03 20:36:28 +0200 | [diff] [blame] | 83 | CPU1: cpu@1 { |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 84 | compatible = "qcom,krait"; |
| 85 | enable-method = "qcom,kpss-acc-v2"; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 86 | device_type = "cpu"; |
| 87 | reg = <1>; |
| 88 | next-level-cache = <&L2>; |
| 89 | qcom,acc = <&acc1>; |
Lina Iyer | 8c76a63 | 2015-03-25 14:25:30 -0600 | [diff] [blame] | 90 | qcom,saw = <&saw1>; |
Lina Iyer | d596d62 | 2015-03-25 14:25:33 -0600 | [diff] [blame] | 91 | cpu-idle-states = <&CPU_SPC>; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 92 | }; |
| 93 | |
Ivan T. Ivanov | 1e20223d | 2017-02-03 20:36:28 +0200 | [diff] [blame] | 94 | CPU2: cpu@2 { |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 95 | compatible = "qcom,krait"; |
| 96 | enable-method = "qcom,kpss-acc-v2"; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 97 | device_type = "cpu"; |
| 98 | reg = <2>; |
| 99 | next-level-cache = <&L2>; |
| 100 | qcom,acc = <&acc2>; |
Lina Iyer | 8c76a63 | 2015-03-25 14:25:30 -0600 | [diff] [blame] | 101 | qcom,saw = <&saw2>; |
Lina Iyer | d596d62 | 2015-03-25 14:25:33 -0600 | [diff] [blame] | 102 | cpu-idle-states = <&CPU_SPC>; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 103 | }; |
| 104 | |
Ivan T. Ivanov | 1e20223d | 2017-02-03 20:36:28 +0200 | [diff] [blame] | 105 | CPU3: cpu@3 { |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 106 | compatible = "qcom,krait"; |
| 107 | enable-method = "qcom,kpss-acc-v2"; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 108 | device_type = "cpu"; |
| 109 | reg = <3>; |
| 110 | next-level-cache = <&L2>; |
| 111 | qcom,acc = <&acc3>; |
Lina Iyer | 8c76a63 | 2015-03-25 14:25:30 -0600 | [diff] [blame] | 112 | qcom,saw = <&saw3>; |
Lina Iyer | d596d62 | 2015-03-25 14:25:33 -0600 | [diff] [blame] | 113 | cpu-idle-states = <&CPU_SPC>; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | L2: l2-cache { |
| 117 | compatible = "cache"; |
| 118 | cache-level = <2>; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 119 | qcom,saw = <&saw_l2>; |
| 120 | }; |
Lina Iyer | d596d62 | 2015-03-25 14:25:33 -0600 | [diff] [blame] | 121 | |
| 122 | idle-states { |
| 123 | CPU_SPC: spc { |
| 124 | compatible = "qcom,idle-state-spc", |
| 125 | "arm,idle-state"; |
| 126 | entry-latency-us = <150>; |
| 127 | exit-latency-us = <200>; |
| 128 | min-residency-us = <2000>; |
| 129 | }; |
| 130 | }; |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 131 | }; |
| 132 | |
Rajendra Nayak | c59ffb5 | 2016-08-17 10:48:44 +0530 | [diff] [blame] | 133 | thermal-zones { |
| 134 | cpu-thermal0 { |
| 135 | polling-delay-passive = <250>; |
| 136 | polling-delay = <1000>; |
| 137 | |
| 138 | thermal-sensors = <&tsens 5>; |
| 139 | |
| 140 | trips { |
| 141 | cpu_alert0: trip0 { |
| 142 | temperature = <75000>; |
| 143 | hysteresis = <2000>; |
| 144 | type = "passive"; |
| 145 | }; |
| 146 | cpu_crit0: trip1 { |
| 147 | temperature = <110000>; |
| 148 | hysteresis = <2000>; |
| 149 | type = "critical"; |
| 150 | }; |
| 151 | }; |
| 152 | }; |
| 153 | |
| 154 | cpu-thermal1 { |
| 155 | polling-delay-passive = <250>; |
| 156 | polling-delay = <1000>; |
| 157 | |
| 158 | thermal-sensors = <&tsens 6>; |
| 159 | |
| 160 | trips { |
| 161 | cpu_alert1: trip0 { |
| 162 | temperature = <75000>; |
| 163 | hysteresis = <2000>; |
| 164 | type = "passive"; |
| 165 | }; |
| 166 | cpu_crit1: trip1 { |
| 167 | temperature = <110000>; |
| 168 | hysteresis = <2000>; |
| 169 | type = "critical"; |
| 170 | }; |
| 171 | }; |
| 172 | }; |
| 173 | |
| 174 | cpu-thermal2 { |
| 175 | polling-delay-passive = <250>; |
| 176 | polling-delay = <1000>; |
| 177 | |
| 178 | thermal-sensors = <&tsens 7>; |
| 179 | |
| 180 | trips { |
| 181 | cpu_alert2: trip0 { |
| 182 | temperature = <75000>; |
| 183 | hysteresis = <2000>; |
| 184 | type = "passive"; |
| 185 | }; |
| 186 | cpu_crit2: trip1 { |
| 187 | temperature = <110000>; |
| 188 | hysteresis = <2000>; |
| 189 | type = "critical"; |
| 190 | }; |
| 191 | }; |
| 192 | }; |
| 193 | |
| 194 | cpu-thermal3 { |
| 195 | polling-delay-passive = <250>; |
| 196 | polling-delay = <1000>; |
| 197 | |
| 198 | thermal-sensors = <&tsens 8>; |
| 199 | |
| 200 | trips { |
| 201 | cpu_alert3: trip0 { |
| 202 | temperature = <75000>; |
| 203 | hysteresis = <2000>; |
| 204 | type = "passive"; |
| 205 | }; |
| 206 | cpu_crit3: trip1 { |
| 207 | temperature = <110000>; |
| 208 | hysteresis = <2000>; |
| 209 | type = "critical"; |
| 210 | }; |
| 211 | }; |
| 212 | }; |
| 213 | }; |
| 214 | |
Stephen Boyd | 3bff547 | 2014-02-21 11:09:50 +0000 | [diff] [blame] | 215 | cpu-pmu { |
| 216 | compatible = "qcom,krait-pmu"; |
| 217 | interrupts = <1 7 0xf04>; |
| 218 | }; |
| 219 | |
Stephen Boyd | 30fc421 | 2016-01-06 17:41:51 -0800 | [diff] [blame] | 220 | clocks { |
Ritesh Harjani | a91b2e6 | 2016-11-21 12:07:14 +0530 | [diff] [blame] | 221 | xo_board: xo_board { |
Stephen Boyd | 30fc421 | 2016-01-06 17:41:51 -0800 | [diff] [blame] | 222 | compatible = "fixed-clock"; |
| 223 | #clock-cells = <0>; |
| 224 | clock-frequency = <19200000>; |
| 225 | }; |
| 226 | |
Ritesh Harjani | a91b2e6 | 2016-11-21 12:07:14 +0530 | [diff] [blame] | 227 | sleep_clk: sleep_clk { |
Stephen Boyd | 30fc421 | 2016-01-06 17:41:51 -0800 | [diff] [blame] | 228 | compatible = "fixed-clock"; |
| 229 | #clock-cells = <0>; |
| 230 | clock-frequency = <32768>; |
| 231 | }; |
| 232 | }; |
| 233 | |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 234 | timer { |
| 235 | compatible = "arm,armv7-timer"; |
| 236 | interrupts = <1 2 0xf08>, |
| 237 | <1 3 0xf08>, |
| 238 | <1 4 0xf08>, |
| 239 | <1 1 0xf08>; |
| 240 | clock-frequency = <19200000>; |
| 241 | }; |
| 242 | |
Bjorn Andersson | 6f04d7c | 2016-08-22 22:57:46 -0700 | [diff] [blame] | 243 | adsp-pil { |
| 244 | compatible = "qcom,msm8974-adsp-pil"; |
| 245 | |
| 246 | interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>, |
| 247 | <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, |
| 248 | <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, |
| 249 | <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, |
| 250 | <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; |
| 251 | interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; |
| 252 | |
| 253 | cx-supply = <&pm8841_s2>; |
| 254 | |
Jonathan Neuschäfer | 4d93175 | 2017-03-07 03:22:00 +0100 | [diff] [blame] | 255 | clocks = <&xo_board>; |
| 256 | clock-names = "xo"; |
| 257 | |
Bjorn Andersson | 6f04d7c | 2016-08-22 22:57:46 -0700 | [diff] [blame] | 258 | memory-region = <&adsp_region>; |
| 259 | |
| 260 | qcom,smem-states = <&adsp_smp2p_out 0>; |
| 261 | qcom,smem-state-names = "stop"; |
| 262 | }; |
| 263 | |
Stephen Boyd | d0bfd7c | 2015-10-08 13:34:09 -0500 | [diff] [blame] | 264 | smem { |
| 265 | compatible = "qcom,smem"; |
| 266 | |
| 267 | memory-region = <&smem_region>; |
| 268 | qcom,rpm-msg-ram = <&rpm_msg_ram>; |
| 269 | |
| 270 | hwlocks = <&tcsr_mutex 3>; |
| 271 | }; |
| 272 | |
Bjorn Andersson | 3028cba | 2016-08-22 22:57:45 -0700 | [diff] [blame] | 273 | smp2p-adsp { |
| 274 | compatible = "qcom,smp2p"; |
| 275 | qcom,smem = <443>, <429>; |
| 276 | |
| 277 | interrupt-parent = <&intc>; |
| 278 | interrupts = <0 158 IRQ_TYPE_EDGE_RISING>; |
| 279 | |
| 280 | qcom,ipc = <&apcs 8 10>; |
| 281 | |
| 282 | qcom,local-pid = <0>; |
| 283 | qcom,remote-pid = <2>; |
| 284 | |
| 285 | adsp_smp2p_out: master-kernel { |
| 286 | qcom,entry-name = "master-kernel"; |
| 287 | #qcom,smem-state-cells = <1>; |
| 288 | }; |
| 289 | |
| 290 | adsp_smp2p_in: slave-kernel { |
| 291 | qcom,entry-name = "slave-kernel"; |
| 292 | |
| 293 | interrupt-controller; |
| 294 | #interrupt-cells = <2>; |
| 295 | }; |
| 296 | }; |
| 297 | |
Bjorn Andersson | 5d3178c | 2016-03-28 18:32:39 -0700 | [diff] [blame] | 298 | smp2p-modem { |
| 299 | compatible = "qcom,smp2p"; |
| 300 | qcom,smem = <435>, <428>; |
| 301 | |
| 302 | interrupt-parent = <&intc>; |
| 303 | interrupts = <0 27 IRQ_TYPE_EDGE_RISING>; |
| 304 | |
| 305 | qcom,ipc = <&apcs 8 14>; |
| 306 | |
| 307 | qcom,local-pid = <0>; |
| 308 | qcom,remote-pid = <1>; |
| 309 | |
| 310 | modem_smp2p_out: master-kernel { |
| 311 | qcom,entry-name = "master-kernel"; |
Andy Gross | 30f1e2d | 2016-06-12 01:20:11 -0500 | [diff] [blame] | 312 | #qcom,smem-state-cells = <1>; |
Bjorn Andersson | 5d3178c | 2016-03-28 18:32:39 -0700 | [diff] [blame] | 313 | }; |
| 314 | |
| 315 | modem_smp2p_in: slave-kernel { |
| 316 | qcom,entry-name = "slave-kernel"; |
| 317 | |
| 318 | interrupt-controller; |
| 319 | #interrupt-cells = <2>; |
| 320 | }; |
| 321 | }; |
| 322 | |
Bjorn Andersson | 7ccb11e | 2015-12-27 17:51:13 -0800 | [diff] [blame] | 323 | smp2p-wcnss { |
| 324 | compatible = "qcom,smp2p"; |
| 325 | qcom,smem = <451>, <431>; |
| 326 | |
| 327 | interrupt-parent = <&intc>; |
| 328 | interrupts = <0 143 IRQ_TYPE_EDGE_RISING>; |
| 329 | |
| 330 | qcom,ipc = <&apcs 8 18>; |
| 331 | |
| 332 | qcom,local-pid = <0>; |
| 333 | qcom,remote-pid = <4>; |
| 334 | |
| 335 | wcnss_smp2p_out: master-kernel { |
| 336 | qcom,entry-name = "master-kernel"; |
| 337 | |
Andy Gross | 30f1e2d | 2016-06-12 01:20:11 -0500 | [diff] [blame] | 338 | #qcom,smem-state-cells = <1>; |
Bjorn Andersson | 7ccb11e | 2015-12-27 17:51:13 -0800 | [diff] [blame] | 339 | }; |
| 340 | |
| 341 | wcnss_smp2p_in: slave-kernel { |
| 342 | qcom,entry-name = "slave-kernel"; |
| 343 | |
| 344 | interrupt-controller; |
| 345 | #interrupt-cells = <2>; |
| 346 | }; |
| 347 | }; |
| 348 | |
Bjorn Andersson | 9af88b2 | 2015-12-27 17:47:08 -0800 | [diff] [blame] | 349 | smsm { |
| 350 | compatible = "qcom,smsm"; |
| 351 | |
| 352 | #address-cells = <1>; |
| 353 | #size-cells = <0>; |
| 354 | |
| 355 | qcom,ipc-1 = <&apcs 8 13>; |
| 356 | qcom,ipc-2 = <&apcs 8 9>; |
| 357 | qcom,ipc-3 = <&apcs 8 19>; |
| 358 | |
| 359 | apps_smsm: apps@0 { |
| 360 | reg = <0>; |
| 361 | |
Andy Gross | 30f1e2d | 2016-06-12 01:20:11 -0500 | [diff] [blame] | 362 | #qcom,smem-state-cells = <1>; |
Bjorn Andersson | 9af88b2 | 2015-12-27 17:47:08 -0800 | [diff] [blame] | 363 | }; |
| 364 | |
| 365 | modem_smsm: modem@1 { |
| 366 | reg = <1>; |
| 367 | interrupts = <0 26 IRQ_TYPE_EDGE_RISING>; |
| 368 | |
| 369 | interrupt-controller; |
| 370 | #interrupt-cells = <2>; |
| 371 | }; |
| 372 | |
| 373 | adsp_smsm: adsp@2 { |
| 374 | reg = <2>; |
| 375 | interrupts = <0 157 IRQ_TYPE_EDGE_RISING>; |
| 376 | |
| 377 | interrupt-controller; |
| 378 | #interrupt-cells = <2>; |
| 379 | }; |
| 380 | |
| 381 | wcnss_smsm: wcnss@7 { |
| 382 | reg = <7>; |
| 383 | interrupts = <0 144 IRQ_TYPE_EDGE_RISING>; |
| 384 | |
| 385 | interrupt-controller; |
| 386 | #interrupt-cells = <2>; |
| 387 | }; |
| 388 | }; |
| 389 | |
Andy Gross | e0e7da5 | 2016-06-03 18:25:29 -0500 | [diff] [blame] | 390 | firmware { |
| 391 | scm { |
| 392 | compatible = "qcom,scm"; |
| 393 | clocks = <&gcc GCC_CE1_CLK>, <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>; |
| 394 | clock-names = "core", "bus", "iface"; |
| 395 | }; |
| 396 | }; |
| 397 | |
Rohit Vaswani | 2aec37c | 2013-12-20 11:09:15 -0800 | [diff] [blame] | 398 | soc: soc { |
| 399 | #address-cells = <1>; |
| 400 | #size-cells = <1>; |
| 401 | ranges; |
| 402 | compatible = "simple-bus"; |
| 403 | |
| 404 | intc: interrupt-controller@f9000000 { |
| 405 | compatible = "qcom,msm-qgic2"; |
| 406 | interrupt-controller; |
| 407 | #interrupt-cells = <3>; |
| 408 | reg = <0xf9000000 0x1000>, |
| 409 | <0xf9002000 0x1000>; |
| 410 | }; |
| 411 | |
Bjorn Andersson | 45b0ef0 | 2015-06-26 14:50:18 -0700 | [diff] [blame] | 412 | apcs: syscon@f9011000 { |
| 413 | compatible = "syscon"; |
| 414 | reg = <0xf9011000 0x1000>; |
| 415 | }; |
| 416 | |
Rajendra Nayak | c59ffb5 | 2016-08-17 10:48:44 +0530 | [diff] [blame] | 417 | qfprom: qfprom@fc4bc000 { |
| 418 | #address-cells = <1>; |
| 419 | #size-cells = <1>; |
| 420 | compatible = "qcom,qfprom"; |
| 421 | reg = <0xfc4bc000 0x1000>; |
| 422 | tsens_calib: calib@d0 { |
| 423 | reg = <0xd0 0x18>; |
| 424 | }; |
| 425 | tsens_backup: backup@440 { |
| 426 | reg = <0x440 0x10>; |
| 427 | }; |
| 428 | }; |
| 429 | |
| 430 | tsens: thermal-sensor@fc4a8000 { |
| 431 | compatible = "qcom,msm8974-tsens"; |
| 432 | reg = <0xfc4a8000 0x2000>; |
| 433 | nvmem-cells = <&tsens_calib>, <&tsens_backup>; |
| 434 | nvmem-cell-names = "calib", "calib_backup"; |
| 435 | #thermal-sensor-cells = <1>; |
| 436 | }; |
| 437 | |
Stephen Boyd | 47c5a5d | 2013-12-20 11:09:19 -0800 | [diff] [blame] | 438 | timer@f9020000 { |
| 439 | #address-cells = <1>; |
| 440 | #size-cells = <1>; |
| 441 | ranges; |
| 442 | compatible = "arm,armv7-timer-mem"; |
| 443 | reg = <0xf9020000 0x1000>; |
| 444 | clock-frequency = <19200000>; |
| 445 | |
| 446 | frame@f9021000 { |
| 447 | frame-number = <0>; |
| 448 | interrupts = <0 8 0x4>, |
| 449 | <0 7 0x4>; |
| 450 | reg = <0xf9021000 0x1000>, |
| 451 | <0xf9022000 0x1000>; |
| 452 | }; |
| 453 | |
| 454 | frame@f9023000 { |
| 455 | frame-number = <1>; |
| 456 | interrupts = <0 9 0x4>; |
| 457 | reg = <0xf9023000 0x1000>; |
| 458 | status = "disabled"; |
| 459 | }; |
| 460 | |
| 461 | frame@f9024000 { |
| 462 | frame-number = <2>; |
| 463 | interrupts = <0 10 0x4>; |
| 464 | reg = <0xf9024000 0x1000>; |
| 465 | status = "disabled"; |
| 466 | }; |
| 467 | |
| 468 | frame@f9025000 { |
| 469 | frame-number = <3>; |
| 470 | interrupts = <0 11 0x4>; |
| 471 | reg = <0xf9025000 0x1000>; |
| 472 | status = "disabled"; |
| 473 | }; |
| 474 | |
| 475 | frame@f9026000 { |
| 476 | frame-number = <4>; |
| 477 | interrupts = <0 12 0x4>; |
| 478 | reg = <0xf9026000 0x1000>; |
| 479 | status = "disabled"; |
| 480 | }; |
| 481 | |
| 482 | frame@f9027000 { |
| 483 | frame-number = <5>; |
| 484 | interrupts = <0 13 0x4>; |
| 485 | reg = <0xf9027000 0x1000>; |
| 486 | status = "disabled"; |
| 487 | }; |
| 488 | |
| 489 | frame@f9028000 { |
| 490 | frame-number = <6>; |
| 491 | interrupts = <0 14 0x4>; |
| 492 | reg = <0xf9028000 0x1000>; |
| 493 | status = "disabled"; |
| 494 | }; |
| 495 | }; |
| 496 | |
Lina Iyer | 8c76a63 | 2015-03-25 14:25:30 -0600 | [diff] [blame] | 497 | saw0: power-controller@f9089000 { |
| 498 | compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2"; |
| 499 | reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>; |
| 500 | }; |
| 501 | |
| 502 | saw1: power-controller@f9099000 { |
| 503 | compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2"; |
| 504 | reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>; |
| 505 | }; |
| 506 | |
| 507 | saw2: power-controller@f90a9000 { |
| 508 | compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2"; |
| 509 | reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>; |
| 510 | }; |
| 511 | |
| 512 | saw3: power-controller@f90b9000 { |
| 513 | compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2"; |
| 514 | reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>; |
| 515 | }; |
| 516 | |
| 517 | saw_l2: power-controller@f9012000 { |
Rohit Vaswani | 2ab2799 | 2013-11-01 10:10:40 -0700 | [diff] [blame] | 518 | compatible = "qcom,saw2"; |
| 519 | reg = <0xf9012000 0x1000>; |
| 520 | regulator; |
| 521 | }; |
| 522 | |
| 523 | acc0: clock-controller@f9088000 { |
| 524 | compatible = "qcom,kpss-acc-v2"; |
| 525 | reg = <0xf9088000 0x1000>, <0xf9008000 0x1000>; |
| 526 | }; |
| 527 | |
| 528 | acc1: clock-controller@f9098000 { |
| 529 | compatible = "qcom,kpss-acc-v2"; |
| 530 | reg = <0xf9098000 0x1000>, <0xf9008000 0x1000>; |
| 531 | }; |
| 532 | |
| 533 | acc2: clock-controller@f90a8000 { |
| 534 | compatible = "qcom,kpss-acc-v2"; |
| 535 | reg = <0xf90a8000 0x1000>, <0xf9008000 0x1000>; |
| 536 | }; |
| 537 | |
| 538 | acc3: clock-controller@f90b8000 { |
| 539 | compatible = "qcom,kpss-acc-v2"; |
| 540 | reg = <0xf90b8000 0x1000>, <0xf9008000 0x1000>; |
| 541 | }; |
| 542 | |
Stephen Boyd | 74e848f | 2013-12-20 11:09:18 -0800 | [diff] [blame] | 543 | restart@fc4ab000 { |
| 544 | compatible = "qcom,pshold"; |
| 545 | reg = <0xfc4ab000 0x4>; |
| 546 | }; |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 547 | |
| 548 | gcc: clock-controller@fc400000 { |
| 549 | compatible = "qcom,gcc-msm8974"; |
| 550 | #clock-cells = <1>; |
| 551 | #reset-cells = <1>; |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 552 | #power-domain-cells = <1>; |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 553 | reg = <0xfc400000 0x4000>; |
| 554 | }; |
| 555 | |
Stephen Boyd | 4ac5a20 | 2017-01-26 16:47:26 -0800 | [diff] [blame] | 556 | tcsr: syscon@fd4a0000 { |
| 557 | compatible = "syscon"; |
| 558 | reg = <0xfd4a0000 0x10000>; |
| 559 | }; |
| 560 | |
Bjorn Andersson | b4e745e | 2015-06-26 14:50:16 -0700 | [diff] [blame] | 561 | tcsr_mutex_block: syscon@fd484000 { |
| 562 | compatible = "syscon"; |
| 563 | reg = <0xfd484000 0x2000>; |
| 564 | }; |
| 565 | |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 566 | mmcc: clock-controller@fd8c0000 { |
| 567 | compatible = "qcom,mmcc-msm8974"; |
| 568 | #clock-cells = <1>; |
| 569 | #reset-cells = <1>; |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 570 | #power-domain-cells = <1>; |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 571 | reg = <0xfd8c0000 0x6000>; |
| 572 | }; |
| 573 | |
Bjorn Andersson | b4e745e | 2015-06-26 14:50:16 -0700 | [diff] [blame] | 574 | tcsr_mutex: tcsr-mutex { |
| 575 | compatible = "qcom,tcsr-mutex"; |
| 576 | syscon = <&tcsr_mutex_block 0 0x80>; |
| 577 | |
| 578 | #hwlock-cells = <1>; |
| 579 | }; |
| 580 | |
Stephen Boyd | d0bfd7c | 2015-10-08 13:34:09 -0500 | [diff] [blame] | 581 | rpm_msg_ram: memory@fc428000 { |
| 582 | compatible = "qcom,rpm-msg-ram"; |
Bjorn Andersson | 6297c4b | 2015-06-26 14:50:17 -0700 | [diff] [blame] | 583 | reg = <0xfc428000 0x4000>; |
Bjorn Andersson | 6297c4b | 2015-06-26 14:50:17 -0700 | [diff] [blame] | 584 | }; |
| 585 | |
Bhushan Shah | 5cae8a9 | 2016-07-13 13:04:26 +0530 | [diff] [blame] | 586 | blsp1_uart1: serial@f991d000 { |
| 587 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 588 | reg = <0xf991d000 0x1000>; |
| 589 | interrupts = <0 107 0x0>; |
| 590 | clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; |
| 591 | clock-names = "core", "iface"; |
| 592 | status = "disabled"; |
| 593 | }; |
| 594 | |
Stephen Boyd | 10bfcfe | 2015-06-16 14:31:44 -0700 | [diff] [blame] | 595 | blsp1_uart2: serial@f991e000 { |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 596 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 597 | reg = <0xf991e000 0x1000>; |
| 598 | interrupts = <0 108 0x0>; |
| 599 | clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; |
| 600 | clock-names = "core", "iface"; |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 601 | status = "disabled"; |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 602 | }; |
Stanimir Varbanov | 19f4f8c | 2014-02-07 11:23:07 +0200 | [diff] [blame] | 603 | |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 604 | sdhci@f9824900 { |
| 605 | compatible = "qcom,sdhci-msm-v4"; |
| 606 | reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; |
| 607 | reg-names = "hc_mem", "core_mem"; |
| 608 | interrupts = <0 123 0>, <0 138 0>; |
| 609 | interrupt-names = "hc_irq", "pwr_irq"; |
Ritesh Harjani | a91b2e6 | 2016-11-21 12:07:14 +0530 | [diff] [blame] | 610 | clocks = <&gcc GCC_SDCC1_APPS_CLK>, |
| 611 | <&gcc GCC_SDCC1_AHB_CLK>, |
| 612 | <&xo_board>; |
| 613 | clock-names = "core", "iface", "xo"; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 614 | status = "disabled"; |
| 615 | }; |
| 616 | |
Bjorn Andersson | ab80661 | 2017-10-04 11:58:54 -0700 | [diff] [blame] | 617 | sdhci@f9864900 { |
| 618 | compatible = "qcom,sdhci-msm-v4"; |
| 619 | reg = <0xf9864900 0x11c>, <0xf9864000 0x800>; |
| 620 | reg-names = "hc_mem", "core_mem"; |
| 621 | interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>, |
| 622 | <GIC_SPI 224 IRQ_TYPE_NONE>; |
| 623 | interrupt-names = "hc_irq", "pwr_irq"; |
| 624 | clocks = <&gcc GCC_SDCC3_APPS_CLK>, |
| 625 | <&gcc GCC_SDCC3_AHB_CLK>, |
| 626 | <&xo_board>; |
| 627 | clock-names = "core", "iface", "xo"; |
| 628 | status = "disabled"; |
| 629 | }; |
| 630 | |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 631 | sdhci@f98a4900 { |
| 632 | compatible = "qcom,sdhci-msm-v4"; |
| 633 | reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; |
| 634 | reg-names = "hc_mem", "core_mem"; |
| 635 | interrupts = <0 125 0>, <0 221 0>; |
| 636 | interrupt-names = "hc_irq", "pwr_irq"; |
Ritesh Harjani | a91b2e6 | 2016-11-21 12:07:14 +0530 | [diff] [blame] | 637 | clocks = <&gcc GCC_SDCC2_APPS_CLK>, |
| 638 | <&gcc GCC_SDCC2_AHB_CLK>, |
| 639 | <&xo_board>; |
| 640 | clock-names = "core", "iface", "xo"; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 641 | status = "disabled"; |
| 642 | }; |
| 643 | |
Stephen Boyd | 4ac5a20 | 2017-01-26 16:47:26 -0800 | [diff] [blame] | 644 | otg: usb@f9a55000 { |
| 645 | compatible = "qcom,ci-hdrc"; |
| 646 | reg = <0xf9a55000 0x200>, |
| 647 | <0xf9a55200 0x200>; |
| 648 | interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; |
| 649 | clocks = <&gcc GCC_USB_HS_AHB_CLK>, |
| 650 | <&gcc GCC_USB_HS_SYSTEM_CLK>; |
| 651 | clock-names = "iface", "core"; |
| 652 | assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>; |
| 653 | assigned-clock-rates = <75000000>; |
| 654 | resets = <&gcc GCC_USB_HS_BCR>; |
| 655 | reset-names = "core"; |
| 656 | phy_type = "ulpi"; |
| 657 | dr_mode = "otg"; |
| 658 | ahb-burst-config = <0>; |
| 659 | phy-names = "usb-phy"; |
| 660 | status = "disabled"; |
| 661 | #reset-cells = <1>; |
| 662 | |
| 663 | ulpi { |
| 664 | usb_hs1_phy: phy@a { |
| 665 | compatible = "qcom,usb-hs-phy-msm8974", |
| 666 | "qcom,usb-hs-phy"; |
| 667 | #phy-cells = <0>; |
| 668 | clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>; |
| 669 | clock-names = "ref", "sleep"; |
| 670 | resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>; |
| 671 | reset-names = "phy", "por"; |
| 672 | status = "disabled"; |
| 673 | }; |
| 674 | |
| 675 | usb_hs2_phy: phy@b { |
| 676 | compatible = "qcom,usb-hs-phy-msm8974", |
| 677 | "qcom,usb-hs-phy"; |
| 678 | #phy-cells = <0>; |
| 679 | clocks = <&xo_board>, <&gcc GCC_USB2B_PHY_SLEEP_CLK>; |
| 680 | clock-names = "ref", "sleep"; |
| 681 | resets = <&gcc GCC_USB2B_PHY_BCR>, <&otg 1>; |
| 682 | reset-names = "phy", "por"; |
| 683 | status = "disabled"; |
| 684 | }; |
| 685 | }; |
| 686 | }; |
| 687 | |
Stanimir Varbanov | 19f4f8c | 2014-02-07 11:23:07 +0200 | [diff] [blame] | 688 | rng@f9bff000 { |
| 689 | compatible = "qcom,prng"; |
| 690 | reg = <0xf9bff000 0x200>; |
| 691 | clocks = <&gcc GCC_PRNG_AHB_CLK>; |
| 692 | clock-names = "core"; |
| 693 | }; |
Ivan T. Ivanov | 7d7db8d | 2014-02-06 17:28:49 +0200 | [diff] [blame] | 694 | |
| 695 | msmgpio: pinctrl@fd510000 { |
| 696 | compatible = "qcom,msm8974-pinctrl"; |
| 697 | reg = <0xfd510000 0x4000>; |
| 698 | gpio-controller; |
| 699 | #gpio-cells = <2>; |
| 700 | interrupt-controller; |
| 701 | #interrupt-cells = <2>; |
| 702 | interrupts = <0 208 0>; |
Ivan T. Ivanov | 7d7db8d | 2014-02-06 17:28:49 +0200 | [diff] [blame] | 703 | }; |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 704 | |
Bjorn Andersson | 89af1c2 | 2016-03-28 18:32:38 -0700 | [diff] [blame] | 705 | i2c@f9924000 { |
| 706 | status = "disabled"; |
| 707 | compatible = "qcom,i2c-qup-v2.1.1"; |
| 708 | reg = <0xf9924000 0x1000>; |
| 709 | interrupts = <0 96 IRQ_TYPE_NONE>; |
| 710 | clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; |
| 711 | clock-names = "core", "iface"; |
| 712 | #address-cells = <1>; |
| 713 | #size-cells = <0>; |
| 714 | }; |
| 715 | |
Bjorn Andersson | 580df59 | 2015-11-23 21:54:34 -0800 | [diff] [blame] | 716 | blsp_i2c8: i2c@f9964000 { |
| 717 | status = "disabled"; |
| 718 | compatible = "qcom,i2c-qup-v2.1.1"; |
| 719 | reg = <0xf9964000 0x1000>; |
| 720 | interrupts = <0 102 IRQ_TYPE_NONE>; |
| 721 | clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; |
| 722 | clock-names = "core", "iface"; |
| 723 | #address-cells = <1>; |
| 724 | #size-cells = <0>; |
| 725 | }; |
| 726 | |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 727 | blsp_i2c11: i2c@f9967000 { |
Michael Opdenacker | 04edde2 | 2015-10-13 14:02:00 +0200 | [diff] [blame] | 728 | status = "disabled"; |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 729 | compatible = "qcom,i2c-qup-v2.1.1"; |
| 730 | reg = <0xf9967000 0x1000>; |
| 731 | interrupts = <0 105 IRQ_TYPE_NONE>; |
| 732 | clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; |
| 733 | clock-names = "core", "iface"; |
| 734 | #address-cells = <1>; |
| 735 | #size-cells = <0>; |
Andy Gross | 938b4d4 | 2016-06-09 22:45:27 -0500 | [diff] [blame] | 736 | dmas = <&blsp2_dma 20>, <&blsp2_dma 21>; |
| 737 | dma-names = "tx", "rx"; |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 738 | }; |
Ivan T. Ivanov | af22e46 | 2015-02-03 14:17:58 +0200 | [diff] [blame] | 739 | |
| 740 | spmi_bus: spmi@fc4cf000 { |
| 741 | compatible = "qcom,spmi-pmic-arb"; |
| 742 | reg-names = "core", "intr", "cnfg"; |
| 743 | reg = <0xfc4cf000 0x1000>, |
| 744 | <0xfc4cb000 0x1000>, |
| 745 | <0xfc4ca000 0x1000>; |
| 746 | interrupt-names = "periph_irq"; |
| 747 | interrupts = <0 190 0>; |
| 748 | qcom,ee = <0>; |
| 749 | qcom,channel = <0>; |
| 750 | #address-cells = <2>; |
| 751 | #size-cells = <0>; |
| 752 | interrupt-controller; |
| 753 | #interrupt-cells = <4>; |
| 754 | }; |
Andy Gross | d44cbb1 | 2016-06-09 22:45:11 -0500 | [diff] [blame] | 755 | |
| 756 | blsp2_dma: dma-controller@f9944000 { |
| 757 | compatible = "qcom,bam-v1.4.0"; |
| 758 | reg = <0xf9944000 0x19000>; |
| 759 | interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; |
| 760 | clocks = <&gcc GCC_BLSP2_AHB_CLK>; |
| 761 | clock-names = "bam_clk"; |
| 762 | #dma-cells = <1>; |
| 763 | qcom,ee = <0>; |
| 764 | }; |
Bjorn Andersson | 769907a | 2016-03-28 18:32:36 -0700 | [diff] [blame] | 765 | |
Ivan T. Ivanov | 1e20223d | 2017-02-03 20:36:28 +0200 | [diff] [blame] | 766 | etr@fc322000 { |
| 767 | compatible = "arm,coresight-tmc", "arm,primecell"; |
| 768 | reg = <0xfc322000 0x1000>; |
| 769 | |
| 770 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 771 | clock-names = "apb_pclk", "atclk"; |
| 772 | |
| 773 | port { |
| 774 | etr_in: endpoint { |
| 775 | slave-mode; |
| 776 | remote-endpoint = <&replicator_out0>; |
| 777 | }; |
| 778 | }; |
| 779 | }; |
| 780 | |
| 781 | tpiu@fc318000 { |
| 782 | compatible = "arm,coresight-tpiu", "arm,primecell"; |
| 783 | reg = <0xfc318000 0x1000>; |
| 784 | |
| 785 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 786 | clock-names = "apb_pclk", "atclk"; |
| 787 | |
| 788 | port { |
| 789 | tpiu_in: endpoint { |
| 790 | slave-mode; |
| 791 | remote-endpoint = <&replicator_out1>; |
| 792 | }; |
| 793 | }; |
| 794 | }; |
| 795 | |
| 796 | replicator@fc31c000 { |
Suzuki K. Poulose | 8d4c75f | 2017-07-20 11:17:13 +0100 | [diff] [blame] | 797 | compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; |
Ivan T. Ivanov | 1e20223d | 2017-02-03 20:36:28 +0200 | [diff] [blame] | 798 | reg = <0xfc31c000 0x1000>; |
| 799 | |
| 800 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 801 | clock-names = "apb_pclk", "atclk"; |
| 802 | |
| 803 | ports { |
| 804 | #address-cells = <1>; |
| 805 | #size-cells = <0>; |
| 806 | |
| 807 | port@0 { |
| 808 | reg = <0>; |
| 809 | replicator_out0: endpoint { |
| 810 | remote-endpoint = <&etr_in>; |
| 811 | }; |
| 812 | }; |
| 813 | port@1 { |
| 814 | reg = <1>; |
| 815 | replicator_out1: endpoint { |
| 816 | remote-endpoint = <&tpiu_in>; |
| 817 | }; |
| 818 | }; |
| 819 | port@2 { |
| 820 | reg = <0>; |
| 821 | replicator_in: endpoint { |
| 822 | slave-mode; |
| 823 | remote-endpoint = <&etf_out>; |
| 824 | }; |
| 825 | }; |
| 826 | }; |
| 827 | }; |
| 828 | |
| 829 | etf@fc307000 { |
| 830 | compatible = "arm,coresight-tmc", "arm,primecell"; |
| 831 | reg = <0xfc307000 0x1000>; |
| 832 | |
| 833 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 834 | clock-names = "apb_pclk", "atclk"; |
| 835 | |
| 836 | ports { |
| 837 | #address-cells = <1>; |
| 838 | #size-cells = <0>; |
| 839 | |
| 840 | port@0 { |
| 841 | reg = <0>; |
| 842 | etf_out: endpoint { |
| 843 | remote-endpoint = <&replicator_in>; |
| 844 | }; |
| 845 | }; |
| 846 | port@1 { |
| 847 | reg = <0>; |
| 848 | etf_in: endpoint { |
| 849 | slave-mode; |
| 850 | remote-endpoint = <&merger_out>; |
| 851 | }; |
| 852 | }; |
| 853 | }; |
| 854 | }; |
| 855 | |
| 856 | funnel@fc31b000 { |
| 857 | compatible = "arm,coresight-funnel", "arm,primecell"; |
| 858 | reg = <0xfc31b000 0x1000>; |
| 859 | |
| 860 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 861 | clock-names = "apb_pclk", "atclk"; |
| 862 | |
| 863 | ports { |
| 864 | #address-cells = <1>; |
| 865 | #size-cells = <0>; |
| 866 | |
| 867 | /* |
| 868 | * Not described input ports: |
| 869 | * 0 - connected trought funnel to Audio, Modem and |
| 870 | * Resource and Power Manager CPU's |
| 871 | * 2...7 - not-connected |
| 872 | */ |
| 873 | port@1 { |
| 874 | reg = <1>; |
| 875 | merger_in1: endpoint { |
| 876 | slave-mode; |
| 877 | remote-endpoint = <&funnel1_out>; |
| 878 | }; |
| 879 | }; |
| 880 | port@8 { |
| 881 | reg = <0>; |
| 882 | merger_out: endpoint { |
| 883 | remote-endpoint = <&etf_in>; |
| 884 | }; |
| 885 | }; |
| 886 | }; |
| 887 | }; |
| 888 | |
| 889 | funnel@fc31a000 { |
| 890 | compatible = "arm,coresight-funnel", "arm,primecell"; |
| 891 | reg = <0xfc31a000 0x1000>; |
| 892 | |
| 893 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 894 | clock-names = "apb_pclk", "atclk"; |
| 895 | |
| 896 | ports { |
| 897 | #address-cells = <1>; |
| 898 | #size-cells = <0>; |
| 899 | |
| 900 | /* |
| 901 | * Not described input ports: |
| 902 | * 0 - not-connected |
| 903 | * 1 - connected trought funnel to Multimedia CPU |
| 904 | * 2 - connected to Wireless CPU |
| 905 | * 3 - not-connected |
| 906 | * 4 - not-connected |
| 907 | * 6 - not-connected |
| 908 | * 7 - connected to STM |
| 909 | */ |
| 910 | port@5 { |
| 911 | reg = <5>; |
| 912 | funnel1_in5: endpoint { |
| 913 | slave-mode; |
| 914 | remote-endpoint = <&kpss_out>; |
| 915 | }; |
| 916 | }; |
| 917 | port@8 { |
| 918 | reg = <0>; |
| 919 | funnel1_out: endpoint { |
| 920 | remote-endpoint = <&merger_in1>; |
| 921 | }; |
| 922 | }; |
| 923 | }; |
| 924 | }; |
| 925 | |
| 926 | funnel@fc345000 { /* KPSS funnel only 4 inputs are used */ |
| 927 | compatible = "arm,coresight-funnel", "arm,primecell"; |
| 928 | reg = <0xfc345000 0x1000>; |
| 929 | |
| 930 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 931 | clock-names = "apb_pclk", "atclk"; |
| 932 | |
| 933 | ports { |
| 934 | #address-cells = <1>; |
| 935 | #size-cells = <0>; |
| 936 | |
| 937 | port@0 { |
| 938 | reg = <0>; |
| 939 | kpss_in0: endpoint { |
| 940 | slave-mode; |
| 941 | remote-endpoint = <&etm0_out>; |
| 942 | }; |
| 943 | }; |
| 944 | port@1 { |
| 945 | reg = <1>; |
| 946 | kpss_in1: endpoint { |
| 947 | slave-mode; |
| 948 | remote-endpoint = <&etm1_out>; |
| 949 | }; |
| 950 | }; |
| 951 | port@2 { |
| 952 | reg = <2>; |
| 953 | kpss_in2: endpoint { |
| 954 | slave-mode; |
| 955 | remote-endpoint = <&etm2_out>; |
| 956 | }; |
| 957 | }; |
| 958 | port@3 { |
| 959 | reg = <3>; |
| 960 | kpss_in3: endpoint { |
| 961 | slave-mode; |
| 962 | remote-endpoint = <&etm3_out>; |
| 963 | }; |
| 964 | }; |
| 965 | port@8 { |
| 966 | reg = <0>; |
| 967 | kpss_out: endpoint { |
| 968 | remote-endpoint = <&funnel1_in5>; |
| 969 | }; |
| 970 | }; |
| 971 | }; |
| 972 | }; |
| 973 | |
| 974 | etm@fc33c000 { |
| 975 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 976 | reg = <0xfc33c000 0x1000>; |
| 977 | |
| 978 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 979 | clock-names = "apb_pclk", "atclk"; |
| 980 | |
| 981 | cpu = <&CPU0>; |
| 982 | |
| 983 | port { |
| 984 | etm0_out: endpoint { |
| 985 | remote-endpoint = <&kpss_in0>; |
| 986 | }; |
| 987 | }; |
| 988 | }; |
| 989 | |
| 990 | etm@fc33d000 { |
| 991 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 992 | reg = <0xfc33d000 0x1000>; |
| 993 | |
| 994 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 995 | clock-names = "apb_pclk", "atclk"; |
| 996 | |
| 997 | cpu = <&CPU1>; |
| 998 | |
| 999 | port { |
| 1000 | etm1_out: endpoint { |
| 1001 | remote-endpoint = <&kpss_in1>; |
| 1002 | }; |
| 1003 | }; |
| 1004 | }; |
| 1005 | |
| 1006 | etm@fc33e000 { |
| 1007 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 1008 | reg = <0xfc33e000 0x1000>; |
| 1009 | |
| 1010 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 1011 | clock-names = "apb_pclk", "atclk"; |
| 1012 | |
| 1013 | cpu = <&CPU2>; |
| 1014 | |
| 1015 | port { |
| 1016 | etm2_out: endpoint { |
| 1017 | remote-endpoint = <&kpss_in2>; |
| 1018 | }; |
| 1019 | }; |
| 1020 | }; |
| 1021 | |
| 1022 | etm@fc33f000 { |
| 1023 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 1024 | reg = <0xfc33f000 0x1000>; |
| 1025 | |
| 1026 | clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>; |
| 1027 | clock-names = "apb_pclk", "atclk"; |
| 1028 | |
| 1029 | cpu = <&CPU3>; |
| 1030 | |
| 1031 | port { |
| 1032 | etm3_out: endpoint { |
| 1033 | remote-endpoint = <&kpss_in3>; |
| 1034 | }; |
| 1035 | }; |
| 1036 | }; |
Rohit Vaswani | 2aec37c | 2013-12-20 11:09:15 -0800 | [diff] [blame] | 1037 | }; |
Bjorn Andersson | 45b0ef0 | 2015-06-26 14:50:18 -0700 | [diff] [blame] | 1038 | |
| 1039 | smd { |
| 1040 | compatible = "qcom,smd"; |
| 1041 | |
Bjorn Andersson | 3028cba | 2016-08-22 22:57:45 -0700 | [diff] [blame] | 1042 | adsp { |
| 1043 | interrupts = <0 156 IRQ_TYPE_EDGE_RISING>; |
| 1044 | |
| 1045 | qcom,ipc = <&apcs 8 8>; |
| 1046 | qcom,smd-edge = <1>; |
| 1047 | }; |
| 1048 | |
Bjorn Andersson | 5d3178c | 2016-03-28 18:32:39 -0700 | [diff] [blame] | 1049 | modem { |
| 1050 | interrupts = <0 25 IRQ_TYPE_EDGE_RISING>; |
| 1051 | |
| 1052 | qcom,ipc = <&apcs 8 12>; |
| 1053 | qcom,smd-edge = <0>; |
| 1054 | }; |
| 1055 | |
Bjorn Andersson | 45b0ef0 | 2015-06-26 14:50:18 -0700 | [diff] [blame] | 1056 | rpm { |
| 1057 | interrupts = <0 168 1>; |
| 1058 | qcom,ipc = <&apcs 8 0>; |
| 1059 | qcom,smd-edge = <15>; |
| 1060 | |
| 1061 | rpm_requests { |
| 1062 | compatible = "qcom,rpm-msm8974"; |
| 1063 | qcom,smd-channels = "rpm_requests"; |
| 1064 | |
Georgi Djakov | 9db9559 | 2017-03-16 14:55:09 +0200 | [diff] [blame] | 1065 | rpmcc: clock-controller { |
| 1066 | compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc"; |
| 1067 | #clock-cells = <1>; |
| 1068 | }; |
| 1069 | |
Bjorn Andersson | 45b0ef0 | 2015-06-26 14:50:18 -0700 | [diff] [blame] | 1070 | pm8841-regulators { |
| 1071 | compatible = "qcom,rpm-pm8841-regulators"; |
| 1072 | |
| 1073 | pm8841_s1: s1 {}; |
| 1074 | pm8841_s2: s2 {}; |
| 1075 | pm8841_s3: s3 {}; |
| 1076 | pm8841_s4: s4 {}; |
| 1077 | pm8841_s5: s5 {}; |
| 1078 | pm8841_s6: s6 {}; |
| 1079 | pm8841_s7: s7 {}; |
| 1080 | pm8841_s8: s8 {}; |
| 1081 | }; |
| 1082 | |
| 1083 | pm8941-regulators { |
| 1084 | compatible = "qcom,rpm-pm8941-regulators"; |
| 1085 | |
| 1086 | pm8941_s1: s1 {}; |
| 1087 | pm8941_s2: s2 {}; |
| 1088 | pm8941_s3: s3 {}; |
Bjorn Andersson | 45b0ef0 | 2015-06-26 14:50:18 -0700 | [diff] [blame] | 1089 | |
| 1090 | pm8941_l1: l1 {}; |
| 1091 | pm8941_l2: l2 {}; |
| 1092 | pm8941_l3: l3 {}; |
| 1093 | pm8941_l4: l4 {}; |
| 1094 | pm8941_l5: l5 {}; |
| 1095 | pm8941_l6: l6 {}; |
| 1096 | pm8941_l7: l7 {}; |
| 1097 | pm8941_l8: l8 {}; |
| 1098 | pm8941_l9: l9 {}; |
| 1099 | pm8941_l10: l10 {}; |
| 1100 | pm8941_l11: l11 {}; |
| 1101 | pm8941_l12: l12 {}; |
| 1102 | pm8941_l13: l13 {}; |
| 1103 | pm8941_l14: l14 {}; |
| 1104 | pm8941_l15: l15 {}; |
| 1105 | pm8941_l16: l16 {}; |
| 1106 | pm8941_l17: l17 {}; |
| 1107 | pm8941_l18: l18 {}; |
| 1108 | pm8941_l19: l19 {}; |
| 1109 | pm8941_l20: l20 {}; |
| 1110 | pm8941_l21: l21 {}; |
| 1111 | pm8941_l22: l22 {}; |
| 1112 | pm8941_l23: l23 {}; |
| 1113 | pm8941_l24: l24 {}; |
| 1114 | |
| 1115 | pm8941_lvs1: lvs1 {}; |
| 1116 | pm8941_lvs2: lvs2 {}; |
| 1117 | pm8941_lvs3: lvs3 {}; |
Bjorn Andersson | 45b0ef0 | 2015-06-26 14:50:18 -0700 | [diff] [blame] | 1118 | }; |
| 1119 | }; |
| 1120 | }; |
| 1121 | }; |
Bhushan Shah | 0485ef8 | 2016-07-29 11:39:08 +0530 | [diff] [blame] | 1122 | |
Bhushan Shah | 73bae19 | 2016-07-29 11:39:07 +0530 | [diff] [blame] | 1123 | vreg_boost: vreg-boost { |
| 1124 | compatible = "regulator-fixed"; |
| 1125 | |
| 1126 | regulator-name = "vreg-boost"; |
| 1127 | regulator-min-microvolt = <3150000>; |
| 1128 | regulator-max-microvolt = <3150000>; |
| 1129 | |
| 1130 | regulator-always-on; |
| 1131 | regulator-boot-on; |
| 1132 | |
| 1133 | gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>; |
| 1134 | enable-active-high; |
| 1135 | |
| 1136 | pinctrl-names = "default"; |
| 1137 | pinctrl-0 = <&boost_bypass_n_pin>; |
| 1138 | }; |
Bhushan Shah | 0485ef8 | 2016-07-29 11:39:08 +0530 | [diff] [blame] | 1139 | vreg_vph_pwr: vreg-vph-pwr { |
| 1140 | compatible = "regulator-fixed"; |
| 1141 | regulator-name = "vph-pwr"; |
| 1142 | |
| 1143 | regulator-min-microvolt = <3600000>; |
| 1144 | regulator-max-microvolt = <3600000>; |
| 1145 | |
| 1146 | regulator-always-on; |
| 1147 | }; |
Rohit Vaswani | 2aec37c | 2013-12-20 11:09:15 -0800 | [diff] [blame] | 1148 | }; |