1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 5724ba675SRob Herring#include <dt-bindings/clock/qcom,gcc-apq8084.h> 6724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 7724ba675SRob Herring 8724ba675SRob Herring/ { 9724ba675SRob Herring #address-cells = <1>; 10724ba675SRob Herring #size-cells = <1>; 11724ba675SRob Herring model = "Qualcomm APQ 8084"; 12724ba675SRob Herring compatible = "qcom,apq8084"; 13724ba675SRob Herring interrupt-parent = <&intc>; 14724ba675SRob Herring 15724ba675SRob Herring reserved-memory { 16724ba675SRob Herring #address-cells = <1>; 17724ba675SRob Herring #size-cells = <1>; 18724ba675SRob Herring ranges; 19724ba675SRob Herring 20724ba675SRob Herring smem_mem: smem_region@fa00000 { 21724ba675SRob Herring reg = <0xfa00000 0x200000>; 22724ba675SRob Herring no-map; 23724ba675SRob Herring }; 24724ba675SRob Herring }; 25724ba675SRob Herring 26724ba675SRob Herring cpus { 27724ba675SRob Herring #address-cells = <1>; 28724ba675SRob Herring #size-cells = <0>; 29724ba675SRob Herring 30724ba675SRob Herring cpu@0 { 31724ba675SRob Herring device_type = "cpu"; 32724ba675SRob Herring compatible = "qcom,krait"; 33724ba675SRob Herring reg = <0>; 34724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 35724ba675SRob Herring next-level-cache = <&L2>; 36724ba675SRob Herring qcom,acc = <&acc0>; 37724ba675SRob Herring qcom,saw = <&saw0>; 38724ba675SRob Herring cpu-idle-states = <&CPU_SPC>; 39724ba675SRob Herring }; 40724ba675SRob Herring 41724ba675SRob Herring cpu@1 { 42724ba675SRob Herring device_type = "cpu"; 43724ba675SRob Herring compatible = "qcom,krait"; 44724ba675SRob Herring reg = <1>; 45724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 46724ba675SRob Herring next-level-cache = <&L2>; 47724ba675SRob Herring qcom,acc = <&acc1>; 48724ba675SRob Herring qcom,saw = <&saw1>; 49724ba675SRob Herring cpu-idle-states = <&CPU_SPC>; 50724ba675SRob Herring }; 51724ba675SRob Herring 52724ba675SRob Herring cpu@2 { 53724ba675SRob Herring device_type = "cpu"; 54724ba675SRob Herring compatible = "qcom,krait"; 55724ba675SRob Herring reg = <2>; 56724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 57724ba675SRob Herring next-level-cache = <&L2>; 58724ba675SRob Herring qcom,acc = <&acc2>; 59724ba675SRob Herring qcom,saw = <&saw2>; 60724ba675SRob Herring cpu-idle-states = <&CPU_SPC>; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring cpu@3 { 64724ba675SRob Herring device_type = "cpu"; 65724ba675SRob Herring compatible = "qcom,krait"; 66724ba675SRob Herring reg = <3>; 67724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 68724ba675SRob Herring next-level-cache = <&L2>; 69724ba675SRob Herring qcom,acc = <&acc3>; 70724ba675SRob Herring qcom,saw = <&saw3>; 71724ba675SRob Herring cpu-idle-states = <&CPU_SPC>; 72724ba675SRob Herring }; 73724ba675SRob Herring 74724ba675SRob Herring L2: l2-cache { 75724ba675SRob Herring compatible = "cache"; 76724ba675SRob Herring cache-level = <2>; 776c1561fbSLinus Torvalds cache-unified; 78724ba675SRob Herring qcom,saw = <&saw_l2>; 79724ba675SRob Herring }; 80724ba675SRob Herring 81724ba675SRob Herring idle-states { 82724ba675SRob Herring CPU_SPC: spc { 83724ba675SRob Herring compatible = "qcom,idle-state-spc", 84724ba675SRob Herring "arm,idle-state"; 85724ba675SRob Herring entry-latency-us = <150>; 86724ba675SRob Herring exit-latency-us = <200>; 87724ba675SRob Herring min-residency-us = <2000>; 88724ba675SRob Herring }; 89724ba675SRob Herring }; 90724ba675SRob Herring }; 91724ba675SRob Herring 92724ba675SRob Herring memory { 93724ba675SRob Herring device_type = "memory"; 94724ba675SRob Herring reg = <0x0 0x0>; 95724ba675SRob Herring }; 96724ba675SRob Herring 97724ba675SRob Herring firmware { 98724ba675SRob Herring scm { 99724ba675SRob Herring compatible = "qcom,scm-apq8084", "qcom,scm"; 100724ba675SRob Herring clocks = <&gcc GCC_CE1_CLK> , <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>; 101724ba675SRob Herring clock-names = "core", "bus", "iface"; 102724ba675SRob Herring }; 103724ba675SRob Herring }; 104724ba675SRob Herring 105724ba675SRob Herring thermal-zones { 106724ba675SRob Herring cpu0-thermal { 107724ba675SRob Herring polling-delay-passive = <250>; 108724ba675SRob Herring polling-delay = <1000>; 109724ba675SRob Herring 110724ba675SRob Herring thermal-sensors = <&tsens 5>; 111724ba675SRob Herring 112724ba675SRob Herring trips { 113724ba675SRob Herring cpu_alert0: trip0 { 114724ba675SRob Herring temperature = <75000>; 115724ba675SRob Herring hysteresis = <2000>; 116724ba675SRob Herring type = "passive"; 117724ba675SRob Herring }; 118724ba675SRob Herring cpu_crit0: trip1 { 119724ba675SRob Herring temperature = <110000>; 120724ba675SRob Herring hysteresis = <2000>; 121724ba675SRob Herring type = "critical"; 122724ba675SRob Herring }; 123724ba675SRob Herring }; 124724ba675SRob Herring }; 125724ba675SRob Herring 126724ba675SRob Herring cpu1-thermal { 127724ba675SRob Herring polling-delay-passive = <250>; 128724ba675SRob Herring polling-delay = <1000>; 129724ba675SRob Herring 130724ba675SRob Herring thermal-sensors = <&tsens 6>; 131724ba675SRob Herring 132724ba675SRob Herring trips { 133724ba675SRob Herring cpu_alert1: trip0 { 134724ba675SRob Herring temperature = <75000>; 135724ba675SRob Herring hysteresis = <2000>; 136724ba675SRob Herring type = "passive"; 137724ba675SRob Herring }; 138724ba675SRob Herring cpu_crit1: trip1 { 139724ba675SRob Herring temperature = <110000>; 140724ba675SRob Herring hysteresis = <2000>; 141724ba675SRob Herring type = "critical"; 142724ba675SRob Herring }; 143724ba675SRob Herring }; 144724ba675SRob Herring }; 145724ba675SRob Herring 146724ba675SRob Herring cpu2-thermal { 147724ba675SRob Herring polling-delay-passive = <250>; 148724ba675SRob Herring polling-delay = <1000>; 149724ba675SRob Herring 150724ba675SRob Herring thermal-sensors = <&tsens 7>; 151724ba675SRob Herring 152724ba675SRob Herring trips { 153724ba675SRob Herring cpu_alert2: trip0 { 154724ba675SRob Herring temperature = <75000>; 155724ba675SRob Herring hysteresis = <2000>; 156724ba675SRob Herring type = "passive"; 157724ba675SRob Herring }; 158724ba675SRob Herring cpu_crit2: trip1 { 159724ba675SRob Herring temperature = <110000>; 160724ba675SRob Herring hysteresis = <2000>; 161724ba675SRob Herring type = "critical"; 162724ba675SRob Herring }; 163724ba675SRob Herring }; 164724ba675SRob Herring }; 165724ba675SRob Herring 166724ba675SRob Herring cpu3-thermal { 167724ba675SRob Herring polling-delay-passive = <250>; 168724ba675SRob Herring polling-delay = <1000>; 169724ba675SRob Herring 170724ba675SRob Herring thermal-sensors = <&tsens 8>; 171724ba675SRob Herring 172724ba675SRob Herring trips { 173724ba675SRob Herring cpu_alert3: trip0 { 174724ba675SRob Herring temperature = <75000>; 175724ba675SRob Herring hysteresis = <2000>; 176724ba675SRob Herring type = "passive"; 177724ba675SRob Herring }; 178724ba675SRob Herring cpu_crit3: trip1 { 179724ba675SRob Herring temperature = <110000>; 180724ba675SRob Herring hysteresis = <2000>; 181724ba675SRob Herring type = "critical"; 182724ba675SRob Herring }; 183724ba675SRob Herring }; 184724ba675SRob Herring }; 185724ba675SRob Herring }; 186724ba675SRob Herring 187724ba675SRob Herring cpu-pmu { 188724ba675SRob Herring compatible = "qcom,krait-pmu"; 189724ba675SRob Herring interrupts = <GIC_PPI 7 0xf04>; 190724ba675SRob Herring }; 191724ba675SRob Herring 192724ba675SRob Herring clocks { 193724ba675SRob Herring xo_board: xo_board { 194724ba675SRob Herring compatible = "fixed-clock"; 195724ba675SRob Herring #clock-cells = <0>; 196724ba675SRob Herring clock-frequency = <19200000>; 197724ba675SRob Herring }; 198724ba675SRob Herring 199724ba675SRob Herring sleep_clk: sleep_clk { 200724ba675SRob Herring compatible = "fixed-clock"; 201724ba675SRob Herring #clock-cells = <0>; 202724ba675SRob Herring clock-frequency = <32768>; 203724ba675SRob Herring }; 204724ba675SRob Herring }; 205724ba675SRob Herring 206724ba675SRob Herring timer { 207724ba675SRob Herring compatible = "arm,armv7-timer"; 208724ba675SRob Herring interrupts = <GIC_PPI 2 0xf08>, 209724ba675SRob Herring <GIC_PPI 3 0xf08>, 210724ba675SRob Herring <GIC_PPI 4 0xf08>, 211724ba675SRob Herring <GIC_PPI 1 0xf08>; 212724ba675SRob Herring clock-frequency = <19200000>; 213724ba675SRob Herring }; 214724ba675SRob Herring 215724ba675SRob Herring smem { 216724ba675SRob Herring compatible = "qcom,smem"; 217724ba675SRob Herring 218724ba675SRob Herring qcom,rpm-msg-ram = <&rpm_msg_ram>; 219724ba675SRob Herring memory-region = <&smem_mem>; 220724ba675SRob Herring 221724ba675SRob Herring hwlocks = <&tcsr_mutex 3>; 222724ba675SRob Herring }; 223724ba675SRob Herring 224724ba675SRob Herring soc: soc { 225724ba675SRob Herring #address-cells = <1>; 226724ba675SRob Herring #size-cells = <1>; 227724ba675SRob Herring ranges; 228724ba675SRob Herring compatible = "simple-bus"; 229724ba675SRob Herring 230724ba675SRob Herring intc: interrupt-controller@f9000000 { 231724ba675SRob Herring compatible = "qcom,msm-qgic2"; 232724ba675SRob Herring interrupt-controller; 233724ba675SRob Herring #interrupt-cells = <3>; 234724ba675SRob Herring reg = <0xf9000000 0x1000>, 235724ba675SRob Herring <0xf9002000 0x1000>; 236724ba675SRob Herring }; 237724ba675SRob Herring 238724ba675SRob Herring apcs: syscon@f9011000 { 239724ba675SRob Herring compatible = "syscon"; 240724ba675SRob Herring reg = <0xf9011000 0x1000>; 241724ba675SRob Herring }; 242724ba675SRob Herring 243724ba675SRob Herring sram@fc190000 { 244724ba675SRob Herring compatible = "qcom,apq8084-rpm-stats"; 245724ba675SRob Herring reg = <0xfc190000 0x10000>; 246724ba675SRob Herring }; 247724ba675SRob Herring 248724ba675SRob Herring qfprom: qfprom@fc4bc000 { 249724ba675SRob Herring compatible = "qcom,apq8084-qfprom", "qcom,qfprom"; 250724ba675SRob Herring reg = <0xfc4bc000 0x1000>; 251724ba675SRob Herring #address-cells = <1>; 252724ba675SRob Herring #size-cells = <1>; 253724ba675SRob Herring 254724ba675SRob Herring tsens_base1: base1@d0 { 255724ba675SRob Herring reg = <0xd0 0x1>; 256724ba675SRob Herring bits = <0 8>; 257724ba675SRob Herring }; 258724ba675SRob Herring 259724ba675SRob Herring tsens_s0_p1: s0-p1@d1 { 260724ba675SRob Herring reg = <0xd1 0x1>; 261724ba675SRob Herring bits = <0 6>; 262724ba675SRob Herring }; 263724ba675SRob Herring 264724ba675SRob Herring tsens_s1_p1: s1-p1@d2 { 265724ba675SRob Herring reg = <0xd1 0x2>; 266724ba675SRob Herring bits = <6 6>; 267724ba675SRob Herring }; 268724ba675SRob Herring 269724ba675SRob Herring tsens_s2_p1: s2-p1@d2 { 270724ba675SRob Herring reg = <0xd2 0x2>; 271724ba675SRob Herring bits = <4 6>; 272724ba675SRob Herring }; 273724ba675SRob Herring 274724ba675SRob Herring tsens_s3_p1: s3-p1@d3 { 275724ba675SRob Herring reg = <0xd3 0x1>; 276724ba675SRob Herring bits = <2 6>; 277724ba675SRob Herring }; 278724ba675SRob Herring 279724ba675SRob Herring tsens_s4_p1: s4-p1@d4 { 280724ba675SRob Herring reg = <0xd4 0x1>; 281724ba675SRob Herring bits = <0 6>; 282724ba675SRob Herring }; 283724ba675SRob Herring 284724ba675SRob Herring tsens_s5_p1: s5-p1@d4 { 285724ba675SRob Herring reg = <0xd4 0x2>; 286724ba675SRob Herring bits = <6 6>; 287724ba675SRob Herring }; 288724ba675SRob Herring 289724ba675SRob Herring tsens_s6_p1: s6-p1@d5 { 290724ba675SRob Herring reg = <0xd5 0x2>; 291724ba675SRob Herring bits = <4 6>; 292724ba675SRob Herring }; 293724ba675SRob Herring 294724ba675SRob Herring tsens_s7_p1: s7-p1@d6 { 295724ba675SRob Herring reg = <0xd6 0x1>; 296724ba675SRob Herring bits = <2 6>; 297724ba675SRob Herring }; 298724ba675SRob Herring 299724ba675SRob Herring tsens_s8_p1: s8-p1@d7 { 300724ba675SRob Herring reg = <0xd7 0x1>; 301724ba675SRob Herring bits = <0 6>; 302724ba675SRob Herring }; 303724ba675SRob Herring 304724ba675SRob Herring tsens_mode: mode@d7 { 305724ba675SRob Herring reg = <0xd7 0x1>; 306724ba675SRob Herring bits = <6 2>; 307724ba675SRob Herring }; 308724ba675SRob Herring 309724ba675SRob Herring tsens_s9_p1: s9-p1@d8 { 310724ba675SRob Herring reg = <0xd8 0x1>; 311724ba675SRob Herring bits = <0 6>; 312724ba675SRob Herring }; 313724ba675SRob Herring 314724ba675SRob Herring tsens_s10_p1: s10_p1@d8 { 315724ba675SRob Herring reg = <0xd8 0x2>; 316724ba675SRob Herring bits = <6 6>; 317724ba675SRob Herring }; 318724ba675SRob Herring 319724ba675SRob Herring tsens_base2: base2@d9 { 320724ba675SRob Herring reg = <0xd9 0x2>; 321724ba675SRob Herring bits = <4 8>; 322724ba675SRob Herring }; 323724ba675SRob Herring 324724ba675SRob Herring tsens_s0_p2: s0-p2@da { 325724ba675SRob Herring reg = <0xda 0x2>; 326724ba675SRob Herring bits = <4 6>; 327724ba675SRob Herring }; 328724ba675SRob Herring 329724ba675SRob Herring tsens_s1_p2: s1-p2@db { 330724ba675SRob Herring reg = <0xdb 0x1>; 331724ba675SRob Herring bits = <2 6>; 332724ba675SRob Herring }; 333724ba675SRob Herring 334724ba675SRob Herring tsens_s2_p2: s2-p2@dc { 335724ba675SRob Herring reg = <0xdc 0x1>; 336724ba675SRob Herring bits = <0 6>; 337724ba675SRob Herring }; 338724ba675SRob Herring 339724ba675SRob Herring tsens_s3_p2: s3-p2@dc { 340724ba675SRob Herring reg = <0xdc 0x2>; 341724ba675SRob Herring bits = <6 6>; 342724ba675SRob Herring }; 343724ba675SRob Herring 344724ba675SRob Herring tsens_s4_p2: s4-p2@dd { 345724ba675SRob Herring reg = <0xdd 0x2>; 346724ba675SRob Herring bits = <4 6>; 347724ba675SRob Herring }; 348724ba675SRob Herring 349724ba675SRob Herring tsens_s5_p2: s5-p2@de { 350724ba675SRob Herring reg = <0xde 0x2>; 351724ba675SRob Herring bits = <2 6>; 352724ba675SRob Herring }; 353724ba675SRob Herring 354724ba675SRob Herring tsens_s6_p2: s6-p2@df { 355724ba675SRob Herring reg = <0xdf 0x1>; 356724ba675SRob Herring bits = <0 6>; 357724ba675SRob Herring }; 358724ba675SRob Herring 359724ba675SRob Herring tsens_s7_p2: s7-p2@e0 { 360724ba675SRob Herring reg = <0xe0 0x1>; 361724ba675SRob Herring bits = <0 6>; 362724ba675SRob Herring }; 363724ba675SRob Herring 364724ba675SRob Herring tsens_s8_p2: s8-p2@e0 { 365724ba675SRob Herring reg = <0xe0 0x2>; 366724ba675SRob Herring bits = <6 6>; 367724ba675SRob Herring }; 368724ba675SRob Herring 369724ba675SRob Herring tsens_s9_p2: s9-p2@e1 { 370724ba675SRob Herring reg = <0xe1 0x2>; 371724ba675SRob Herring bits = <4 6>; 372724ba675SRob Herring }; 373724ba675SRob Herring 374724ba675SRob Herring tsens_s10_p2: s10_p2@e2 { 375724ba675SRob Herring reg = <0xe2 0x2>; 376724ba675SRob Herring bits = <2 6>; 377724ba675SRob Herring }; 378724ba675SRob Herring 379724ba675SRob Herring tsens_s5_p2_backup: s5-p2_backup@e3 { 380724ba675SRob Herring reg = <0xe3 0x2>; 381724ba675SRob Herring bits = <0 6>; 382724ba675SRob Herring }; 383724ba675SRob Herring 384724ba675SRob Herring tsens_mode_backup: mode_backup@e3 { 385724ba675SRob Herring reg = <0xe3 0x1>; 386724ba675SRob Herring bits = <6 2>; 387724ba675SRob Herring }; 388724ba675SRob Herring 389724ba675SRob Herring tsens_s6_p2_backup: s6-p2_backup@e4 { 390724ba675SRob Herring reg = <0xe4 0x1>; 391724ba675SRob Herring bits = <0 6>; 392724ba675SRob Herring }; 393724ba675SRob Herring 394724ba675SRob Herring tsens_s7_p2_backup: s7-p2_backup@e4 { 395724ba675SRob Herring reg = <0xe4 0x2>; 396724ba675SRob Herring bits = <6 6>; 397724ba675SRob Herring }; 398724ba675SRob Herring 399724ba675SRob Herring tsens_s8_p2_backup: s8-p2_backup@e5 { 400724ba675SRob Herring reg = <0xe5 0x2>; 401724ba675SRob Herring bits = <4 6>; 402724ba675SRob Herring }; 403724ba675SRob Herring 404724ba675SRob Herring tsens_s9_p2_backup: s9-p2_backup@e6 { 405724ba675SRob Herring reg = <0xe6 0x2>; 406724ba675SRob Herring bits = <2 6>; 407724ba675SRob Herring }; 408724ba675SRob Herring 409724ba675SRob Herring tsens_s10_p2_backup: s10_p2_backup@e7 { 410724ba675SRob Herring reg = <0xe7 0x1>; 411724ba675SRob Herring bits = <0 6>; 412724ba675SRob Herring }; 413724ba675SRob Herring 414724ba675SRob Herring tsens_base1_backup: base1_backup@440 { 415724ba675SRob Herring reg = <0x440 0x1>; 416724ba675SRob Herring bits = <0 8>; 417724ba675SRob Herring }; 418724ba675SRob Herring 419724ba675SRob Herring tsens_s0_p1_backup: s0-p1_backup@441 { 420724ba675SRob Herring reg = <0x441 0x1>; 421724ba675SRob Herring bits = <0 6>; 422724ba675SRob Herring }; 423724ba675SRob Herring 424724ba675SRob Herring tsens_s1_p1_backup: s1-p1_backup@442 { 425724ba675SRob Herring reg = <0x441 0x2>; 426724ba675SRob Herring bits = <6 6>; 427724ba675SRob Herring }; 428724ba675SRob Herring 429724ba675SRob Herring tsens_s2_p1_backup: s2-p1_backup@442 { 430724ba675SRob Herring reg = <0x442 0x2>; 431724ba675SRob Herring bits = <4 6>; 432724ba675SRob Herring }; 433724ba675SRob Herring 434724ba675SRob Herring tsens_s3_p1_backup: s3-p1_backup@443 { 435724ba675SRob Herring reg = <0x443 0x1>; 436724ba675SRob Herring bits = <2 6>; 437724ba675SRob Herring }; 438724ba675SRob Herring 439724ba675SRob Herring tsens_s4_p1_backup: s4-p1_backup@444 { 440724ba675SRob Herring reg = <0x444 0x1>; 441724ba675SRob Herring bits = <0 6>; 442724ba675SRob Herring }; 443724ba675SRob Herring 444724ba675SRob Herring tsens_s5_p1_backup: s5-p1_backup@444 { 445724ba675SRob Herring reg = <0x444 0x2>; 446724ba675SRob Herring bits = <6 6>; 447724ba675SRob Herring }; 448724ba675SRob Herring 449724ba675SRob Herring tsens_s6_p1_backup: s6-p1_backup@445 { 450724ba675SRob Herring reg = <0x445 0x2>; 451724ba675SRob Herring bits = <4 6>; 452724ba675SRob Herring }; 453724ba675SRob Herring 454724ba675SRob Herring tsens_s7_p1_backup: s7-p1_backup@446 { 455724ba675SRob Herring reg = <0x446 0x1>; 456724ba675SRob Herring bits = <2 6>; 457724ba675SRob Herring }; 458724ba675SRob Herring 459724ba675SRob Herring tsens_use_backup: use_backup@447 { 460724ba675SRob Herring reg = <0x447 0x1>; 461724ba675SRob Herring bits = <5 3>; 462724ba675SRob Herring }; 463724ba675SRob Herring 464724ba675SRob Herring tsens_s8_p1_backup: s8-p1_backup@448 { 465724ba675SRob Herring reg = <0x448 0x1>; 466724ba675SRob Herring bits = <0 6>; 467724ba675SRob Herring }; 468724ba675SRob Herring 469724ba675SRob Herring tsens_s9_p1_backup: s9-p1_backup@448 { 470724ba675SRob Herring reg = <0x448 0x2>; 471724ba675SRob Herring bits = <6 6>; 472724ba675SRob Herring }; 473724ba675SRob Herring 474724ba675SRob Herring tsens_s10_p1_backup: s10_p1_backup@449 { 475724ba675SRob Herring reg = <0x449 0x2>; 476724ba675SRob Herring bits = <4 6>; 477724ba675SRob Herring }; 478724ba675SRob Herring 479724ba675SRob Herring tsens_base2_backup: base2_backup@44a { 480724ba675SRob Herring reg = <0x44a 0x2>; 481724ba675SRob Herring bits = <2 8>; 482724ba675SRob Herring }; 483724ba675SRob Herring 484724ba675SRob Herring tsens_s0_p2_backup: s0-p2_backup@44b { 485724ba675SRob Herring reg = <0x44b 0x3>; 486724ba675SRob Herring bits = <2 6>; 487724ba675SRob Herring }; 488724ba675SRob Herring 489724ba675SRob Herring tsens_s1_p2_backup: s1-p2_backup@44c { 490724ba675SRob Herring reg = <0x44c 0x1>; 491724ba675SRob Herring bits = <0 6>; 492724ba675SRob Herring }; 493724ba675SRob Herring 494724ba675SRob Herring tsens_s2_p2_backup: s2-p2_backup@44c { 495724ba675SRob Herring reg = <0x44c 0x2>; 496724ba675SRob Herring bits = <6 6>; 497724ba675SRob Herring }; 498724ba675SRob Herring 499724ba675SRob Herring tsens_s3_p2_backup: s3-p2_backup@44d { 500724ba675SRob Herring reg = <0x44d 0x2>; 501724ba675SRob Herring bits = <4 6>; 502724ba675SRob Herring }; 503724ba675SRob Herring 504724ba675SRob Herring tsens_s4_p2_backup: s4-p2_backup@44e { 505724ba675SRob Herring reg = <0x44e 0x1>; 506724ba675SRob Herring bits = <2 6>; 507724ba675SRob Herring }; 508724ba675SRob Herring }; 509724ba675SRob Herring 510724ba675SRob Herring tsens: thermal-sensor@fc4a9000 { 511724ba675SRob Herring compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; 512724ba675SRob Herring reg = <0xfc4a9000 0x1000>, /* TM */ 513724ba675SRob Herring <0xfc4a8000 0x1000>; /* SROT */ 514724ba675SRob Herring nvmem-cells = <&tsens_mode>, 515724ba675SRob Herring <&tsens_base1>, <&tsens_base2>, 516724ba675SRob Herring <&tsens_use_backup>, 517724ba675SRob Herring <&tsens_mode_backup>, 518724ba675SRob Herring <&tsens_base1_backup>, <&tsens_base2_backup>, 519724ba675SRob Herring <&tsens_s0_p1>, <&tsens_s0_p2>, 520724ba675SRob Herring <&tsens_s1_p1>, <&tsens_s1_p2>, 521724ba675SRob Herring <&tsens_s2_p1>, <&tsens_s2_p2>, 522724ba675SRob Herring <&tsens_s3_p1>, <&tsens_s3_p2>, 523724ba675SRob Herring <&tsens_s4_p1>, <&tsens_s4_p2>, 524724ba675SRob Herring <&tsens_s5_p1>, <&tsens_s5_p2>, 525724ba675SRob Herring <&tsens_s6_p1>, <&tsens_s6_p2>, 526724ba675SRob Herring <&tsens_s7_p1>, <&tsens_s7_p2>, 527724ba675SRob Herring <&tsens_s8_p1>, <&tsens_s8_p2>, 528724ba675SRob Herring <&tsens_s9_p1>, <&tsens_s9_p2>, 529724ba675SRob Herring <&tsens_s10_p1>, <&tsens_s10_p2>, 530724ba675SRob Herring <&tsens_s0_p1_backup>, <&tsens_s0_p2_backup>, 531724ba675SRob Herring <&tsens_s1_p1_backup>, <&tsens_s1_p2_backup>, 532724ba675SRob Herring <&tsens_s2_p1_backup>, <&tsens_s2_p2_backup>, 533724ba675SRob Herring <&tsens_s3_p1_backup>, <&tsens_s3_p2_backup>, 534724ba675SRob Herring <&tsens_s4_p1_backup>, <&tsens_s4_p2_backup>, 535724ba675SRob Herring <&tsens_s5_p1_backup>, <&tsens_s5_p2_backup>, 536724ba675SRob Herring <&tsens_s6_p1_backup>, <&tsens_s6_p2_backup>, 537724ba675SRob Herring <&tsens_s7_p1_backup>, <&tsens_s7_p2_backup>, 538724ba675SRob Herring <&tsens_s8_p1_backup>, <&tsens_s8_p2_backup>, 539724ba675SRob Herring <&tsens_s9_p1_backup>, <&tsens_s9_p2_backup>, 540724ba675SRob Herring <&tsens_s10_p1_backup>, <&tsens_s10_p2_backup>; 541724ba675SRob Herring nvmem-cell-names = "mode", 542724ba675SRob Herring "base1", "base2", 543724ba675SRob Herring "use_backup", 544724ba675SRob Herring "mode_backup", 545724ba675SRob Herring "base1_backup", "base2_backup", 546724ba675SRob Herring "s0_p1", "s0_p2", 547724ba675SRob Herring "s1_p1", "s1_p2", 548724ba675SRob Herring "s2_p1", "s2_p2", 549724ba675SRob Herring "s3_p1", "s3_p2", 550724ba675SRob Herring "s4_p1", "s4_p2", 551724ba675SRob Herring "s5_p1", "s5_p2", 552724ba675SRob Herring "s6_p1", "s6_p2", 553724ba675SRob Herring "s7_p1", "s7_p2", 554724ba675SRob Herring "s8_p1", "s8_p2", 555724ba675SRob Herring "s9_p1", "s9_p2", 556724ba675SRob Herring "s10_p1", "s10_p2", 557724ba675SRob Herring "s0_p1_backup", "s0_p2_backup", 558724ba675SRob Herring "s1_p1_backup", "s1_p2_backup", 559724ba675SRob Herring "s2_p1_backup", "s2_p2_backup", 560724ba675SRob Herring "s3_p1_backup", "s3_p2_backup", 561724ba675SRob Herring "s4_p1_backup", "s4_p2_backup", 562724ba675SRob Herring "s5_p1_backup", "s5_p2_backup", 563724ba675SRob Herring "s6_p1_backup", "s6_p2_backup", 564724ba675SRob Herring "s7_p1_backup", "s7_p2_backup", 565724ba675SRob Herring "s8_p1_backup", "s8_p2_backup", 566724ba675SRob Herring "s9_p1_backup", "s9_p2_backup", 567724ba675SRob Herring "s10_p1_backup", "s10_p2_backup"; 568724ba675SRob Herring #qcom,sensors = <11>; 569724ba675SRob Herring interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 570724ba675SRob Herring interrupt-names = "uplow"; 571724ba675SRob Herring #thermal-sensor-cells = <1>; 572724ba675SRob Herring }; 573724ba675SRob Herring timer@f9020000 { 574724ba675SRob Herring #address-cells = <1>; 575724ba675SRob Herring #size-cells = <1>; 576724ba675SRob Herring ranges; 577724ba675SRob Herring compatible = "arm,armv7-timer-mem"; 578724ba675SRob Herring reg = <0xf9020000 0x1000>; 579724ba675SRob Herring clock-frequency = <19200000>; 580724ba675SRob Herring 581724ba675SRob Herring frame@f9021000 { 582724ba675SRob Herring frame-number = <0>; 583724ba675SRob Herring interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 584724ba675SRob Herring <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 585724ba675SRob Herring reg = <0xf9021000 0x1000>, 586724ba675SRob Herring <0xf9022000 0x1000>; 587724ba675SRob Herring }; 588724ba675SRob Herring 589724ba675SRob Herring frame@f9023000 { 590724ba675SRob Herring frame-number = <1>; 591724ba675SRob Herring interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 592724ba675SRob Herring reg = <0xf9023000 0x1000>; 593724ba675SRob Herring status = "disabled"; 594724ba675SRob Herring }; 595724ba675SRob Herring 596724ba675SRob Herring frame@f9024000 { 597724ba675SRob Herring frame-number = <2>; 598724ba675SRob Herring interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 599724ba675SRob Herring reg = <0xf9024000 0x1000>; 600724ba675SRob Herring status = "disabled"; 601724ba675SRob Herring }; 602724ba675SRob Herring 603724ba675SRob Herring frame@f9025000 { 604724ba675SRob Herring frame-number = <3>; 605724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 606724ba675SRob Herring reg = <0xf9025000 0x1000>; 607724ba675SRob Herring status = "disabled"; 608724ba675SRob Herring }; 609724ba675SRob Herring 610724ba675SRob Herring frame@f9026000 { 611724ba675SRob Herring frame-number = <4>; 612724ba675SRob Herring interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 613724ba675SRob Herring reg = <0xf9026000 0x1000>; 614724ba675SRob Herring status = "disabled"; 615724ba675SRob Herring }; 616724ba675SRob Herring 617724ba675SRob Herring frame@f9027000 { 618724ba675SRob Herring frame-number = <5>; 619724ba675SRob Herring interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 620724ba675SRob Herring reg = <0xf9027000 0x1000>; 621724ba675SRob Herring status = "disabled"; 622724ba675SRob Herring }; 623724ba675SRob Herring 624724ba675SRob Herring frame@f9028000 { 625724ba675SRob Herring frame-number = <6>; 626724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 627724ba675SRob Herring reg = <0xf9028000 0x1000>; 628724ba675SRob Herring status = "disabled"; 629724ba675SRob Herring }; 630724ba675SRob Herring }; 631724ba675SRob Herring 632724ba675SRob Herring saw0: power-controller@f9089000 { 633724ba675SRob Herring compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; 634724ba675SRob Herring reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>; 635724ba675SRob Herring }; 636724ba675SRob Herring 637724ba675SRob Herring saw1: power-controller@f9099000 { 638724ba675SRob Herring compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; 639724ba675SRob Herring reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>; 640724ba675SRob Herring }; 641724ba675SRob Herring 642724ba675SRob Herring saw2: power-controller@f90a9000 { 643724ba675SRob Herring compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; 644724ba675SRob Herring reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>; 645724ba675SRob Herring }; 646724ba675SRob Herring 647724ba675SRob Herring saw3: power-controller@f90b9000 { 648724ba675SRob Herring compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2"; 649724ba675SRob Herring reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>; 650724ba675SRob Herring }; 651724ba675SRob Herring 652724ba675SRob Herring saw_l2: power-controller@f9012000 { 653*551d9027SDmitry Baryshkov compatible = "qcom,apq8084-saw2-v2.1-l2", "qcom,saw2"; 654724ba675SRob Herring reg = <0xf9012000 0x1000>; 655724ba675SRob Herring regulator; 656724ba675SRob Herring }; 657724ba675SRob Herring 658724ba675SRob Herring acc0: power-manager@f9088000 { 659724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 660724ba675SRob Herring reg = <0xf9088000 0x1000>, 661724ba675SRob Herring <0xf9008000 0x1000>; 662724ba675SRob Herring }; 663724ba675SRob Herring 664724ba675SRob Herring acc1: power-manager@f9098000 { 665724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 666724ba675SRob Herring reg = <0xf9098000 0x1000>, 667724ba675SRob Herring <0xf9008000 0x1000>; 668724ba675SRob Herring }; 669724ba675SRob Herring 670724ba675SRob Herring acc2: power-manager@f90a8000 { 671724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 672724ba675SRob Herring reg = <0xf90a8000 0x1000>, 673724ba675SRob Herring <0xf9008000 0x1000>; 674724ba675SRob Herring }; 675724ba675SRob Herring 676724ba675SRob Herring acc3: power-manager@f90b8000 { 677724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 678724ba675SRob Herring reg = <0xf90b8000 0x1000>, 679724ba675SRob Herring <0xf9008000 0x1000>; 680724ba675SRob Herring }; 681724ba675SRob Herring 682724ba675SRob Herring restart@fc4ab000 { 683724ba675SRob Herring compatible = "qcom,pshold"; 684724ba675SRob Herring reg = <0xfc4ab000 0x4>; 685724ba675SRob Herring }; 686724ba675SRob Herring 687724ba675SRob Herring gcc: clock-controller@fc400000 { 688724ba675SRob Herring compatible = "qcom,gcc-apq8084"; 689724ba675SRob Herring #clock-cells = <1>; 690724ba675SRob Herring #reset-cells = <1>; 691724ba675SRob Herring #power-domain-cells = <1>; 692724ba675SRob Herring reg = <0xfc400000 0x4000>; 693724ba675SRob Herring clocks = <&xo_board>, 694724ba675SRob Herring <&sleep_clk>, 695724ba675SRob Herring <0>, /* ufs */ 696724ba675SRob Herring <0>, 697724ba675SRob Herring <0>, 698724ba675SRob Herring <0>, 699724ba675SRob Herring <0>, /* sata */ 700724ba675SRob Herring <0>, 701724ba675SRob Herring <0>; /* pcie */ 702724ba675SRob Herring clock-names = "xo", 703724ba675SRob Herring "sleep_clk", 704724ba675SRob Herring "ufs_rx_symbol_0_clk_src", 705724ba675SRob Herring "ufs_rx_symbol_1_clk_src", 706724ba675SRob Herring "ufs_tx_symbol_0_clk_src", 707724ba675SRob Herring "ufs_tx_symbol_1_clk_src", 708724ba675SRob Herring "sata_asic0_clk", 709724ba675SRob Herring "sata_rx_clk", 710724ba675SRob Herring "pcie_pipe"; 711724ba675SRob Herring }; 712724ba675SRob Herring 713724ba675SRob Herring tcsr_mutex: hwlock@fd484000 { 714724ba675SRob Herring compatible = "qcom,apq8084-tcsr-mutex", "qcom,tcsr-mutex"; 715724ba675SRob Herring reg = <0xfd484000 0x1000>; 716724ba675SRob Herring #hwlock-cells = <1>; 717724ba675SRob Herring }; 718724ba675SRob Herring 719724ba675SRob Herring rpm_msg_ram: sram@fc428000 { 720724ba675SRob Herring compatible = "qcom,rpm-msg-ram"; 721724ba675SRob Herring reg = <0xfc428000 0x4000>; 722724ba675SRob Herring }; 723724ba675SRob Herring 724724ba675SRob Herring tlmm: pinctrl@fd510000 { 725724ba675SRob Herring compatible = "qcom,apq8084-pinctrl"; 726724ba675SRob Herring reg = <0xfd510000 0x4000>; 727724ba675SRob Herring gpio-controller; 728724ba675SRob Herring gpio-ranges = <&tlmm 0 0 147>; 729724ba675SRob Herring #gpio-cells = <2>; 730724ba675SRob Herring interrupt-controller; 731724ba675SRob Herring #interrupt-cells = <2>; 732724ba675SRob Herring interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 733724ba675SRob Herring }; 734724ba675SRob Herring 735724ba675SRob Herring blsp2_uart2: serial@f995e000 { 736724ba675SRob Herring compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 737724ba675SRob Herring reg = <0xf995e000 0x1000>; 738724ba675SRob Herring interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 739724ba675SRob Herring clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; 740724ba675SRob Herring clock-names = "core", "iface"; 741724ba675SRob Herring status = "disabled"; 742724ba675SRob Herring }; 743724ba675SRob Herring 744724ba675SRob Herring sdhc_1: mmc@f9824900 { 745724ba675SRob Herring compatible = "qcom,apq8084-sdhci", "qcom,sdhci-msm-v4"; 746724ba675SRob Herring reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; 747724ba675SRob Herring reg-names = "hc", "core"; 748724ba675SRob Herring interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 749724ba675SRob Herring interrupt-names = "hc_irq", "pwr_irq"; 750724ba675SRob Herring clocks = <&gcc GCC_SDCC1_AHB_CLK>, 751724ba675SRob Herring <&gcc GCC_SDCC1_APPS_CLK>, 752724ba675SRob Herring <&xo_board>; 753724ba675SRob Herring clock-names = "iface", "core", "xo"; 754724ba675SRob Herring status = "disabled"; 755724ba675SRob Herring }; 756724ba675SRob Herring 757724ba675SRob Herring sdhc_2: mmc@f98a4900 { 758724ba675SRob Herring compatible = "qcom,apq8084-sdhci", "qcom,sdhci-msm-v4"; 759724ba675SRob Herring reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; 760724ba675SRob Herring reg-names = "hc", "core"; 761724ba675SRob Herring interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; 762724ba675SRob Herring interrupt-names = "hc_irq", "pwr_irq"; 763724ba675SRob Herring clocks = <&gcc GCC_SDCC2_AHB_CLK>, 764724ba675SRob Herring <&gcc GCC_SDCC2_APPS_CLK>, 765724ba675SRob Herring <&xo_board>; 766724ba675SRob Herring clock-names = "iface", "core", "xo"; 767724ba675SRob Herring status = "disabled"; 768724ba675SRob Herring }; 769724ba675SRob Herring 770724ba675SRob Herring spmi_bus: spmi@fc4cf000 { 771724ba675SRob Herring compatible = "qcom,spmi-pmic-arb"; 772724ba675SRob Herring reg-names = "core", "intr", "cnfg"; 773724ba675SRob Herring reg = <0xfc4cf000 0x1000>, 774724ba675SRob Herring <0xfc4cb000 0x1000>, 775724ba675SRob Herring <0xfc4ca000 0x1000>; 776724ba675SRob Herring interrupt-names = "periph_irq"; 777724ba675SRob Herring interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 778724ba675SRob Herring qcom,ee = <0>; 779724ba675SRob Herring qcom,channel = <0>; 780724ba675SRob Herring #address-cells = <2>; 781724ba675SRob Herring #size-cells = <0>; 782724ba675SRob Herring interrupt-controller; 783724ba675SRob Herring #interrupt-cells = <4>; 784724ba675SRob Herring }; 785724ba675SRob Herring }; 786724ba675SRob Herring 787b471a1bcSStephan Gerhold rpm: remoteproc { 788b471a1bcSStephan Gerhold compatible = "qcom,apq8084-rpm-proc", "qcom,rpm-proc"; 789724ba675SRob Herring 790b471a1bcSStephan Gerhold smd-edge { 791724ba675SRob Herring interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; 792724ba675SRob Herring qcom,ipc = <&apcs 8 0>; 793724ba675SRob Herring qcom,smd-edge = <15>; 794724ba675SRob Herring 795724ba675SRob Herring rpm-requests { 796724ba675SRob Herring compatible = "qcom,rpm-apq8084"; 797724ba675SRob Herring qcom,smd-channels = "rpm_requests"; 798724ba675SRob Herring 799724ba675SRob Herring regulators-0 { 800724ba675SRob Herring compatible = "qcom,rpm-pma8084-regulators"; 801724ba675SRob Herring 802724ba675SRob Herring pma8084_s1: s1 {}; 803724ba675SRob Herring pma8084_s2: s2 {}; 804724ba675SRob Herring pma8084_s3: s3 {}; 805724ba675SRob Herring pma8084_s4: s4 {}; 806724ba675SRob Herring pma8084_s5: s5 {}; 807724ba675SRob Herring pma8084_s6: s6 {}; 808724ba675SRob Herring pma8084_s7: s7 {}; 809724ba675SRob Herring pma8084_s8: s8 {}; 810724ba675SRob Herring pma8084_s9: s9 {}; 811724ba675SRob Herring pma8084_s10: s10 {}; 812724ba675SRob Herring pma8084_s11: s11 {}; 813724ba675SRob Herring pma8084_s12: s12 {}; 814724ba675SRob Herring 815724ba675SRob Herring pma8084_l1: l1 {}; 816724ba675SRob Herring pma8084_l2: l2 {}; 817724ba675SRob Herring pma8084_l3: l3 {}; 818724ba675SRob Herring pma8084_l4: l4 {}; 819724ba675SRob Herring pma8084_l5: l5 {}; 820724ba675SRob Herring pma8084_l6: l6 {}; 821724ba675SRob Herring pma8084_l7: l7 {}; 822724ba675SRob Herring pma8084_l8: l8 {}; 823724ba675SRob Herring pma8084_l9: l9 {}; 824724ba675SRob Herring pma8084_l10: l10 {}; 825724ba675SRob Herring pma8084_l11: l11 {}; 826724ba675SRob Herring pma8084_l12: l12 {}; 827724ba675SRob Herring pma8084_l13: l13 {}; 828724ba675SRob Herring pma8084_l14: l14 {}; 829724ba675SRob Herring pma8084_l15: l15 {}; 830724ba675SRob Herring pma8084_l16: l16 {}; 831724ba675SRob Herring pma8084_l17: l17 {}; 832724ba675SRob Herring pma8084_l18: l18 {}; 833724ba675SRob Herring pma8084_l19: l19 {}; 834724ba675SRob Herring pma8084_l20: l20 {}; 835724ba675SRob Herring pma8084_l21: l21 {}; 836724ba675SRob Herring pma8084_l22: l22 {}; 837724ba675SRob Herring pma8084_l23: l23 {}; 838724ba675SRob Herring pma8084_l24: l24 {}; 839724ba675SRob Herring pma8084_l25: l25 {}; 840724ba675SRob Herring pma8084_l26: l26 {}; 841724ba675SRob Herring pma8084_l27: l27 {}; 842724ba675SRob Herring 843724ba675SRob Herring pma8084_lvs1: lvs1 {}; 844724ba675SRob Herring pma8084_lvs2: lvs2 {}; 845724ba675SRob Herring pma8084_lvs3: lvs3 {}; 846724ba675SRob Herring pma8084_lvs4: lvs4 {}; 847724ba675SRob Herring 848724ba675SRob Herring pma8084_5vs1: 5vs1 {}; 849724ba675SRob Herring }; 850724ba675SRob Herring }; 851724ba675SRob Herring }; 852724ba675SRob Herring }; 853724ba675SRob Herring}; 854