// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ #include #include #include #include #include #include #include #include #include / { interrupt-parent = <&intc>; #address-cells = <2>; #size-cells = <2>; cpus { #address-cells = <2>; #size-cells = <0>; cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a520"; reg = <0x0 0x0>; clocks = <&cpufreq_hw 0>; power-domains = <&cpu_pd0>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_0>; capacity-dmips-mhz = <1024>; dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0>; l2_0: l2-cache { compatible = "cache"; cache-level = <2>; cache-unified; next-level-cache = <&l3>; l3: l3-cache { compatible = "cache"; cache-level = <3>; cache-unified; }; }; }; cpu1: cpu@100 { device_type = "cpu"; compatible = "arm,cortex-a520"; reg = <0x0 0x100>; clocks = <&cpufreq_hw 0>; power-domains = <&cpu_pd1>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_0>; capacity-dmips-mhz = <1024>; dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0>; }; cpu2: cpu@200 { device_type = "cpu"; compatible = "arm,cortex-a520"; reg = <0x0 0x200>; clocks = <&cpufreq_hw 0>; power-domains = <&cpu_pd2>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_2>; capacity-dmips-mhz = <1024>; dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0>; l2_2: l2-cache { compatible = "cache"; cache-level = <2>; cache-unified; next-level-cache = <&l3>; }; }; cpu3: cpu@300 { device_type = "cpu"; compatible = "arm,cortex-a720"; reg = <0x0 0x300>; clocks = <&cpufreq_hw 1>; power-domains = <&cpu_pd3>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_3>; capacity-dmips-mhz = <1792>; dynamic-power-coefficient = <238>; qcom,freq-domain = <&cpufreq_hw 1>; l2_3: l2-cache { compatible = "cache"; cache-level = <2>; cache-unified; next-level-cache = <&l3>; }; }; cpu4: cpu@400 { device_type = "cpu"; compatible = "arm,cortex-a720"; reg = <0x0 0x400>; clocks = <&cpufreq_hw 1>; power-domains = <&cpu_pd4>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_4>; capacity-dmips-mhz = <1792>; dynamic-power-coefficient = <238>; qcom,freq-domain = <&cpufreq_hw 1>; l2_4: l2-cache { compatible = "cache"; cache-level = <2>; cache-unified; next-level-cache = <&l3>; }; }; cpu5: cpu@500 { device_type = "cpu"; compatible = "arm,cortex-a720"; reg = <0x0 0x500>; clocks = <&cpufreq_hw 1>; power-domains = <&cpu_pd5>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_5>; capacity-dmips-mhz = <1792>; dynamic-power-coefficient = <238>; qcom,freq-domain = <&cpufreq_hw 1>; l2_5: l2-cache { compatible = "cache"; cache-level = <2>; cache-unified; next-level-cache = <&l3>; }; }; cpu6: cpu@600 { device_type = "cpu"; compatible = "arm,cortex-a720"; reg = <0x0 0x600>; clocks = <&cpufreq_hw 1>; power-domains = <&cpu_pd6>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_6>; capacity-dmips-mhz = <1792>; dynamic-power-coefficient = <238>; qcom,freq-domain = <&cpufreq_hw 1>; l2_6: l2-cache { compatible = "cache"; cache-level = <2>; cache-unified; next-level-cache = <&l3>; }; }; cpu7: cpu@700 { device_type = "cpu"; compatible = "arm,cortex-x3"; reg = <0x0 0x700>; clocks = <&cpufreq_hw 2>; power-domains = <&cpu_pd7>; power-domain-names = "psci"; enable-method = "psci"; next-level-cache = <&l2_7>; capacity-dmips-mhz = <1894>; dynamic-power-coefficient = <588>; qcom,freq-domain = <&cpufreq_hw 2>; l2_7: l2-cache { compatible = "cache"; cache-level = <2>; cache-unified; next-level-cache = <&l3>; }; }; cpu-map { cluster0 { core0 { cpu = <&cpu0>; }; core1 { cpu = <&cpu1>; }; core2 { cpu = <&cpu2>; }; core3 { cpu = <&cpu3>; }; core4 { cpu = <&cpu4>; }; core5 { cpu = <&cpu5>; }; core6 { cpu = <&cpu6>; }; core7 { cpu = <&cpu7>; }; }; }; idle-states { entry-method = "psci"; cluster0_c4: cpu-sleep-0 { compatible = "arm,idle-state"; idle-state-name = "silver-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; entry-latency-us = <550>; exit-latency-us = <750>; min-residency-us = <6700>; }; cluster1_c4: cpu-sleep-1 { compatible = "arm,idle-state"; idle-state-name = "gold-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; entry-latency-us = <550>; exit-latency-us = <1050>; min-residency-us = <7951>; }; cluster2_c4: cpu-sleep-2 { compatible = "arm,idle-state"; idle-state-name = "gold-plus-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; entry-latency-us = <500>; exit-latency-us = <1350>; min-residency-us = <7480>; }; }; domain-idle-states { cluster_sleep_0: cluster-sleep-0 { compatible = "domain-idle-state"; arm,psci-suspend-param = <0x41000044>; entry-latency-us = <750>; exit-latency-us = <2350>; min-residency-us = <9144>; }; cluster_sleep_1: cluster-sleep-1 { compatible = "domain-idle-state"; arm,psci-suspend-param = <0x4100b344>; entry-latency-us = <2800>; exit-latency-us = <4400>; min-residency-us = <10150>; }; }; }; firmware { scm: scm { compatible = "qcom,scm-eliza", "qcom,scm"; interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; qcom,dload-mode = <&tcsr 0x1a000>; }; }; clk_virt: interconnect-0 { compatible = "qcom,eliza-clk-virt"; #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; mc_virt: interconnect-1 { compatible = "qcom,eliza-mc-virt"; #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; memory@a0000000 { device_type = "memory"; /* We expect the bootloader to fill in the size */ reg = <0x0 0xa0000000 0x0 0x0>; }; psci { compatible = "arm,psci-1.0"; method = "smc"; cpu_pd0: power-domain-cpu0 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster0_c4>; }; cpu_pd1: power-domain-cpu1 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster0_c4>; }; cpu_pd2: power-domain-cpu2 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster0_c4>; }; cpu_pd3: power-domain-cpu3 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster1_c4>; }; cpu_pd4: power-domain-cpu4 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster1_c4>; }; cpu_pd5: power-domain-cpu5 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster1_c4>; }; cpu_pd6: power-domain-cpu6 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster1_c4>; }; cpu_pd7: power-domain-cpu7 { #power-domain-cells = <0>; power-domains = <&cluster_pd>; domain-idle-states = <&cluster2_c4>; }; cluster_pd: power-domain-cluster { #power-domain-cells = <0>; domain-idle-states = <&cluster_sleep_0>, <&cluster_sleep_1>; }; }; reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; gunyah_hyp_mem: gunyah-hyp@80000000 { reg = <0x0 0x80000000 0x0 0xe00000>; no-map; }; cpusys_vm_mem: cpusys-vm-mem@80e00000 { reg = <0x0 0x80e00000 0x0 0x40000>; no-map; }; cpucp_mem: cpucp@81200000 { reg = <0x0 0x81200000 0x0 0x200000>; no-map; }; xbl_dtlog_mem: xbl-dtlog@81a00000 { reg = <0x0 0x81a00000 0x0 0x40000>; no-map; }; aop_image_mem: aop-image@81c00000 { reg = <0x0 0x81c00000 0x0 0x60000>; no-map; }; aop_cmd_db_mem: aop-cmd-db@81c60000 { compatible = "qcom,cmd-db"; reg = <0x0 0x81c60000 0x0 0x20000>; no-map; }; /* Merged aop_config, tme_crash_dump, tme_log and uefi_log regions */ aop_tme_uefi_merged_mem: aop-tme-uefi-merged@81c80000 { reg = <0x0 0x81c80000 0x0 0x74000>; no-map; }; /* Secdata region can be reused by apps */ smem_mem: smem@81d00000 { compatible = "qcom,smem"; reg = <0x0 0x81d00000 0x0 0x200000>; hwlocks = <&tcsr_mutex 3>; no-map; }; cpucp_scandump_mem: cpucp-scandump@82000000 { reg = <0x0 0x82200000 0x0 0x180000>; no-map; }; adsp_mhi_mem: adsp-mhi@82380000 { reg = <0x0 0x82380000 0x0 0x20000>; no-map; }; soccp_sdi_mem: soccp-sdi@823a0000 { reg = <0x0 0x823a0000 0x0 0x40000>; no-map; }; pmic_minii_dump_mem: pmic-minii-dump@823e0000 { reg = <0x0 0x823e0000 0x0 0x80000>; no-map; }; pvmfw_mem: pvmfw@824a0000 { reg = <0x0 0x824a0000 0x0 0x100000>; no-map; }; hyp_db_mem: hyp-db@825a0000 { reg = <0x0 0x825a0000 0x0 0x60000>; no-map; }; global_sync_mem: global-sync@82600000 { reg = <0x0 0x82600000 0x0 0x100000>; no-map; }; tz_stat_mem: tz-stat@82700000 { reg = <0x0 0x82700000 0x0 0x100000>; no-map; }; qdss_mem: qdss@82800000 { reg = <0x0 0x82800000 0x0 0x2000000>; no-map; }; dsm_partition_1_mem: dsm-partition-1@84a00000 { reg = <0x0 0x84a00000 0x0 0x3700000>; no-map; }; mpss_mem: mpss@88100000 { reg = <0x0 0x88100000 0x0 0xcd00000>; no-map; }; q6_mpss_dtb_mem: q6-mpss-dtb@94e00000 { reg = <0x0 0x94e00000 0x0 0x80000>; no-map; }; ipa_fw_mem: ipa-fw@94e80000 { reg = <0x0 0x94e80000 0x0 0x10000>; no-map; }; ipa_gsi_mem: ipa-gsi@94e90000 { reg = <0x0 0x94e90000 0x0 0xa000>; no-map; }; gpu_micro_code_mem: gpu-micro-code@94e9a000 { reg = <0x0 0x94e9a000 0x0 0x2000>; no-map; }; camera_mem: camera@94f00000 { reg = <0x0 0x94f00000 0x0 0x800000>; no-map; }; camera_2_mem: camera-2@95700000 { reg = <0x0 0x95700000 0x0 0x800000>; no-map; }; video_mem: video@95f00000 { reg = <0x0 0x95f00000 0x0 0x800000>; no-map; }; soccp_mem: soccp@96700000 { reg = <0x0 0x96700000 0x0 0x180000>; no-map; }; wpss_mem: wpss@97000000 { reg = <0x0 0x97000000 0x0 0x1900000>; no-map; }; cdsp_mem: cdsp@98900000 { reg = <0x0 0x98900000 0x0 0x1400000>; no-map; }; q6_cdsp_dtb_mem: q6-cdsp-dtb@99d00000 { reg = <0x0 0x99d00000 0x0 0x80000>; no-map; }; q6_adsp_dtb_mem: q6-adsp-dtb@99d80000 { reg = <0x0 0x99d80000 0x0 0x80000>; no-map; }; adspslpi_mem: adspslpi@99e00000 { reg = <0x0 0x99e00000 0x0 0x2a00000>; no-map; }; wlan_msa_mem: wlan-msa@a6400000 { reg = <0x0 0xa6400000 0x0 0xc00000>; no-map; }; xbl_ramdump_mem: xbl-ramdump@b8000000 { reg = <0x0 0xb8000000 0x0 0x1c0000>; no-map; }; /* Merged tz_reserved, xbl_sc, and qtee regions */ tz_merged_mem: tz-merged@d8000000 { reg = <0x0 0xd8000000 0x0 0x600000>; no-map; }; trust_ui_vm_mem: trust-ui-vm@f3800000 { reg = <0x0 0xf3800000 0x0 0x4400000>; no-map; }; oem_vm_mem: oem-vm@f7c00000 { reg = <0x0 0xf7c00000 0x0 0x4c00000>; no-map; }; llcc_lpi_mem: llcc-lpi@ff800000 { reg = <0x0 0xff800000 0x0 0x180000>; no-map; }; }; soc: soc@0 { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>; ranges = <0x0 0x0 0x0 0x0 0x10 0x0>; gcc: clock-controller@100000 { compatible = "qcom,eliza-gcc"; reg = <0x0 0x00100000 0x0 0x1f4200>; clocks = <&bi_tcxo_div2>, <&sleep_clk>, <0>, <0>, <&ufs_mem_phy 0>, <&ufs_mem_phy 1>, <&ufs_mem_phy 2>, <0>; power-domains = <&rpmhpd RPMHPD_CX>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; }; qupv3_2: geniqup@8c0000 { compatible = "qcom,geni-se-qup"; reg = <0x0 0x008c0000 0x0 0x2000>; clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>, <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>; clock-names = "m-ahb", "s-ahb"; iommus = <&apps_smmu 0x423 0x0>; #address-cells = <2>; #size-cells = <2>; ranges; uart14: serial@894000 { compatible = "qcom,geni-uart"; reg = <0x0 0x00894000 0x0 0x4000>; interrupts = ; clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; clock-names = "se"; interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; interconnect-names = "qup-core", "qup-config"; pinctrl-0 = <&qup_uart14_default>; pinctrl-names = "default"; status = "disabled"; }; }; config_noc: interconnect@1600000 { compatible = "qcom,eliza-cnoc-cfg"; reg = <0x0 0x01600000 0x0 0x5200>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; cnoc_main: interconnect@1500000 { compatible = "qcom,eliza-cnoc-main"; reg = <0x0 0x01500000 0x0 0x16080>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; system_noc: interconnect@1680000 { compatible = "qcom,eliza-system-noc"; reg = <0x0 0x01680000 0x0 0x40000>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; pcie_noc: interconnect@16c0000 { compatible = "qcom,eliza-pcie-anoc"; reg = <0x0 0x016c0000 0x0 0x11400>; qcom,bcm-voters = <&apps_bcm_voter>; clocks = <&gcc GCC_AGGRE_NOC_PCIE_AXI_CLK>, <&gcc GCC_CFG_NOC_PCIE_ANOC_AHB_CLK>; #interconnect-cells = <2>; }; aggre1_noc: interconnect@16e0000 { compatible = "qcom,eliza-aggre1-noc"; reg = <0x0 0x016e0000 0x0 0x16400>; qcom,bcm-voters = <&apps_bcm_voter>; clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>; #interconnect-cells = <2>; }; aggre2_noc: interconnect@1700000 { compatible = "qcom,eliza-aggre2-noc"; reg = <0x0 0x01700000 0x0 0x1f400>; qcom,bcm-voters = <&apps_bcm_voter>; clocks = <&rpmhcc RPMH_IPA_CLK>; #interconnect-cells = <2>; }; mmss_noc: interconnect@1780000 { compatible = "qcom,eliza-mmss-noc"; reg = <0x0 0x01780000 0x0 0x7d800>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; ufs_mem_phy: phy@1d80000 { compatible = "qcom,eliza-qmp-ufs-phy", "qcom,sm8650-qmp-ufs-phy"; reg = <0x0 0x01d80000 0x0 0x2000>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, <&tcsr TCSR_UFS_CLKREF_EN>; clock-names = "ref", "ref_aux", "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; power-domains = <&gcc GCC_UFS_MEM_PHY_GDSC>; #clock-cells = <1>; #phy-cells = <0>; status = "disabled"; }; ufs_mem_hc: ufshc@1d84000 { compatible = "qcom,eliza-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; reg = <0x0 0x01d84000 0x0 0x3000>, <0x0 0x01da0000 0x0 0x15000>; reg-names = "std", "mcq"; interrupts = ; clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, <&gcc GCC_UFS_PHY_AHB_CLK>, <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, <&rpmhcc RPMH_LN_BB_CLK3>, <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; clock-names = "core_clk", "bus_aggr_clk", "iface_clk", "core_clk_unipro", "ref_clk", "tx_lane0_sync_clk", "rx_lane0_sync_clk", "rx_lane1_sync_clk"; operating-points-v2 = <&ufs_opp_table>; resets = <&gcc GCC_UFS_PHY_BCR>; reset-names = "rst"; interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY &config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; interconnect-names = "ufs-ddr", "cpu-ufs"; power-domains = <&gcc GCC_UFS_PHY_GDSC>; required-opps = <&rpmhpd_opp_nom>; iommus = <&apps_smmu 0x60 0x0>; dma-coherent; msi-parent = <&gic_its 0x60>; lanes-per-direction = <2>; qcom,ice = <&ice>; phys = <&ufs_mem_phy>; phy-names = "ufsphy"; #reset-cells = <1>; status = "disabled"; ufs_opp_table: opp-table { compatible = "operating-points-v2"; opp-100000000 { opp-hz = /bits/ 64 <100000000>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <100000000>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <0>; required-opps = <&rpmhpd_opp_low_svs>; }; opp-201500000 { opp-hz = /bits/ 64 <201500000>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <201500000>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <0>; required-opps = <&rpmhpd_opp_svs_l1>; }; opp-403000000 { opp-hz = /bits/ 64 <403000000>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <403000000>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <0>; required-opps = <&rpmhpd_opp_nom>; }; }; }; ice: crypto@1d88000 { compatible = "qcom,eliza-inline-crypto-engine", "qcom,inline-crypto-engine"; reg = <0x0 0x01d88000 0x0 0x18000>; clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; }; tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x20000>; #hwlock-cells = <1>; }; tcsr: clock-controller@1fbf000 { compatible = "qcom,eliza-tcsr", "syscon"; reg = <0x0 0x01fbf000 0x0 0x21000>; clocks = <&rpmhcc RPMH_CXO_CLK>; #clock-cells = <1>; #reset-cells = <1>; }; lpass_ag_noc: interconnect@7e40000 { compatible = "qcom,eliza-lpass-ag-noc"; reg = <0x0 0x07e40000 0x0 0xe080>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; lpass_lpiaon_noc: interconnect@7400000 { compatible = "qcom,eliza-lpass-lpiaon-noc"; reg = <0x0 0x07400000 0x0 0x19080>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; lpass_lpicx_noc: interconnect@7420000 { compatible = "qcom,eliza-lpass-lpicx-noc"; reg = <0x0 0x07420000 0x0 0x44080>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; pdc: interrupt-controller@b220000 { compatible = "qcom,eliza-pdc", "qcom,pdc"; reg = <0x0 0x0b220000 0x0 0x40000>, <0x0 0x174000f0 0x0 0x64>; qcom,pdc-ranges = <0 480 8>, <8 719 1>, <9 718 1>, <10 230 1>, <11 724 1>, <12 716 1>, <13 727 1>, <14 720 1>, <15 726 1>, <16 721 1>, <17 262 1>, <18 70 1>, <19 723 1>, <20 234 1>, <22 725 1>, <23 231 1>, <24 504 5>, <30 510 8>, <40 520 6>, <51 531 4>, <58 538 2>, <61 541 5>, <66 92 1>, <67 547 13>, <80 240 1>, <81 235 1>, <82 310 2>, <84 248 1>, <85 241 1>, <86 238 2>, <88 254 1>, <89 509 1>, <90 563 1>, <91 259 2>, <93 201 1>, <94 246 1>, <95 93 1>, <96 611 29>, <125 63 1>, <126 366 2>, <128 374 1>, <129 377 1>, <130 428 1>, <131 434 2>, <133 437 1>, <134 452 2>, <136 458 2>, <138 464 11>, <149 671 1>, <150 688 1>, <151 714 2>, <153 722 1>, <154 255 1>, <155 269 2>, <157 276 1>, <158 287 1>, <159 306 4>; #interrupt-cells = <2>; interrupt-parent = <&intc>; interrupt-controller; }; tsens0: thermal-sensor@c228000 { compatible = "qcom,eliza-tsens", "qcom,tsens-v2"; reg = <0x0 0x0c228000 0x0 0x1000>, <0x0 0x0c222000 0x0 0x1000>; interrupts = , ; interrupt-names = "uplow", "critical"; #qcom,sensors = <13>; #thermal-sensor-cells = <1>; }; tsens1: thermal-sensor@c229000 { compatible = "qcom,eliza-tsens", "qcom,tsens-v2"; reg = <0x0 0x0c229000 0x0 0x1000>, <0x0 0x0c223000 0x0 0x1000>; interrupts = , ; interrupt-names = "uplow", "critical"; #qcom,sensors = <14>; #thermal-sensor-cells = <1>; }; tsens2: thermal-sensor@c22a000 { compatible = "qcom,eliza-tsens", "qcom,tsens-v2"; reg = <0x0 0x0c22a000 0x0 0x1000>, <0x0 0x0c224000 0x0 0x1000>; interrupts = , ; interrupt-names = "uplow", "critical"; #qcom,sensors = <5>; #thermal-sensor-cells = <1>; }; spmi: arbiter@c400000 { compatible = "qcom,eliza-spmi-pmic-arb", "qcom,x1e80100-spmi-pmic-arb"; reg = <0x0 0x0c400000 0x0 0x3000>, <0x0 0x0c500000 0x0 0x400000>, <0x0 0x0c440000 0x0 0x80000>; reg-names = "core", "chnls", "obsrvr"; qcom,ee = <0>; qcom,channel = <0>; #address-cells = <2>; #size-cells = <2>; ranges; spmi_bus0: spmi@c42d000 { reg = <0x0 0x0c42d000 0x0 0x4000>, <0x0 0x0c4c0000 0x0 0x10000>; reg-names = "cnfg", "intr"; interrupt-names = "periph_irq"; interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; #interrupt-cells = <4>; #address-cells = <2>; #size-cells = <0>; }; spmi_bus1: spmi@c432000 { reg = <0x0 0x0c432000 0x0 0x4000>, <0x0 0x0c4d0000 0x0 0x10000>; reg-names = "cnfg", "intr"; interrupt-names = "periph_irq"; interrupts-extended = <&pdc 3 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; #interrupt-cells = <4>; #address-cells = <2>; #size-cells = <0>; }; }; apps_smmu: iommu@15000000 { compatible = "qcom,eliza-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0x0 0x15000000 0x0 0x100000>; interrupts = , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ; #iommu-cells = <2>; #global-interrupts = <1>; dma-coherent; }; intc: interrupt-controller@17100000 { compatible = "arm,gic-v3"; reg = <0x0 0x17100000 0x0 0x10000>, <0x0 0x17180000 0x0 0x200000>; interrupts = ; #interrupt-cells = <3>; interrupt-controller; #redistributor-regions = <1>; redistributor-stride = <0x0 0x40000>; #address-cells = <2>; #size-cells = <2>; ranges; gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; reg = <0x0 0x17140000 0x0 0x40000>; msi-controller; #msi-cells = <1>; }; }; apps_rsc: rsc@17a00000 { compatible = "qcom,rpmh-rsc"; reg = <0x0 0x17a00000 0x0 0x10000>, <0x0 0x17a10000 0x0 0x10000>, <0x0 0x17a20000 0x0 0x10000>; reg-names = "drv-0", "drv-1", "drv-2"; interrupts = , , ; power-domains = <&cluster_pd>; label = "apps_rsc"; qcom,tcs-offset = <0xd00>; qcom,drv-id = <2>; qcom,tcs-config = , , , ; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter"; }; rpmhcc: clock-controller { compatible = "qcom,eliza-rpmh-clk"; #clock-cells = <1>; clocks = <&xo_board>; clock-names = "xo"; }; rpmhpd: power-controller { compatible = "qcom,eliza-rpmhpd"; operating-points-v2 = <&rpmhpd_opp_table>; #power-domain-cells = <1>; rpmhpd_opp_table: opp-table { compatible = "operating-points-v2"; rpmhpd_opp_ret: opp-16 { opp-level = ; }; rpmhpd_opp_min_svs: opp-48 { opp-level = ; }; rpmhpd_opp_low_svs_d3: opp-50 { opp-level = ; }; rpmhpd_opp_low_svs_d2: opp-52 { opp-level = ; }; rpmhpd_opp_low_svs_d1: opp-56 { opp-level = ; }; rpmhpd_opp_low_svs_d0: opp-60 { opp-level = ; }; rpmhpd_opp_low_svs: opp-64 { opp-level = ; }; rpmhpd_opp_low_svs_l1: opp-80 { opp-level = ; }; rpmhpd_opp_svs: opp-128 { opp-level = ; }; rpmhpd_opp_svs_l0: opp-144 { opp-level = ; }; rpmhpd_opp_svs_l1: opp-192 { opp-level = ; }; rpmhpd_opp_svs_l2: opp-224 { opp-level = ; }; rpmhpd_opp_nom: opp-256 { opp-level = ; }; rpmhpd_opp_nom_l1: opp-320 { opp-level = ; }; rpmhpd_opp_nom_l2: opp-336 { opp-level = ; }; rpmhpd_opp_turbo: opp-384 { opp-level = ; }; rpmhpd_opp_turbo_l1: opp-416 { opp-level = ; }; rpmhpd_opp_turbo_l2: opp-432 { opp-level = ; }; rpmhpd_opp_turbo_l3: opp-448 { opp-level = ; }; rpmhpd_opp_turbo_l4: opp-452 { opp-level = ; }; rpmhpd_opp_super_turbo_no_cpr: opp-480 { opp-level = ; }; }; }; }; epss_l3: interconnect@17d90000 { compatible = "qcom,eliza-epss-l3", "qcom,epss-l3"; reg = <0x0 0x17d90000 0x0 0x1000>; clocks = <&bi_tcxo_div2>, <&gcc GCC_GPLL0>; clock-names = "xo", "alternate"; #interconnect-cells = <1>; }; cpufreq_hw: cpufreq@17d91000 { compatible = "qcom,eliza-cpufreq-epss", "qcom,cpufreq-epss"; reg = <0x0 0x17d91000 0x0 0x1000>, <0x0 0x17d92000 0x0 0x1000>, <0x0 0x17d93000 0x0 0x1000>; reg-names = "freq-domain0", "freq-domain1", "freq-domain2"; interrupts = , , ; interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1", "dcvsh-irq-2"; clocks = <&bi_tcxo_div2>, <&gcc GCC_GPLL0>; clock-names = "xo", "alternate"; #freq-domain-cells = <1>; #clock-cells = <1>; }; tlmm: pinctrl@f100000 { compatible = "qcom,eliza-tlmm"; reg = <0x0 0x0f100000 0x0 0xf00000>; interrupts = ; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; gpio-ranges = <&tlmm 0 0 184>; wakeup-parent = <&pdc>; qup_uart14_default: qup-uart14-default-state { /* TX, RX */ pins = "gpio18", "gpio19"; function = "qup2_se5"; drive-strength = <2>; bias-pull-up; }; }; gem_noc: interconnect@24100000 { compatible = "qcom,eliza-gem-noc"; reg = <0x0 0x24100000 0x0 0x163080>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; nsp_noc: interconnect@320c0000 { compatible = "qcom,eliza-nsp-noc"; reg = <0x0 0x320c0000 0x0 0xe080>; qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; }; thermal-zones { aoss0-thermal { thermal-sensors = <&tsens0 0>; trips { aoss-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; aoss-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; aoss1-thermal { thermal-sensors = <&tsens1 0>; trips { aoss-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; aoss-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; aoss2-thermal { thermal-sensors = <&tsens2 0>; trips { aoss-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; aoss-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; camera0-thermal { thermal-sensors = <&tsens1 12>; trips { camera-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; camera-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; camera1-thermal { thermal-sensors = <&tsens1 13>; trips { camera-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; camera-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; cpu0-thermal { thermal-sensors = <&tsens1 1>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu1-thermal { thermal-sensors = <&tsens1 2>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu2-thermal { thermal-sensors = <&tsens1 3>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu3-top-thermal { thermal-sensors = <&tsens0 3>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu3-bottom-thermal { thermal-sensors = <&tsens0 4>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu4-top-thermal { thermal-sensors = <&tsens0 5>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu4-bottom-thermal { thermal-sensors = <&tsens0 6>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu5-top-thermal { thermal-sensors = <&tsens0 7>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu5-bottom-thermal { thermal-sensors = <&tsens0 8>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu6-top-thermal { thermal-sensors = <&tsens0 9>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu6-bottom-thermal { thermal-sensors = <&tsens0 10>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu7-top-thermal { thermal-sensors = <&tsens0 11>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpu7-bottom-thermal { thermal-sensors = <&tsens0 12>; trips { cpu-critical { temperature = <110000>; hysteresis = <1000>; type = "critical"; }; }; }; cpuss0-thermal { thermal-sensors = <&tsens0 1>; trips { cpuss-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; cpuss-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; cpuss1-thermal { thermal-sensors = <&tsens0 2>; trips { cpuss-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; cpuss-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; ddr-thermal { thermal-sensors = <&tsens1 11>; trips { ddr-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; ddr-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; gpuss0-thermal { polling-delay-passive = <10>; thermal-sensors = <&tsens1 8>; trips { gpu-alert { temperature = <95000>; hysteresis = <1000>; type = "passive"; }; gpu-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; gpu-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; gpuss1-thermal { polling-delay-passive = <10>; thermal-sensors = <&tsens1 9>; trips { gpu-alert { temperature = <95000>; hysteresis = <1000>; type = "passive"; }; gpu-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; gpu-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; modem0-thermal { thermal-sensors = <&tsens2 1>; trips { modem-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; modem-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; modem1-thermal { thermal-sensors = <&tsens2 2>; trips { modem-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; modem-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; modem2-thermal { thermal-sensors = <&tsens2 3>; trips { modem-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; modem-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; modem3-thermal { thermal-sensors = <&tsens2 4>; trips { modem-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; modem-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; nsphmx0-thermal { thermal-sensors = <&tsens1 6>; trips { nsphmx-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; nsphmx-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; nsphmx1-thermal { thermal-sensors = <&tsens1 7>; trips { nsphmx-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; nsphmx-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; nsphvx0-thermal { thermal-sensors = <&tsens1 4>; trips { nsphvx-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; nsphvx-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; nsphvx1-thermal { thermal-sensors = <&tsens1 5>; trips { nsphvx-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; nsphvx-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; video-thermal { thermal-sensors = <&tsens1 10>; trips { video-hot { temperature = <110000>; hysteresis = <1000>; type = "hot"; }; video-critical { temperature = <115000>; hysteresis = <0>; type = "critical"; }; }; }; }; timer { compatible = "arm,armv8-timer"; interrupts = , , , ; }; };