18bab661aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 28bab661aSEmmanuel Vadot/* 38bab661aSEmmanuel Vadot * Copyright (c) 2016-2022, AngeloGioacchino Del Regno 48bab661aSEmmanuel Vadot * <angelogioacchino.delregno@collabora.com> 58bab661aSEmmanuel Vadot * Copyright (c) 2022, Konrad Dybcio <konrad.dybcio@somainline.org> 68bab661aSEmmanuel Vadot * Copyright (c) 2022, Marijn Suijten <marijn.suijten@somainline.org> 78bab661aSEmmanuel Vadot */ 88bab661aSEmmanuel Vadot 98bab661aSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-msm8976.h> 108bab661aSEmmanuel Vadot#include <dt-bindings/clock/qcom,rpmcc.h> 118bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 128bab661aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 138bab661aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 148bab661aSEmmanuel Vadot#include <dt-bindings/power/qcom-rpmpd.h> 158bab661aSEmmanuel Vadot 168bab661aSEmmanuel Vadot/ { 178bab661aSEmmanuel Vadot interrupt-parent = <&intc>; 188bab661aSEmmanuel Vadot #address-cells = <2>; 198bab661aSEmmanuel Vadot #size-cells = <2>; 208bab661aSEmmanuel Vadot 218bab661aSEmmanuel Vadot chosen { }; 228bab661aSEmmanuel Vadot 23fac71e4eSEmmanuel Vadot clocks { 24fac71e4eSEmmanuel Vadot xo_board: xo-board { 25fac71e4eSEmmanuel Vadot compatible = "fixed-clock"; 26fac71e4eSEmmanuel Vadot #clock-cells = <0>; 27fac71e4eSEmmanuel Vadot }; 28fac71e4eSEmmanuel Vadot }; 29fac71e4eSEmmanuel Vadot 308bab661aSEmmanuel Vadot cpus { 318bab661aSEmmanuel Vadot #address-cells = <1>; 328bab661aSEmmanuel Vadot #size-cells = <0>; 338bab661aSEmmanuel Vadot 348bab661aSEmmanuel Vadot CPU0: cpu@0 { 358bab661aSEmmanuel Vadot device_type = "cpu"; 368bab661aSEmmanuel Vadot compatible = "arm,cortex-a53"; 378bab661aSEmmanuel Vadot reg = <0x0>; 388bab661aSEmmanuel Vadot enable-method = "psci"; 398bab661aSEmmanuel Vadot cpu-idle-states = <&little_cpu_sleep_0>; 408bab661aSEmmanuel Vadot capacity-dmips-mhz = <573>; 418bab661aSEmmanuel Vadot next-level-cache = <&l2_0>; 428bab661aSEmmanuel Vadot #cooling-cells = <2>; 438bab661aSEmmanuel Vadot }; 448bab661aSEmmanuel Vadot 458bab661aSEmmanuel Vadot CPU1: cpu@1 { 468bab661aSEmmanuel Vadot device_type = "cpu"; 478bab661aSEmmanuel Vadot compatible = "arm,cortex-a53"; 488bab661aSEmmanuel Vadot reg = <0x1>; 498bab661aSEmmanuel Vadot enable-method = "psci"; 508bab661aSEmmanuel Vadot cpu-idle-states = <&little_cpu_sleep_0>; 518bab661aSEmmanuel Vadot capacity-dmips-mhz = <573>; 528bab661aSEmmanuel Vadot next-level-cache = <&l2_0>; 538bab661aSEmmanuel Vadot #cooling-cells = <2>; 548bab661aSEmmanuel Vadot }; 558bab661aSEmmanuel Vadot 568bab661aSEmmanuel Vadot CPU2: cpu@2 { 578bab661aSEmmanuel Vadot device_type = "cpu"; 588bab661aSEmmanuel Vadot compatible = "arm,cortex-a53"; 598bab661aSEmmanuel Vadot reg = <0x2>; 608bab661aSEmmanuel Vadot enable-method = "psci"; 618bab661aSEmmanuel Vadot cpu-idle-states = <&little_cpu_sleep_0>; 628bab661aSEmmanuel Vadot capacity-dmips-mhz = <573>; 638bab661aSEmmanuel Vadot next-level-cache = <&l2_0>; 648bab661aSEmmanuel Vadot #cooling-cells = <2>; 658bab661aSEmmanuel Vadot }; 668bab661aSEmmanuel Vadot 678bab661aSEmmanuel Vadot CPU3: cpu@3 { 688bab661aSEmmanuel Vadot device_type = "cpu"; 698bab661aSEmmanuel Vadot compatible = "arm,cortex-a53"; 708bab661aSEmmanuel Vadot reg = <0x3>; 718bab661aSEmmanuel Vadot enable-method = "psci"; 728bab661aSEmmanuel Vadot cpu-idle-states = <&little_cpu_sleep_0>; 738bab661aSEmmanuel Vadot capacity-dmips-mhz = <573>; 748bab661aSEmmanuel Vadot next-level-cache = <&l2_0>; 758bab661aSEmmanuel Vadot #cooling-cells = <2>; 768bab661aSEmmanuel Vadot }; 778bab661aSEmmanuel Vadot 788bab661aSEmmanuel Vadot CPU4: cpu@100 { 798bab661aSEmmanuel Vadot device_type = "cpu"; 808bab661aSEmmanuel Vadot compatible = "arm,cortex-a72"; 818bab661aSEmmanuel Vadot reg = <0x100>; 828bab661aSEmmanuel Vadot enable-method = "psci"; 838bab661aSEmmanuel Vadot cpu-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>; 848bab661aSEmmanuel Vadot capacity-dmips-mhz = <1024>; 858bab661aSEmmanuel Vadot next-level-cache = <&l2_1>; 868bab661aSEmmanuel Vadot #cooling-cells = <2>; 878bab661aSEmmanuel Vadot }; 888bab661aSEmmanuel Vadot 898bab661aSEmmanuel Vadot CPU5: cpu@101 { 908bab661aSEmmanuel Vadot device_type = "cpu"; 918bab661aSEmmanuel Vadot compatible = "arm,cortex-a72"; 928bab661aSEmmanuel Vadot reg = <0x101>; 938bab661aSEmmanuel Vadot enable-method = "psci"; 948bab661aSEmmanuel Vadot cpu-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>; 958bab661aSEmmanuel Vadot capacity-dmips-mhz = <1024>; 968bab661aSEmmanuel Vadot next-level-cache = <&l2_1>; 978bab661aSEmmanuel Vadot #cooling-cells = <2>; 988bab661aSEmmanuel Vadot }; 998bab661aSEmmanuel Vadot 1008bab661aSEmmanuel Vadot CPU6: cpu@102 { 1018bab661aSEmmanuel Vadot device_type = "cpu"; 1028bab661aSEmmanuel Vadot compatible = "arm,cortex-a72"; 1038bab661aSEmmanuel Vadot reg = <0x102>; 1048bab661aSEmmanuel Vadot enable-method = "psci"; 1058bab661aSEmmanuel Vadot cpu-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>; 1068bab661aSEmmanuel Vadot capacity-dmips-mhz = <1024>; 1078bab661aSEmmanuel Vadot next-level-cache = <&l2_1>; 1088bab661aSEmmanuel Vadot #cooling-cells = <2>; 1098bab661aSEmmanuel Vadot }; 1108bab661aSEmmanuel Vadot 1118bab661aSEmmanuel Vadot CPU7: cpu@103 { 1128bab661aSEmmanuel Vadot device_type = "cpu"; 1138bab661aSEmmanuel Vadot compatible = "arm,cortex-a72"; 1148bab661aSEmmanuel Vadot reg = <0x103>; 1158bab661aSEmmanuel Vadot enable-method = "psci"; 1168bab661aSEmmanuel Vadot cpu-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>; 1178bab661aSEmmanuel Vadot capacity-dmips-mhz = <1024>; 1188bab661aSEmmanuel Vadot next-level-cache = <&l2_1>; 1198bab661aSEmmanuel Vadot #cooling-cells = <2>; 1208bab661aSEmmanuel Vadot }; 1218bab661aSEmmanuel Vadot 1228bab661aSEmmanuel Vadot cpu-map { 1238bab661aSEmmanuel Vadot cluster0 { 1248bab661aSEmmanuel Vadot core0 { 1258bab661aSEmmanuel Vadot cpu = <&CPU0>; 1268bab661aSEmmanuel Vadot }; 1278bab661aSEmmanuel Vadot 1288bab661aSEmmanuel Vadot core1 { 1298bab661aSEmmanuel Vadot cpu = <&CPU1>; 1308bab661aSEmmanuel Vadot }; 1318bab661aSEmmanuel Vadot 1328bab661aSEmmanuel Vadot core2 { 1338bab661aSEmmanuel Vadot cpu = <&CPU2>; 1348bab661aSEmmanuel Vadot }; 1358bab661aSEmmanuel Vadot 1368bab661aSEmmanuel Vadot core3 { 1378bab661aSEmmanuel Vadot cpu = <&CPU3>; 1388bab661aSEmmanuel Vadot }; 1398bab661aSEmmanuel Vadot }; 1408bab661aSEmmanuel Vadot 1418bab661aSEmmanuel Vadot cluster1 { 1428bab661aSEmmanuel Vadot core0 { 1438bab661aSEmmanuel Vadot cpu = <&CPU4>; 1448bab661aSEmmanuel Vadot }; 1458bab661aSEmmanuel Vadot 1468bab661aSEmmanuel Vadot core1 { 1478bab661aSEmmanuel Vadot cpu = <&CPU5>; 1488bab661aSEmmanuel Vadot }; 1498bab661aSEmmanuel Vadot 1508bab661aSEmmanuel Vadot core2 { 1518bab661aSEmmanuel Vadot cpu = <&CPU6>; 1528bab661aSEmmanuel Vadot }; 1538bab661aSEmmanuel Vadot 1548bab661aSEmmanuel Vadot core3 { 1558bab661aSEmmanuel Vadot cpu = <&CPU7>; 1568bab661aSEmmanuel Vadot }; 1578bab661aSEmmanuel Vadot }; 1588bab661aSEmmanuel Vadot }; 1598bab661aSEmmanuel Vadot 1608bab661aSEmmanuel Vadot idle-states { 1618bab661aSEmmanuel Vadot entry-method = "psci"; 1628bab661aSEmmanuel Vadot 1638bab661aSEmmanuel Vadot little_cpu_sleep_0: cpu-sleep-0-0 { 1648bab661aSEmmanuel Vadot compatible = "arm,idle-state"; 1658bab661aSEmmanuel Vadot idle-state-name = "little-power-collapse"; 1668bab661aSEmmanuel Vadot arm,psci-suspend-param = <0x40000003>; 1678bab661aSEmmanuel Vadot entry-latency-us = <181>; 1688bab661aSEmmanuel Vadot exit-latency-us = <149>; 1698bab661aSEmmanuel Vadot min-residency-us = <703>; 1708bab661aSEmmanuel Vadot local-timer-stop; 1718bab661aSEmmanuel Vadot }; 1728bab661aSEmmanuel Vadot 1738bab661aSEmmanuel Vadot big_cpu_sleep_0: cpu-sleep-1-0 { 1748bab661aSEmmanuel Vadot compatible = "arm,idle-state"; 1758bab661aSEmmanuel Vadot idle-state-name = "big-retention"; 1768bab661aSEmmanuel Vadot arm,psci-suspend-param = <0x00000002>; 1778bab661aSEmmanuel Vadot entry-latency-us = <142>; 1788bab661aSEmmanuel Vadot exit-latency-us = <99>; 1798bab661aSEmmanuel Vadot min-residency-us = <242>; 1808bab661aSEmmanuel Vadot }; 1818bab661aSEmmanuel Vadot 1828bab661aSEmmanuel Vadot big_cpu_sleep_1: cpu-sleep-1-1 { 1838bab661aSEmmanuel Vadot compatible = "arm,idle-state"; 1848bab661aSEmmanuel Vadot idle-state-name = "big-power-collapse"; 1858bab661aSEmmanuel Vadot arm,psci-suspend-param = <0x40000003>; 1868bab661aSEmmanuel Vadot entry-latency-us = <158>; 1878bab661aSEmmanuel Vadot exit-latency-us = <144>; 1888bab661aSEmmanuel Vadot min-residency-us = <863>; 1898bab661aSEmmanuel Vadot local-timer-stop; 1908bab661aSEmmanuel Vadot }; 1918bab661aSEmmanuel Vadot }; 1928bab661aSEmmanuel Vadot 1938bab661aSEmmanuel Vadot l2_0: l2-cache0 { 1948bab661aSEmmanuel Vadot compatible = "cache"; 1958bab661aSEmmanuel Vadot cache-level = <2>; 196fac71e4eSEmmanuel Vadot cache-unified; 1978bab661aSEmmanuel Vadot }; 1988bab661aSEmmanuel Vadot 1998bab661aSEmmanuel Vadot l2_1: l2-cache1 { 2008bab661aSEmmanuel Vadot compatible = "cache"; 2018bab661aSEmmanuel Vadot cache-level = <2>; 202fac71e4eSEmmanuel Vadot cache-unified; 2038bab661aSEmmanuel Vadot }; 2048bab661aSEmmanuel Vadot }; 2058bab661aSEmmanuel Vadot 2068bab661aSEmmanuel Vadot firmware { 2078bab661aSEmmanuel Vadot scm: scm { 2088bab661aSEmmanuel Vadot compatible = "qcom,scm-msm8976", "qcom,scm"; 2098bab661aSEmmanuel Vadot clocks = <&gcc GCC_CRYPTO_CLK>, 2108bab661aSEmmanuel Vadot <&gcc GCC_CRYPTO_AXI_CLK>, 2118bab661aSEmmanuel Vadot <&gcc GCC_CRYPTO_AHB_CLK>; 2128bab661aSEmmanuel Vadot clock-names = "core", "bus", "iface"; 2138bab661aSEmmanuel Vadot #reset-cells = <1>; 2148bab661aSEmmanuel Vadot 2158bab661aSEmmanuel Vadot qcom,dload-mode = <&tcsr 0x6100>; 2168bab661aSEmmanuel Vadot }; 2178bab661aSEmmanuel Vadot }; 2188bab661aSEmmanuel Vadot 2198bab661aSEmmanuel Vadot memory@80000000 { 2208bab661aSEmmanuel Vadot device_type = "memory"; 2218bab661aSEmmanuel Vadot /* We expect the bootloader to fill in the size */ 2228bab661aSEmmanuel Vadot reg = <0x0 0x80000000 0x0 0x0>; 2238bab661aSEmmanuel Vadot }; 2248bab661aSEmmanuel Vadot 2258bab661aSEmmanuel Vadot pmu: pmu { 2268bab661aSEmmanuel Vadot compatible = "arm,armv8-pmuv3"; 2278bab661aSEmmanuel Vadot interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; 2288bab661aSEmmanuel Vadot }; 2298bab661aSEmmanuel Vadot 2308bab661aSEmmanuel Vadot psci { 2318bab661aSEmmanuel Vadot compatible = "arm,psci-1.0"; 2328bab661aSEmmanuel Vadot method = "smc"; 2338bab661aSEmmanuel Vadot }; 2348bab661aSEmmanuel Vadot 235aa1a8ff2SEmmanuel Vadot rpm: remoteproc { 236aa1a8ff2SEmmanuel Vadot compatible = "qcom,msm8976-rpm-proc", "qcom,rpm-proc"; 237aa1a8ff2SEmmanuel Vadot 238aa1a8ff2SEmmanuel Vadot smd-edge { 239aa1a8ff2SEmmanuel Vadot interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; 240aa1a8ff2SEmmanuel Vadot qcom,ipc = <&apcs 8 0>; 241aa1a8ff2SEmmanuel Vadot qcom,smd-edge = <15>; 242aa1a8ff2SEmmanuel Vadot 243aa1a8ff2SEmmanuel Vadot rpm_requests: rpm-requests { 244aa1a8ff2SEmmanuel Vadot compatible = "qcom,rpm-msm8976"; 245aa1a8ff2SEmmanuel Vadot qcom,smd-channels = "rpm_requests"; 246aa1a8ff2SEmmanuel Vadot 247aa1a8ff2SEmmanuel Vadot rpmcc: clock-controller { 248aa1a8ff2SEmmanuel Vadot compatible = "qcom,rpmcc-msm8976", "qcom,rpmcc"; 249aa1a8ff2SEmmanuel Vadot clocks = <&xo_board>; 250aa1a8ff2SEmmanuel Vadot clock-names = "xo"; 251aa1a8ff2SEmmanuel Vadot #clock-cells = <1>; 252aa1a8ff2SEmmanuel Vadot }; 253aa1a8ff2SEmmanuel Vadot 254aa1a8ff2SEmmanuel Vadot rpmpd: power-controller { 255aa1a8ff2SEmmanuel Vadot compatible = "qcom,msm8976-rpmpd"; 256aa1a8ff2SEmmanuel Vadot #power-domain-cells = <1>; 257aa1a8ff2SEmmanuel Vadot operating-points-v2 = <&rpmpd_opp_table>; 258aa1a8ff2SEmmanuel Vadot 259aa1a8ff2SEmmanuel Vadot rpmpd_opp_table: opp-table { 260aa1a8ff2SEmmanuel Vadot compatible = "operating-points-v2"; 261aa1a8ff2SEmmanuel Vadot 262aa1a8ff2SEmmanuel Vadot rpmpd_opp_ret: opp1 { 263aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_RETENTION>; 264aa1a8ff2SEmmanuel Vadot }; 265aa1a8ff2SEmmanuel Vadot 266aa1a8ff2SEmmanuel Vadot rpmpd_opp_ret_plus: opp2 { 267aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>; 268aa1a8ff2SEmmanuel Vadot }; 269aa1a8ff2SEmmanuel Vadot 270aa1a8ff2SEmmanuel Vadot rpmpd_opp_min_svs: opp3 { 271aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_MIN_SVS>; 272aa1a8ff2SEmmanuel Vadot }; 273aa1a8ff2SEmmanuel Vadot 274aa1a8ff2SEmmanuel Vadot rpmpd_opp_low_svs: opp4 { 275aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_LOW_SVS>; 276aa1a8ff2SEmmanuel Vadot }; 277aa1a8ff2SEmmanuel Vadot 278aa1a8ff2SEmmanuel Vadot rpmpd_opp_svs: opp5 { 279aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_SVS>; 280aa1a8ff2SEmmanuel Vadot }; 281aa1a8ff2SEmmanuel Vadot 282aa1a8ff2SEmmanuel Vadot rpmpd_opp_svs_plus: opp6 { 283aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; 284aa1a8ff2SEmmanuel Vadot }; 285aa1a8ff2SEmmanuel Vadot 286aa1a8ff2SEmmanuel Vadot rpmpd_opp_nom: opp7 { 287aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_NOM>; 288aa1a8ff2SEmmanuel Vadot }; 289aa1a8ff2SEmmanuel Vadot 290aa1a8ff2SEmmanuel Vadot rpmpd_opp_nom_plus: opp8 { 291aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; 292aa1a8ff2SEmmanuel Vadot }; 293aa1a8ff2SEmmanuel Vadot 294aa1a8ff2SEmmanuel Vadot rpmpd_opp_turbo: opp9 { 295aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_TURBO>; 296aa1a8ff2SEmmanuel Vadot }; 297aa1a8ff2SEmmanuel Vadot 298aa1a8ff2SEmmanuel Vadot rpmpd_opp_turbo_no_cpr: opp10 { 299aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_TURBO_NO_CPR>; 300aa1a8ff2SEmmanuel Vadot }; 301aa1a8ff2SEmmanuel Vadot 302aa1a8ff2SEmmanuel Vadot rpmpd_opp_turbo_high: opp111 { 303aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_TURBO_HIGH>; 304aa1a8ff2SEmmanuel Vadot }; 305aa1a8ff2SEmmanuel Vadot }; 306aa1a8ff2SEmmanuel Vadot }; 307aa1a8ff2SEmmanuel Vadot }; 308aa1a8ff2SEmmanuel Vadot }; 309aa1a8ff2SEmmanuel Vadot }; 310aa1a8ff2SEmmanuel Vadot 3118bab661aSEmmanuel Vadot reserved-memory { 3128bab661aSEmmanuel Vadot #address-cells = <2>; 3138bab661aSEmmanuel Vadot #size-cells = <2>; 3148bab661aSEmmanuel Vadot ranges; 3158bab661aSEmmanuel Vadot 3168bab661aSEmmanuel Vadot ext-region@85b00000 { 3178bab661aSEmmanuel Vadot reg = <0x0 0x85b00000 0x0 0x500000>; 3188bab661aSEmmanuel Vadot no-map; 3198bab661aSEmmanuel Vadot }; 3208bab661aSEmmanuel Vadot 3218bab661aSEmmanuel Vadot smem@86300000 { 3228bab661aSEmmanuel Vadot compatible = "qcom,smem"; 3238bab661aSEmmanuel Vadot reg = <0x0 0x86300000 0x0 0x100000>; 3248bab661aSEmmanuel Vadot no-map; 3258bab661aSEmmanuel Vadot 3268bab661aSEmmanuel Vadot hwlocks = <&tcsr_mutex 3>; 3278bab661aSEmmanuel Vadot qcom,rpm-msg-ram = <&rpm_msg_ram>; 3288bab661aSEmmanuel Vadot }; 3298bab661aSEmmanuel Vadot 3308bab661aSEmmanuel Vadot reserved@86400000 { 3318bab661aSEmmanuel Vadot reg = <0x0 0x86400000 0x0 0x800000>; 3328bab661aSEmmanuel Vadot no-map; 3338bab661aSEmmanuel Vadot }; 3348bab661aSEmmanuel Vadot 3358bab661aSEmmanuel Vadot mpss_mem: mpss@86c00000 { 3368bab661aSEmmanuel Vadot reg = <0x0 0x86c00000 0x0 0x5600000>; 3378bab661aSEmmanuel Vadot no-map; 3388bab661aSEmmanuel Vadot }; 3398bab661aSEmmanuel Vadot 3408bab661aSEmmanuel Vadot lpass_mem: lpass@8c200000 { 341*84943d6fSEmmanuel Vadot reg = <0x0 0x8c200000 0x0 0x1000000>; 342*84943d6fSEmmanuel Vadot no-map; 343*84943d6fSEmmanuel Vadot }; 344*84943d6fSEmmanuel Vadot 345*84943d6fSEmmanuel Vadot wcnss_fw_mem: wcnss@8d200000 { 346*84943d6fSEmmanuel Vadot reg = <0x0 0x8d200000 0x0 0x800000>; 3478bab661aSEmmanuel Vadot no-map; 3488bab661aSEmmanuel Vadot }; 3498bab661aSEmmanuel Vadot 3508bab661aSEmmanuel Vadot venus_mem: memory@8da00000 { 3518bab661aSEmmanuel Vadot reg = <0x0 0x8da00000 0x0 0x2600000>; 3528bab661aSEmmanuel Vadot no-map; 3538bab661aSEmmanuel Vadot }; 3548bab661aSEmmanuel Vadot 3558bab661aSEmmanuel Vadot tz-apps@8dd00000 { 3568bab661aSEmmanuel Vadot reg = <0x0 0x8dd00000 0x0 0x1400000>; 3578bab661aSEmmanuel Vadot no-map; 3588bab661aSEmmanuel Vadot }; 3598bab661aSEmmanuel Vadot }; 3608bab661aSEmmanuel Vadot 3618bab661aSEmmanuel Vadot smp2p-hexagon { 3628bab661aSEmmanuel Vadot compatible = "qcom,smp2p"; 3638bab661aSEmmanuel Vadot interrupts = <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>; 3648bab661aSEmmanuel Vadot qcom,ipc = <&apcs 8 10>; 3658bab661aSEmmanuel Vadot 3668bab661aSEmmanuel Vadot qcom,local-pid = <0>; 3678bab661aSEmmanuel Vadot qcom,remote-pid = <2>; 3688bab661aSEmmanuel Vadot qcom,smem = <443>, <429>; 3698bab661aSEmmanuel Vadot 3708bab661aSEmmanuel Vadot adsp_smp2p_out: master-kernel { 3718bab661aSEmmanuel Vadot qcom,entry-name = "master-kernel"; 3728bab661aSEmmanuel Vadot 3738bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 3748bab661aSEmmanuel Vadot }; 3758bab661aSEmmanuel Vadot 3768bab661aSEmmanuel Vadot adsp_smp2p_in: slave-kernel { 3778bab661aSEmmanuel Vadot qcom,entry-name = "slave-kernel"; 3788bab661aSEmmanuel Vadot 3798bab661aSEmmanuel Vadot interrupt-controller; 3808bab661aSEmmanuel Vadot #interrupt-cells = <2>; 3818bab661aSEmmanuel Vadot }; 3828bab661aSEmmanuel Vadot }; 3838bab661aSEmmanuel Vadot 3848bab661aSEmmanuel Vadot smp2p-modem { 3858bab661aSEmmanuel Vadot compatible = "qcom,smp2p"; 3868bab661aSEmmanuel Vadot interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>; 387*84943d6fSEmmanuel Vadot qcom,ipc = <&apcs 8 14>; 3888bab661aSEmmanuel Vadot 3898bab661aSEmmanuel Vadot qcom,local-pid = <0>; 3908bab661aSEmmanuel Vadot qcom,remote-pid = <1>; 3918bab661aSEmmanuel Vadot qcom,smem = <435>, <428>; 3928bab661aSEmmanuel Vadot 3938bab661aSEmmanuel Vadot modem_smp2p_out: master-kernel { 3948bab661aSEmmanuel Vadot qcom,entry-name = "master-kernel"; 3958bab661aSEmmanuel Vadot 3968bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 3978bab661aSEmmanuel Vadot }; 3988bab661aSEmmanuel Vadot 3998bab661aSEmmanuel Vadot modem_smp2p_in: slave-kernel { 4008bab661aSEmmanuel Vadot qcom,entry-name = "slave-kernel"; 4018bab661aSEmmanuel Vadot 4028bab661aSEmmanuel Vadot interrupt-controller; 4038bab661aSEmmanuel Vadot #interrupt-cells = <2>; 4048bab661aSEmmanuel Vadot }; 4058bab661aSEmmanuel Vadot }; 4068bab661aSEmmanuel Vadot 4078bab661aSEmmanuel Vadot smp2p-wcnss { 4088bab661aSEmmanuel Vadot compatible = "qcom,smp2p"; 4098bab661aSEmmanuel Vadot interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>; 410*84943d6fSEmmanuel Vadot qcom,ipc = <&apcs 8 18>; 4118bab661aSEmmanuel Vadot 4128bab661aSEmmanuel Vadot qcom,local-pid = <0>; 4138bab661aSEmmanuel Vadot qcom,remote-pid = <4>; 4148bab661aSEmmanuel Vadot qcom,smem = <451>, <431>; 4158bab661aSEmmanuel Vadot 4168bab661aSEmmanuel Vadot wcnss_smp2p_out: master-kernel { 4178bab661aSEmmanuel Vadot qcom,entry-name = "master-kernel"; 4188bab661aSEmmanuel Vadot 4198bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 4208bab661aSEmmanuel Vadot }; 4218bab661aSEmmanuel Vadot 4228bab661aSEmmanuel Vadot wcnss_smp2p_in: slave-kernel { 4238bab661aSEmmanuel Vadot qcom,entry-name = "slave-kernel"; 4248bab661aSEmmanuel Vadot 4258bab661aSEmmanuel Vadot interrupt-controller; 4268bab661aSEmmanuel Vadot #interrupt-cells = <2>; 4278bab661aSEmmanuel Vadot }; 4288bab661aSEmmanuel Vadot }; 4298bab661aSEmmanuel Vadot 4308bab661aSEmmanuel Vadot smsm { 4318bab661aSEmmanuel Vadot compatible = "qcom,smsm"; 4328bab661aSEmmanuel Vadot 4338bab661aSEmmanuel Vadot #address-cells = <1>; 4348bab661aSEmmanuel Vadot #size-cells = <0>; 4358bab661aSEmmanuel Vadot 436*84943d6fSEmmanuel Vadot qcom,ipc-1 = <&apcs 8 13>; 4378bab661aSEmmanuel Vadot qcom,ipc-2 = <&apcs 8 9>; 438*84943d6fSEmmanuel Vadot qcom,ipc-3 = <&apcs 8 19>; 4398bab661aSEmmanuel Vadot 4408bab661aSEmmanuel Vadot apps_smsm: apps@0 { 4418bab661aSEmmanuel Vadot reg = <0>; 4428bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 4438bab661aSEmmanuel Vadot }; 4448bab661aSEmmanuel Vadot 4458bab661aSEmmanuel Vadot hexagon_smsm: hexagon@1 { 4468bab661aSEmmanuel Vadot reg = <1>; 447aa1a8ff2SEmmanuel Vadot interrupts = <GIC_SPI 290 IRQ_TYPE_EDGE_RISING>; 4488bab661aSEmmanuel Vadot 4498bab661aSEmmanuel Vadot interrupt-controller; 4508bab661aSEmmanuel Vadot #interrupt-cells = <2>; 4518bab661aSEmmanuel Vadot }; 4528bab661aSEmmanuel Vadot 4538bab661aSEmmanuel Vadot wcnss_smsm: wcnss@6 { 4548bab661aSEmmanuel Vadot reg = <6>; 4558bab661aSEmmanuel Vadot interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>; 4568bab661aSEmmanuel Vadot 4578bab661aSEmmanuel Vadot interrupt-controller; 4588bab661aSEmmanuel Vadot #interrupt-cells = <2>; 4598bab661aSEmmanuel Vadot }; 4608bab661aSEmmanuel Vadot }; 4618bab661aSEmmanuel Vadot 4628bab661aSEmmanuel Vadot soc: soc@0 { 4638bab661aSEmmanuel Vadot #address-cells = <1>; 4648bab661aSEmmanuel Vadot #size-cells = <1>; 4658bab661aSEmmanuel Vadot ranges = <0 0 0 0xffffffff>; 4668bab661aSEmmanuel Vadot compatible = "simple-bus"; 4678bab661aSEmmanuel Vadot 4688bab661aSEmmanuel Vadot rng@22000 { 4698bab661aSEmmanuel Vadot compatible = "qcom,prng"; 4708bab661aSEmmanuel Vadot reg = <0x00022000 0x140>; 4718bab661aSEmmanuel Vadot clocks = <&gcc GCC_PRNG_AHB_CLK>; 4728bab661aSEmmanuel Vadot clock-names = "core"; 4738bab661aSEmmanuel Vadot }; 4748bab661aSEmmanuel Vadot 4758bab661aSEmmanuel Vadot rpm_msg_ram: sram@60000 { 4768bab661aSEmmanuel Vadot compatible = "qcom,rpm-msg-ram"; 4778bab661aSEmmanuel Vadot reg = <0x00060000 0x8000>; 4788bab661aSEmmanuel Vadot }; 4798bab661aSEmmanuel Vadot 4808bab661aSEmmanuel Vadot usb_hs_phy: phy@6c000 { 4818bab661aSEmmanuel Vadot compatible = "qcom,usb-hs-28nm-femtophy"; 4828bab661aSEmmanuel Vadot reg = <0x0006c000 0x200>; 4838bab661aSEmmanuel Vadot #phy-cells = <0>; 4848bab661aSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 4858bab661aSEmmanuel Vadot <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, 4868bab661aSEmmanuel Vadot <&gcc GCC_USB2A_PHY_SLEEP_CLK>; 4878bab661aSEmmanuel Vadot clock-names = "ref", "ahb", "sleep"; 4888bab661aSEmmanuel Vadot resets = <&gcc RST_QUSB2_PHY_BCR>, 4898bab661aSEmmanuel Vadot <&gcc RST_USB2_HS_PHY_ONLY_BCR>; 4908bab661aSEmmanuel Vadot reset-names = "phy", "por"; 4918bab661aSEmmanuel Vadot status = "disabled"; 4928bab661aSEmmanuel Vadot }; 4938bab661aSEmmanuel Vadot 4948bab661aSEmmanuel Vadot qfprom: qfprom@a4000 { 4958bab661aSEmmanuel Vadot compatible = "qcom,msm8976-qfprom", "qcom,qfprom"; 4968bab661aSEmmanuel Vadot reg = <0x000a4000 0x1000>; 4978bab661aSEmmanuel Vadot #address-cells = <1>; 4988bab661aSEmmanuel Vadot #size-cells = <1>; 4998bab661aSEmmanuel Vadot 500cb7aa33aSEmmanuel Vadot tsens_base1: base1@218 { 501cb7aa33aSEmmanuel Vadot reg = <0x218 1>; 502cb7aa33aSEmmanuel Vadot bits = <0 8>; 503cb7aa33aSEmmanuel Vadot }; 504cb7aa33aSEmmanuel Vadot 505cb7aa33aSEmmanuel Vadot tsens_s0_p1: s0-p1@219 { 506cb7aa33aSEmmanuel Vadot reg = <0x219 0x1>; 507cb7aa33aSEmmanuel Vadot bits = <0 6>; 508cb7aa33aSEmmanuel Vadot }; 509cb7aa33aSEmmanuel Vadot 510cb7aa33aSEmmanuel Vadot tsens_s0_p2: s0-p2@219 { 511cb7aa33aSEmmanuel Vadot reg = <0x219 0x2>; 512cb7aa33aSEmmanuel Vadot bits = <6 6>; 513cb7aa33aSEmmanuel Vadot }; 514cb7aa33aSEmmanuel Vadot 515cb7aa33aSEmmanuel Vadot tsens_s1_p1: s1-p1@21a { 516cb7aa33aSEmmanuel Vadot reg = <0x21a 0x2>; 517cb7aa33aSEmmanuel Vadot bits = <4 6>; 518cb7aa33aSEmmanuel Vadot }; 519cb7aa33aSEmmanuel Vadot 520cb7aa33aSEmmanuel Vadot tsens_s1_p2: s1-p2@21b { 521cb7aa33aSEmmanuel Vadot reg = <0x21b 0x1>; 522cb7aa33aSEmmanuel Vadot bits = <2 6>; 523cb7aa33aSEmmanuel Vadot }; 524cb7aa33aSEmmanuel Vadot 525cb7aa33aSEmmanuel Vadot tsens_s2_p1: s2-p1@21c { 526cb7aa33aSEmmanuel Vadot reg = <0x21c 0x1>; 527cb7aa33aSEmmanuel Vadot bits = <0 6>; 528cb7aa33aSEmmanuel Vadot }; 529cb7aa33aSEmmanuel Vadot 530cb7aa33aSEmmanuel Vadot tsens_s2_p2: s2-p2@21c { 531cb7aa33aSEmmanuel Vadot reg = <0x21c 0x2>; 532cb7aa33aSEmmanuel Vadot bits = <6 6>; 533cb7aa33aSEmmanuel Vadot }; 534cb7aa33aSEmmanuel Vadot 535cb7aa33aSEmmanuel Vadot tsens_s3_p1: s3-p1@21d { 536cb7aa33aSEmmanuel Vadot reg = <0x21d 0x2>; 537cb7aa33aSEmmanuel Vadot bits = <4 6>; 538cb7aa33aSEmmanuel Vadot }; 539cb7aa33aSEmmanuel Vadot 540cb7aa33aSEmmanuel Vadot tsens_s3_p2: s3-p2@21e { 541cb7aa33aSEmmanuel Vadot reg = <0x21e 0x1>; 542cb7aa33aSEmmanuel Vadot bits = <2 6>; 543cb7aa33aSEmmanuel Vadot }; 544cb7aa33aSEmmanuel Vadot 545cb7aa33aSEmmanuel Vadot tsens_base2: base2@220 { 546cb7aa33aSEmmanuel Vadot reg = <0x220 1>; 547cb7aa33aSEmmanuel Vadot bits = <0 8>; 548cb7aa33aSEmmanuel Vadot }; 549cb7aa33aSEmmanuel Vadot 550cb7aa33aSEmmanuel Vadot tsens_s4_p1: s4-p1@221 { 551cb7aa33aSEmmanuel Vadot reg = <0x221 0x1>; 552cb7aa33aSEmmanuel Vadot bits = <0 6>; 553cb7aa33aSEmmanuel Vadot }; 554cb7aa33aSEmmanuel Vadot 555cb7aa33aSEmmanuel Vadot tsens_s4_p2: s4-p2@221 { 556cb7aa33aSEmmanuel Vadot reg = <0x221 0x2>; 557cb7aa33aSEmmanuel Vadot bits = <6 6>; 558cb7aa33aSEmmanuel Vadot }; 559cb7aa33aSEmmanuel Vadot 560cb7aa33aSEmmanuel Vadot tsens_s5_p1: s5-p1@222 { 561cb7aa33aSEmmanuel Vadot reg = <0x222 0x2>; 562cb7aa33aSEmmanuel Vadot bits = <4 6>; 563cb7aa33aSEmmanuel Vadot }; 564cb7aa33aSEmmanuel Vadot 565cb7aa33aSEmmanuel Vadot tsens_s5_p2: s5-p2@223 { 566cb7aa33aSEmmanuel Vadot reg = <0x224 0x1>; 567cb7aa33aSEmmanuel Vadot bits = <2 6>; 568cb7aa33aSEmmanuel Vadot }; 569cb7aa33aSEmmanuel Vadot 570cb7aa33aSEmmanuel Vadot tsens_s6_p1: s6-p1@224 { 571cb7aa33aSEmmanuel Vadot reg = <0x224 0x1>; 572cb7aa33aSEmmanuel Vadot bits = <0 6>; 573cb7aa33aSEmmanuel Vadot }; 574cb7aa33aSEmmanuel Vadot 575cb7aa33aSEmmanuel Vadot tsens_s6_p2: s6-p2@224 { 576cb7aa33aSEmmanuel Vadot reg = <0x224 0x2>; 577cb7aa33aSEmmanuel Vadot bits = <6 6>; 578cb7aa33aSEmmanuel Vadot }; 579cb7aa33aSEmmanuel Vadot 580cb7aa33aSEmmanuel Vadot tsens_s7_p1: s7-p1@225 { 581cb7aa33aSEmmanuel Vadot reg = <0x225 0x2>; 582cb7aa33aSEmmanuel Vadot bits = <4 6>; 583cb7aa33aSEmmanuel Vadot }; 584cb7aa33aSEmmanuel Vadot 585cb7aa33aSEmmanuel Vadot tsens_s7_p2: s7-p2@226 { 586cb7aa33aSEmmanuel Vadot reg = <0x226 0x2>; 587cb7aa33aSEmmanuel Vadot bits = <2 6>; 588cb7aa33aSEmmanuel Vadot }; 589cb7aa33aSEmmanuel Vadot 590cb7aa33aSEmmanuel Vadot tsens_mode: mode@228 { 591cb7aa33aSEmmanuel Vadot reg = <0x228 1>; 592cb7aa33aSEmmanuel Vadot bits = <0 3>; 593cb7aa33aSEmmanuel Vadot }; 594cb7aa33aSEmmanuel Vadot 595cb7aa33aSEmmanuel Vadot tsens_s8_p1: s8-p1@228 { 596cb7aa33aSEmmanuel Vadot reg = <0x228 0x2>; 597cb7aa33aSEmmanuel Vadot bits = <3 6>; 598cb7aa33aSEmmanuel Vadot }; 599cb7aa33aSEmmanuel Vadot 600cb7aa33aSEmmanuel Vadot tsens_s8_p2: s8-p2@229 { 601cb7aa33aSEmmanuel Vadot reg = <0x229 0x1>; 602cb7aa33aSEmmanuel Vadot bits = <1 6>; 603cb7aa33aSEmmanuel Vadot }; 604cb7aa33aSEmmanuel Vadot 605cb7aa33aSEmmanuel Vadot tsens_s9_p1: s9-p1@229 { 606cb7aa33aSEmmanuel Vadot reg = <0x229 0x2>; 607cb7aa33aSEmmanuel Vadot bits = <7 6>; 608cb7aa33aSEmmanuel Vadot }; 609cb7aa33aSEmmanuel Vadot 610cb7aa33aSEmmanuel Vadot tsens_s9_p2: s9-p2@22a { 611cb7aa33aSEmmanuel Vadot reg = <0x22a 0x2>; 612cb7aa33aSEmmanuel Vadot bits = <5 6>; 613cb7aa33aSEmmanuel Vadot }; 614cb7aa33aSEmmanuel Vadot 615cb7aa33aSEmmanuel Vadot tsens_s10_p1: s10-p1@22b { 616cb7aa33aSEmmanuel Vadot reg = <0x22b 0x2>; 617cb7aa33aSEmmanuel Vadot bits = <3 6>; 618cb7aa33aSEmmanuel Vadot }; 619cb7aa33aSEmmanuel Vadot 620cb7aa33aSEmmanuel Vadot tsens_s10_p2: s10-p2@22c { 621cb7aa33aSEmmanuel Vadot reg = <0x22c 0x1>; 622cb7aa33aSEmmanuel Vadot bits = <1 6>; 6238bab661aSEmmanuel Vadot }; 6248bab661aSEmmanuel Vadot }; 6258bab661aSEmmanuel Vadot 6268bab661aSEmmanuel Vadot tsens: thermal-sensor@4a9000 { 6278bab661aSEmmanuel Vadot compatible = "qcom,msm8976-tsens", "qcom,tsens-v1"; 6288bab661aSEmmanuel Vadot reg = <0x004a9000 0x1000>, /* TM */ 6298bab661aSEmmanuel Vadot <0x004a8000 0x1000>; /* SROT */ 6308bab661aSEmmanuel Vadot interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 6318bab661aSEmmanuel Vadot interrupt-names = "uplow"; 632cb7aa33aSEmmanuel Vadot nvmem-cells = <&tsens_mode>, 633cb7aa33aSEmmanuel Vadot <&tsens_base1>, <&tsens_base2>, 634cb7aa33aSEmmanuel Vadot <&tsens_s0_p1>, <&tsens_s0_p2>, 635cb7aa33aSEmmanuel Vadot <&tsens_s1_p1>, <&tsens_s1_p2>, 636cb7aa33aSEmmanuel Vadot <&tsens_s2_p1>, <&tsens_s2_p2>, 637cb7aa33aSEmmanuel Vadot <&tsens_s3_p1>, <&tsens_s3_p2>, 638cb7aa33aSEmmanuel Vadot <&tsens_s4_p1>, <&tsens_s4_p2>, 639cb7aa33aSEmmanuel Vadot <&tsens_s5_p1>, <&tsens_s5_p2>, 640cb7aa33aSEmmanuel Vadot <&tsens_s6_p1>, <&tsens_s6_p2>, 641cb7aa33aSEmmanuel Vadot <&tsens_s7_p1>, <&tsens_s7_p2>, 642cb7aa33aSEmmanuel Vadot <&tsens_s8_p1>, <&tsens_s8_p2>, 643cb7aa33aSEmmanuel Vadot <&tsens_s9_p1>, <&tsens_s9_p2>, 644cb7aa33aSEmmanuel Vadot <&tsens_s10_p1>, <&tsens_s10_p2>; 645cb7aa33aSEmmanuel Vadot nvmem-cell-names = "mode", 646cb7aa33aSEmmanuel Vadot "base1", "base2", 647cb7aa33aSEmmanuel Vadot "s0_p1", "s0_p2", 648cb7aa33aSEmmanuel Vadot "s1_p1", "s1_p2", 649cb7aa33aSEmmanuel Vadot "s2_p1", "s2_p2", 650cb7aa33aSEmmanuel Vadot "s3_p1", "s3_p2", 651cb7aa33aSEmmanuel Vadot "s4_p1", "s4_p2", 652cb7aa33aSEmmanuel Vadot "s5_p1", "s5_p2", 653cb7aa33aSEmmanuel Vadot "s6_p1", "s6_p2", 654cb7aa33aSEmmanuel Vadot "s7_p1", "s7_p2", 655cb7aa33aSEmmanuel Vadot "s8_p1", "s8_p2", 656cb7aa33aSEmmanuel Vadot "s9_p1", "s9_p2", 657cb7aa33aSEmmanuel Vadot "s10_p1", "s10_p2"; 6588bab661aSEmmanuel Vadot #qcom,sensors = <11>; 6598bab661aSEmmanuel Vadot #thermal-sensor-cells = <1>; 6608bab661aSEmmanuel Vadot }; 6618bab661aSEmmanuel Vadot 6628bab661aSEmmanuel Vadot tlmm: pinctrl@1000000 { 6638bab661aSEmmanuel Vadot compatible = "qcom,msm8976-pinctrl"; 6648bab661aSEmmanuel Vadot reg = <0x01000000 0x300000>; 6658bab661aSEmmanuel Vadot interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 6668bab661aSEmmanuel Vadot #gpio-cells = <2>; 6678bab661aSEmmanuel Vadot gpio-controller; 6688bab661aSEmmanuel Vadot gpio-ranges = <&tlmm 0 0 145>; 6698bab661aSEmmanuel Vadot interrupt-controller; 6708bab661aSEmmanuel Vadot #interrupt-cells = <2>; 6718bab661aSEmmanuel Vadot 6728bab661aSEmmanuel Vadot spi1_default: spi0-default-state { 6738bab661aSEmmanuel Vadot spi-pins { 6748bab661aSEmmanuel Vadot pins = "gpio0", "gpio1", "gpio3"; 6758bab661aSEmmanuel Vadot function = "blsp_spi1"; 6768bab661aSEmmanuel Vadot drive-strength = <12>; 6778bab661aSEmmanuel Vadot bias-disable; 6788bab661aSEmmanuel Vadot }; 6798bab661aSEmmanuel Vadot 6808bab661aSEmmanuel Vadot cs-pins { 6818bab661aSEmmanuel Vadot pins = "gpio2"; 6828bab661aSEmmanuel Vadot function = "blsp_spi1"; 6838bab661aSEmmanuel Vadot drive-strength = <2>; 6848bab661aSEmmanuel Vadot bias-disable; 6858bab661aSEmmanuel Vadot }; 6868bab661aSEmmanuel Vadot }; 6878bab661aSEmmanuel Vadot 6888bab661aSEmmanuel Vadot spi1_sleep: spi0-sleep-state { 6898bab661aSEmmanuel Vadot spi-pins { 6908bab661aSEmmanuel Vadot pins = "gpio0", "gpio1", "gpio3"; 6918bab661aSEmmanuel Vadot function = "gpio"; 6928bab661aSEmmanuel Vadot drive-strength = <2>; 6938bab661aSEmmanuel Vadot bias-pull-down; 6948bab661aSEmmanuel Vadot }; 6958bab661aSEmmanuel Vadot 6968bab661aSEmmanuel Vadot cs-pins { 6978bab661aSEmmanuel Vadot pins = "gpio2"; 6988bab661aSEmmanuel Vadot function = "gpio"; 6998bab661aSEmmanuel Vadot drive-strength = <2>; 7008bab661aSEmmanuel Vadot bias-disable; 7018bab661aSEmmanuel Vadot }; 7028bab661aSEmmanuel Vadot }; 7038bab661aSEmmanuel Vadot 7048bab661aSEmmanuel Vadot blsp1_i2c2_default: blsp1-i2c2-default-state { 7058bab661aSEmmanuel Vadot pins = "gpio6", "gpio7"; 7068bab661aSEmmanuel Vadot function = "blsp_i2c2"; 7078bab661aSEmmanuel Vadot drive-strength = <2>; 7088bab661aSEmmanuel Vadot bias-disable; 7098bab661aSEmmanuel Vadot }; 7108bab661aSEmmanuel Vadot 7118bab661aSEmmanuel Vadot blsp1_i2c2_sleep: blsp1-i2c2-sleep-state { 7128bab661aSEmmanuel Vadot pins = "gpio6", "gpio7"; 7138bab661aSEmmanuel Vadot function = "gpio"; 7148bab661aSEmmanuel Vadot drive-strength = <2>; 7158bab661aSEmmanuel Vadot bias-disable; 7168bab661aSEmmanuel Vadot }; 7178bab661aSEmmanuel Vadot 7188bab661aSEmmanuel Vadot blsp1_i2c4_default: blsp1-i2c4-default-state { 7198bab661aSEmmanuel Vadot pins = "gpio14", "gpio15"; 7208bab661aSEmmanuel Vadot function = "blsp_i2c4"; 7218bab661aSEmmanuel Vadot drive-strength = <2>; 7228bab661aSEmmanuel Vadot bias-disable; 7238bab661aSEmmanuel Vadot }; 7248bab661aSEmmanuel Vadot 7258bab661aSEmmanuel Vadot blsp1_i2c4_sleep: blsp1-i2c4-sleep-state { 7268bab661aSEmmanuel Vadot pins = "gpio14", "gpio15"; 7278bab661aSEmmanuel Vadot function = "gpio"; 7288bab661aSEmmanuel Vadot drive-strength = <2>; 7298bab661aSEmmanuel Vadot bias-disable; 7308bab661aSEmmanuel Vadot }; 7318bab661aSEmmanuel Vadot 7328bab661aSEmmanuel Vadot blsp2_uart2_active: blsp2-uart2-active-state { 7338bab661aSEmmanuel Vadot pins = "gpio20", "gpio21"; 7348bab661aSEmmanuel Vadot function = "blsp_uart6"; 7358bab661aSEmmanuel Vadot drive-strength = <4>; 7368bab661aSEmmanuel Vadot bias-disable; 7378bab661aSEmmanuel Vadot }; 7388bab661aSEmmanuel Vadot 7398bab661aSEmmanuel Vadot blsp2_uart2_sleep: blsp2-uart2-sleep-state { 7408bab661aSEmmanuel Vadot pins = "gpio20", "gpio21"; 7418bab661aSEmmanuel Vadot function = "gpio"; 7428bab661aSEmmanuel Vadot drive-strength = <2>; 7438bab661aSEmmanuel Vadot bias-disable; 7448bab661aSEmmanuel Vadot }; 7458bab661aSEmmanuel Vadot 7468bab661aSEmmanuel Vadot /* 4 (not 6!) interfaces per QUP, BLSP2 indexes are numbered (n)+4 */ 7478bab661aSEmmanuel Vadot blsp2_i2c2_default: blsp2-i2c2-default-state { 7488bab661aSEmmanuel Vadot pins = "gpio22", "gpio23"; 7498bab661aSEmmanuel Vadot function = "blsp_i2c6"; 7508bab661aSEmmanuel Vadot drive-strength = <2>; 7518bab661aSEmmanuel Vadot bias-disable; 7528bab661aSEmmanuel Vadot }; 7538bab661aSEmmanuel Vadot 7548bab661aSEmmanuel Vadot blsp2_i2c2_sleep: blsp2-i2c2-sleep-state { 7558bab661aSEmmanuel Vadot pins = "gpio22", "gpio23"; 7568bab661aSEmmanuel Vadot function = "gpio"; 7578bab661aSEmmanuel Vadot drive-strength = <2>; 7588bab661aSEmmanuel Vadot bias-disable; 7598bab661aSEmmanuel Vadot }; 7608bab661aSEmmanuel Vadot 7618bab661aSEmmanuel Vadot blsp2_i2c4_default: blsp2-i2c4-default-state { 7628bab661aSEmmanuel Vadot pins = "gpio18", "gpio19"; 7638bab661aSEmmanuel Vadot function = "blsp_i2c8"; 7648bab661aSEmmanuel Vadot drive-strength = <2>; 7658bab661aSEmmanuel Vadot bias-disable; 7668bab661aSEmmanuel Vadot }; 7678bab661aSEmmanuel Vadot 7688bab661aSEmmanuel Vadot blsp2_i2c4_sleep: blsp2-i2c4-sleep-state { 7698bab661aSEmmanuel Vadot pins = "gpio18", "gpio19"; 7708bab661aSEmmanuel Vadot function = "gpio"; 7718bab661aSEmmanuel Vadot drive-strength = <2>; 7728bab661aSEmmanuel Vadot bias-disable; 7738bab661aSEmmanuel Vadot }; 7748bab661aSEmmanuel Vadot }; 7758bab661aSEmmanuel Vadot 7768bab661aSEmmanuel Vadot gcc: clock-controller@1800000 { 7778bab661aSEmmanuel Vadot compatible = "qcom,gcc-msm8976"; 7788bab661aSEmmanuel Vadot reg = <0x01800000 0x80000>; 7798bab661aSEmmanuel Vadot #clock-cells = <1>; 7808bab661aSEmmanuel Vadot #reset-cells = <1>; 7818bab661aSEmmanuel Vadot #power-domain-cells = <1>; 7828bab661aSEmmanuel Vadot 7838bab661aSEmmanuel Vadot assigned-clocks = <&gcc GPLL3>; 7848bab661aSEmmanuel Vadot assigned-clock-rates = <1100000000>; 7858bab661aSEmmanuel Vadot 7868bab661aSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 7878bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_A_CLK_SRC>, 7888bab661aSEmmanuel Vadot <0>, 7898bab661aSEmmanuel Vadot <0>, 7908bab661aSEmmanuel Vadot <0>, 7918bab661aSEmmanuel Vadot <0>; 7928bab661aSEmmanuel Vadot clock-names = "xo", 7938bab661aSEmmanuel Vadot "xo_a", 7948bab661aSEmmanuel Vadot "dsi0pll", 7958bab661aSEmmanuel Vadot "dsi0pllbyte", 7968bab661aSEmmanuel Vadot "dsi1pll", 7978bab661aSEmmanuel Vadot "dsi1pllbyte"; 7988bab661aSEmmanuel Vadot }; 7998bab661aSEmmanuel Vadot 8008bab661aSEmmanuel Vadot tcsr_mutex: hwlock@1905000 { 8018bab661aSEmmanuel Vadot compatible = "qcom,tcsr-mutex"; 8028bab661aSEmmanuel Vadot reg = <0x01905000 0x20000>; 8038bab661aSEmmanuel Vadot #hwlock-cells = <1>; 8048bab661aSEmmanuel Vadot }; 8058bab661aSEmmanuel Vadot 8068bab661aSEmmanuel Vadot tcsr: syscon@1937000 { 8078bab661aSEmmanuel Vadot compatible = "qcom,msm8976-tcsr", "syscon"; 8088bab661aSEmmanuel Vadot reg = <0x01937000 0x30000>; 8098bab661aSEmmanuel Vadot }; 8108bab661aSEmmanuel Vadot 8118bab661aSEmmanuel Vadot spmi_bus: spmi@200f000 { 8128bab661aSEmmanuel Vadot compatible = "qcom,spmi-pmic-arb"; 8138bab661aSEmmanuel Vadot reg = <0x0200f000 0x1000>, 8148bab661aSEmmanuel Vadot <0x02400000 0x800000>, 8158bab661aSEmmanuel Vadot <0x02c00000 0x800000>, 8168bab661aSEmmanuel Vadot <0x03800000 0x200000>, 8178bab661aSEmmanuel Vadot <0x0200a000 0x2100>; 8188bab661aSEmmanuel Vadot reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 8198bab661aSEmmanuel Vadot interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 8208bab661aSEmmanuel Vadot interrupt-names = "periph_irq"; 8218bab661aSEmmanuel Vadot qcom,channel = <0>; 8228bab661aSEmmanuel Vadot qcom,ee = <0>; 8238bab661aSEmmanuel Vadot 8248bab661aSEmmanuel Vadot #address-cells = <2>; 8258bab661aSEmmanuel Vadot #size-cells = <0>; 8268bab661aSEmmanuel Vadot interrupt-controller; 8278bab661aSEmmanuel Vadot #interrupt-cells = <4>; 8288bab661aSEmmanuel Vadot }; 8298bab661aSEmmanuel Vadot 830f126890aSEmmanuel Vadot sdhc_1: mmc@7824900 { 8318bab661aSEmmanuel Vadot compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; 8328bab661aSEmmanuel Vadot reg = <0x07824900 0x500>, <0x07824000 0x800>; 8338bab661aSEmmanuel Vadot reg-names = "hc", "core"; 8348bab661aSEmmanuel Vadot 8358bab661aSEmmanuel Vadot interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 8368bab661aSEmmanuel Vadot <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 8378bab661aSEmmanuel Vadot interrupt-names = "hc_irq", "pwr_irq"; 8388bab661aSEmmanuel Vadot 8398bab661aSEmmanuel Vadot clocks = <&gcc GCC_SDCC1_AHB_CLK>, 8408bab661aSEmmanuel Vadot <&gcc GCC_SDCC1_APPS_CLK>, 8418bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_CLK_SRC>; 8428bab661aSEmmanuel Vadot clock-names = "iface", "core", "xo"; 8438bab661aSEmmanuel Vadot status = "disabled"; 8448bab661aSEmmanuel Vadot }; 8458bab661aSEmmanuel Vadot 846f126890aSEmmanuel Vadot sdhc_2: mmc@7864900 { 8478bab661aSEmmanuel Vadot compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; 8488bab661aSEmmanuel Vadot reg = <0x07864900 0x11c>, <0x07864000 0x800>; 8498bab661aSEmmanuel Vadot reg-names = "hc", "core"; 8508bab661aSEmmanuel Vadot 8518bab661aSEmmanuel Vadot interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 8528bab661aSEmmanuel Vadot <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; 8538bab661aSEmmanuel Vadot interrupt-names = "hc_irq", "pwr_irq"; 8548bab661aSEmmanuel Vadot 8558bab661aSEmmanuel Vadot clocks = <&gcc GCC_SDCC2_AHB_CLK>, 8568bab661aSEmmanuel Vadot <&gcc GCC_SDCC2_APPS_CLK>, 8578bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_CLK_SRC>; 8588bab661aSEmmanuel Vadot clock-names = "iface", "core", "xo"; 8598bab661aSEmmanuel Vadot status = "disabled"; 8608bab661aSEmmanuel Vadot }; 8618bab661aSEmmanuel Vadot 8628bab661aSEmmanuel Vadot blsp1_dma: dma-controller@7884000 { 8638bab661aSEmmanuel Vadot compatible = "qcom,bam-v1.7.0"; 8648bab661aSEmmanuel Vadot reg = <0x07884000 0x1f000>; 8658bab661aSEmmanuel Vadot interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 8668bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_AHB_CLK>; 8678bab661aSEmmanuel Vadot clock-names = "bam_clk"; 8688bab661aSEmmanuel Vadot #dma-cells = <1>; 8698bab661aSEmmanuel Vadot qcom,ee = <0>; 8708bab661aSEmmanuel Vadot }; 8718bab661aSEmmanuel Vadot 8728bab661aSEmmanuel Vadot blsp1_uart1: serial@78af000 { 8738bab661aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 8748bab661aSEmmanuel Vadot reg = <0x078af000 0x200>; 8758bab661aSEmmanuel Vadot interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 8768bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 8778bab661aSEmmanuel Vadot clock-names = "core", "iface"; 8788bab661aSEmmanuel Vadot dmas = <&blsp1_dma 0>, <&blsp1_dma 1>; 8798bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 8808bab661aSEmmanuel Vadot status = "disabled"; 8818bab661aSEmmanuel Vadot }; 8828bab661aSEmmanuel Vadot 8838bab661aSEmmanuel Vadot blsp1_uart2: serial@78b0000 { 8848bab661aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 8858bab661aSEmmanuel Vadot reg = <0x078b0000 0x200>; 8868bab661aSEmmanuel Vadot interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 8878bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 8888bab661aSEmmanuel Vadot clock-names = "core", "iface"; 8898bab661aSEmmanuel Vadot dmas = <&blsp1_dma 2>, <&blsp1_dma 3>; 8908bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 8918bab661aSEmmanuel Vadot status = "disabled"; 8928bab661aSEmmanuel Vadot }; 8938bab661aSEmmanuel Vadot 8948bab661aSEmmanuel Vadot blsp1_spi1: spi@78b5000 { 8958bab661aSEmmanuel Vadot compatible = "qcom,spi-qup-v2.2.1"; 8968bab661aSEmmanuel Vadot reg = <0x078b5000 0x500>; 8978bab661aSEmmanuel Vadot interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 8988bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 8998bab661aSEmmanuel Vadot clock-names = "core", "iface"; 9008bab661aSEmmanuel Vadot dmas = <&blsp1_dma 4>, <&blsp1_dma 5>; 9018bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 9028bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 9038bab661aSEmmanuel Vadot pinctrl-0 = <&spi1_default>; 9048bab661aSEmmanuel Vadot pinctrl-1 = <&spi1_sleep>; 9058bab661aSEmmanuel Vadot #address-cells = <1>; 9068bab661aSEmmanuel Vadot #size-cells = <0>; 9078bab661aSEmmanuel Vadot status = "disabled"; 9088bab661aSEmmanuel Vadot }; 9098bab661aSEmmanuel Vadot 9108bab661aSEmmanuel Vadot blsp1_i2c2: i2c@78b6000 { 9118bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 9128bab661aSEmmanuel Vadot reg = <0x078b6000 0x500>; 9138bab661aSEmmanuel Vadot interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 9148bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 9158bab661aSEmmanuel Vadot clock-names = "core", "iface"; 9168bab661aSEmmanuel Vadot clock-frequency = <400000>; 9178bab661aSEmmanuel Vadot dmas = <&blsp1_dma 6>, <&blsp1_dma 7>; 9188bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 9198bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 9208bab661aSEmmanuel Vadot pinctrl-0 = <&blsp1_i2c2_default>; 9218bab661aSEmmanuel Vadot pinctrl-1 = <&blsp1_i2c2_default>; 9228bab661aSEmmanuel Vadot #address-cells = <1>; 9238bab661aSEmmanuel Vadot #size-cells = <0>; 9248bab661aSEmmanuel Vadot status = "disabled"; 9258bab661aSEmmanuel Vadot }; 9268bab661aSEmmanuel Vadot 9278bab661aSEmmanuel Vadot blsp1_i2c4: i2c@78b8000 { 9288bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 9298bab661aSEmmanuel Vadot reg = <0x078b8000 0x500>; 9308bab661aSEmmanuel Vadot interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 9318bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 9328bab661aSEmmanuel Vadot clock-names = "core", "iface"; 9338bab661aSEmmanuel Vadot clock-frequency = <400000>; 9348bab661aSEmmanuel Vadot dmas = <&blsp1_dma 10>, <&blsp1_dma 11>; 9358bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 9368bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 9378bab661aSEmmanuel Vadot pinctrl-0 = <&blsp1_i2c4_default>; 9388bab661aSEmmanuel Vadot pinctrl-1 = <&blsp1_i2c4_sleep>; 9398bab661aSEmmanuel Vadot #address-cells = <1>; 9408bab661aSEmmanuel Vadot #size-cells = <0>; 9418bab661aSEmmanuel Vadot status = "disabled"; 9428bab661aSEmmanuel Vadot }; 9438bab661aSEmmanuel Vadot 9448bab661aSEmmanuel Vadot otg: usb@78db000 { 9458bab661aSEmmanuel Vadot compatible = "qcom,ci-hdrc"; 9468bab661aSEmmanuel Vadot reg = <0x078db000 0x200>, 9478bab661aSEmmanuel Vadot <0x078db200 0x200>; 9488bab661aSEmmanuel Vadot interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, 9498bab661aSEmmanuel Vadot <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 9508bab661aSEmmanuel Vadot clocks = <&gcc GCC_USB_HS_AHB_CLK>, <&gcc GCC_USB_HS_SYSTEM_CLK>; 9518bab661aSEmmanuel Vadot clock-names = "iface", "core"; 9528bab661aSEmmanuel Vadot assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>; 9538bab661aSEmmanuel Vadot assigned-clock-rates = <80000000>; 9548bab661aSEmmanuel Vadot resets = <&gcc RST_USB_HS_BCR>; 9558bab661aSEmmanuel Vadot reset-names = "core"; 9568bab661aSEmmanuel Vadot ahb-burst-config = <0>; 9578bab661aSEmmanuel Vadot dr_mode = "peripheral"; 9588bab661aSEmmanuel Vadot phy_type = "ulpi"; 9598bab661aSEmmanuel Vadot phy-names = "usb-phy"; 9608bab661aSEmmanuel Vadot phys = <&usb_hs_phy>; 9618bab661aSEmmanuel Vadot status = "disabled"; 9628bab661aSEmmanuel Vadot #reset-cells = <1>; 9638bab661aSEmmanuel Vadot }; 9648bab661aSEmmanuel Vadot 965f126890aSEmmanuel Vadot sdhc_3: mmc@7a24900 { 9668bab661aSEmmanuel Vadot compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; 9678bab661aSEmmanuel Vadot reg = <0x07a24900 0x11c>, <0x07a24000 0x800>; 9688bab661aSEmmanuel Vadot reg-names = "hc", "core"; 9698bab661aSEmmanuel Vadot 9708bab661aSEmmanuel Vadot interrupts = <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 9718bab661aSEmmanuel Vadot <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>; 9728bab661aSEmmanuel Vadot interrupt-names = "hc_irq", "pwr_irq"; 9738bab661aSEmmanuel Vadot 9748bab661aSEmmanuel Vadot clocks = <&gcc GCC_SDCC3_AHB_CLK>, 9758bab661aSEmmanuel Vadot <&gcc GCC_SDCC3_APPS_CLK>, 9768bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_CLK_SRC>; 9778bab661aSEmmanuel Vadot clock-names = "iface", "core", "xo"; 9788bab661aSEmmanuel Vadot 9798bab661aSEmmanuel Vadot status = "disabled"; 9808bab661aSEmmanuel Vadot }; 9818bab661aSEmmanuel Vadot 9828bab661aSEmmanuel Vadot blsp2_dma: dma-controller@7ac4000 { 9838bab661aSEmmanuel Vadot compatible = "qcom,bam-v1.7.0"; 9848bab661aSEmmanuel Vadot reg = <0x07ac4000 0x1f000>; 9858bab661aSEmmanuel Vadot interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 9868bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_AHB_CLK>; 9878bab661aSEmmanuel Vadot clock-names = "bam_clk"; 9888bab661aSEmmanuel Vadot #dma-cells = <1>; 9898bab661aSEmmanuel Vadot qcom,ee = <0>; 9908bab661aSEmmanuel Vadot }; 9918bab661aSEmmanuel Vadot 9928bab661aSEmmanuel Vadot blsp2_uart2: serial@7af0000 { 9938bab661aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 9948bab661aSEmmanuel Vadot reg = <0x07af0000 0x200>; 9958bab661aSEmmanuel Vadot interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>; 9968bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; 9978bab661aSEmmanuel Vadot clock-names = "core", "iface"; 9988bab661aSEmmanuel Vadot dmas = <&blsp2_dma 0>, <&blsp2_dma 1>; 9998bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 10008bab661aSEmmanuel Vadot status = "disabled"; 10018bab661aSEmmanuel Vadot }; 10028bab661aSEmmanuel Vadot 10038bab661aSEmmanuel Vadot blsp2_i2c2: i2c@7af6000 { 10048bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 10058bab661aSEmmanuel Vadot reg = <0x07af6000 0x600>; 10068bab661aSEmmanuel Vadot interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 10078bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; 10088bab661aSEmmanuel Vadot clock-names = "core", "iface"; 10098bab661aSEmmanuel Vadot clock-frequency = <400000>; 10108bab661aSEmmanuel Vadot dmas = <&blsp2_dma 6>, <&blsp2_dma 7>; 10118bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 10128bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 10138bab661aSEmmanuel Vadot pinctrl-0 = <&blsp2_i2c2_default>; 10148bab661aSEmmanuel Vadot pinctrl-1 = <&blsp2_i2c2_sleep>; 10158bab661aSEmmanuel Vadot #address-cells = <1>; 10168bab661aSEmmanuel Vadot #size-cells = <0>; 10178bab661aSEmmanuel Vadot status = "disabled"; 10188bab661aSEmmanuel Vadot }; 10198bab661aSEmmanuel Vadot 10208bab661aSEmmanuel Vadot blsp2_i2c4: i2c@7af8000 { 10218bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 10228bab661aSEmmanuel Vadot reg = <0x07af8000 0x600>; 10238bab661aSEmmanuel Vadot interrupts = <GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH>; 10248bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; 10258bab661aSEmmanuel Vadot clock-names = "core", "iface"; 10268bab661aSEmmanuel Vadot clock-frequency = <400000>; 10278bab661aSEmmanuel Vadot dmas = <&blsp2_dma 10>, <&blsp2_dma 11>; 10288bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 10298bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 10308bab661aSEmmanuel Vadot pinctrl-0 = <&blsp2_i2c4_default>; 10318bab661aSEmmanuel Vadot pinctrl-1 = <&blsp2_i2c4_sleep>; 10328bab661aSEmmanuel Vadot #address-cells = <1>; 10338bab661aSEmmanuel Vadot #size-cells = <0>; 10348bab661aSEmmanuel Vadot status = "disabled"; 10358bab661aSEmmanuel Vadot }; 10368bab661aSEmmanuel Vadot 10378bab661aSEmmanuel Vadot intc: interrupt-controller@b000000 { 10388bab661aSEmmanuel Vadot compatible = "qcom,msm-qgic2"; 10398bab661aSEmmanuel Vadot reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>; 10408bab661aSEmmanuel Vadot interrupt-controller; 10418bab661aSEmmanuel Vadot #interrupt-cells = <3>; 10428bab661aSEmmanuel Vadot }; 10438bab661aSEmmanuel Vadot 10448bab661aSEmmanuel Vadot apcs: mailbox@b011000 { 1045fac71e4eSEmmanuel Vadot compatible = "qcom,msm8976-apcs-kpss-global", 1046fac71e4eSEmmanuel Vadot "qcom,msm8994-apcs-kpss-global", "syscon"; 10478bab661aSEmmanuel Vadot reg = <0x0b011000 0x1000>; 10488bab661aSEmmanuel Vadot #mbox-cells = <1>; 10498bab661aSEmmanuel Vadot }; 10508bab661aSEmmanuel Vadot 10518bab661aSEmmanuel Vadot timer@b120000 { 10528bab661aSEmmanuel Vadot compatible = "arm,armv7-timer-mem"; 10538bab661aSEmmanuel Vadot reg = <0x0b120000 0x1000>; 10548bab661aSEmmanuel Vadot #address-cells = <1>; 10558bab661aSEmmanuel Vadot #size-cells = <1>; 10568bab661aSEmmanuel Vadot ranges; 10578bab661aSEmmanuel Vadot clock-frequency = <19200000>; 10588bab661aSEmmanuel Vadot 10598bab661aSEmmanuel Vadot frame@b121000 { 10608bab661aSEmmanuel Vadot reg = <0x0b121000 0x1000>, <0x0b122000 0x1000>; 10618bab661aSEmmanuel Vadot interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 10628bab661aSEmmanuel Vadot <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 10638bab661aSEmmanuel Vadot frame-number = <0>; 10648bab661aSEmmanuel Vadot }; 10658bab661aSEmmanuel Vadot 10668bab661aSEmmanuel Vadot frame@b123000 { 10678bab661aSEmmanuel Vadot reg = <0x0b123000 0x1000>; 10688bab661aSEmmanuel Vadot interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 10698bab661aSEmmanuel Vadot frame-number = <1>; 10708bab661aSEmmanuel Vadot status = "disabled"; 10718bab661aSEmmanuel Vadot }; 10728bab661aSEmmanuel Vadot 10738bab661aSEmmanuel Vadot frame@b124000 { 10748bab661aSEmmanuel Vadot reg = <0x0b124000 0x1000>; 10758bab661aSEmmanuel Vadot interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 10768bab661aSEmmanuel Vadot frame-number = <2>; 10778bab661aSEmmanuel Vadot status = "disabled"; 10788bab661aSEmmanuel Vadot }; 10798bab661aSEmmanuel Vadot 10808bab661aSEmmanuel Vadot frame@b125000 { 10818bab661aSEmmanuel Vadot reg = <0x0b125000 0x1000>; 10828bab661aSEmmanuel Vadot interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 10838bab661aSEmmanuel Vadot frame-number = <3>; 10848bab661aSEmmanuel Vadot status = "disabled"; 10858bab661aSEmmanuel Vadot }; 10868bab661aSEmmanuel Vadot 10878bab661aSEmmanuel Vadot frame@b126000 { 10888bab661aSEmmanuel Vadot reg = <0x0b126000 0x1000>; 10898bab661aSEmmanuel Vadot interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 10908bab661aSEmmanuel Vadot frame-number = <4>; 10918bab661aSEmmanuel Vadot status = "disabled"; 10928bab661aSEmmanuel Vadot }; 10938bab661aSEmmanuel Vadot 10948bab661aSEmmanuel Vadot frame@b127000 { 10958bab661aSEmmanuel Vadot reg = <0x0b127000 0x1000>; 10968bab661aSEmmanuel Vadot interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 10978bab661aSEmmanuel Vadot frame-number = <5>; 10988bab661aSEmmanuel Vadot status = "disabled"; 10998bab661aSEmmanuel Vadot }; 11008bab661aSEmmanuel Vadot 11018bab661aSEmmanuel Vadot frame@b128000 { 11028bab661aSEmmanuel Vadot reg = <0x0b128000 0x1000>; 11038bab661aSEmmanuel Vadot interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 11048bab661aSEmmanuel Vadot frame-number = <6>; 11058bab661aSEmmanuel Vadot status = "disabled"; 11068bab661aSEmmanuel Vadot }; 11078bab661aSEmmanuel Vadot }; 11088bab661aSEmmanuel Vadot 11098bab661aSEmmanuel Vadot imem: sram@8600000 { 11108bab661aSEmmanuel Vadot compatible = "qcom,msm8976-imem", "syscon", "simple-mfd"; 11118bab661aSEmmanuel Vadot reg = <0x08600000 0x1000>; 11128bab661aSEmmanuel Vadot #address-cells = <1>; 11138bab661aSEmmanuel Vadot #size-cells = <1>; 11148bab661aSEmmanuel Vadot 11158bab661aSEmmanuel Vadot ranges = <0 0x08600000 0x1000>; 11168bab661aSEmmanuel Vadot 11178bab661aSEmmanuel Vadot pil-reloc@94c { 11188bab661aSEmmanuel Vadot compatible = "qcom,pil-reloc-info"; 11198bab661aSEmmanuel Vadot reg = <0x94c 0xc8>; 11208bab661aSEmmanuel Vadot }; 11218bab661aSEmmanuel Vadot }; 11228bab661aSEmmanuel Vadot }; 11238bab661aSEmmanuel Vadot 11248bab661aSEmmanuel Vadot thermal-zones { 11258bab661aSEmmanuel Vadot aoss0-thermal { 11268bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11278bab661aSEmmanuel Vadot polling-delay = <1000>; 11288bab661aSEmmanuel Vadot 11298bab661aSEmmanuel Vadot thermal-sensors = <&tsens 0>; 11308bab661aSEmmanuel Vadot 11318bab661aSEmmanuel Vadot trips { 11328bab661aSEmmanuel Vadot aoss0_alert0: trip-point0 { 11338bab661aSEmmanuel Vadot temperature = <75000>; 11348bab661aSEmmanuel Vadot hysteresis = <2000>; 11358bab661aSEmmanuel Vadot type = "hot"; 11368bab661aSEmmanuel Vadot }; 11378bab661aSEmmanuel Vadot }; 11388bab661aSEmmanuel Vadot }; 11398bab661aSEmmanuel Vadot 11408bab661aSEmmanuel Vadot modem-thermal { 11418bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11428bab661aSEmmanuel Vadot polling-delay = <1000>; 11438bab661aSEmmanuel Vadot 11448bab661aSEmmanuel Vadot thermal-sensors = <&tsens 1>; 11458bab661aSEmmanuel Vadot trips { 11468bab661aSEmmanuel Vadot modem_alert0: trip-point0 { 11478bab661aSEmmanuel Vadot temperature = <75000>; 11488bab661aSEmmanuel Vadot hysteresis = <2000>; 11498bab661aSEmmanuel Vadot type = "hot"; 11508bab661aSEmmanuel Vadot }; 11518bab661aSEmmanuel Vadot }; 11528bab661aSEmmanuel Vadot }; 11538bab661aSEmmanuel Vadot 11548bab661aSEmmanuel Vadot qdsp-thermal { 11558bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11568bab661aSEmmanuel Vadot polling-delay = <1000>; 11578bab661aSEmmanuel Vadot 11588bab661aSEmmanuel Vadot thermal-sensors = <&tsens 2>; 11598bab661aSEmmanuel Vadot trips { 11608bab661aSEmmanuel Vadot qdsp_alert0: trip-point0 { 11618bab661aSEmmanuel Vadot temperature = <75000>; 11628bab661aSEmmanuel Vadot hysteresis = <2000>; 11638bab661aSEmmanuel Vadot type = "hot"; 11648bab661aSEmmanuel Vadot }; 11658bab661aSEmmanuel Vadot }; 11668bab661aSEmmanuel Vadot }; 11678bab661aSEmmanuel Vadot 11688bab661aSEmmanuel Vadot cam-isp-thermal { 11698bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11708bab661aSEmmanuel Vadot polling-delay = <1000>; 11718bab661aSEmmanuel Vadot 11728bab661aSEmmanuel Vadot thermal-sensors = <&tsens 3>; 11738bab661aSEmmanuel Vadot trips { 11748bab661aSEmmanuel Vadot cam_isp_alert0: trip-point0 { 11758bab661aSEmmanuel Vadot temperature = <75000>; 11768bab661aSEmmanuel Vadot hysteresis = <2000>; 11778bab661aSEmmanuel Vadot type = "hot"; 11788bab661aSEmmanuel Vadot }; 11798bab661aSEmmanuel Vadot }; 11808bab661aSEmmanuel Vadot }; 11818bab661aSEmmanuel Vadot 11828bab661aSEmmanuel Vadot cpu4-thermal { 11838bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11848bab661aSEmmanuel Vadot polling-delay = <1000>; 11858bab661aSEmmanuel Vadot thermal-sensors = <&tsens 4>; 11868bab661aSEmmanuel Vadot 11878bab661aSEmmanuel Vadot trips { 11888bab661aSEmmanuel Vadot cpu4_alert0: trip-point0 { 11898bab661aSEmmanuel Vadot temperature = <50000>; 11908bab661aSEmmanuel Vadot hysteresis = <2000>; 11918bab661aSEmmanuel Vadot type = "hot"; 11928bab661aSEmmanuel Vadot }; 11938bab661aSEmmanuel Vadot cpu4_alert1: trip-point1 { 11948bab661aSEmmanuel Vadot temperature = <55000>; 11958bab661aSEmmanuel Vadot hysteresis = <2000>; 11968bab661aSEmmanuel Vadot type = "passive"; 11978bab661aSEmmanuel Vadot }; 11988bab661aSEmmanuel Vadot cpu4_crit: cpu-crit { 11998bab661aSEmmanuel Vadot temperature = <75000>; 12008bab661aSEmmanuel Vadot hysteresis = <2000>; 12018bab661aSEmmanuel Vadot type = "critical"; 12028bab661aSEmmanuel Vadot }; 12038bab661aSEmmanuel Vadot }; 12048bab661aSEmmanuel Vadot }; 12058bab661aSEmmanuel Vadot 12068bab661aSEmmanuel Vadot cpu5-thermal { 12078bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12088bab661aSEmmanuel Vadot polling-delay = <1000>; 12098bab661aSEmmanuel Vadot thermal-sensors = <&tsens 5>; 12108bab661aSEmmanuel Vadot 12118bab661aSEmmanuel Vadot trips { 12128bab661aSEmmanuel Vadot cpu5_alert0: trip-point0 { 12138bab661aSEmmanuel Vadot temperature = <50000>; 12148bab661aSEmmanuel Vadot hysteresis = <2000>; 12158bab661aSEmmanuel Vadot type = "hot"; 12168bab661aSEmmanuel Vadot }; 12178bab661aSEmmanuel Vadot cpu5_alert1: trip-point1 { 12188bab661aSEmmanuel Vadot temperature = <55000>; 12198bab661aSEmmanuel Vadot hysteresis = <2000>; 12208bab661aSEmmanuel Vadot type = "passive"; 12218bab661aSEmmanuel Vadot }; 12228bab661aSEmmanuel Vadot cpu5_crit: cpu-crit { 12238bab661aSEmmanuel Vadot temperature = <75000>; 12248bab661aSEmmanuel Vadot hysteresis = <2000>; 12258bab661aSEmmanuel Vadot type = "critical"; 12268bab661aSEmmanuel Vadot }; 12278bab661aSEmmanuel Vadot }; 12288bab661aSEmmanuel Vadot }; 12298bab661aSEmmanuel Vadot 12308bab661aSEmmanuel Vadot cpu6-thermal { 12318bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12328bab661aSEmmanuel Vadot polling-delay = <1000>; 12338bab661aSEmmanuel Vadot thermal-sensors = <&tsens 6>; 12348bab661aSEmmanuel Vadot 12358bab661aSEmmanuel Vadot trips { 12368bab661aSEmmanuel Vadot cpu6_alert0: trip-point0 { 12378bab661aSEmmanuel Vadot temperature = <50000>; 12388bab661aSEmmanuel Vadot hysteresis = <2000>; 12398bab661aSEmmanuel Vadot type = "hot"; 12408bab661aSEmmanuel Vadot }; 12418bab661aSEmmanuel Vadot cpu6_alert1: trip-point1 { 12428bab661aSEmmanuel Vadot temperature = <55000>; 12438bab661aSEmmanuel Vadot hysteresis = <2000>; 12448bab661aSEmmanuel Vadot type = "passive"; 12458bab661aSEmmanuel Vadot }; 12468bab661aSEmmanuel Vadot cpu6_crit: cpu-crit { 12478bab661aSEmmanuel Vadot temperature = <75000>; 12488bab661aSEmmanuel Vadot hysteresis = <2000>; 12498bab661aSEmmanuel Vadot type = "critical"; 12508bab661aSEmmanuel Vadot }; 12518bab661aSEmmanuel Vadot }; 12528bab661aSEmmanuel Vadot }; 12538bab661aSEmmanuel Vadot 12548bab661aSEmmanuel Vadot cpu7-thermal { 12558bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12568bab661aSEmmanuel Vadot polling-delay = <1000>; 12578bab661aSEmmanuel Vadot thermal-sensors = <&tsens 7>; 12588bab661aSEmmanuel Vadot 12598bab661aSEmmanuel Vadot trips { 12608bab661aSEmmanuel Vadot cpu7_alert0: trip-point0 { 12618bab661aSEmmanuel Vadot temperature = <50000>; 12628bab661aSEmmanuel Vadot hysteresis = <2000>; 12638bab661aSEmmanuel Vadot type = "hot"; 12648bab661aSEmmanuel Vadot }; 12658bab661aSEmmanuel Vadot cpu7_alert1: trip-point1 { 12668bab661aSEmmanuel Vadot temperature = <55000>; 12678bab661aSEmmanuel Vadot hysteresis = <2000>; 12688bab661aSEmmanuel Vadot type = "passive"; 12698bab661aSEmmanuel Vadot }; 12708bab661aSEmmanuel Vadot cpu7_crit: cpu-crit { 12718bab661aSEmmanuel Vadot temperature = <75000>; 12728bab661aSEmmanuel Vadot hysteresis = <2000>; 12738bab661aSEmmanuel Vadot type = "critical"; 12748bab661aSEmmanuel Vadot }; 12758bab661aSEmmanuel Vadot }; 12768bab661aSEmmanuel Vadot }; 12778bab661aSEmmanuel Vadot 12788bab661aSEmmanuel Vadot big-l2-thermal { 12798bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12808bab661aSEmmanuel Vadot polling-delay = <1000>; 12818bab661aSEmmanuel Vadot thermal-sensors = <&tsens 8>; 12828bab661aSEmmanuel Vadot 12838bab661aSEmmanuel Vadot trips { 12848bab661aSEmmanuel Vadot l2_alert0: trip-point0 { 12858bab661aSEmmanuel Vadot temperature = <50000>; 12868bab661aSEmmanuel Vadot hysteresis = <2000>; 12878bab661aSEmmanuel Vadot type = "hot"; 12888bab661aSEmmanuel Vadot }; 12898bab661aSEmmanuel Vadot l2_alert1: trip-point1 { 12908bab661aSEmmanuel Vadot temperature = <55000>; 12918bab661aSEmmanuel Vadot hysteresis = <2000>; 12928bab661aSEmmanuel Vadot type = "passive"; 12938bab661aSEmmanuel Vadot }; 12948bab661aSEmmanuel Vadot l2_crit: l2-crit { 12958bab661aSEmmanuel Vadot temperature = <75000>; 12968bab661aSEmmanuel Vadot hysteresis = <2000>; 12978bab661aSEmmanuel Vadot type = "critical"; 12988bab661aSEmmanuel Vadot }; 12998bab661aSEmmanuel Vadot }; 13008bab661aSEmmanuel Vadot }; 13018bab661aSEmmanuel Vadot 13028bab661aSEmmanuel Vadot cpu0-thermal { 13038bab661aSEmmanuel Vadot polling-delay-passive = <250>; 13048bab661aSEmmanuel Vadot polling-delay = <1000>; 13058bab661aSEmmanuel Vadot thermal-sensors = <&tsens 9>; 13068bab661aSEmmanuel Vadot 13078bab661aSEmmanuel Vadot trips { 13088bab661aSEmmanuel Vadot cpu0_alert0: trip-point0 { 13098bab661aSEmmanuel Vadot temperature = <50000>; 13108bab661aSEmmanuel Vadot hysteresis = <2000>; 13118bab661aSEmmanuel Vadot type = "hot"; 13128bab661aSEmmanuel Vadot }; 13138bab661aSEmmanuel Vadot cpu0_alert1: trip-point1 { 13148bab661aSEmmanuel Vadot temperature = <55000>; 13158bab661aSEmmanuel Vadot hysteresis = <2000>; 13168bab661aSEmmanuel Vadot type = "passive"; 13178bab661aSEmmanuel Vadot }; 13188bab661aSEmmanuel Vadot cpu0_crit: cpu-crit { 13198bab661aSEmmanuel Vadot temperature = <75000>; 13208bab661aSEmmanuel Vadot hysteresis = <2000>; 13218bab661aSEmmanuel Vadot type = "critical"; 13228bab661aSEmmanuel Vadot }; 13238bab661aSEmmanuel Vadot }; 13248bab661aSEmmanuel Vadot }; 13258bab661aSEmmanuel Vadot 13268bab661aSEmmanuel Vadot gpu-thermal { 13278bab661aSEmmanuel Vadot polling-delay-passive = <250>; 13288bab661aSEmmanuel Vadot polling-delay = <1000>; 13298bab661aSEmmanuel Vadot thermal-sensors = <&tsens 10>; 13308bab661aSEmmanuel Vadot 13318bab661aSEmmanuel Vadot trips { 13328bab661aSEmmanuel Vadot gpu_alert0: trip-point0 { 13338bab661aSEmmanuel Vadot temperature = <50000>; 13348bab661aSEmmanuel Vadot hysteresis = <2000>; 13358bab661aSEmmanuel Vadot type = "hot"; 13368bab661aSEmmanuel Vadot }; 13378bab661aSEmmanuel Vadot gpu_alert1: trip-point1 { 13388bab661aSEmmanuel Vadot temperature = <55000>; 13398bab661aSEmmanuel Vadot hysteresis = <2000>; 13408bab661aSEmmanuel Vadot type = "passive"; 13418bab661aSEmmanuel Vadot }; 13428bab661aSEmmanuel Vadot gpu_crit: gpu-crit { 13438bab661aSEmmanuel Vadot temperature = <75000>; 13448bab661aSEmmanuel Vadot hysteresis = <2000>; 13458bab661aSEmmanuel Vadot type = "critical"; 13468bab661aSEmmanuel Vadot }; 13478bab661aSEmmanuel Vadot }; 13488bab661aSEmmanuel Vadot }; 13498bab661aSEmmanuel Vadot }; 13508bab661aSEmmanuel Vadot 13518bab661aSEmmanuel Vadot timer { 13528bab661aSEmmanuel Vadot compatible = "arm,armv8-timer"; 13538bab661aSEmmanuel Vadot interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 13548bab661aSEmmanuel Vadot <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 13558bab661aSEmmanuel Vadot <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 13568bab661aSEmmanuel Vadot <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; 13578bab661aSEmmanuel Vadot clock-frequency = <19200000>; 13588bab661aSEmmanuel Vadot }; 13598bab661aSEmmanuel Vadot}; 1360