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 235*aa1a8ff2SEmmanuel Vadot rpm: remoteproc { 236*aa1a8ff2SEmmanuel Vadot compatible = "qcom,msm8976-rpm-proc", "qcom,rpm-proc"; 237*aa1a8ff2SEmmanuel Vadot 238*aa1a8ff2SEmmanuel Vadot smd-edge { 239*aa1a8ff2SEmmanuel Vadot interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; 240*aa1a8ff2SEmmanuel Vadot qcom,ipc = <&apcs 8 0>; 241*aa1a8ff2SEmmanuel Vadot qcom,smd-edge = <15>; 242*aa1a8ff2SEmmanuel Vadot 243*aa1a8ff2SEmmanuel Vadot rpm_requests: rpm-requests { 244*aa1a8ff2SEmmanuel Vadot compatible = "qcom,rpm-msm8976"; 245*aa1a8ff2SEmmanuel Vadot qcom,smd-channels = "rpm_requests"; 246*aa1a8ff2SEmmanuel Vadot 247*aa1a8ff2SEmmanuel Vadot rpmcc: clock-controller { 248*aa1a8ff2SEmmanuel Vadot compatible = "qcom,rpmcc-msm8976", "qcom,rpmcc"; 249*aa1a8ff2SEmmanuel Vadot clocks = <&xo_board>; 250*aa1a8ff2SEmmanuel Vadot clock-names = "xo"; 251*aa1a8ff2SEmmanuel Vadot #clock-cells = <1>; 252*aa1a8ff2SEmmanuel Vadot }; 253*aa1a8ff2SEmmanuel Vadot 254*aa1a8ff2SEmmanuel Vadot rpmpd: power-controller { 255*aa1a8ff2SEmmanuel Vadot compatible = "qcom,msm8976-rpmpd"; 256*aa1a8ff2SEmmanuel Vadot #power-domain-cells = <1>; 257*aa1a8ff2SEmmanuel Vadot operating-points-v2 = <&rpmpd_opp_table>; 258*aa1a8ff2SEmmanuel Vadot 259*aa1a8ff2SEmmanuel Vadot rpmpd_opp_table: opp-table { 260*aa1a8ff2SEmmanuel Vadot compatible = "operating-points-v2"; 261*aa1a8ff2SEmmanuel Vadot 262*aa1a8ff2SEmmanuel Vadot rpmpd_opp_ret: opp1 { 263*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_RETENTION>; 264*aa1a8ff2SEmmanuel Vadot }; 265*aa1a8ff2SEmmanuel Vadot 266*aa1a8ff2SEmmanuel Vadot rpmpd_opp_ret_plus: opp2 { 267*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>; 268*aa1a8ff2SEmmanuel Vadot }; 269*aa1a8ff2SEmmanuel Vadot 270*aa1a8ff2SEmmanuel Vadot rpmpd_opp_min_svs: opp3 { 271*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_MIN_SVS>; 272*aa1a8ff2SEmmanuel Vadot }; 273*aa1a8ff2SEmmanuel Vadot 274*aa1a8ff2SEmmanuel Vadot rpmpd_opp_low_svs: opp4 { 275*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_LOW_SVS>; 276*aa1a8ff2SEmmanuel Vadot }; 277*aa1a8ff2SEmmanuel Vadot 278*aa1a8ff2SEmmanuel Vadot rpmpd_opp_svs: opp5 { 279*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_SVS>; 280*aa1a8ff2SEmmanuel Vadot }; 281*aa1a8ff2SEmmanuel Vadot 282*aa1a8ff2SEmmanuel Vadot rpmpd_opp_svs_plus: opp6 { 283*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; 284*aa1a8ff2SEmmanuel Vadot }; 285*aa1a8ff2SEmmanuel Vadot 286*aa1a8ff2SEmmanuel Vadot rpmpd_opp_nom: opp7 { 287*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_NOM>; 288*aa1a8ff2SEmmanuel Vadot }; 289*aa1a8ff2SEmmanuel Vadot 290*aa1a8ff2SEmmanuel Vadot rpmpd_opp_nom_plus: opp8 { 291*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; 292*aa1a8ff2SEmmanuel Vadot }; 293*aa1a8ff2SEmmanuel Vadot 294*aa1a8ff2SEmmanuel Vadot rpmpd_opp_turbo: opp9 { 295*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_TURBO>; 296*aa1a8ff2SEmmanuel Vadot }; 297*aa1a8ff2SEmmanuel Vadot 298*aa1a8ff2SEmmanuel Vadot rpmpd_opp_turbo_no_cpr: opp10 { 299*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_TURBO_NO_CPR>; 300*aa1a8ff2SEmmanuel Vadot }; 301*aa1a8ff2SEmmanuel Vadot 302*aa1a8ff2SEmmanuel Vadot rpmpd_opp_turbo_high: opp111 { 303*aa1a8ff2SEmmanuel Vadot opp-level = <RPM_SMD_LEVEL_TURBO_HIGH>; 304*aa1a8ff2SEmmanuel Vadot }; 305*aa1a8ff2SEmmanuel Vadot }; 306*aa1a8ff2SEmmanuel Vadot }; 307*aa1a8ff2SEmmanuel Vadot }; 308*aa1a8ff2SEmmanuel Vadot }; 309*aa1a8ff2SEmmanuel Vadot }; 310*aa1a8ff2SEmmanuel 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 { 3418bab661aSEmmanuel Vadot reg = <0x0 0x8c200000 0x0 0x1800000>; 3428bab661aSEmmanuel Vadot no-map; 3438bab661aSEmmanuel Vadot }; 3448bab661aSEmmanuel Vadot 3458bab661aSEmmanuel Vadot venus_mem: memory@8da00000 { 3468bab661aSEmmanuel Vadot reg = <0x0 0x8da00000 0x0 0x2600000>; 3478bab661aSEmmanuel Vadot no-map; 3488bab661aSEmmanuel Vadot }; 3498bab661aSEmmanuel Vadot 3508bab661aSEmmanuel Vadot tz-apps@8dd00000 { 3518bab661aSEmmanuel Vadot reg = <0x0 0x8dd00000 0x0 0x1400000>; 3528bab661aSEmmanuel Vadot no-map; 3538bab661aSEmmanuel Vadot }; 3548bab661aSEmmanuel Vadot }; 3558bab661aSEmmanuel Vadot 3568bab661aSEmmanuel Vadot smp2p-hexagon { 3578bab661aSEmmanuel Vadot compatible = "qcom,smp2p"; 3588bab661aSEmmanuel Vadot interrupts = <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>; 3598bab661aSEmmanuel Vadot qcom,ipc = <&apcs 8 10>; 3608bab661aSEmmanuel Vadot 3618bab661aSEmmanuel Vadot qcom,local-pid = <0>; 3628bab661aSEmmanuel Vadot qcom,remote-pid = <2>; 3638bab661aSEmmanuel Vadot qcom,smem = <443>, <429>; 3648bab661aSEmmanuel Vadot 3658bab661aSEmmanuel Vadot adsp_smp2p_out: master-kernel { 3668bab661aSEmmanuel Vadot qcom,entry-name = "master-kernel"; 3678bab661aSEmmanuel Vadot 3688bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 3698bab661aSEmmanuel Vadot }; 3708bab661aSEmmanuel Vadot 3718bab661aSEmmanuel Vadot adsp_smp2p_in: slave-kernel { 3728bab661aSEmmanuel Vadot qcom,entry-name = "slave-kernel"; 3738bab661aSEmmanuel Vadot 3748bab661aSEmmanuel Vadot interrupt-controller; 3758bab661aSEmmanuel Vadot #interrupt-cells = <2>; 3768bab661aSEmmanuel Vadot }; 3778bab661aSEmmanuel Vadot }; 3788bab661aSEmmanuel Vadot 3798bab661aSEmmanuel Vadot smp2p-modem { 3808bab661aSEmmanuel Vadot compatible = "qcom,smp2p"; 3818bab661aSEmmanuel Vadot interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>; 3828bab661aSEmmanuel Vadot qcom,ipc = <&apcs 8 13>; 3838bab661aSEmmanuel Vadot 3848bab661aSEmmanuel Vadot qcom,local-pid = <0>; 3858bab661aSEmmanuel Vadot qcom,remote-pid = <1>; 3868bab661aSEmmanuel Vadot qcom,smem = <435>, <428>; 3878bab661aSEmmanuel Vadot 3888bab661aSEmmanuel Vadot modem_smp2p_out: master-kernel { 3898bab661aSEmmanuel Vadot qcom,entry-name = "master-kernel"; 3908bab661aSEmmanuel Vadot 3918bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 3928bab661aSEmmanuel Vadot }; 3938bab661aSEmmanuel Vadot 3948bab661aSEmmanuel Vadot modem_smp2p_in: slave-kernel { 3958bab661aSEmmanuel Vadot qcom,entry-name = "slave-kernel"; 3968bab661aSEmmanuel Vadot 3978bab661aSEmmanuel Vadot interrupt-controller; 3988bab661aSEmmanuel Vadot #interrupt-cells = <2>; 3998bab661aSEmmanuel Vadot }; 4008bab661aSEmmanuel Vadot }; 4018bab661aSEmmanuel Vadot 4028bab661aSEmmanuel Vadot smp2p-wcnss { 4038bab661aSEmmanuel Vadot compatible = "qcom,smp2p"; 4048bab661aSEmmanuel Vadot interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>; 4058bab661aSEmmanuel Vadot qcom,ipc = <&apcs 8 17>; 4068bab661aSEmmanuel Vadot 4078bab661aSEmmanuel Vadot qcom,local-pid = <0>; 4088bab661aSEmmanuel Vadot qcom,remote-pid = <4>; 4098bab661aSEmmanuel Vadot qcom,smem = <451>, <431>; 4108bab661aSEmmanuel Vadot 4118bab661aSEmmanuel Vadot wcnss_smp2p_out: master-kernel { 4128bab661aSEmmanuel Vadot qcom,entry-name = "master-kernel"; 4138bab661aSEmmanuel Vadot 4148bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 4158bab661aSEmmanuel Vadot }; 4168bab661aSEmmanuel Vadot 4178bab661aSEmmanuel Vadot wcnss_smp2p_in: slave-kernel { 4188bab661aSEmmanuel Vadot qcom,entry-name = "slave-kernel"; 4198bab661aSEmmanuel Vadot 4208bab661aSEmmanuel Vadot interrupt-controller; 4218bab661aSEmmanuel Vadot #interrupt-cells = <2>; 4228bab661aSEmmanuel Vadot }; 4238bab661aSEmmanuel Vadot }; 4248bab661aSEmmanuel Vadot 4258bab661aSEmmanuel Vadot smsm { 4268bab661aSEmmanuel Vadot compatible = "qcom,smsm"; 4278bab661aSEmmanuel Vadot 4288bab661aSEmmanuel Vadot #address-cells = <1>; 4298bab661aSEmmanuel Vadot #size-cells = <0>; 4308bab661aSEmmanuel Vadot 4318bab661aSEmmanuel Vadot qcom,ipc-1 = <&apcs 8 12>; 4328bab661aSEmmanuel Vadot qcom,ipc-2 = <&apcs 8 9>; 4338bab661aSEmmanuel Vadot qcom,ipc-3 = <&apcs 8 18>; 4348bab661aSEmmanuel Vadot 4358bab661aSEmmanuel Vadot apps_smsm: apps@0 { 4368bab661aSEmmanuel Vadot reg = <0>; 4378bab661aSEmmanuel Vadot #qcom,smem-state-cells = <1>; 4388bab661aSEmmanuel Vadot }; 4398bab661aSEmmanuel Vadot 4408bab661aSEmmanuel Vadot hexagon_smsm: hexagon@1 { 4418bab661aSEmmanuel Vadot reg = <1>; 442*aa1a8ff2SEmmanuel Vadot interrupts = <GIC_SPI 290 IRQ_TYPE_EDGE_RISING>; 4438bab661aSEmmanuel Vadot 4448bab661aSEmmanuel Vadot interrupt-controller; 4458bab661aSEmmanuel Vadot #interrupt-cells = <2>; 4468bab661aSEmmanuel Vadot }; 4478bab661aSEmmanuel Vadot 4488bab661aSEmmanuel Vadot wcnss_smsm: wcnss@6 { 4498bab661aSEmmanuel Vadot reg = <6>; 4508bab661aSEmmanuel Vadot interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>; 4518bab661aSEmmanuel Vadot 4528bab661aSEmmanuel Vadot interrupt-controller; 4538bab661aSEmmanuel Vadot #interrupt-cells = <2>; 4548bab661aSEmmanuel Vadot }; 4558bab661aSEmmanuel Vadot }; 4568bab661aSEmmanuel Vadot 4578bab661aSEmmanuel Vadot soc: soc@0 { 4588bab661aSEmmanuel Vadot #address-cells = <1>; 4598bab661aSEmmanuel Vadot #size-cells = <1>; 4608bab661aSEmmanuel Vadot ranges = <0 0 0 0xffffffff>; 4618bab661aSEmmanuel Vadot compatible = "simple-bus"; 4628bab661aSEmmanuel Vadot 4638bab661aSEmmanuel Vadot rng@22000 { 4648bab661aSEmmanuel Vadot compatible = "qcom,prng"; 4658bab661aSEmmanuel Vadot reg = <0x00022000 0x140>; 4668bab661aSEmmanuel Vadot clocks = <&gcc GCC_PRNG_AHB_CLK>; 4678bab661aSEmmanuel Vadot clock-names = "core"; 4688bab661aSEmmanuel Vadot }; 4698bab661aSEmmanuel Vadot 4708bab661aSEmmanuel Vadot rpm_msg_ram: sram@60000 { 4718bab661aSEmmanuel Vadot compatible = "qcom,rpm-msg-ram"; 4728bab661aSEmmanuel Vadot reg = <0x00060000 0x8000>; 4738bab661aSEmmanuel Vadot }; 4748bab661aSEmmanuel Vadot 4758bab661aSEmmanuel Vadot usb_hs_phy: phy@6c000 { 4768bab661aSEmmanuel Vadot compatible = "qcom,usb-hs-28nm-femtophy"; 4778bab661aSEmmanuel Vadot reg = <0x0006c000 0x200>; 4788bab661aSEmmanuel Vadot #phy-cells = <0>; 4798bab661aSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 4808bab661aSEmmanuel Vadot <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, 4818bab661aSEmmanuel Vadot <&gcc GCC_USB2A_PHY_SLEEP_CLK>; 4828bab661aSEmmanuel Vadot clock-names = "ref", "ahb", "sleep"; 4838bab661aSEmmanuel Vadot resets = <&gcc RST_QUSB2_PHY_BCR>, 4848bab661aSEmmanuel Vadot <&gcc RST_USB2_HS_PHY_ONLY_BCR>; 4858bab661aSEmmanuel Vadot reset-names = "phy", "por"; 4868bab661aSEmmanuel Vadot status = "disabled"; 4878bab661aSEmmanuel Vadot }; 4888bab661aSEmmanuel Vadot 4898bab661aSEmmanuel Vadot qfprom: qfprom@a4000 { 4908bab661aSEmmanuel Vadot compatible = "qcom,msm8976-qfprom", "qcom,qfprom"; 4918bab661aSEmmanuel Vadot reg = <0x000a4000 0x1000>; 4928bab661aSEmmanuel Vadot #address-cells = <1>; 4938bab661aSEmmanuel Vadot #size-cells = <1>; 4948bab661aSEmmanuel Vadot 495cb7aa33aSEmmanuel Vadot tsens_base1: base1@218 { 496cb7aa33aSEmmanuel Vadot reg = <0x218 1>; 497cb7aa33aSEmmanuel Vadot bits = <0 8>; 498cb7aa33aSEmmanuel Vadot }; 499cb7aa33aSEmmanuel Vadot 500cb7aa33aSEmmanuel Vadot tsens_s0_p1: s0-p1@219 { 501cb7aa33aSEmmanuel Vadot reg = <0x219 0x1>; 502cb7aa33aSEmmanuel Vadot bits = <0 6>; 503cb7aa33aSEmmanuel Vadot }; 504cb7aa33aSEmmanuel Vadot 505cb7aa33aSEmmanuel Vadot tsens_s0_p2: s0-p2@219 { 506cb7aa33aSEmmanuel Vadot reg = <0x219 0x2>; 507cb7aa33aSEmmanuel Vadot bits = <6 6>; 508cb7aa33aSEmmanuel Vadot }; 509cb7aa33aSEmmanuel Vadot 510cb7aa33aSEmmanuel Vadot tsens_s1_p1: s1-p1@21a { 511cb7aa33aSEmmanuel Vadot reg = <0x21a 0x2>; 512cb7aa33aSEmmanuel Vadot bits = <4 6>; 513cb7aa33aSEmmanuel Vadot }; 514cb7aa33aSEmmanuel Vadot 515cb7aa33aSEmmanuel Vadot tsens_s1_p2: s1-p2@21b { 516cb7aa33aSEmmanuel Vadot reg = <0x21b 0x1>; 517cb7aa33aSEmmanuel Vadot bits = <2 6>; 518cb7aa33aSEmmanuel Vadot }; 519cb7aa33aSEmmanuel Vadot 520cb7aa33aSEmmanuel Vadot tsens_s2_p1: s2-p1@21c { 521cb7aa33aSEmmanuel Vadot reg = <0x21c 0x1>; 522cb7aa33aSEmmanuel Vadot bits = <0 6>; 523cb7aa33aSEmmanuel Vadot }; 524cb7aa33aSEmmanuel Vadot 525cb7aa33aSEmmanuel Vadot tsens_s2_p2: s2-p2@21c { 526cb7aa33aSEmmanuel Vadot reg = <0x21c 0x2>; 527cb7aa33aSEmmanuel Vadot bits = <6 6>; 528cb7aa33aSEmmanuel Vadot }; 529cb7aa33aSEmmanuel Vadot 530cb7aa33aSEmmanuel Vadot tsens_s3_p1: s3-p1@21d { 531cb7aa33aSEmmanuel Vadot reg = <0x21d 0x2>; 532cb7aa33aSEmmanuel Vadot bits = <4 6>; 533cb7aa33aSEmmanuel Vadot }; 534cb7aa33aSEmmanuel Vadot 535cb7aa33aSEmmanuel Vadot tsens_s3_p2: s3-p2@21e { 536cb7aa33aSEmmanuel Vadot reg = <0x21e 0x1>; 537cb7aa33aSEmmanuel Vadot bits = <2 6>; 538cb7aa33aSEmmanuel Vadot }; 539cb7aa33aSEmmanuel Vadot 540cb7aa33aSEmmanuel Vadot tsens_base2: base2@220 { 541cb7aa33aSEmmanuel Vadot reg = <0x220 1>; 542cb7aa33aSEmmanuel Vadot bits = <0 8>; 543cb7aa33aSEmmanuel Vadot }; 544cb7aa33aSEmmanuel Vadot 545cb7aa33aSEmmanuel Vadot tsens_s4_p1: s4-p1@221 { 546cb7aa33aSEmmanuel Vadot reg = <0x221 0x1>; 547cb7aa33aSEmmanuel Vadot bits = <0 6>; 548cb7aa33aSEmmanuel Vadot }; 549cb7aa33aSEmmanuel Vadot 550cb7aa33aSEmmanuel Vadot tsens_s4_p2: s4-p2@221 { 551cb7aa33aSEmmanuel Vadot reg = <0x221 0x2>; 552cb7aa33aSEmmanuel Vadot bits = <6 6>; 553cb7aa33aSEmmanuel Vadot }; 554cb7aa33aSEmmanuel Vadot 555cb7aa33aSEmmanuel Vadot tsens_s5_p1: s5-p1@222 { 556cb7aa33aSEmmanuel Vadot reg = <0x222 0x2>; 557cb7aa33aSEmmanuel Vadot bits = <4 6>; 558cb7aa33aSEmmanuel Vadot }; 559cb7aa33aSEmmanuel Vadot 560cb7aa33aSEmmanuel Vadot tsens_s5_p2: s5-p2@223 { 561cb7aa33aSEmmanuel Vadot reg = <0x224 0x1>; 562cb7aa33aSEmmanuel Vadot bits = <2 6>; 563cb7aa33aSEmmanuel Vadot }; 564cb7aa33aSEmmanuel Vadot 565cb7aa33aSEmmanuel Vadot tsens_s6_p1: s6-p1@224 { 566cb7aa33aSEmmanuel Vadot reg = <0x224 0x1>; 567cb7aa33aSEmmanuel Vadot bits = <0 6>; 568cb7aa33aSEmmanuel Vadot }; 569cb7aa33aSEmmanuel Vadot 570cb7aa33aSEmmanuel Vadot tsens_s6_p2: s6-p2@224 { 571cb7aa33aSEmmanuel Vadot reg = <0x224 0x2>; 572cb7aa33aSEmmanuel Vadot bits = <6 6>; 573cb7aa33aSEmmanuel Vadot }; 574cb7aa33aSEmmanuel Vadot 575cb7aa33aSEmmanuel Vadot tsens_s7_p1: s7-p1@225 { 576cb7aa33aSEmmanuel Vadot reg = <0x225 0x2>; 577cb7aa33aSEmmanuel Vadot bits = <4 6>; 578cb7aa33aSEmmanuel Vadot }; 579cb7aa33aSEmmanuel Vadot 580cb7aa33aSEmmanuel Vadot tsens_s7_p2: s7-p2@226 { 581cb7aa33aSEmmanuel Vadot reg = <0x226 0x2>; 582cb7aa33aSEmmanuel Vadot bits = <2 6>; 583cb7aa33aSEmmanuel Vadot }; 584cb7aa33aSEmmanuel Vadot 585cb7aa33aSEmmanuel Vadot tsens_mode: mode@228 { 586cb7aa33aSEmmanuel Vadot reg = <0x228 1>; 587cb7aa33aSEmmanuel Vadot bits = <0 3>; 588cb7aa33aSEmmanuel Vadot }; 589cb7aa33aSEmmanuel Vadot 590cb7aa33aSEmmanuel Vadot tsens_s8_p1: s8-p1@228 { 591cb7aa33aSEmmanuel Vadot reg = <0x228 0x2>; 592cb7aa33aSEmmanuel Vadot bits = <3 6>; 593cb7aa33aSEmmanuel Vadot }; 594cb7aa33aSEmmanuel Vadot 595cb7aa33aSEmmanuel Vadot tsens_s8_p2: s8-p2@229 { 596cb7aa33aSEmmanuel Vadot reg = <0x229 0x1>; 597cb7aa33aSEmmanuel Vadot bits = <1 6>; 598cb7aa33aSEmmanuel Vadot }; 599cb7aa33aSEmmanuel Vadot 600cb7aa33aSEmmanuel Vadot tsens_s9_p1: s9-p1@229 { 601cb7aa33aSEmmanuel Vadot reg = <0x229 0x2>; 602cb7aa33aSEmmanuel Vadot bits = <7 6>; 603cb7aa33aSEmmanuel Vadot }; 604cb7aa33aSEmmanuel Vadot 605cb7aa33aSEmmanuel Vadot tsens_s9_p2: s9-p2@22a { 606cb7aa33aSEmmanuel Vadot reg = <0x22a 0x2>; 607cb7aa33aSEmmanuel Vadot bits = <5 6>; 608cb7aa33aSEmmanuel Vadot }; 609cb7aa33aSEmmanuel Vadot 610cb7aa33aSEmmanuel Vadot tsens_s10_p1: s10-p1@22b { 611cb7aa33aSEmmanuel Vadot reg = <0x22b 0x2>; 612cb7aa33aSEmmanuel Vadot bits = <3 6>; 613cb7aa33aSEmmanuel Vadot }; 614cb7aa33aSEmmanuel Vadot 615cb7aa33aSEmmanuel Vadot tsens_s10_p2: s10-p2@22c { 616cb7aa33aSEmmanuel Vadot reg = <0x22c 0x1>; 617cb7aa33aSEmmanuel Vadot bits = <1 6>; 6188bab661aSEmmanuel Vadot }; 6198bab661aSEmmanuel Vadot }; 6208bab661aSEmmanuel Vadot 6218bab661aSEmmanuel Vadot tsens: thermal-sensor@4a9000 { 6228bab661aSEmmanuel Vadot compatible = "qcom,msm8976-tsens", "qcom,tsens-v1"; 6238bab661aSEmmanuel Vadot reg = <0x004a9000 0x1000>, /* TM */ 6248bab661aSEmmanuel Vadot <0x004a8000 0x1000>; /* SROT */ 6258bab661aSEmmanuel Vadot interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 6268bab661aSEmmanuel Vadot interrupt-names = "uplow"; 627cb7aa33aSEmmanuel Vadot nvmem-cells = <&tsens_mode>, 628cb7aa33aSEmmanuel Vadot <&tsens_base1>, <&tsens_base2>, 629cb7aa33aSEmmanuel Vadot <&tsens_s0_p1>, <&tsens_s0_p2>, 630cb7aa33aSEmmanuel Vadot <&tsens_s1_p1>, <&tsens_s1_p2>, 631cb7aa33aSEmmanuel Vadot <&tsens_s2_p1>, <&tsens_s2_p2>, 632cb7aa33aSEmmanuel Vadot <&tsens_s3_p1>, <&tsens_s3_p2>, 633cb7aa33aSEmmanuel Vadot <&tsens_s4_p1>, <&tsens_s4_p2>, 634cb7aa33aSEmmanuel Vadot <&tsens_s5_p1>, <&tsens_s5_p2>, 635cb7aa33aSEmmanuel Vadot <&tsens_s6_p1>, <&tsens_s6_p2>, 636cb7aa33aSEmmanuel Vadot <&tsens_s7_p1>, <&tsens_s7_p2>, 637cb7aa33aSEmmanuel Vadot <&tsens_s8_p1>, <&tsens_s8_p2>, 638cb7aa33aSEmmanuel Vadot <&tsens_s9_p1>, <&tsens_s9_p2>, 639cb7aa33aSEmmanuel Vadot <&tsens_s10_p1>, <&tsens_s10_p2>; 640cb7aa33aSEmmanuel Vadot nvmem-cell-names = "mode", 641cb7aa33aSEmmanuel Vadot "base1", "base2", 642cb7aa33aSEmmanuel Vadot "s0_p1", "s0_p2", 643cb7aa33aSEmmanuel Vadot "s1_p1", "s1_p2", 644cb7aa33aSEmmanuel Vadot "s2_p1", "s2_p2", 645cb7aa33aSEmmanuel Vadot "s3_p1", "s3_p2", 646cb7aa33aSEmmanuel Vadot "s4_p1", "s4_p2", 647cb7aa33aSEmmanuel Vadot "s5_p1", "s5_p2", 648cb7aa33aSEmmanuel Vadot "s6_p1", "s6_p2", 649cb7aa33aSEmmanuel Vadot "s7_p1", "s7_p2", 650cb7aa33aSEmmanuel Vadot "s8_p1", "s8_p2", 651cb7aa33aSEmmanuel Vadot "s9_p1", "s9_p2", 652cb7aa33aSEmmanuel Vadot "s10_p1", "s10_p2"; 6538bab661aSEmmanuel Vadot #qcom,sensors = <11>; 6548bab661aSEmmanuel Vadot #thermal-sensor-cells = <1>; 6558bab661aSEmmanuel Vadot }; 6568bab661aSEmmanuel Vadot 6578bab661aSEmmanuel Vadot tlmm: pinctrl@1000000 { 6588bab661aSEmmanuel Vadot compatible = "qcom,msm8976-pinctrl"; 6598bab661aSEmmanuel Vadot reg = <0x01000000 0x300000>; 6608bab661aSEmmanuel Vadot interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 6618bab661aSEmmanuel Vadot #gpio-cells = <2>; 6628bab661aSEmmanuel Vadot gpio-controller; 6638bab661aSEmmanuel Vadot gpio-ranges = <&tlmm 0 0 145>; 6648bab661aSEmmanuel Vadot interrupt-controller; 6658bab661aSEmmanuel Vadot #interrupt-cells = <2>; 6668bab661aSEmmanuel Vadot 6678bab661aSEmmanuel Vadot spi1_default: spi0-default-state { 6688bab661aSEmmanuel Vadot spi-pins { 6698bab661aSEmmanuel Vadot pins = "gpio0", "gpio1", "gpio3"; 6708bab661aSEmmanuel Vadot function = "blsp_spi1"; 6718bab661aSEmmanuel Vadot drive-strength = <12>; 6728bab661aSEmmanuel Vadot bias-disable; 6738bab661aSEmmanuel Vadot }; 6748bab661aSEmmanuel Vadot 6758bab661aSEmmanuel Vadot cs-pins { 6768bab661aSEmmanuel Vadot pins = "gpio2"; 6778bab661aSEmmanuel Vadot function = "blsp_spi1"; 6788bab661aSEmmanuel Vadot drive-strength = <2>; 6798bab661aSEmmanuel Vadot bias-disable; 6808bab661aSEmmanuel Vadot }; 6818bab661aSEmmanuel Vadot }; 6828bab661aSEmmanuel Vadot 6838bab661aSEmmanuel Vadot spi1_sleep: spi0-sleep-state { 6848bab661aSEmmanuel Vadot spi-pins { 6858bab661aSEmmanuel Vadot pins = "gpio0", "gpio1", "gpio3"; 6868bab661aSEmmanuel Vadot function = "gpio"; 6878bab661aSEmmanuel Vadot drive-strength = <2>; 6888bab661aSEmmanuel Vadot bias-pull-down; 6898bab661aSEmmanuel Vadot }; 6908bab661aSEmmanuel Vadot 6918bab661aSEmmanuel Vadot cs-pins { 6928bab661aSEmmanuel Vadot pins = "gpio2"; 6938bab661aSEmmanuel Vadot function = "gpio"; 6948bab661aSEmmanuel Vadot drive-strength = <2>; 6958bab661aSEmmanuel Vadot bias-disable; 6968bab661aSEmmanuel Vadot }; 6978bab661aSEmmanuel Vadot }; 6988bab661aSEmmanuel Vadot 6998bab661aSEmmanuel Vadot blsp1_i2c2_default: blsp1-i2c2-default-state { 7008bab661aSEmmanuel Vadot pins = "gpio6", "gpio7"; 7018bab661aSEmmanuel Vadot function = "blsp_i2c2"; 7028bab661aSEmmanuel Vadot drive-strength = <2>; 7038bab661aSEmmanuel Vadot bias-disable; 7048bab661aSEmmanuel Vadot }; 7058bab661aSEmmanuel Vadot 7068bab661aSEmmanuel Vadot blsp1_i2c2_sleep: blsp1-i2c2-sleep-state { 7078bab661aSEmmanuel Vadot pins = "gpio6", "gpio7"; 7088bab661aSEmmanuel Vadot function = "gpio"; 7098bab661aSEmmanuel Vadot drive-strength = <2>; 7108bab661aSEmmanuel Vadot bias-disable; 7118bab661aSEmmanuel Vadot }; 7128bab661aSEmmanuel Vadot 7138bab661aSEmmanuel Vadot blsp1_i2c4_default: blsp1-i2c4-default-state { 7148bab661aSEmmanuel Vadot pins = "gpio14", "gpio15"; 7158bab661aSEmmanuel Vadot function = "blsp_i2c4"; 7168bab661aSEmmanuel Vadot drive-strength = <2>; 7178bab661aSEmmanuel Vadot bias-disable; 7188bab661aSEmmanuel Vadot }; 7198bab661aSEmmanuel Vadot 7208bab661aSEmmanuel Vadot blsp1_i2c4_sleep: blsp1-i2c4-sleep-state { 7218bab661aSEmmanuel Vadot pins = "gpio14", "gpio15"; 7228bab661aSEmmanuel Vadot function = "gpio"; 7238bab661aSEmmanuel Vadot drive-strength = <2>; 7248bab661aSEmmanuel Vadot bias-disable; 7258bab661aSEmmanuel Vadot }; 7268bab661aSEmmanuel Vadot 7278bab661aSEmmanuel Vadot blsp2_uart2_active: blsp2-uart2-active-state { 7288bab661aSEmmanuel Vadot pins = "gpio20", "gpio21"; 7298bab661aSEmmanuel Vadot function = "blsp_uart6"; 7308bab661aSEmmanuel Vadot drive-strength = <4>; 7318bab661aSEmmanuel Vadot bias-disable; 7328bab661aSEmmanuel Vadot }; 7338bab661aSEmmanuel Vadot 7348bab661aSEmmanuel Vadot blsp2_uart2_sleep: blsp2-uart2-sleep-state { 7358bab661aSEmmanuel Vadot pins = "gpio20", "gpio21"; 7368bab661aSEmmanuel Vadot function = "gpio"; 7378bab661aSEmmanuel Vadot drive-strength = <2>; 7388bab661aSEmmanuel Vadot bias-disable; 7398bab661aSEmmanuel Vadot }; 7408bab661aSEmmanuel Vadot 7418bab661aSEmmanuel Vadot /* 4 (not 6!) interfaces per QUP, BLSP2 indexes are numbered (n)+4 */ 7428bab661aSEmmanuel Vadot blsp2_i2c2_default: blsp2-i2c2-default-state { 7438bab661aSEmmanuel Vadot pins = "gpio22", "gpio23"; 7448bab661aSEmmanuel Vadot function = "blsp_i2c6"; 7458bab661aSEmmanuel Vadot drive-strength = <2>; 7468bab661aSEmmanuel Vadot bias-disable; 7478bab661aSEmmanuel Vadot }; 7488bab661aSEmmanuel Vadot 7498bab661aSEmmanuel Vadot blsp2_i2c2_sleep: blsp2-i2c2-sleep-state { 7508bab661aSEmmanuel Vadot pins = "gpio22", "gpio23"; 7518bab661aSEmmanuel Vadot function = "gpio"; 7528bab661aSEmmanuel Vadot drive-strength = <2>; 7538bab661aSEmmanuel Vadot bias-disable; 7548bab661aSEmmanuel Vadot }; 7558bab661aSEmmanuel Vadot 7568bab661aSEmmanuel Vadot blsp2_i2c4_default: blsp2-i2c4-default-state { 7578bab661aSEmmanuel Vadot pins = "gpio18", "gpio19"; 7588bab661aSEmmanuel Vadot function = "blsp_i2c8"; 7598bab661aSEmmanuel Vadot drive-strength = <2>; 7608bab661aSEmmanuel Vadot bias-disable; 7618bab661aSEmmanuel Vadot }; 7628bab661aSEmmanuel Vadot 7638bab661aSEmmanuel Vadot blsp2_i2c4_sleep: blsp2-i2c4-sleep-state { 7648bab661aSEmmanuel Vadot pins = "gpio18", "gpio19"; 7658bab661aSEmmanuel Vadot function = "gpio"; 7668bab661aSEmmanuel Vadot drive-strength = <2>; 7678bab661aSEmmanuel Vadot bias-disable; 7688bab661aSEmmanuel Vadot }; 7698bab661aSEmmanuel Vadot }; 7708bab661aSEmmanuel Vadot 7718bab661aSEmmanuel Vadot gcc: clock-controller@1800000 { 7728bab661aSEmmanuel Vadot compatible = "qcom,gcc-msm8976"; 7738bab661aSEmmanuel Vadot reg = <0x01800000 0x80000>; 7748bab661aSEmmanuel Vadot #clock-cells = <1>; 7758bab661aSEmmanuel Vadot #reset-cells = <1>; 7768bab661aSEmmanuel Vadot #power-domain-cells = <1>; 7778bab661aSEmmanuel Vadot 7788bab661aSEmmanuel Vadot assigned-clocks = <&gcc GPLL3>; 7798bab661aSEmmanuel Vadot assigned-clock-rates = <1100000000>; 7808bab661aSEmmanuel Vadot 7818bab661aSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 7828bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_A_CLK_SRC>, 7838bab661aSEmmanuel Vadot <0>, 7848bab661aSEmmanuel Vadot <0>, 7858bab661aSEmmanuel Vadot <0>, 7868bab661aSEmmanuel Vadot <0>; 7878bab661aSEmmanuel Vadot clock-names = "xo", 7888bab661aSEmmanuel Vadot "xo_a", 7898bab661aSEmmanuel Vadot "dsi0pll", 7908bab661aSEmmanuel Vadot "dsi0pllbyte", 7918bab661aSEmmanuel Vadot "dsi1pll", 7928bab661aSEmmanuel Vadot "dsi1pllbyte"; 7938bab661aSEmmanuel Vadot }; 7948bab661aSEmmanuel Vadot 7958bab661aSEmmanuel Vadot tcsr_mutex: hwlock@1905000 { 7968bab661aSEmmanuel Vadot compatible = "qcom,tcsr-mutex"; 7978bab661aSEmmanuel Vadot reg = <0x01905000 0x20000>; 7988bab661aSEmmanuel Vadot #hwlock-cells = <1>; 7998bab661aSEmmanuel Vadot }; 8008bab661aSEmmanuel Vadot 8018bab661aSEmmanuel Vadot tcsr: syscon@1937000 { 8028bab661aSEmmanuel Vadot compatible = "qcom,msm8976-tcsr", "syscon"; 8038bab661aSEmmanuel Vadot reg = <0x01937000 0x30000>; 8048bab661aSEmmanuel Vadot }; 8058bab661aSEmmanuel Vadot 8068bab661aSEmmanuel Vadot spmi_bus: spmi@200f000 { 8078bab661aSEmmanuel Vadot compatible = "qcom,spmi-pmic-arb"; 8088bab661aSEmmanuel Vadot reg = <0x0200f000 0x1000>, 8098bab661aSEmmanuel Vadot <0x02400000 0x800000>, 8108bab661aSEmmanuel Vadot <0x02c00000 0x800000>, 8118bab661aSEmmanuel Vadot <0x03800000 0x200000>, 8128bab661aSEmmanuel Vadot <0x0200a000 0x2100>; 8138bab661aSEmmanuel Vadot reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 8148bab661aSEmmanuel Vadot interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 8158bab661aSEmmanuel Vadot interrupt-names = "periph_irq"; 8168bab661aSEmmanuel Vadot qcom,channel = <0>; 8178bab661aSEmmanuel Vadot qcom,ee = <0>; 8188bab661aSEmmanuel Vadot 8198bab661aSEmmanuel Vadot #address-cells = <2>; 8208bab661aSEmmanuel Vadot #size-cells = <0>; 8218bab661aSEmmanuel Vadot interrupt-controller; 8228bab661aSEmmanuel Vadot #interrupt-cells = <4>; 8238bab661aSEmmanuel Vadot }; 8248bab661aSEmmanuel Vadot 825f126890aSEmmanuel Vadot sdhc_1: mmc@7824900 { 8268bab661aSEmmanuel Vadot compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; 8278bab661aSEmmanuel Vadot reg = <0x07824900 0x500>, <0x07824000 0x800>; 8288bab661aSEmmanuel Vadot reg-names = "hc", "core"; 8298bab661aSEmmanuel Vadot 8308bab661aSEmmanuel Vadot interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 8318bab661aSEmmanuel Vadot <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 8328bab661aSEmmanuel Vadot interrupt-names = "hc_irq", "pwr_irq"; 8338bab661aSEmmanuel Vadot 8348bab661aSEmmanuel Vadot clocks = <&gcc GCC_SDCC1_AHB_CLK>, 8358bab661aSEmmanuel Vadot <&gcc GCC_SDCC1_APPS_CLK>, 8368bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_CLK_SRC>; 8378bab661aSEmmanuel Vadot clock-names = "iface", "core", "xo"; 8388bab661aSEmmanuel Vadot status = "disabled"; 8398bab661aSEmmanuel Vadot }; 8408bab661aSEmmanuel Vadot 841f126890aSEmmanuel Vadot sdhc_2: mmc@7864900 { 8428bab661aSEmmanuel Vadot compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; 8438bab661aSEmmanuel Vadot reg = <0x07864900 0x11c>, <0x07864000 0x800>; 8448bab661aSEmmanuel Vadot reg-names = "hc", "core"; 8458bab661aSEmmanuel Vadot 8468bab661aSEmmanuel Vadot interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 8478bab661aSEmmanuel Vadot <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; 8488bab661aSEmmanuel Vadot interrupt-names = "hc_irq", "pwr_irq"; 8498bab661aSEmmanuel Vadot 8508bab661aSEmmanuel Vadot clocks = <&gcc GCC_SDCC2_AHB_CLK>, 8518bab661aSEmmanuel Vadot <&gcc GCC_SDCC2_APPS_CLK>, 8528bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_CLK_SRC>; 8538bab661aSEmmanuel Vadot clock-names = "iface", "core", "xo"; 8548bab661aSEmmanuel Vadot status = "disabled"; 8558bab661aSEmmanuel Vadot }; 8568bab661aSEmmanuel Vadot 8578bab661aSEmmanuel Vadot blsp1_dma: dma-controller@7884000 { 8588bab661aSEmmanuel Vadot compatible = "qcom,bam-v1.7.0"; 8598bab661aSEmmanuel Vadot reg = <0x07884000 0x1f000>; 8608bab661aSEmmanuel Vadot interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 8618bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_AHB_CLK>; 8628bab661aSEmmanuel Vadot clock-names = "bam_clk"; 8638bab661aSEmmanuel Vadot #dma-cells = <1>; 8648bab661aSEmmanuel Vadot qcom,ee = <0>; 8658bab661aSEmmanuel Vadot }; 8668bab661aSEmmanuel Vadot 8678bab661aSEmmanuel Vadot blsp1_uart1: serial@78af000 { 8688bab661aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 8698bab661aSEmmanuel Vadot reg = <0x078af000 0x200>; 8708bab661aSEmmanuel Vadot interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 8718bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 8728bab661aSEmmanuel Vadot clock-names = "core", "iface"; 8738bab661aSEmmanuel Vadot dmas = <&blsp1_dma 0>, <&blsp1_dma 1>; 8748bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 8758bab661aSEmmanuel Vadot status = "disabled"; 8768bab661aSEmmanuel Vadot }; 8778bab661aSEmmanuel Vadot 8788bab661aSEmmanuel Vadot blsp1_uart2: serial@78b0000 { 8798bab661aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 8808bab661aSEmmanuel Vadot reg = <0x078b0000 0x200>; 8818bab661aSEmmanuel Vadot interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 8828bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 8838bab661aSEmmanuel Vadot clock-names = "core", "iface"; 8848bab661aSEmmanuel Vadot dmas = <&blsp1_dma 2>, <&blsp1_dma 3>; 8858bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 8868bab661aSEmmanuel Vadot status = "disabled"; 8878bab661aSEmmanuel Vadot }; 8888bab661aSEmmanuel Vadot 8898bab661aSEmmanuel Vadot blsp1_spi1: spi@78b5000 { 8908bab661aSEmmanuel Vadot compatible = "qcom,spi-qup-v2.2.1"; 8918bab661aSEmmanuel Vadot reg = <0x078b5000 0x500>; 8928bab661aSEmmanuel Vadot interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 8938bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 8948bab661aSEmmanuel Vadot clock-names = "core", "iface"; 8958bab661aSEmmanuel Vadot dmas = <&blsp1_dma 4>, <&blsp1_dma 5>; 8968bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 8978bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 8988bab661aSEmmanuel Vadot pinctrl-0 = <&spi1_default>; 8998bab661aSEmmanuel Vadot pinctrl-1 = <&spi1_sleep>; 9008bab661aSEmmanuel Vadot #address-cells = <1>; 9018bab661aSEmmanuel Vadot #size-cells = <0>; 9028bab661aSEmmanuel Vadot status = "disabled"; 9038bab661aSEmmanuel Vadot }; 9048bab661aSEmmanuel Vadot 9058bab661aSEmmanuel Vadot blsp1_i2c2: i2c@78b6000 { 9068bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 9078bab661aSEmmanuel Vadot reg = <0x078b6000 0x500>; 9088bab661aSEmmanuel Vadot interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 9098bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 9108bab661aSEmmanuel Vadot clock-names = "core", "iface"; 9118bab661aSEmmanuel Vadot clock-frequency = <400000>; 9128bab661aSEmmanuel Vadot dmas = <&blsp1_dma 6>, <&blsp1_dma 7>; 9138bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 9148bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 9158bab661aSEmmanuel Vadot pinctrl-0 = <&blsp1_i2c2_default>; 9168bab661aSEmmanuel Vadot pinctrl-1 = <&blsp1_i2c2_default>; 9178bab661aSEmmanuel Vadot #address-cells = <1>; 9188bab661aSEmmanuel Vadot #size-cells = <0>; 9198bab661aSEmmanuel Vadot status = "disabled"; 9208bab661aSEmmanuel Vadot }; 9218bab661aSEmmanuel Vadot 9228bab661aSEmmanuel Vadot blsp1_i2c4: i2c@78b8000 { 9238bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 9248bab661aSEmmanuel Vadot reg = <0x078b8000 0x500>; 9258bab661aSEmmanuel Vadot interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 9268bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; 9278bab661aSEmmanuel Vadot clock-names = "core", "iface"; 9288bab661aSEmmanuel Vadot clock-frequency = <400000>; 9298bab661aSEmmanuel Vadot dmas = <&blsp1_dma 10>, <&blsp1_dma 11>; 9308bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 9318bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 9328bab661aSEmmanuel Vadot pinctrl-0 = <&blsp1_i2c4_default>; 9338bab661aSEmmanuel Vadot pinctrl-1 = <&blsp1_i2c4_sleep>; 9348bab661aSEmmanuel Vadot #address-cells = <1>; 9358bab661aSEmmanuel Vadot #size-cells = <0>; 9368bab661aSEmmanuel Vadot status = "disabled"; 9378bab661aSEmmanuel Vadot }; 9388bab661aSEmmanuel Vadot 9398bab661aSEmmanuel Vadot otg: usb@78db000 { 9408bab661aSEmmanuel Vadot compatible = "qcom,ci-hdrc"; 9418bab661aSEmmanuel Vadot reg = <0x078db000 0x200>, 9428bab661aSEmmanuel Vadot <0x078db200 0x200>; 9438bab661aSEmmanuel Vadot interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, 9448bab661aSEmmanuel Vadot <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 9458bab661aSEmmanuel Vadot clocks = <&gcc GCC_USB_HS_AHB_CLK>, <&gcc GCC_USB_HS_SYSTEM_CLK>; 9468bab661aSEmmanuel Vadot clock-names = "iface", "core"; 9478bab661aSEmmanuel Vadot assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>; 9488bab661aSEmmanuel Vadot assigned-clock-rates = <80000000>; 9498bab661aSEmmanuel Vadot resets = <&gcc RST_USB_HS_BCR>; 9508bab661aSEmmanuel Vadot reset-names = "core"; 9518bab661aSEmmanuel Vadot ahb-burst-config = <0>; 9528bab661aSEmmanuel Vadot dr_mode = "peripheral"; 9538bab661aSEmmanuel Vadot phy_type = "ulpi"; 9548bab661aSEmmanuel Vadot phy-names = "usb-phy"; 9558bab661aSEmmanuel Vadot phys = <&usb_hs_phy>; 9568bab661aSEmmanuel Vadot status = "disabled"; 9578bab661aSEmmanuel Vadot #reset-cells = <1>; 9588bab661aSEmmanuel Vadot }; 9598bab661aSEmmanuel Vadot 960f126890aSEmmanuel Vadot sdhc_3: mmc@7a24900 { 9618bab661aSEmmanuel Vadot compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; 9628bab661aSEmmanuel Vadot reg = <0x07a24900 0x11c>, <0x07a24000 0x800>; 9638bab661aSEmmanuel Vadot reg-names = "hc", "core"; 9648bab661aSEmmanuel Vadot 9658bab661aSEmmanuel Vadot interrupts = <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 9668bab661aSEmmanuel Vadot <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>; 9678bab661aSEmmanuel Vadot interrupt-names = "hc_irq", "pwr_irq"; 9688bab661aSEmmanuel Vadot 9698bab661aSEmmanuel Vadot clocks = <&gcc GCC_SDCC3_AHB_CLK>, 9708bab661aSEmmanuel Vadot <&gcc GCC_SDCC3_APPS_CLK>, 9718bab661aSEmmanuel Vadot <&rpmcc RPM_SMD_XO_CLK_SRC>; 9728bab661aSEmmanuel Vadot clock-names = "iface", "core", "xo"; 9738bab661aSEmmanuel Vadot 9748bab661aSEmmanuel Vadot status = "disabled"; 9758bab661aSEmmanuel Vadot }; 9768bab661aSEmmanuel Vadot 9778bab661aSEmmanuel Vadot blsp2_dma: dma-controller@7ac4000 { 9788bab661aSEmmanuel Vadot compatible = "qcom,bam-v1.7.0"; 9798bab661aSEmmanuel Vadot reg = <0x07ac4000 0x1f000>; 9808bab661aSEmmanuel Vadot interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 9818bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_AHB_CLK>; 9828bab661aSEmmanuel Vadot clock-names = "bam_clk"; 9838bab661aSEmmanuel Vadot #dma-cells = <1>; 9848bab661aSEmmanuel Vadot qcom,ee = <0>; 9858bab661aSEmmanuel Vadot }; 9868bab661aSEmmanuel Vadot 9878bab661aSEmmanuel Vadot blsp2_uart2: serial@7af0000 { 9888bab661aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 9898bab661aSEmmanuel Vadot reg = <0x07af0000 0x200>; 9908bab661aSEmmanuel Vadot interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>; 9918bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; 9928bab661aSEmmanuel Vadot clock-names = "core", "iface"; 9938bab661aSEmmanuel Vadot dmas = <&blsp2_dma 0>, <&blsp2_dma 1>; 9948bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 9958bab661aSEmmanuel Vadot status = "disabled"; 9968bab661aSEmmanuel Vadot }; 9978bab661aSEmmanuel Vadot 9988bab661aSEmmanuel Vadot blsp2_i2c2: i2c@7af6000 { 9998bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 10008bab661aSEmmanuel Vadot reg = <0x07af6000 0x600>; 10018bab661aSEmmanuel Vadot interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 10028bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; 10038bab661aSEmmanuel Vadot clock-names = "core", "iface"; 10048bab661aSEmmanuel Vadot clock-frequency = <400000>; 10058bab661aSEmmanuel Vadot dmas = <&blsp2_dma 6>, <&blsp2_dma 7>; 10068bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 10078bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 10088bab661aSEmmanuel Vadot pinctrl-0 = <&blsp2_i2c2_default>; 10098bab661aSEmmanuel Vadot pinctrl-1 = <&blsp2_i2c2_sleep>; 10108bab661aSEmmanuel Vadot #address-cells = <1>; 10118bab661aSEmmanuel Vadot #size-cells = <0>; 10128bab661aSEmmanuel Vadot status = "disabled"; 10138bab661aSEmmanuel Vadot }; 10148bab661aSEmmanuel Vadot 10158bab661aSEmmanuel Vadot blsp2_i2c4: i2c@7af8000 { 10168bab661aSEmmanuel Vadot compatible = "qcom,i2c-qup-v2.2.1"; 10178bab661aSEmmanuel Vadot reg = <0x07af8000 0x600>; 10188bab661aSEmmanuel Vadot interrupts = <GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH>; 10198bab661aSEmmanuel Vadot clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; 10208bab661aSEmmanuel Vadot clock-names = "core", "iface"; 10218bab661aSEmmanuel Vadot clock-frequency = <400000>; 10228bab661aSEmmanuel Vadot dmas = <&blsp2_dma 10>, <&blsp2_dma 11>; 10238bab661aSEmmanuel Vadot dma-names = "tx", "rx"; 10248bab661aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 10258bab661aSEmmanuel Vadot pinctrl-0 = <&blsp2_i2c4_default>; 10268bab661aSEmmanuel Vadot pinctrl-1 = <&blsp2_i2c4_sleep>; 10278bab661aSEmmanuel Vadot #address-cells = <1>; 10288bab661aSEmmanuel Vadot #size-cells = <0>; 10298bab661aSEmmanuel Vadot status = "disabled"; 10308bab661aSEmmanuel Vadot }; 10318bab661aSEmmanuel Vadot 10328bab661aSEmmanuel Vadot intc: interrupt-controller@b000000 { 10338bab661aSEmmanuel Vadot compatible = "qcom,msm-qgic2"; 10348bab661aSEmmanuel Vadot reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>; 10358bab661aSEmmanuel Vadot interrupt-controller; 10368bab661aSEmmanuel Vadot #interrupt-cells = <3>; 10378bab661aSEmmanuel Vadot }; 10388bab661aSEmmanuel Vadot 10398bab661aSEmmanuel Vadot apcs: mailbox@b011000 { 1040fac71e4eSEmmanuel Vadot compatible = "qcom,msm8976-apcs-kpss-global", 1041fac71e4eSEmmanuel Vadot "qcom,msm8994-apcs-kpss-global", "syscon"; 10428bab661aSEmmanuel Vadot reg = <0x0b011000 0x1000>; 10438bab661aSEmmanuel Vadot #mbox-cells = <1>; 10448bab661aSEmmanuel Vadot }; 10458bab661aSEmmanuel Vadot 10468bab661aSEmmanuel Vadot timer@b120000 { 10478bab661aSEmmanuel Vadot compatible = "arm,armv7-timer-mem"; 10488bab661aSEmmanuel Vadot reg = <0x0b120000 0x1000>; 10498bab661aSEmmanuel Vadot #address-cells = <1>; 10508bab661aSEmmanuel Vadot #size-cells = <1>; 10518bab661aSEmmanuel Vadot ranges; 10528bab661aSEmmanuel Vadot clock-frequency = <19200000>; 10538bab661aSEmmanuel Vadot 10548bab661aSEmmanuel Vadot frame@b121000 { 10558bab661aSEmmanuel Vadot reg = <0x0b121000 0x1000>, <0x0b122000 0x1000>; 10568bab661aSEmmanuel Vadot interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 10578bab661aSEmmanuel Vadot <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 10588bab661aSEmmanuel Vadot frame-number = <0>; 10598bab661aSEmmanuel Vadot }; 10608bab661aSEmmanuel Vadot 10618bab661aSEmmanuel Vadot frame@b123000 { 10628bab661aSEmmanuel Vadot reg = <0x0b123000 0x1000>; 10638bab661aSEmmanuel Vadot interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 10648bab661aSEmmanuel Vadot frame-number = <1>; 10658bab661aSEmmanuel Vadot status = "disabled"; 10668bab661aSEmmanuel Vadot }; 10678bab661aSEmmanuel Vadot 10688bab661aSEmmanuel Vadot frame@b124000 { 10698bab661aSEmmanuel Vadot reg = <0x0b124000 0x1000>; 10708bab661aSEmmanuel Vadot interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 10718bab661aSEmmanuel Vadot frame-number = <2>; 10728bab661aSEmmanuel Vadot status = "disabled"; 10738bab661aSEmmanuel Vadot }; 10748bab661aSEmmanuel Vadot 10758bab661aSEmmanuel Vadot frame@b125000 { 10768bab661aSEmmanuel Vadot reg = <0x0b125000 0x1000>; 10778bab661aSEmmanuel Vadot interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 10788bab661aSEmmanuel Vadot frame-number = <3>; 10798bab661aSEmmanuel Vadot status = "disabled"; 10808bab661aSEmmanuel Vadot }; 10818bab661aSEmmanuel Vadot 10828bab661aSEmmanuel Vadot frame@b126000 { 10838bab661aSEmmanuel Vadot reg = <0x0b126000 0x1000>; 10848bab661aSEmmanuel Vadot interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 10858bab661aSEmmanuel Vadot frame-number = <4>; 10868bab661aSEmmanuel Vadot status = "disabled"; 10878bab661aSEmmanuel Vadot }; 10888bab661aSEmmanuel Vadot 10898bab661aSEmmanuel Vadot frame@b127000 { 10908bab661aSEmmanuel Vadot reg = <0x0b127000 0x1000>; 10918bab661aSEmmanuel Vadot interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 10928bab661aSEmmanuel Vadot frame-number = <5>; 10938bab661aSEmmanuel Vadot status = "disabled"; 10948bab661aSEmmanuel Vadot }; 10958bab661aSEmmanuel Vadot 10968bab661aSEmmanuel Vadot frame@b128000 { 10978bab661aSEmmanuel Vadot reg = <0x0b128000 0x1000>; 10988bab661aSEmmanuel Vadot interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 10998bab661aSEmmanuel Vadot frame-number = <6>; 11008bab661aSEmmanuel Vadot status = "disabled"; 11018bab661aSEmmanuel Vadot }; 11028bab661aSEmmanuel Vadot }; 11038bab661aSEmmanuel Vadot 11048bab661aSEmmanuel Vadot imem: sram@8600000 { 11058bab661aSEmmanuel Vadot compatible = "qcom,msm8976-imem", "syscon", "simple-mfd"; 11068bab661aSEmmanuel Vadot reg = <0x08600000 0x1000>; 11078bab661aSEmmanuel Vadot #address-cells = <1>; 11088bab661aSEmmanuel Vadot #size-cells = <1>; 11098bab661aSEmmanuel Vadot 11108bab661aSEmmanuel Vadot ranges = <0 0x08600000 0x1000>; 11118bab661aSEmmanuel Vadot 11128bab661aSEmmanuel Vadot pil-reloc@94c { 11138bab661aSEmmanuel Vadot compatible = "qcom,pil-reloc-info"; 11148bab661aSEmmanuel Vadot reg = <0x94c 0xc8>; 11158bab661aSEmmanuel Vadot }; 11168bab661aSEmmanuel Vadot }; 11178bab661aSEmmanuel Vadot }; 11188bab661aSEmmanuel Vadot 11198bab661aSEmmanuel Vadot thermal-zones { 11208bab661aSEmmanuel Vadot aoss0-thermal { 11218bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11228bab661aSEmmanuel Vadot polling-delay = <1000>; 11238bab661aSEmmanuel Vadot 11248bab661aSEmmanuel Vadot thermal-sensors = <&tsens 0>; 11258bab661aSEmmanuel Vadot 11268bab661aSEmmanuel Vadot trips { 11278bab661aSEmmanuel Vadot aoss0_alert0: trip-point0 { 11288bab661aSEmmanuel Vadot temperature = <75000>; 11298bab661aSEmmanuel Vadot hysteresis = <2000>; 11308bab661aSEmmanuel Vadot type = "hot"; 11318bab661aSEmmanuel Vadot }; 11328bab661aSEmmanuel Vadot }; 11338bab661aSEmmanuel Vadot }; 11348bab661aSEmmanuel Vadot 11358bab661aSEmmanuel Vadot modem-thermal { 11368bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11378bab661aSEmmanuel Vadot polling-delay = <1000>; 11388bab661aSEmmanuel Vadot 11398bab661aSEmmanuel Vadot thermal-sensors = <&tsens 1>; 11408bab661aSEmmanuel Vadot trips { 11418bab661aSEmmanuel Vadot modem_alert0: trip-point0 { 11428bab661aSEmmanuel Vadot temperature = <75000>; 11438bab661aSEmmanuel Vadot hysteresis = <2000>; 11448bab661aSEmmanuel Vadot type = "hot"; 11458bab661aSEmmanuel Vadot }; 11468bab661aSEmmanuel Vadot }; 11478bab661aSEmmanuel Vadot }; 11488bab661aSEmmanuel Vadot 11498bab661aSEmmanuel Vadot qdsp-thermal { 11508bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11518bab661aSEmmanuel Vadot polling-delay = <1000>; 11528bab661aSEmmanuel Vadot 11538bab661aSEmmanuel Vadot thermal-sensors = <&tsens 2>; 11548bab661aSEmmanuel Vadot trips { 11558bab661aSEmmanuel Vadot qdsp_alert0: trip-point0 { 11568bab661aSEmmanuel Vadot temperature = <75000>; 11578bab661aSEmmanuel Vadot hysteresis = <2000>; 11588bab661aSEmmanuel Vadot type = "hot"; 11598bab661aSEmmanuel Vadot }; 11608bab661aSEmmanuel Vadot }; 11618bab661aSEmmanuel Vadot }; 11628bab661aSEmmanuel Vadot 11638bab661aSEmmanuel Vadot cam-isp-thermal { 11648bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11658bab661aSEmmanuel Vadot polling-delay = <1000>; 11668bab661aSEmmanuel Vadot 11678bab661aSEmmanuel Vadot thermal-sensors = <&tsens 3>; 11688bab661aSEmmanuel Vadot trips { 11698bab661aSEmmanuel Vadot cam_isp_alert0: trip-point0 { 11708bab661aSEmmanuel Vadot temperature = <75000>; 11718bab661aSEmmanuel Vadot hysteresis = <2000>; 11728bab661aSEmmanuel Vadot type = "hot"; 11738bab661aSEmmanuel Vadot }; 11748bab661aSEmmanuel Vadot }; 11758bab661aSEmmanuel Vadot }; 11768bab661aSEmmanuel Vadot 11778bab661aSEmmanuel Vadot cpu4-thermal { 11788bab661aSEmmanuel Vadot polling-delay-passive = <250>; 11798bab661aSEmmanuel Vadot polling-delay = <1000>; 11808bab661aSEmmanuel Vadot thermal-sensors = <&tsens 4>; 11818bab661aSEmmanuel Vadot 11828bab661aSEmmanuel Vadot trips { 11838bab661aSEmmanuel Vadot cpu4_alert0: trip-point0 { 11848bab661aSEmmanuel Vadot temperature = <50000>; 11858bab661aSEmmanuel Vadot hysteresis = <2000>; 11868bab661aSEmmanuel Vadot type = "hot"; 11878bab661aSEmmanuel Vadot }; 11888bab661aSEmmanuel Vadot cpu4_alert1: trip-point1 { 11898bab661aSEmmanuel Vadot temperature = <55000>; 11908bab661aSEmmanuel Vadot hysteresis = <2000>; 11918bab661aSEmmanuel Vadot type = "passive"; 11928bab661aSEmmanuel Vadot }; 11938bab661aSEmmanuel Vadot cpu4_crit: cpu-crit { 11948bab661aSEmmanuel Vadot temperature = <75000>; 11958bab661aSEmmanuel Vadot hysteresis = <2000>; 11968bab661aSEmmanuel Vadot type = "critical"; 11978bab661aSEmmanuel Vadot }; 11988bab661aSEmmanuel Vadot }; 11998bab661aSEmmanuel Vadot }; 12008bab661aSEmmanuel Vadot 12018bab661aSEmmanuel Vadot cpu5-thermal { 12028bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12038bab661aSEmmanuel Vadot polling-delay = <1000>; 12048bab661aSEmmanuel Vadot thermal-sensors = <&tsens 5>; 12058bab661aSEmmanuel Vadot 12068bab661aSEmmanuel Vadot trips { 12078bab661aSEmmanuel Vadot cpu5_alert0: trip-point0 { 12088bab661aSEmmanuel Vadot temperature = <50000>; 12098bab661aSEmmanuel Vadot hysteresis = <2000>; 12108bab661aSEmmanuel Vadot type = "hot"; 12118bab661aSEmmanuel Vadot }; 12128bab661aSEmmanuel Vadot cpu5_alert1: trip-point1 { 12138bab661aSEmmanuel Vadot temperature = <55000>; 12148bab661aSEmmanuel Vadot hysteresis = <2000>; 12158bab661aSEmmanuel Vadot type = "passive"; 12168bab661aSEmmanuel Vadot }; 12178bab661aSEmmanuel Vadot cpu5_crit: cpu-crit { 12188bab661aSEmmanuel Vadot temperature = <75000>; 12198bab661aSEmmanuel Vadot hysteresis = <2000>; 12208bab661aSEmmanuel Vadot type = "critical"; 12218bab661aSEmmanuel Vadot }; 12228bab661aSEmmanuel Vadot }; 12238bab661aSEmmanuel Vadot }; 12248bab661aSEmmanuel Vadot 12258bab661aSEmmanuel Vadot cpu6-thermal { 12268bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12278bab661aSEmmanuel Vadot polling-delay = <1000>; 12288bab661aSEmmanuel Vadot thermal-sensors = <&tsens 6>; 12298bab661aSEmmanuel Vadot 12308bab661aSEmmanuel Vadot trips { 12318bab661aSEmmanuel Vadot cpu6_alert0: trip-point0 { 12328bab661aSEmmanuel Vadot temperature = <50000>; 12338bab661aSEmmanuel Vadot hysteresis = <2000>; 12348bab661aSEmmanuel Vadot type = "hot"; 12358bab661aSEmmanuel Vadot }; 12368bab661aSEmmanuel Vadot cpu6_alert1: trip-point1 { 12378bab661aSEmmanuel Vadot temperature = <55000>; 12388bab661aSEmmanuel Vadot hysteresis = <2000>; 12398bab661aSEmmanuel Vadot type = "passive"; 12408bab661aSEmmanuel Vadot }; 12418bab661aSEmmanuel Vadot cpu6_crit: cpu-crit { 12428bab661aSEmmanuel Vadot temperature = <75000>; 12438bab661aSEmmanuel Vadot hysteresis = <2000>; 12448bab661aSEmmanuel Vadot type = "critical"; 12458bab661aSEmmanuel Vadot }; 12468bab661aSEmmanuel Vadot }; 12478bab661aSEmmanuel Vadot }; 12488bab661aSEmmanuel Vadot 12498bab661aSEmmanuel Vadot cpu7-thermal { 12508bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12518bab661aSEmmanuel Vadot polling-delay = <1000>; 12528bab661aSEmmanuel Vadot thermal-sensors = <&tsens 7>; 12538bab661aSEmmanuel Vadot 12548bab661aSEmmanuel Vadot trips { 12558bab661aSEmmanuel Vadot cpu7_alert0: trip-point0 { 12568bab661aSEmmanuel Vadot temperature = <50000>; 12578bab661aSEmmanuel Vadot hysteresis = <2000>; 12588bab661aSEmmanuel Vadot type = "hot"; 12598bab661aSEmmanuel Vadot }; 12608bab661aSEmmanuel Vadot cpu7_alert1: trip-point1 { 12618bab661aSEmmanuel Vadot temperature = <55000>; 12628bab661aSEmmanuel Vadot hysteresis = <2000>; 12638bab661aSEmmanuel Vadot type = "passive"; 12648bab661aSEmmanuel Vadot }; 12658bab661aSEmmanuel Vadot cpu7_crit: cpu-crit { 12668bab661aSEmmanuel Vadot temperature = <75000>; 12678bab661aSEmmanuel Vadot hysteresis = <2000>; 12688bab661aSEmmanuel Vadot type = "critical"; 12698bab661aSEmmanuel Vadot }; 12708bab661aSEmmanuel Vadot }; 12718bab661aSEmmanuel Vadot }; 12728bab661aSEmmanuel Vadot 12738bab661aSEmmanuel Vadot big-l2-thermal { 12748bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12758bab661aSEmmanuel Vadot polling-delay = <1000>; 12768bab661aSEmmanuel Vadot thermal-sensors = <&tsens 8>; 12778bab661aSEmmanuel Vadot 12788bab661aSEmmanuel Vadot trips { 12798bab661aSEmmanuel Vadot l2_alert0: trip-point0 { 12808bab661aSEmmanuel Vadot temperature = <50000>; 12818bab661aSEmmanuel Vadot hysteresis = <2000>; 12828bab661aSEmmanuel Vadot type = "hot"; 12838bab661aSEmmanuel Vadot }; 12848bab661aSEmmanuel Vadot l2_alert1: trip-point1 { 12858bab661aSEmmanuel Vadot temperature = <55000>; 12868bab661aSEmmanuel Vadot hysteresis = <2000>; 12878bab661aSEmmanuel Vadot type = "passive"; 12888bab661aSEmmanuel Vadot }; 12898bab661aSEmmanuel Vadot l2_crit: l2-crit { 12908bab661aSEmmanuel Vadot temperature = <75000>; 12918bab661aSEmmanuel Vadot hysteresis = <2000>; 12928bab661aSEmmanuel Vadot type = "critical"; 12938bab661aSEmmanuel Vadot }; 12948bab661aSEmmanuel Vadot }; 12958bab661aSEmmanuel Vadot }; 12968bab661aSEmmanuel Vadot 12978bab661aSEmmanuel Vadot cpu0-thermal { 12988bab661aSEmmanuel Vadot polling-delay-passive = <250>; 12998bab661aSEmmanuel Vadot polling-delay = <1000>; 13008bab661aSEmmanuel Vadot thermal-sensors = <&tsens 9>; 13018bab661aSEmmanuel Vadot 13028bab661aSEmmanuel Vadot trips { 13038bab661aSEmmanuel Vadot cpu0_alert0: trip-point0 { 13048bab661aSEmmanuel Vadot temperature = <50000>; 13058bab661aSEmmanuel Vadot hysteresis = <2000>; 13068bab661aSEmmanuel Vadot type = "hot"; 13078bab661aSEmmanuel Vadot }; 13088bab661aSEmmanuel Vadot cpu0_alert1: trip-point1 { 13098bab661aSEmmanuel Vadot temperature = <55000>; 13108bab661aSEmmanuel Vadot hysteresis = <2000>; 13118bab661aSEmmanuel Vadot type = "passive"; 13128bab661aSEmmanuel Vadot }; 13138bab661aSEmmanuel Vadot cpu0_crit: cpu-crit { 13148bab661aSEmmanuel Vadot temperature = <75000>; 13158bab661aSEmmanuel Vadot hysteresis = <2000>; 13168bab661aSEmmanuel Vadot type = "critical"; 13178bab661aSEmmanuel Vadot }; 13188bab661aSEmmanuel Vadot }; 13198bab661aSEmmanuel Vadot }; 13208bab661aSEmmanuel Vadot 13218bab661aSEmmanuel Vadot gpu-thermal { 13228bab661aSEmmanuel Vadot polling-delay-passive = <250>; 13238bab661aSEmmanuel Vadot polling-delay = <1000>; 13248bab661aSEmmanuel Vadot thermal-sensors = <&tsens 10>; 13258bab661aSEmmanuel Vadot 13268bab661aSEmmanuel Vadot trips { 13278bab661aSEmmanuel Vadot gpu_alert0: trip-point0 { 13288bab661aSEmmanuel Vadot temperature = <50000>; 13298bab661aSEmmanuel Vadot hysteresis = <2000>; 13308bab661aSEmmanuel Vadot type = "hot"; 13318bab661aSEmmanuel Vadot }; 13328bab661aSEmmanuel Vadot gpu_alert1: trip-point1 { 13338bab661aSEmmanuel Vadot temperature = <55000>; 13348bab661aSEmmanuel Vadot hysteresis = <2000>; 13358bab661aSEmmanuel Vadot type = "passive"; 13368bab661aSEmmanuel Vadot }; 13378bab661aSEmmanuel Vadot gpu_crit: gpu-crit { 13388bab661aSEmmanuel Vadot temperature = <75000>; 13398bab661aSEmmanuel Vadot hysteresis = <2000>; 13408bab661aSEmmanuel Vadot type = "critical"; 13418bab661aSEmmanuel Vadot }; 13428bab661aSEmmanuel Vadot }; 13438bab661aSEmmanuel Vadot }; 13448bab661aSEmmanuel Vadot }; 13458bab661aSEmmanuel Vadot 13468bab661aSEmmanuel Vadot timer { 13478bab661aSEmmanuel Vadot compatible = "arm,armv8-timer"; 13488bab661aSEmmanuel Vadot interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 13498bab661aSEmmanuel Vadot <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 13508bab661aSEmmanuel Vadot <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 13518bab661aSEmmanuel Vadot <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; 13528bab661aSEmmanuel Vadot clock-frequency = <19200000>; 13538bab661aSEmmanuel Vadot }; 13548bab661aSEmmanuel Vadot}; 1355