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> |
Pramod Gurav | 8b8936f | 2014-08-29 20:00:56 +0530 | [diff] [blame] | 8 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 9 | / { |
| 10 | model = "Qualcomm APQ8064"; |
| 11 | compatible = "qcom,apq8064"; |
| 12 | interrupt-parent = <&intc>; |
| 13 | |
Bjorn Andersson | 24a9baf | 2015-10-22 11:13:48 -0700 | [diff] [blame] | 14 | reserved-memory { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
| 17 | ranges; |
| 18 | |
| 19 | smem_region: smem@80000000 { |
| 20 | reg = <0x80000000 0x200000>; |
| 21 | no-map; |
| 22 | }; |
| 23 | }; |
| 24 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 25 | cpus { |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <0>; |
| 28 | |
| 29 | cpu@0 { |
| 30 | compatible = "qcom,krait"; |
| 31 | enable-method = "qcom,kpss-acc-v1"; |
| 32 | device_type = "cpu"; |
| 33 | reg = <0>; |
| 34 | next-level-cache = <&L2>; |
| 35 | qcom,acc = <&acc0>; |
| 36 | qcom,saw = <&saw0>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 37 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 38 | }; |
| 39 | |
| 40 | cpu@1 { |
| 41 | compatible = "qcom,krait"; |
| 42 | enable-method = "qcom,kpss-acc-v1"; |
| 43 | device_type = "cpu"; |
| 44 | reg = <1>; |
| 45 | next-level-cache = <&L2>; |
| 46 | qcom,acc = <&acc1>; |
| 47 | qcom,saw = <&saw1>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 48 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | cpu@2 { |
| 52 | compatible = "qcom,krait"; |
| 53 | enable-method = "qcom,kpss-acc-v1"; |
| 54 | device_type = "cpu"; |
| 55 | reg = <2>; |
| 56 | next-level-cache = <&L2>; |
| 57 | qcom,acc = <&acc2>; |
| 58 | qcom,saw = <&saw2>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 59 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 60 | }; |
| 61 | |
| 62 | cpu@3 { |
| 63 | compatible = "qcom,krait"; |
| 64 | enable-method = "qcom,kpss-acc-v1"; |
| 65 | device_type = "cpu"; |
| 66 | reg = <3>; |
| 67 | next-level-cache = <&L2>; |
| 68 | qcom,acc = <&acc3>; |
| 69 | qcom,saw = <&saw3>; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 70 | cpu-idle-states = <&CPU_SPC>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 71 | }; |
| 72 | |
| 73 | L2: l2-cache { |
| 74 | compatible = "cache"; |
| 75 | cache-level = <2>; |
| 76 | }; |
Lina Iyer | 06c49f2 | 2015-03-25 14:25:35 -0600 | [diff] [blame] | 77 | |
| 78 | idle-states { |
| 79 | CPU_SPC: spc { |
| 80 | compatible = "qcom,idle-state-spc", |
| 81 | "arm,idle-state"; |
| 82 | entry-latency-us = <400>; |
| 83 | exit-latency-us = <900>; |
| 84 | min-residency-us = <3000>; |
| 85 | }; |
| 86 | }; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 87 | }; |
| 88 | |
| 89 | cpu-pmu { |
| 90 | compatible = "qcom,krait-pmu"; |
| 91 | interrupts = <1 10 0x304>; |
| 92 | }; |
| 93 | |
Georgi Djakov | aa26912 | 2015-12-03 16:02:55 +0200 | [diff] [blame] | 94 | clocks { |
| 95 | cxo_board { |
| 96 | compatible = "fixed-clock"; |
| 97 | #clock-cells = <0>; |
| 98 | clock-frequency = <19200000>; |
| 99 | }; |
| 100 | |
| 101 | pxo_board { |
| 102 | compatible = "fixed-clock"; |
| 103 | #clock-cells = <0>; |
| 104 | clock-frequency = <27000000>; |
| 105 | }; |
| 106 | |
| 107 | sleep_clk { |
| 108 | compatible = "fixed-clock"; |
| 109 | #clock-cells = <0>; |
| 110 | clock-frequency = <32768>; |
| 111 | }; |
| 112 | }; |
| 113 | |
Bjorn Andersson | 24a9baf | 2015-10-22 11:13:48 -0700 | [diff] [blame] | 114 | sfpb_mutex: hwmutex { |
| 115 | compatible = "qcom,sfpb-mutex"; |
| 116 | syscon = <&sfpb_wrapper_mutex 0x604 0x4>; |
| 117 | #hwlock-cells = <1>; |
| 118 | }; |
| 119 | |
| 120 | smem { |
| 121 | compatible = "qcom,smem"; |
| 122 | memory-region = <&smem_region>; |
| 123 | |
| 124 | hwlocks = <&sfpb_mutex 3>; |
| 125 | }; |
| 126 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 127 | soc: soc { |
| 128 | #address-cells = <1>; |
| 129 | #size-cells = <1>; |
| 130 | ranges; |
| 131 | compatible = "simple-bus"; |
| 132 | |
Pramod Gurav | 8b8936f | 2014-08-29 20:00:56 +0530 | [diff] [blame] | 133 | tlmm_pinmux: pinctrl@800000 { |
| 134 | compatible = "qcom,apq8064-pinctrl"; |
| 135 | reg = <0x800000 0x4000>; |
| 136 | |
| 137 | gpio-controller; |
| 138 | #gpio-cells = <2>; |
| 139 | interrupt-controller; |
| 140 | #interrupt-cells = <2>; |
| 141 | interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>; |
Pramod Gurav | cd6dd11 | 2014-08-29 20:00:57 +0530 | [diff] [blame] | 142 | |
| 143 | pinctrl-names = "default"; |
| 144 | pinctrl-0 = <&ps_hold>; |
Pramod Gurav | 8b8936f | 2014-08-29 20:00:56 +0530 | [diff] [blame] | 145 | }; |
| 146 | |
Bjorn Andersson | 24a9baf | 2015-10-22 11:13:48 -0700 | [diff] [blame] | 147 | sfpb_wrapper_mutex: syscon@1200000 { |
| 148 | compatible = "syscon"; |
| 149 | reg = <0x01200000 0x8000>; |
| 150 | }; |
| 151 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 152 | intc: interrupt-controller@2000000 { |
| 153 | compatible = "qcom,msm-qgic2"; |
| 154 | interrupt-controller; |
| 155 | #interrupt-cells = <3>; |
| 156 | reg = <0x02000000 0x1000>, |
| 157 | <0x02002000 0x1000>; |
| 158 | }; |
| 159 | |
| 160 | timer@200a000 { |
| 161 | compatible = "qcom,kpss-timer", "qcom,msm-timer"; |
| 162 | interrupts = <1 1 0x301>, |
| 163 | <1 2 0x301>, |
| 164 | <1 3 0x301>; |
| 165 | reg = <0x0200a000 0x100>; |
| 166 | clock-frequency = <27000000>, |
| 167 | <32768>; |
| 168 | cpu-offset = <0x80000>; |
| 169 | }; |
| 170 | |
| 171 | acc0: clock-controller@2088000 { |
| 172 | compatible = "qcom,kpss-acc-v1"; |
| 173 | reg = <0x02088000 0x1000>, <0x02008000 0x1000>; |
| 174 | }; |
| 175 | |
| 176 | acc1: clock-controller@2098000 { |
| 177 | compatible = "qcom,kpss-acc-v1"; |
| 178 | reg = <0x02098000 0x1000>, <0x02008000 0x1000>; |
| 179 | }; |
| 180 | |
| 181 | acc2: clock-controller@20a8000 { |
| 182 | compatible = "qcom,kpss-acc-v1"; |
| 183 | reg = <0x020a8000 0x1000>, <0x02008000 0x1000>; |
| 184 | }; |
| 185 | |
| 186 | acc3: clock-controller@20b8000 { |
| 187 | compatible = "qcom,kpss-acc-v1"; |
| 188 | reg = <0x020b8000 0x1000>, <0x02008000 0x1000>; |
| 189 | }; |
| 190 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 191 | saw0: power-controller@2089000 { |
| 192 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 193 | reg = <0x02089000 0x1000>, <0x02009000 0x1000>; |
| 194 | regulator; |
| 195 | }; |
| 196 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 197 | saw1: power-controller@2099000 { |
| 198 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 199 | reg = <0x02099000 0x1000>, <0x02009000 0x1000>; |
| 200 | regulator; |
| 201 | }; |
| 202 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 203 | saw2: power-controller@20a9000 { |
| 204 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 205 | reg = <0x020a9000 0x1000>, <0x02009000 0x1000>; |
| 206 | regulator; |
| 207 | }; |
| 208 | |
Lina Iyer | 9fc23ce | 2015-03-25 14:25:32 -0600 | [diff] [blame] | 209 | saw3: power-controller@20b9000 { |
| 210 | compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2"; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 211 | reg = <0x020b9000 0x1000>, <0x02009000 0x1000>; |
| 212 | regulator; |
| 213 | }; |
| 214 | |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 215 | gsbi1: gsbi@12440000 { |
| 216 | status = "disabled"; |
| 217 | compatible = "qcom,gsbi-v1.0.0"; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 218 | cell-index = <1>; |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 219 | reg = <0x12440000 0x100>; |
| 220 | clocks = <&gcc GSBI1_H_CLK>; |
| 221 | clock-names = "iface"; |
| 222 | #address-cells = <1>; |
| 223 | #size-cells = <1>; |
| 224 | ranges; |
| 225 | |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 226 | syscon-tcsr = <&tcsr>; |
| 227 | |
Srinivas Kandagatla | e07214d | 2016-02-23 14:11:10 +0000 | [diff] [blame] | 228 | gsbi1_i2c: i2c@12460000 { |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 229 | compatible = "qcom,i2c-qup-v1.1.1"; |
Srinivas Kandagatla | 0fbf610 | 2015-09-18 13:30:13 +0100 | [diff] [blame] | 230 | pinctrl-0 = <&i2c1_pins>; |
| 231 | pinctrl-names = "default"; |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 232 | reg = <0x12460000 0x1000>; |
| 233 | interrupts = <0 194 IRQ_TYPE_NONE>; |
| 234 | clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>; |
| 235 | clock-names = "core", "iface"; |
| 236 | #address-cells = <1>; |
| 237 | #size-cells = <0>; |
| 238 | }; |
| 239 | }; |
| 240 | |
| 241 | gsbi2: gsbi@12480000 { |
| 242 | status = "disabled"; |
| 243 | compatible = "qcom,gsbi-v1.0.0"; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 244 | cell-index = <2>; |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 245 | reg = <0x12480000 0x100>; |
| 246 | clocks = <&gcc GSBI2_H_CLK>; |
| 247 | clock-names = "iface"; |
| 248 | #address-cells = <1>; |
| 249 | #size-cells = <1>; |
| 250 | ranges; |
| 251 | |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 252 | syscon-tcsr = <&tcsr>; |
| 253 | |
Srinivas Kandagatla | e07214d | 2016-02-23 14:11:10 +0000 | [diff] [blame] | 254 | gsbi2_i2c: i2c@124a0000 { |
kiran.padwal@smartplayin.com | 8c3166f | 2014-09-17 16:00:25 +0530 | [diff] [blame] | 255 | compatible = "qcom,i2c-qup-v1.1.1"; |
| 256 | reg = <0x124a0000 0x1000>; |
| 257 | interrupts = <0 196 IRQ_TYPE_NONE>; |
| 258 | clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>; |
| 259 | clock-names = "core", "iface"; |
| 260 | #address-cells = <1>; |
| 261 | #size-cells = <0>; |
| 262 | }; |
| 263 | }; |
| 264 | |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 265 | gsbi3: gsbi@16200000 { |
| 266 | status = "disabled"; |
| 267 | compatible = "qcom,gsbi-v1.0.0"; |
Srinivas Kandagatla | 504155c | 2015-07-27 14:52:19 +0100 | [diff] [blame] | 268 | cell-index = <3>; |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 269 | reg = <0x16200000 0x100>; |
| 270 | clocks = <&gcc GSBI3_H_CLK>; |
| 271 | clock-names = "iface"; |
| 272 | #address-cells = <1>; |
| 273 | #size-cells = <1>; |
| 274 | ranges; |
Srinivas Kandagatla | e07214d | 2016-02-23 14:11:10 +0000 | [diff] [blame] | 275 | gsbi3_i2c: i2c@16280000 { |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 276 | compatible = "qcom,i2c-qup-v1.1.1"; |
Srinivas Kandagatla | 0fbf610 | 2015-09-18 13:30:13 +0100 | [diff] [blame] | 277 | pinctrl-0 = <&i2c3_pins>; |
| 278 | pinctrl-names = "default"; |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 279 | reg = <0x16280000 0x1000>; |
| 280 | interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>; |
| 281 | clocks = <&gcc GSBI3_QUP_CLK>, |
| 282 | <&gcc GSBI3_H_CLK>; |
| 283 | clock-names = "core", "iface"; |
John Stultz | 5d31f60 | 2016-02-05 10:06:17 -0800 | [diff] [blame] | 284 | #address-cells = <1>; |
| 285 | #size-cells = <0>; |
Srinivas Kandagatla | 3f62b46 | 2015-04-10 21:44:48 +0100 | [diff] [blame] | 286 | }; |
| 287 | }; |
| 288 | |
Bjorn Andersson | 1099b26 | 2015-10-22 11:13:50 -0700 | [diff] [blame] | 289 | gsbi5: gsbi@1a200000 { |
| 290 | status = "disabled"; |
| 291 | compatible = "qcom,gsbi-v1.0.0"; |
| 292 | cell-index = <5>; |
| 293 | reg = <0x1a200000 0x03>; |
| 294 | clocks = <&gcc GSBI5_H_CLK>; |
| 295 | clock-names = "iface"; |
| 296 | #address-cells = <1>; |
| 297 | #size-cells = <1>; |
| 298 | ranges; |
| 299 | |
| 300 | gsbi5_serial: serial@1a240000 { |
| 301 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 302 | reg = <0x1a240000 0x100>, |
| 303 | <0x1a200000 0x03>; |
| 304 | interrupts = <0 154 0x0>; |
| 305 | clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>; |
| 306 | clock-names = "core", "iface"; |
| 307 | status = "disabled"; |
| 308 | }; |
| 309 | }; |
| 310 | |
Pramod Gurav | 86e252a | 2015-07-27 14:52:10 +0100 | [diff] [blame] | 311 | gsbi6: gsbi@16500000 { |
| 312 | status = "disabled"; |
| 313 | compatible = "qcom,gsbi-v1.0.0"; |
| 314 | cell-index = <6>; |
| 315 | reg = <0x16500000 0x03>; |
| 316 | clocks = <&gcc GSBI6_H_CLK>; |
| 317 | clock-names = "iface"; |
| 318 | #address-cells = <1>; |
| 319 | #size-cells = <1>; |
| 320 | ranges; |
| 321 | |
| 322 | gsbi6_serial: serial@16540000 { |
| 323 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 324 | reg = <0x16540000 0x100>, |
| 325 | <0x16500000 0x03>; |
| 326 | interrupts = <0 156 0x0>; |
| 327 | clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>; |
| 328 | clock-names = "core", "iface"; |
| 329 | status = "disabled"; |
| 330 | }; |
| 331 | }; |
| 332 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 333 | gsbi7: gsbi@16600000 { |
| 334 | status = "disabled"; |
| 335 | compatible = "qcom,gsbi-v1.0.0"; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 336 | cell-index = <7>; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 337 | reg = <0x16600000 0x100>; |
| 338 | clocks = <&gcc GSBI7_H_CLK>; |
| 339 | clock-names = "iface"; |
| 340 | #address-cells = <1>; |
| 341 | #size-cells = <1>; |
| 342 | ranges; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 343 | syscon-tcsr = <&tcsr>; |
| 344 | |
Pramod Gurav | d5d4654 | 2015-04-10 21:44:31 +0100 | [diff] [blame] | 345 | gsbi7_serial: serial@16640000 { |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 346 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
| 347 | reg = <0x16640000 0x1000>, |
| 348 | <0x16600000 0x1000>; |
| 349 | interrupts = <0 158 0x0>; |
| 350 | clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>; |
| 351 | clock-names = "core", "iface"; |
| 352 | status = "disabled"; |
| 353 | }; |
| 354 | }; |
| 355 | |
John Stultz | 6a607e0 | 2015-09-18 13:31:12 +0100 | [diff] [blame] | 356 | rng@1a500000 { |
| 357 | compatible = "qcom,prng"; |
| 358 | reg = <0x1a500000 0x200>; |
| 359 | clocks = <&gcc PRNG_CLK>; |
| 360 | clock-names = "core"; |
| 361 | }; |
| 362 | |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 363 | qcom,ssbi@500000 { |
| 364 | compatible = "qcom,ssbi"; |
| 365 | reg = <0x00500000 0x1000>; |
| 366 | qcom,controller-type = "pmic-arbiter"; |
Srinivas Kandagatla | 874443f | 2015-07-27 14:51:52 +0100 | [diff] [blame] | 367 | |
| 368 | pmicintc: pmic@0 { |
| 369 | compatible = "qcom,pm8921"; |
| 370 | interrupt-parent = <&tlmm_pinmux>; |
| 371 | interrupts = <74 8>; |
| 372 | #interrupt-cells = <2>; |
| 373 | interrupt-controller; |
| 374 | #address-cells = <1>; |
| 375 | #size-cells = <0>; |
| 376 | |
| 377 | pm8921_gpio: gpio@150 { |
| 378 | |
Stephen Boyd | 2ca9c2a4 | 2015-11-20 17:49:46 -0800 | [diff] [blame] | 379 | compatible = "qcom,pm8921-gpio", |
| 380 | "qcom,ssbi-gpio"; |
Srinivas Kandagatla | 874443f | 2015-07-27 14:51:52 +0100 | [diff] [blame] | 381 | reg = <0x150>; |
| 382 | interrupts = <192 1>, <193 1>, <194 1>, |
| 383 | <195 1>, <196 1>, <197 1>, |
| 384 | <198 1>, <199 1>, <200 1>, |
| 385 | <201 1>, <202 1>, <203 1>, |
| 386 | <204 1>, <205 1>, <206 1>, |
| 387 | <207 1>, <208 1>, <209 1>, |
| 388 | <210 1>, <211 1>, <212 1>, |
| 389 | <213 1>, <214 1>, <215 1>, |
| 390 | <216 1>, <217 1>, <218 1>, |
| 391 | <219 1>, <220 1>, <221 1>, |
| 392 | <222 1>, <223 1>, <224 1>, |
| 393 | <225 1>, <226 1>, <227 1>, |
| 394 | <228 1>, <229 1>, <230 1>, |
| 395 | <231 1>, <232 1>, <233 1>, |
| 396 | <234 1>, <235 1>; |
| 397 | |
| 398 | gpio-controller; |
| 399 | #gpio-cells = <2>; |
| 400 | |
| 401 | }; |
Srinivas Kandagatla | bce3604 | 2015-07-27 14:52:02 +0100 | [diff] [blame] | 402 | |
| 403 | pm8921_mpps: mpps@50 { |
Stephen Boyd | 2ca9c2a4 | 2015-11-20 17:49:46 -0800 | [diff] [blame] | 404 | compatible = "qcom,pm8921-mpp", |
| 405 | "qcom,ssbi-mpp"; |
Srinivas Kandagatla | bce3604 | 2015-07-27 14:52:02 +0100 | [diff] [blame] | 406 | reg = <0x50>; |
| 407 | gpio-controller; |
| 408 | #gpio-cells = <2>; |
| 409 | interrupts = |
| 410 | <128 1>, <129 1>, <130 1>, <131 1>, |
| 411 | <132 1>, <133 1>, <134 1>, <135 1>, |
| 412 | <136 1>, <137 1>, <138 1>, <139 1>; |
| 413 | }; |
| 414 | |
Srinivas Kandagatla | bbf89b9 | 2015-09-18 13:31:19 +0100 | [diff] [blame] | 415 | rtc@11d { |
| 416 | compatible = "qcom,pm8921-rtc"; |
| 417 | interrupt-parent = <&pmicintc>; |
| 418 | interrupts = <39 1>; |
| 419 | reg = <0x11d>; |
| 420 | allow-set-time; |
| 421 | }; |
| 422 | |
Srinivas Kandagatla | 3050c5f | 2015-09-18 13:31:25 +0100 | [diff] [blame] | 423 | pwrkey@1c { |
| 424 | compatible = "qcom,pm8921-pwrkey"; |
| 425 | reg = <0x1c>; |
| 426 | interrupt-parent = <&pmicintc>; |
| 427 | interrupts = <50 1>, <51 1>; |
| 428 | debounce = <15625>; |
| 429 | pull-up; |
| 430 | }; |
Srinivas Kandagatla | 874443f | 2015-07-27 14:51:52 +0100 | [diff] [blame] | 431 | }; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 432 | }; |
| 433 | |
| 434 | gcc: clock-controller@900000 { |
| 435 | compatible = "qcom,gcc-apq8064"; |
| 436 | reg = <0x00900000 0x4000>; |
| 437 | #clock-cells = <1>; |
| 438 | #reset-cells = <1>; |
| 439 | }; |
Stephen Boyd | 3fe5e3c | 2014-07-16 13:49:43 -0700 | [diff] [blame] | 440 | |
Kumar Gala | 1e1177b | 2015-01-28 13:36:12 -0800 | [diff] [blame] | 441 | lcc: clock-controller@28000000 { |
| 442 | compatible = "qcom,lcc-apq8064"; |
| 443 | reg = <0x28000000 0x1000>; |
| 444 | #clock-cells = <1>; |
| 445 | #reset-cells = <1>; |
| 446 | }; |
| 447 | |
Stephen Boyd | 3fe5e3c | 2014-07-16 13:49:43 -0700 | [diff] [blame] | 448 | mmcc: clock-controller@4000000 { |
| 449 | compatible = "qcom,mmcc-apq8064"; |
| 450 | reg = <0x4000000 0x1000>; |
| 451 | #clock-cells = <1>; |
| 452 | #reset-cells = <1>; |
| 453 | }; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 454 | |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 455 | l2cc: clock-controller@2011000 { |
| 456 | compatible = "syscon"; |
| 457 | reg = <0x2011000 0x1000>; |
| 458 | }; |
| 459 | |
| 460 | rpm@108000 { |
| 461 | compatible = "qcom,rpm-apq8064"; |
| 462 | reg = <0x108000 0x1000>; |
| 463 | qcom,ipc = <&l2cc 0x8 2>; |
| 464 | |
| 465 | interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>, |
| 466 | <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>, |
| 467 | <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>; |
| 468 | interrupt-names = "ack", "err", "wakeup"; |
| 469 | |
Georgi Djakov | aac1b29 | 2015-12-03 16:02:56 +0200 | [diff] [blame] | 470 | rpmcc: clock-controller { |
| 471 | compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc"; |
| 472 | #clock-cells = <1>; |
| 473 | }; |
| 474 | |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 475 | regulators { |
| 476 | compatible = "qcom,rpm-pm8921-regulators"; |
| 477 | |
Bjorn Andersson | 2bce6e2 | 2015-10-22 11:13:49 -0700 | [diff] [blame] | 478 | pm8921_s1: s1 {}; |
| 479 | pm8921_s2: s2 {}; |
| 480 | pm8921_s3: s3 {}; |
| 481 | pm8921_s4: s4 {}; |
| 482 | pm8921_s7: s7 {}; |
| 483 | pm8921_s8: s8 {}; |
| 484 | |
| 485 | pm8921_l1: l1 {}; |
| 486 | pm8921_l2: l2 {}; |
| 487 | pm8921_l3: l3 {}; |
| 488 | pm8921_l4: l4 {}; |
| 489 | pm8921_l5: l5 {}; |
| 490 | pm8921_l6: l6 {}; |
| 491 | pm8921_l7: l7 {}; |
| 492 | pm8921_l8: l8 {}; |
| 493 | pm8921_l9: l9 {}; |
| 494 | pm8921_l10: l10 {}; |
| 495 | pm8921_l11: l11 {}; |
| 496 | pm8921_l12: l12 {}; |
| 497 | pm8921_l14: l14 {}; |
| 498 | pm8921_l15: l15 {}; |
| 499 | pm8921_l16: l16 {}; |
| 500 | pm8921_l17: l17 {}; |
| 501 | pm8921_l18: l18 {}; |
| 502 | pm8921_l21: l21 {}; |
| 503 | pm8921_l22: l22 {}; |
| 504 | pm8921_l23: l23 {}; |
| 505 | pm8921_l24: l24 {}; |
| 506 | pm8921_l25: l25 {}; |
| 507 | pm8921_l26: l26 {}; |
| 508 | pm8921_l27: l27 {}; |
| 509 | pm8921_l28: l28 {}; |
| 510 | pm8921_l29: l29 {}; |
| 511 | |
| 512 | pm8921_lvs1: lvs1 {}; |
| 513 | pm8921_lvs2: lvs2 {}; |
| 514 | pm8921_lvs3: lvs3 {}; |
| 515 | pm8921_lvs4: lvs4 {}; |
| 516 | pm8921_lvs5: lvs5 {}; |
| 517 | pm8921_lvs6: lvs6 {}; |
| 518 | pm8921_lvs7: lvs7 {}; |
| 519 | |
| 520 | pm8921_usb_switch: usb-switch {}; |
| 521 | |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 522 | pm8921_hdmi_switch: hdmi-switch { |
| 523 | bias-pull-down; |
| 524 | }; |
Bjorn Andersson | 2bce6e2 | 2015-10-22 11:13:49 -0700 | [diff] [blame] | 525 | |
| 526 | pm8921_ncp: ncp {}; |
Srinivas Kandagatla | dc2f815 | 2015-04-10 21:42:44 +0100 | [diff] [blame] | 527 | }; |
| 528 | }; |
| 529 | |
Srinivas Kandagatla | ea98661 | 2015-04-10 21:43:42 +0100 | [diff] [blame] | 530 | usb1_phy: phy@12500000 { |
| 531 | compatible = "qcom,usb-otg-ci"; |
| 532 | reg = <0x12500000 0x400>; |
| 533 | interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>; |
| 534 | status = "disabled"; |
| 535 | dr_mode = "host"; |
| 536 | |
| 537 | clocks = <&gcc USB_HS1_XCVR_CLK>, |
| 538 | <&gcc USB_HS1_H_CLK>; |
| 539 | clock-names = "core", "iface"; |
| 540 | |
| 541 | resets = <&gcc USB_HS1_RESET>; |
| 542 | reset-names = "link"; |
| 543 | }; |
| 544 | |
Srinivas Kandagatla | 223280b | 2015-04-10 21:43:30 +0100 | [diff] [blame] | 545 | usb3_phy: phy@12520000 { |
| 546 | compatible = "qcom,usb-otg-ci"; |
| 547 | reg = <0x12520000 0x400>; |
| 548 | interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>; |
| 549 | status = "disabled"; |
| 550 | dr_mode = "host"; |
| 551 | |
| 552 | clocks = <&gcc USB_HS3_XCVR_CLK>, |
| 553 | <&gcc USB_HS3_H_CLK>; |
| 554 | clock-names = "core", "iface"; |
| 555 | |
| 556 | resets = <&gcc USB_HS3_RESET>; |
| 557 | reset-names = "link"; |
| 558 | }; |
| 559 | |
| 560 | usb4_phy: phy@12530000 { |
| 561 | compatible = "qcom,usb-otg-ci"; |
| 562 | reg = <0x12530000 0x400>; |
| 563 | interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>; |
| 564 | status = "disabled"; |
| 565 | dr_mode = "host"; |
| 566 | |
| 567 | clocks = <&gcc USB_HS4_XCVR_CLK>, |
| 568 | <&gcc USB_HS4_H_CLK>; |
| 569 | clock-names = "core", "iface"; |
| 570 | |
| 571 | resets = <&gcc USB_HS4_RESET>; |
| 572 | reset-names = "link"; |
| 573 | }; |
| 574 | |
Srinivas Kandagatla | ea98661 | 2015-04-10 21:43:42 +0100 | [diff] [blame] | 575 | gadget1: gadget@12500000 { |
| 576 | compatible = "qcom,ci-hdrc"; |
| 577 | reg = <0x12500000 0x400>; |
| 578 | status = "disabled"; |
| 579 | dr_mode = "peripheral"; |
| 580 | interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>; |
| 581 | usb-phy = <&usb1_phy>; |
| 582 | }; |
| 583 | |
| 584 | usb1: usb@12500000 { |
| 585 | compatible = "qcom,ehci-host"; |
| 586 | reg = <0x12500000 0x400>; |
| 587 | interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>; |
| 588 | status = "disabled"; |
| 589 | usb-phy = <&usb1_phy>; |
| 590 | }; |
| 591 | |
Srinivas Kandagatla | 223280b | 2015-04-10 21:43:30 +0100 | [diff] [blame] | 592 | usb3: usb@12520000 { |
| 593 | compatible = "qcom,ehci-host"; |
| 594 | reg = <0x12520000 0x400>; |
| 595 | interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>; |
| 596 | status = "disabled"; |
| 597 | usb-phy = <&usb3_phy>; |
| 598 | }; |
| 599 | |
| 600 | usb4: usb@12530000 { |
| 601 | compatible = "qcom,ehci-host"; |
| 602 | reg = <0x12530000 0x400>; |
| 603 | interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>; |
| 604 | status = "disabled"; |
| 605 | usb-phy = <&usb4_phy>; |
| 606 | }; |
| 607 | |
Srinivas Kandagatla | e629335 | 2015-04-10 21:43:56 +0100 | [diff] [blame] | 608 | sata_phy0: phy@1b400000 { |
| 609 | compatible = "qcom,apq8064-sata-phy"; |
| 610 | status = "disabled"; |
| 611 | reg = <0x1b400000 0x200>; |
| 612 | reg-names = "phy_mem"; |
| 613 | clocks = <&gcc SATA_PHY_CFG_CLK>; |
| 614 | clock-names = "cfg"; |
| 615 | #phy-cells = <0>; |
| 616 | }; |
| 617 | |
| 618 | sata0: sata@29000000 { |
| 619 | compatible = "generic-ahci"; |
| 620 | status = "disabled"; |
| 621 | reg = <0x29000000 0x180>; |
| 622 | interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>; |
| 623 | |
| 624 | clocks = <&gcc SFAB_SATA_S_H_CLK>, |
| 625 | <&gcc SATA_H_CLK>, |
| 626 | <&gcc SATA_A_CLK>, |
| 627 | <&gcc SATA_RXOOB_CLK>, |
| 628 | <&gcc SATA_PMALIVE_CLK>; |
| 629 | clock-names = "slave_iface", |
| 630 | "iface", |
| 631 | "bus", |
| 632 | "rxoob", |
| 633 | "core_pmalive"; |
| 634 | |
| 635 | assigned-clocks = <&gcc SATA_RXOOB_CLK>, |
| 636 | <&gcc SATA_PMALIVE_CLK>; |
| 637 | assigned-clock-rates = <100000000>, <100000000>; |
| 638 | |
| 639 | phys = <&sata_phy0>; |
| 640 | phy-names = "sata-phy"; |
| 641 | }; |
| 642 | |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 643 | /* Temporary fixed regulator */ |
Srinivas Kandagatla | edb81ca | 2014-05-16 20:18:53 +0100 | [diff] [blame] | 644 | sdcc1bam:dma@12402000{ |
| 645 | compatible = "qcom,bam-v1.3.0"; |
| 646 | reg = <0x12402000 0x8000>; |
| 647 | interrupts = <0 98 0>; |
| 648 | clocks = <&gcc SDC1_H_CLK>; |
| 649 | clock-names = "bam_clk"; |
| 650 | #dma-cells = <1>; |
| 651 | qcom,ee = <0>; |
| 652 | }; |
| 653 | |
| 654 | sdcc3bam:dma@12182000{ |
| 655 | compatible = "qcom,bam-v1.3.0"; |
| 656 | reg = <0x12182000 0x8000>; |
| 657 | interrupts = <0 96 0>; |
| 658 | clocks = <&gcc SDC3_H_CLK>; |
| 659 | clock-names = "bam_clk"; |
| 660 | #dma-cells = <1>; |
| 661 | qcom,ee = <0>; |
| 662 | }; |
| 663 | |
Srinivas Kandagatla | 0be5fef | 2014-09-17 06:39:35 +0100 | [diff] [blame] | 664 | sdcc4bam:dma@121c2000{ |
| 665 | compatible = "qcom,bam-v1.3.0"; |
| 666 | reg = <0x121c2000 0x8000>; |
| 667 | interrupts = <0 95 0>; |
| 668 | clocks = <&gcc SDC4_H_CLK>; |
| 669 | clock-names = "bam_clk"; |
| 670 | #dma-cells = <1>; |
| 671 | qcom,ee = <0>; |
| 672 | }; |
| 673 | |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 674 | amba { |
| 675 | compatible = "arm,amba-bus"; |
| 676 | #address-cells = <1>; |
| 677 | #size-cells = <1>; |
| 678 | ranges; |
| 679 | sdcc1: sdcc@12400000 { |
| 680 | status = "disabled"; |
| 681 | compatible = "arm,pl18x", "arm,primecell"; |
| 682 | arm,primecell-periphid = <0x00051180>; |
| 683 | reg = <0x12400000 0x2000>; |
| 684 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
| 685 | interrupt-names = "cmd_irq"; |
| 686 | clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; |
| 687 | clock-names = "mclk", "apb_pclk"; |
| 688 | bus-width = <8>; |
| 689 | max-frequency = <96000000>; |
| 690 | non-removable; |
| 691 | cap-sd-highspeed; |
| 692 | cap-mmc-highspeed; |
Srinivas Kandagatla | edb81ca | 2014-05-16 20:18:53 +0100 | [diff] [blame] | 693 | dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; |
| 694 | dma-names = "tx", "rx"; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 695 | }; |
| 696 | |
| 697 | sdcc3: sdcc@12180000 { |
| 698 | compatible = "arm,pl18x", "arm,primecell"; |
| 699 | arm,primecell-periphid = <0x00051180>; |
| 700 | status = "disabled"; |
| 701 | reg = <0x12180000 0x2000>; |
| 702 | interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; |
| 703 | interrupt-names = "cmd_irq"; |
| 704 | clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; |
| 705 | clock-names = "mclk", "apb_pclk"; |
| 706 | bus-width = <4>; |
| 707 | cap-sd-highspeed; |
| 708 | cap-mmc-highspeed; |
| 709 | max-frequency = <192000000>; |
| 710 | no-1-8-v; |
Srinivas Kandagatla | edb81ca | 2014-05-16 20:18:53 +0100 | [diff] [blame] | 711 | dmas = <&sdcc3bam 2>, <&sdcc3bam 1>; |
| 712 | dma-names = "tx", "rx"; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 713 | }; |
Srinivas Kandagatla | 0be5fef | 2014-09-17 06:39:35 +0100 | [diff] [blame] | 714 | |
| 715 | sdcc4: sdcc@121c0000 { |
| 716 | compatible = "arm,pl18x", "arm,primecell"; |
| 717 | arm,primecell-periphid = <0x00051180>; |
| 718 | status = "disabled"; |
| 719 | reg = <0x121c0000 0x2000>; |
| 720 | interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
| 721 | interrupt-names = "cmd_irq"; |
| 722 | clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>; |
| 723 | clock-names = "mclk", "apb_pclk"; |
| 724 | bus-width = <4>; |
| 725 | cap-sd-highspeed; |
| 726 | cap-mmc-highspeed; |
| 727 | max-frequency = <48000000>; |
Srinivas Kandagatla | 0be5fef | 2014-09-17 06:39:35 +0100 | [diff] [blame] | 728 | dmas = <&sdcc4bam 2>, <&sdcc4bam 1>; |
| 729 | dma-names = "tx", "rx"; |
| 730 | pinctrl-names = "default"; |
| 731 | pinctrl-0 = <&sdc4_gpios>; |
| 732 | }; |
Srinivas Kandagatla | 045644f | 2014-04-29 08:33:52 +0100 | [diff] [blame] | 733 | }; |
Andy Gross | 4105d9d | 2015-02-09 16:01:08 -0600 | [diff] [blame] | 734 | |
| 735 | tcsr: syscon@1a400000 { |
| 736 | compatible = "qcom,tcsr-apq8064", "syscon"; |
| 737 | reg = <0x1a400000 0x100>; |
| 738 | }; |
Stanimir Varbanov | bcc74b0 | 2015-12-18 14:38:58 +0200 | [diff] [blame] | 739 | |
| 740 | pcie: pci@1b500000 { |
| 741 | compatible = "qcom,pcie-apq8064", "snps,dw-pcie"; |
| 742 | reg = <0x1b500000 0x1000 |
| 743 | 0x1b502000 0x80 |
| 744 | 0x1b600000 0x100 |
| 745 | 0x0ff00000 0x100000>; |
| 746 | reg-names = "dbi", "elbi", "parf", "config"; |
| 747 | device_type = "pci"; |
| 748 | linux,pci-domain = <0>; |
| 749 | bus-range = <0x00 0xff>; |
| 750 | num-lanes = <1>; |
| 751 | #address-cells = <3>; |
| 752 | #size-cells = <2>; |
| 753 | ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */ |
| 754 | 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */ |
| 755 | interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>; |
| 756 | interrupt-names = "msi"; |
| 757 | #interrupt-cells = <1>; |
| 758 | interrupt-map-mask = <0 0 0 0x7>; |
| 759 | interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ |
| 760 | <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ |
| 761 | <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ |
| 762 | <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ |
| 763 | clocks = <&gcc PCIE_A_CLK>, |
| 764 | <&gcc PCIE_H_CLK>, |
| 765 | <&gcc PCIE_PHY_REF_CLK>; |
| 766 | clock-names = "core", "iface", "phy"; |
| 767 | resets = <&gcc PCIE_ACLK_RESET>, |
| 768 | <&gcc PCIE_HCLK_RESET>, |
| 769 | <&gcc PCIE_POR_RESET>, |
| 770 | <&gcc PCIE_PCI_RESET>, |
| 771 | <&gcc PCIE_PHY_RESET>; |
| 772 | reset-names = "axi", "ahb", "por", "pci", "phy"; |
| 773 | status = "disabled"; |
| 774 | }; |
Kumar Gala | f335b8a | 2014-04-03 14:48:22 -0500 | [diff] [blame] | 775 | }; |
| 776 | }; |
Srinivas Kandagatla | a30e78b | 2016-02-23 14:14:07 +0000 | [diff] [blame^] | 777 | #include "qcom-apq8064-pins.dtsi" |