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