// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include / { model = "Qualcomm Technologies, Inc. Kera"; compatible = "qcom,kera"; qcom,msm-id = <659 0x10000>; interrupt-parent = <&intc>; #address-cells = <2>; #size-cells = <2>; memory { device_type = "memory"; reg = <0 0 0 0>; }; chosen: chosen { bootargs = "log_buf_len=512K loglevel=6 cpufreq.default_governor=performance sysctl.kernel.sched_pelt_multiplier=4 no-steal-acc kpti=0 swiotlb=0 loop.max_part=7 irqaffinity=0-2 printk.console_no_auto_verbose=1 kasan=off rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kernel.panic_on_rcu_stall=1 disable_dma32=on cgroup_disable=pressure fw_devlink.strict=1 can.stats_timer=0 ftrace_dump_on_oops"; stdout-path = "/soc/qcom,qupv3_1_geni_se@8c0000/qcom,qup_uart@894000:115200n8"; }; reserved_memory: reserved-memory {}; ddr-regions { }; mem-offline { compatible = "qcom,mem-offline"; offline-sizes = <0x2 0xc0000000 0x1 0x0>; granule = <512>; qcom,qmp = <&aoss_qmp>; }; firmware: firmware { qcom_scm: qcom_scm { }; }; aliases { serial0 = &qupv3_se13_2uart; }; cpus { #address-cells = <2>; #size-cells = <0>; CPU0: cpu@0 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x0>; enable-method = "psci"; cpu-idle-states = <&SILVER_OFF &SILVER_RAIL_OFF>; power-domains = <&CPU_PD0>; power-domain-names = "psci"; next-level-cache = <&L2_0>; L2_0: l2-cache { compatible = "cache"; cache-level = <2>; next-level-cache = <&L3_0>; L3_0: l3-cache { compatible = "cache"; cache-level = <3>; }; }; }; CPU1: cpu@100 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x100>; enable-method = "psci"; cpu-idle-states = <&SILVER_OFF &SILVER_RAIL_OFF>; power-domains = <&CPU_PD1>; power-domain-names = "psci"; next-level-cache = <&L2_0>; }; CPU2: cpu@200 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x200>; enable-method = "psci"; cpu-idle-states = <&SILVER_OFF &SILVER_RAIL_OFF>; power-domains = <&CPU_PD2>; power-domain-names = "psci"; next-level-cache = <&L2_2>; L2_2: l2-cache { compatible = "cache"; cache-level = <2>; next-level-cache = <&L3_0>; }; }; CPU3: cpu@300 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x300>; enable-method = "psci"; cpu-idle-states = <&GOLD_OFF &GOLD_RAIL_OFF>; power-domains = <&CPU_PD3>; power-domain-names = "psci"; next-level-cache = <&L2_3>; L2_3: l2-cache { compatible = "cache"; cache-level = <2>; next-level-cache = <&L3_0>; }; }; CPU4: cpu@400 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x400>; enable-method = "psci"; cpu-idle-states = <&GOLD_OFF &GOLD_RAIL_OFF>; power-domains = <&CPU_PD4>; power-domain-names = "psci"; next-level-cache = <&L2_4>; L2_4: l2-cache { compatible = "cache"; cache-level = <2>; next-level-cache = <&L3_0>; }; }; CPU5: cpu@500 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x500>; enable-method = "psci"; cpu-idle-states = <&GOLD_OFF &GOLD_RAIL_OFF>; power-domains = <&CPU_PD5>; power-domain-names = "psci"; next-level-cache = <&L2_5>; L2_5: l2-cache { compatible = "cache"; cache-level = <2>; next-level-cache = <&L3_0>; }; }; CPU6: cpu@600 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x600>; enable-method = "psci"; cpu-idle-states = <&GOLD_OFF &GOLD_RAIL_OFF>; power-domains = <&CPU_PD6>; power-domain-names = "psci"; next-level-cache = <&L2_6>; L2_6: l2-cache { compatible = "cache"; cache-level = <2>; next-level-cache = <&L3_0>; }; }; CPU7: cpu@700 { device_type = "cpu"; compatible = "qcom,kryo"; reg = <0x0 0x700>; enable-method = "psci"; cpu-idle-states = <&GOLD_PLUS_OFF &GOLD_PLUS_RAIL_OFF>; power-domains = <&CPU_PD7>; power-domain-names = "psci"; next-level-cache = <&L2_7>; L2_7: l2-cache { compatible = "cache"; cache-level = <2>; next-level-cache = <&L3_0>; }; }; cpu-map { cluster0 { core0 { cpu = <&CPU0>; }; core1 { cpu = <&CPU1>; }; core2 { cpu = <&CPU2>; }; }; cluster1 { core0 { cpu = <&CPU3>; }; core1 { cpu = <&CPU4>; }; core2 { cpu = <&CPU5>; }; core3 { cpu = <&CPU6>; }; }; cluster2 { core0 { cpu = <&CPU7>; }; }; }; }; idle-states { entry-method = "psci"; SILVER_OFF: silver-c3 { /* C3 */ compatible = "arm,idle-state"; idle-state-name = "pc"; entry-latency-us = <250>; exit-latency-us = <900>; min-residency-us = <3200>; arm,psci-suspend-param = <0x40000003>; local-timer-stop; }; SILVER_RAIL_OFF: silver-cluster0-c4 { /* C4 */ compatible = "arm,idle-state"; idle-state-name = "rail-pc"; entry-latency-us = <550>; exit-latency-us = <750>; min-residency-us = <6700>; arm,psci-suspend-param = <0x40000004>; local-timer-stop; }; GOLD_OFF: gold-c3 { /* C3 */ compatible = "arm,idle-state"; idle-state-name = "pc"; entry-latency-us = <400>; exit-latency-us = <1100>; min-residency-us = <4011>; arm,psci-suspend-param = <0x40000003>; local-timer-stop; }; GOLD_RAIL_OFF: gold-cluster1-c4 { /* C4 */ compatible = "arm,idle-state"; idle-state-name = "rail-pc"; entry-latency-us = <550>; exit-latency-us = <1050>; min-residency-us = <7951>; arm,psci-suspend-param = <0x40000004>; local-timer-stop; }; GOLD_PLUS_OFF: gold-plus-c3 { /* C3 */ compatible = "arm,idle-state"; idle-state-name = "pc"; entry-latency-us = <450>; exit-latency-us = <1200>; min-residency-us = <6230>; arm,psci-suspend-param = <0x40000003>; local-timer-stop; }; GOLD_PLUS_RAIL_OFF: gold-plus-cluster3-c4 { /* C4 */ compatible = "arm,idle-state"; idle-state-name = "rail-pc"; entry-latency-us = <500>; exit-latency-us = <1350>; min-residency-us = <7480>; arm,psci-suspend-param = <0x40000004>; local-timer-stop; }; CLUSTER_PWR_DN: cluster-d4 { /* D4 */ compatible = "domain-idle-state"; idle-state-name = "l3-off"; entry-latency-us = <750>; exit-latency-us = <2350>; min-residency-us = <9144>; arm,psci-suspend-param = <0x41000044>; }; CX_RET: cx-ret { /* Cx Ret */ compatible = "domain-idle-state"; idle-state-name = "cx-ret"; entry-latency-us = <1561>; exit-latency-us = <2801>; min-residency-us = <8550>; arm,psci-suspend-param = <0x41001344>; }; APSS_OFF: cluster-e3 { /* E3 */ compatible = "domain-idle-state"; idle-state-name = "llcc-off"; entry-latency-us = <2800>; exit-latency-us = <4400>; min-residency-us = <10150>; arm,psci-suspend-param = <0x4100b344>; }; }; soc: soc { }; hypervisor: hypervisor { gh_watchdog: qcom,gh-watchdog { }; }; }; &firmware { qcom_scm { compatible = "qcom,scm"; qcom,dload-mode = <&tcsr 0x19000>; }; qtee_shmbridge { compatible = "qcom,tee-shared-memory-bridge"; }; }; #include "kera-reserved-memory.dtsi" #include "msm-arm-smmu-kera.dtsi" #include "kera-dma-heaps.dtsi" &reserved_memory { #address-cells = <2>; #size-cells = <2>; ranges; /* global autoconfigured region for contiguous allocations */ system_cma: linux,cma { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; size = <0x0 0x2000000>; linux,cma-default; }; kinfo_mem: debug_kinfo_region { alloc-ranges = <0x0 0x00000000 0xffffffff 0xffffffff>; size = <0x0 0x1000>; no-map; }; va_md_mem: va_md_mem_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; size = <0 0x1000000>; }; ramoops_mem: ramoops-region { alloc-ranges = <0x1 0x00000000 0xfffffffe 0xffffffff>; size = <0x0 0x200000>; no-map; }; }; &soc { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; psci { compatible = "arm,psci-1.0"; method = "smc"; CPU_PD0: cpu-pd0 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CPU_PD1: cpu-pd1 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CPU_PD2: cpu-pd2 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CPU_PD3: cpu-pd3 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CPU_PD4: cpu-pd4 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CPU_PD5: cpu-pd5 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CPU_PD6: cpu-pd6 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CPU_PD7: cpu-pd7 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; }; CLUSTER_PD: cluster-pd { #power-domain-cells = <0>; domain-idle-states = <&CLUSTER_PWR_DN &CX_RET &APSS_OFF>; }; }; intc: interrupt-controller@17100000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>; interrupt-controller; #redistributor-regions = <1>; redistributor-stride = <0x0 0x40000>; reg = <0x17100000 0x10000>, /* GICD */ <0x17180000 0x200000>; /* GICR * 8 */ interrupts = ; }; arch_timer: timer { compatible = "arm,armv8-timer"; interrupts = , , , ; clock-frequency = <19200000>; }; memtimer: timer@17420000 { #address-cells = <1>; #size-cells = <1>; ranges; compatible = "arm,armv7-timer-mem"; reg = <0x17420000 0x1000>; clock-frequency = <19200000>; frame@17421000 { frame-number = <0>; interrupts = , ; reg = <0x17421000 0x1000>, <0x17422000 0x1000>; }; frame@17423000 { frame-number = <1>; interrupts = ; reg = <0x17423000 0x1000>; status = "disabled"; }; frame@17425000 { frame-number = <2>; interrupts = ; reg = <0x17425000 0x1000>; status = "disabled"; }; frame@17427000 { frame-number = <3>; interrupts = ; reg = <0x17427000 0x1000>; status = "disabled"; }; frame@17429000 { frame-number = <4>; interrupts = ; reg = <0x17429000 0x1000>; status = "disabled"; }; frame@1742b000 { frame-number = <5>; interrupts = ; reg = <0x1742b000 0x1000>; status = "disabled"; }; frame@1742d000 { frame-number = <6>; interrupts = ; reg = <0x1742d000 0x1000>; status = "disabled"; }; }; qcom,secure-buffer { compatible = "qcom,secure-buffer"; qcom,vmid-cp-camera-preview-ro; }; qcom,mem-buf { compatible = "qcom,mem-buf"; qcom,mem-buf-capabilities = "supplier"; qcom,vmid = <3>; }; qcom,mem-buf-msgq { compatible = "qcom,mem-buf-msgq"; }; apps_rsc: rsc@17a00000 { label = "apps_rsc"; compatible = "qcom,rpmh-rsc"; reg = <0x17a00000 0x10000>, <0x17a10000 0x10000>, <0x17a20000 0x10000>; reg-names = "drv-0", "drv-1", "drv-2"; qcom,drv-count = <3>; interrupts = , , ; power-domains = <&CLUSTER_PD>; apps_rsc_drv2: drv@2 { qcom,drv-id = <2>; qcom,tcs-offset = <0xd00>; qcom,tcs-distance = <0x2a0>; channel@0 { qcom,tcs-config = , , , , ; }; apps_bcm_voter: bcm_voter { compatible = "qcom,bcm-voter"; }; }; }; disp_rsc: rsc@af20000 { label = "disp_rsc"; compatible = "qcom,rpmh-rsc"; reg = <0xaf20000 0x1000>; reg-names = "drv-0"; qcom,drv-count = <1>; interrupts = ; disp_rsc_drv0: drv@0 { qcom,drv-id = <0>; qcom,tcs-offset = <0x520>; qcom,tcs-distance = <0x150>; channel@0 { qcom,tcs-config = , , , , ; }; }; }; pdc: interrupt-controller@b220000 { compatible = "qcom,kera-pdc", "qcom,pdc"; reg = <0xb220000 0x10000>, <0x17c000f0 0x60>; 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; }; adsp_sleepmon: adsp-sleepmon { compatible = "qcom,adsp-sleepmon"; qcom,rproc-handle = <&adsp_pas>; }; adsp_pas: remoteproc-adsp@03000000 { compatible = "qcom,kera-adsp-pas"; reg = <0x03000000 0x10000>; status = "ok"; cx-uV-uA = ; mx-uV-uA = ; reg-names = "cx", "mx"; clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; qcom,qmp = <&aoss_qmp>; interconnects = <&lpass_lpicx_noc MASTER_LPASS_PROC &mc_virt SLAVE_EBI1>, <&aggre2_noc MASTER_CRYPTO &mc_virt SLAVE_EBI1>; interconnect-names = "rproc_ddr", "crypto_ddr"; firmware-name = "adsp.mdt", "adsp_dtb.mdt"; memory-region = <&adspslpi_mem &q6_adsp_dtb_mem>; /* Inputs from ssc */ interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 0 0>, <&adsp_smp2p_in 2 0>, <&adsp_smp2p_in 1 0>, <&adsp_smp2p_in 3 0>, <&adsp_smp2p_in 7 0>; interrupt-names = "wdog", "fatal", "handover", "ready", "stop-ack", "shutdown-ack"; /* Outputs to turing */ qcom,smem-states = <&adsp_smp2p_out 0>; qcom,smem-state-names = "stop"; remoteproc_adsp_glink: glink-edge { qcom,remote-pid = <2>; transport = "smem"; mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP>; mbox-names = "adsp_smem"; interrupt-parent = <&ipcc_mproc>; interrupts = ; label = "adsp"; qcom,glink-label = "lpass"; qcom,adsp_qrtr { qcom,glink-channels = "IPCRTR"; qcom,net-id = <2>; qcom,intents = <0x800 5 0x2000 3 0x4400 2>; qcom,no-wake-svc = <0x190>; }; qcom,pmic_glink_rpmsg { qcom,glink-channels = "PMIC_RTR_ADSP_APPS"; }; qcom,pmic_glink_log_rpmsg { qcom,glink-channels = "PMIC_LOGS_ADSP_APPS"; qcom,intents = <0x800 5 0xc00 3 0x2000 1>; }; }; }; cdsp_pas: remoteproc-cdsp@32300000 { compatible = "qcom,kera-cdsp-pas"; reg = <0x32300000 0x10000>; status = "ok"; cx-uV-uA = ; mx-uV-uA = ; nsp-uV-uA = ; reg-names = "cx","mx","nsp"; clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; qcom,qmp = <&aoss_qmp>; interconnects = <&nsp_noc MASTER_CDSP_PROC &mc_virt SLAVE_EBI1>, <&aggre2_noc MASTER_CRYPTO &mc_virt SLAVE_EBI1>; interconnect-names = "rproc_ddr", "crypto_ddr"; firmware-name = "cdsp.mdt", "cdsp_dtb.mdt"; memory-region = <&cdsp_mem &q6_cdsp_dtb_mem &global_sync_mem>; /* Inputs from turing */ interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, <&cdsp_smp2p_in 0 0>, <&cdsp_smp2p_in 2 0>, <&cdsp_smp2p_in 1 0>, <&cdsp_smp2p_in 3 0>, <&cdsp_smp2p_in 7 0>; interrupt-names = "wdog", "fatal", "handover", "ready", "stop-ack", "shutdown-ack"; /* Outputs to turing */ qcom,smem-states = <&cdsp_smp2p_out 0>; qcom,smem-state-names = "stop"; remoteproc_cdsp_glink: glink-edge { qcom,remote-pid = <5>; transport = "smem"; mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP IPCC_MPROC_SIGNAL_GLINK_QMP>; mbox-names = "cdsp_smem"; interrupt-parent = <&ipcc_mproc>; interrupts = ; label = "cdsp"; qcom,glink-label = "cdsp"; qcom,cdsp_qrtr { qcom,glink-channels = "IPCRTR"; qcom,intents = <0x800 5 0x2000 3 0x4400 2>; }; qcom,msm_cdsprm_rpmsg { compatible = "qcom,msm-cdsprm-rpmsg"; qcom,glink-channels = "cdsprmglink-apps-dsp"; qcom,intents = <0x20 12 0xF00 12>; msm_cdsp_rm: qcom,msm_cdsp_rm { compatible = "qcom,msm-cdsp-rm"; qcom,qos-cores = <0 1>; qcom,qos-latency-us = <70>; qcom,qos-maxhold-ms = <20>; }; }; }; }; modem_pas: remoteproc-mss@04080000 { compatible = "qcom,kera-modem-pas"; reg = <0x4080000 0x10000>; status = "ok"; cx-uV-uA = ; mx-uV-uA = ; reg-names = "cx", "mx"; clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; qcom,qmp = <&aoss_qmp>; interconnects = <&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>, <&aggre2_noc MASTER_CRYPTO &mc_virt SLAVE_EBI1>; interconnect-names = "rproc_ddr", "crypto_ddr"; firmware-name = "modem.mdt", "modem_dtb.mdt"; memory-region = <&mpss_mem &q6_mpss_dtb_mem &system_cma &dsm_partition_1_mem &dsm_partition_2_mem>; /* Inputs from mss */ interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, <&modem_smp2p_in 0 0>, <&modem_smp2p_in 2 0>, <&modem_smp2p_in 1 0>, <&modem_smp2p_in 3 0>, <&modem_smp2p_in 7 0>; interrupt-names = "wdog", "fatal", "handover", "ready", "stop-ack", "shutdown-ack"; /* Outputs to mss */ qcom,smem-states = <&modem_smp2p_out 0>; qcom,smem-state-names = "stop"; glink-edge { qcom,remote-pid = <1>; transport = "smem"; mboxes = <&ipcc_mproc IPCC_CLIENT_MPSS IPCC_MPROC_SIGNAL_GLINK_QMP>; mbox-names = "mpss_smem"; interrupt-parent = <&ipcc_mproc>; interrupts = ; label = "modem"; qcom,glink-label = "mpss"; qcom,modem_qrtr { qcom,glink-channels = "IPCRTR"; qcom,low-latency; qcom,intents = <0x800 5 0x2000 3 0x4400 2>; }; qcom,modem_ds { qcom,glink-channels = "DS"; qcom,intents = <0x4000 0x2>; }; }; }; sys-pm-vx@c320000 { compatible = "qcom,sys-pm-violators", "qcom,sys-pm-kera"; reg = <0xc320000 0x400>; qcom,qmp = <&aoss_qmp>; }; cluster-device { compatible = "qcom,lpm-cluster-dev"; power-domains = <&CLUSTER_PD>; }; tlmm: pinctrl@f000000 { compatible = "qcom,kera-tlmm"; reg = <0xf000000 0x1000000>; interrupts = ; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; wakeup-parent = <&pdc>; qcom,gpios-reserved = <20 21 22 23 100 111 112 116>; }; tcsr_mutex_block: syscon@1f40000 { compatible = "syscon"; reg = <0x1f40000 0x20000>; }; tcsr_mutex: hwlock { compatible = "qcom,tcsr-mutex"; syscon = <&tcsr_mutex_block 0 0x1000>; #hwlock-cells = <1>; }; ipcc_mproc: qcom,ipcc@406000 { compatible = "qcom,ipcc"; reg = <0x406000 0x1000>; interrupts = ; interrupt-controller; #interrupt-cells = <3>; #mbox-cells = <2>; }; aoss_qmp: power-controller@c300000 { compatible = "qcom,aoss-qmp"; reg = <0xc300000 0x400>; interrupt-parent = <&ipcc_mproc>; interrupts = ; mboxes = <&ipcc_mproc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>; #power-domain-cells = <1>; #clock-cells = <0>; }; qmp_aop: qcom,qmp-aop { compatible = "qcom,qmp-mbox"; qcom,qmp = <&aoss_qmp>; label = "aop"; #mbox-cells = <1>; }; qmp_tme: qcom,qmp-tme { compatible = "qcom,qmp-mbox"; qcom,remote-pid = <14>; mboxes = <&ipcc_mproc IPCC_CLIENT_TME IPCC_MPROC_SIGNAL_GLINK_QMP>; mbox-names = "tme_qmp"; interrupt-parent = <&ipcc_mproc>; interrupts = ; label = "tme"; qcom,early-boot; priority = <0>; mbox-desc-offset = <0x0>; #mbox-cells = <1>; }; cache-controller@24800000 { compatible = "qcom,kera-llcc"; reg = <0x24800000 0x200000>, <0x24C00000 0x200000>, <0x26800000 0x200000>, <0x26C00000 0x200000>; reg-names = "llcc0_base", "llcc2_base", "llcc_broadcast_or_base", "llcc_broadcast_and_base"; interrupts = ; cap-based-alloc-and-pwr-collapse; }; gic-interrupt-router { compatible = "qcom,gic-intr-routing"; qcom,gic-class0-cpus = <&CPU0 &CPU1 &CPU2>; qcom,gic-class1-cpus = <&CPU3 &CPU4 &CPU5 &CPU6 &CPU7>; }; tcsr: syscon@1fc0000 { compatible = "syscon"; reg = <0x1fc0000 0x30000>; }; qcom,smp2p-adsp { compatible = "qcom,smp2p"; qcom,smem = <443>, <429>; interrupt-parent = <&ipcc_mproc>; interrupts = ; mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_SMP2P>; qcom,local-pid = <0>; qcom,remote-pid = <2>; adsp_smp2p_out: master-kernel { qcom,entry-name = "master-kernel"; #qcom,smem-state-cells = <1>; }; adsp_smp2p_in: slave-kernel { qcom,entry-name = "slave-kernel"; interrupt-controller; #interrupt-cells = <2>; }; sleepstate_smp2p_out: sleepstate-out { qcom,entry-name = "sleepstate"; #qcom,smem-state-cells = <1>; }; sleepstate_smp2p_in: qcom,sleepstate-in { qcom,entry-name = "sleepstate_see"; interrupt-controller; #interrupt-cells = <2>; }; smp2p_rdbg2_out: qcom,smp2p-rdbg2-out { qcom,entry-name = "rdbg"; #qcom,smem-state-cells = <1>; }; smp2p_rdbg2_in: qcom,smp2p-rdbg2-in { qcom,entry-name = "rdbg"; interrupt-controller; #interrupt-cells = <2>; }; }; qcom,smp2p-cdsp { compatible = "qcom,smp2p"; qcom,smem = <94>, <432>; interrupt-parent = <&ipcc_mproc>; interrupts = ; mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP IPCC_MPROC_SIGNAL_SMP2P>; qcom,local-pid = <0>; qcom,remote-pid = <5>; cdsp_smp2p_out: master-kernel { qcom,entry-name = "master-kernel"; #qcom,smem-state-cells = <1>; }; cdsp_smp2p_in: slave-kernel { qcom,entry-name = "slave-kernel"; interrupt-controller; #interrupt-cells = <2>; }; smp2p_rdbg5_out: qcom,smp2p-rdbg5-out { qcom,entry-name = "rdbg"; #qcom,smem-state-cells = <1>; }; smp2p_rdbg5_in: qcom,smp2p-rdbg5-in { qcom,entry-name = "rdbg"; interrupt-controller; #interrupt-cells = <2>; }; }; qcom,smp2p-modem { compatible = "qcom,smp2p"; qcom,smem = <435>, <428>; interrupt-parent = <&ipcc_mproc>; interrupts = ; mboxes = <&ipcc_mproc IPCC_CLIENT_MPSS IPCC_MPROC_SIGNAL_SMP2P>; qcom,local-pid = <0>; qcom,remote-pid = <1>; modem_smp2p_out: master-kernel { qcom,entry-name = "master-kernel"; #qcom,smem-state-cells = <1>; }; modem_smp2p_in: slave-kernel { qcom,entry-name = "slave-kernel"; interrupt-controller; #interrupt-cells = <2>; }; smp2p_ipa_1_out: qcom,smp2p-ipa-1-out { qcom,entry-name = "ipa"; #qcom,smem-state-cells = <1>; }; /* ipa - inbound entry from mss */ smp2p_ipa_1_in: qcom,smp2p-ipa-1-in { qcom,entry-name = "ipa"; interrupt-controller; #interrupt-cells = <2>; }; smp2p_smem_mailbox_1_out: qcom,smp2p-smem-mailbox-1-out { qcom,entry-name = "smem-mailbox"; #qcom,smem-state-cells = <1>; }; smp2p_smem_mailbox_1_in: qcom,smp2p-smem-mailbox-1-in { qcom,entry-name = "smem-mailbox"; interrupt-controller; #interrupt-cells = <2>; }; }; qcom,smp2p-wpss { compatible = "qcom,smp2p"; qcom,smem = <617>, <616>; interrupt-parent = <&ipcc_mproc>; interrupts = ; mboxes = <&ipcc_mproc IPCC_CLIENT_WPSS IPCC_MPROC_SIGNAL_SMP2P>; qcom,local-pid = <0>; qcom,remote-pid = <13>; wpss_smp2p_out: master-kernel { qcom,entry-name = "master-kernel"; #qcom,smem-state-cells = <1>; }; wpss_smp2p_in: slave-kernel { qcom,entry-name = "slave-kernel"; interrupt-controller; #interrupt-cells = <2>; }; }; qcom,smp2p-soccp { compatible = "qcom,smp2p"; qcom,smem = <617>, <616>; interrupt-parent = <&ipcc_mproc>; interrupts = ; mboxes = <&ipcc_mproc IPCC_CLIENT_SOCCP IPCC_MPROC_SIGNAL_SMP2P>; qcom,local-pid = <0>; qcom,remote-pid = <19>; soccp_smp2p_out: master-kernel { qcom,entry-name = "master-kernel"; #qcom,smem-state-cells = <1>; }; soccp_smp2p_in: slave-kernel { qcom,entry-name = "slave-kernel"; interrupt-controller; #interrupt-cells = <2>; }; }; cpu_pmu: cpu-pmu { compatible = "arm,armv8-pmuv3"; interrupts = ; }; qcom,smp2p_sleepstate { compatible = "qcom,smp2p-sleepstate"; qcom,smem-states = <&sleepstate_smp2p_out 0>; interrupt-parent = <&sleepstate_smp2p_in>; interrupts = <0 0>; interrupt-names = "smp2p-sleepstate-in"; }; qcom,msm-imem@14680000 { compatible = "qcom,msm-imem"; reg = <0x14680000 0x1000>; ranges = <0x0 0x14680000 0x1000>; #address-cells = <1>; #size-cells = <1>; mem_dump_table@10 { compatible = "qcom,msm-imem-mem_dump_table"; reg = <0x10 0x8>; }; restart_reason@65c { compatible = "qcom,msm-imem-restart_reason"; reg = <0x65c 0x4>; }; dload_type@1c { compatible = "qcom,msm-imem-dload-type"; reg = <0x1c 0x4>; }; boot_stats@6b0 { compatible = "qcom,msm-imem-boot_stats"; reg = <0x6b0 0x20>; }; kaslr_offset@6d0 { compatible = "qcom,msm-imem-kaslr_offset"; reg = <0x6d0 0xc>; }; pil@94c { compatible = "qcom,pil-reloc-info"; reg = <0x94c 0xc8>; }; pil@6dc { compatible = "qcom,msm-imem-pil-disable-timeout"; reg = <0x6dc 0x4>; }; diag_dload@c8 { compatible = "qcom,msm-imem-diag-dload"; reg = <0xc8 0xc8>; }; modem_dsm@c98 { compatible = "qcom,msm-imem-mss-dsm"; reg = <0xc98 0x10>; }; sys_dbg@af8 { compatible = "qcom,msm-imem-gpu-dump-skip"; reg = <0xb0c 0x4>; }; }; eud: qcom,msm-eud@88e0000 { compatible = "qcom,msm-eud"; interrupt-names = "eud_irq"; interrupt-parent = <&pdc>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; reg = <0x88e0000 0x2000>, <0x88e2000 0x1000>; reg-names = "eud_base", "eud_mode_mgr2"; qcom,secure-eud-en; qcom,eud-utmi-delay = /bits/ 16 <255>; status = "ok"; }; google,debug-kinfo { compatible = "google,debug-kinfo"; memory-region = <&kinfo_mem>; }; mini_dump_node { compatible = "qcom,minidump"; status = "ok"; }; va_mini_dump { compatible = "qcom,va-minidump"; memory-region = <&va_md_mem>; status = "ok"; }; qcom_ramoops { compatible = "qcom,ramoops"; memory-region = <&ramoops_mem>; pmsg-size = <0x200000>; mem-type = <2>; }; qcom,mpm2-sleep-counter@c221000 { compatible = "qcom,mpm2-sleep-counter"; reg = <0xc221000 0x1000>; clock-frequency = <32768>; }; qcom,msm-adsprpc-mem { compatible = "qcom,msm-adsprpc-mem-region"; memory-region = <&adsp_mem_heap>; restrict-access; }; qfprom: qfprom@221c8000 { compatible = "qcom,kera-qfprom", "qcom,qfprom"; reg = <0x221c8000 0x1000>; #address-cells = <1>; #size-cells = <1>; read-only; ranges; feat_conf6: feat_conf6@0118 { reg = <0x0118 0x4>; }; }; qfprom_sys: qfprom@0 { compatible = "qcom,qfprom-sys"; nvmem-cells = <&feat_conf6>; nvmem-cell-names = "feat_conf6"; }; wpss_pas: remoteproc-wpss@97000000 { compatible = "qcom,kera-wpss-pas"; reg = <0x97000000 0x10000>; status = "ok"; memory-region = <&wpss_mem>; firmware-name = "qca6750/wpss.mdt"; clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; cx-supply = <&VDD_CX_LEVEL>; cx-uV-uA = ; mx-supply = <&VDD_MX_LEVEL>; mx-uV-uA = ; reg-names = "cx","mx"; qcom,qmp = <&aoss_qmp>; /* Inputs from wpss */ interrupts-extended = <&intc GIC_SPI 200 IRQ_TYPE_EDGE_RISING>, <&wpss_smp2p_in 0 0>, <&wpss_smp2p_in 2 0>, <&wpss_smp2p_in 1 0>, <&wpss_smp2p_in 3 0>, <&wpss_smp2p_in 7 0>; interrupt-names = "wdog", "fatal", "handover", "ready", "stop-ack", "shutdown-ack"; /* Outputs to wpss */ qcom,smem-states = <&wpss_smp2p_out 0>; qcom,smem-state-names = "stop"; }; clocks { xo_board: xo_board { compatible = "fixed-clock"; clock-frequency = <76800000>; clock-output-names = "xo_board"; #clock-cells = <0>; }; sleep_clk: sleep_clk { compatible = "fixed-clock"; clock-frequency = <32000>; clock-output-names = "sleep_clk"; #clock-cells = <0>; }; pcie_0_pipe_clk: pcie_0_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "pcie_0_pipe_clk"; #clock-cells = <0>; }; pcie_1_pipe_clk: pcie_1_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "pcie_1_pipe_clk"; #clock-cells = <0>; }; ufs_phy_rx_symbol_0_clk: ufs_phy_rx_symbol_0_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "ufs_phy_rx_symbol_0_clk"; #clock-cells = <0>; }; ufs_phy_rx_symbol_1_clk: ufs_phy_rx_symbol_1_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "ufs_phy_rx_symbol_1_clk"; #clock-cells = <0>; }; ufs_phy_tx_symbol_0_clk: ufs_phy_tx_symbol_0_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "ufs_phy_tx_symbol_0_clk"; #clock-cells = <0>; }; usb3_phy_wrapper_gcc_usb30_pipe_clk: usb3_phy_wrapper_gcc_usb30_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "usb3_phy_wrapper_gcc_usb30_pipe_clk"; #clock-cells = <0>; }; }; rpmhcc: clock-controller { compatible = "fixed-clock"; clock-output-names = "rpmh_clocks"; clock-frequency = <19200000>; #clock-cells = <1>; }; cambistmclkcc: clock-controller@1760000 { compatible = "qcom,tuna-cambistmclkcc", "syscon"; reg = <0x1760000 0x6000>; reg-name = "cc_base"; vdd_mx-supply = <&VDD_MX_LEVEL>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, <&gcc GCC_CAM_BIST_MCLK_AHB_CLK>; clock-names = "bi_tcxo", "sleep_clk", "iface"; #clock-cells = <1>; #reset-cells = <1>; }; cpuss-sleep-stats@17800054 { compatible = "qcom,cpuss-sleep-stats"; reg = <0x17800054 0x4>, <0x17810054 0x4>, <0x17820054 0x4>, <0x17830054 0x4>, <0x17840054 0x4>, <0x17850054 0x4>, <0x17860054 0x4>, <0x17870054 0x4>, <0x178b0098 0x4>, <0x178c0000 0x10000>; reg-names = "seq_lpm_cntr_cfg_cpu0", "seq_lpm_cntr_cfg_cpu1", "seq_lpm_cntr_cfg_cpu2", "seq_lpm_cntr_cfg_cpu3", "seq_lpm_cntr_cfg_cpu4", "seq_lpm_cntr_cfg_cpu5", "seq_lpm_cntr_cfg_cpu6", "seq_lpm_cntr_cfg_cpu7", "l3_seq_lpm_cntr_cfg", "apss_seq_mem_base"; num-cpus = <8>; }; sram@c3f0000 { compatible = "qcom,rpmh-stats-v4"; reg = <0x0c3f0000 0x400>; qcom,qmp = <&aoss_qmp>; ss-name = "modem", "wpss", "adsp", "adsp_island", "cdsp", "apss"; }; camcc: clock-controller@ade0000 { compatible = "qcom,kera-camcc", "syscon"; reg = <0xade0000 0x20000>; reg-name = "cc_base"; vdd_cx-supply = <&VDD_CX_LEVEL>; vdd_mx-supply = <&VDD_MX_LEVEL>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>, <&gcc GCC_CAMERA_AHB_CLK>; clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "iface"; #clock-cells = <1>; #reset-cells = <1>; }; dispcc_crm: syscon@af27800 { compatible = "syscon"; reg = <0xaf27800 0x2000>; }; dispcc: clock-controller@af00000 { compatible = "qcom,tuna-dispcc", "syscon"; reg = <0xaf00000 0x20000>; reg-name = "cc_base"; vdd_mm-supply = <&VDD_CX_LEVEL>; vdd_mx-supply = <&VDD_MX_LEVEL>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>, <&gcc GCC_DISP_AHB_CLK>; clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "iface"; qcom,disp_crm-crmc = <&dispcc_crm>; #clock-cells = <1>; #reset-cells = <1>; }; gcc: clock-controller@100000 { compatible = "qcom,kera-gcc", "syscon"; reg = <0x100000 0x1f4200>; reg-name = "cc_base"; vdd_cx-supply = <&VDD_CX_LEVEL>; vdd_mx-supply = <&VDD_MX_LEVEL>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&pcie_0_pipe_clk>, <&pcie_1_pipe_clk>, <&sleep_clk>, <&ufs_phy_rx_symbol_0_clk>, <&ufs_phy_rx_symbol_1_clk>, <&ufs_phy_tx_symbol_0_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>; clock-names = "bi_tcxo", "pcie_0_pipe_clk", "pcie_1_pipe_clk", "sleep_clk", "ufs_phy_rx_symbol_0_clk", "ufs_phy_rx_symbol_1_clk", "ufs_phy_tx_symbol_0_clk", "usb3_phy_wrapper_gcc_usb30_pipe_clk"; #clock-cells = <1>; #reset-cells = <1>; }; gpucc: clock-controller@3d90000 { compatible = "qcom,dummycc"; clock-output-names = "gpucc_clocks"; #clock-cells = <1>; #reset-cells = <1>; }; tcsrcc: clock-controller@1f40000 { compatible = "qcom,kera-tcsrcc", "syscon"; reg = <0x1fbf000 0x20>; reg-name = "cc_base"; #clock-cells = <1>; #reset-cells = <1>; }; videocc: clock-controller@aaf0000 { compatible = "qcom,tuna-videocc", "syscon"; reg = <0xaaf0000 0x10000>; reg-name = "cc_base"; vdd_mm-supply = <&VDD_CX_LEVEL>; vdd_mxc-supply = <&VDD_MX_LEVEL>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>, <&gcc GCC_VIDEO_AHB_CLK>; clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "iface"; #clock-cells = <1>; #reset-cells = <1>; }; clk_virt: interconnect@0 { compatible = "qcom,kera-clk_virt"; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; }; mc_virt: interconnect@1 { compatible = "qcom,kera-mc_virt"; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; }; config_noc: interconnect@1600000 { compatible = "qcom,kera-cnoc_cfg"; reg = <0x1600000 0x5200>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; cnoc_main: interconnect@1500000 { compatible = "qcom,kera-cnoc_main"; reg = <0x1500000 0x16080>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; system_noc: interconnect@1680000 { compatible = "qcom,kera-system_noc"; reg = <0x1680000 0x40000>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; pcie_noc: interconnect@16c0000 { compatible = "qcom,kera-pcie_anoc"; reg = <0x16c0000 0x11400>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; aggre1_noc: interconnect@16e0000 { compatible = "qcom,kera-aggre1_noc"; reg = <0x16e0000 0x16400>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; aggre2_noc: interconnect@1700000 { compatible = "qcom,kera-aggre2_noc"; reg = <0x1700000 0x1f400>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; mmss_noc: interconnect@1780000 { compatible = "qcom,kera-mmss_noc"; reg = <0x1780000 0x7d800>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; gem_noc: interconnect@24100000 { compatible = "qcom,kera-gem_noc"; reg = <0x24100000 0x163080>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; nsp_noc: interconnect@320c0000 { compatible = "qcom,kera-nsp_noc"; reg = <0x320c0000 0xe080>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; lpass_ag_noc: interconnect@7e40000 { compatible = "qcom,kera-lpass_ag_noc"; reg = <0x7e40000 0xe080>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; lpass_lpiaon_noc: interconnect@7400000 { compatible = "qcom,kera-lpass_lpiaon_noc"; reg = <0x7400000 0x19080>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; lpass_lpicx_noc: interconnect@7420000 { compatible = "qcom,kera-lpass_lpicx_noc"; reg = <0x7420000 0x44080>; #interconnect-cells = <1>; qcom,bcm-voter-names = "hlos"; qcom,bcm-voters = <&apps_bcm_voter>; qcom,skip-qos; }; trust_ui_vm_vblk0_ring: trust_ui_vm_vblk0_ring { size = <0x4000>; gunyah-label = <0x11>; }; trust_ui_vm_vblk1_ring: trust_ui_vm_vblk1_ring { size = <0x4000>; gunyah-label = <0x10>; }; trust_ui_vm_vsock_ring: trust_ui_vm_vsock_ring { size = <0xc000>; gunyah-label = <0x15>; }; trust_ui_vm_swiotlb: trust_ui_vm_swiotlb { size = <0x400000>; gunyah-label = <0x12>; }; trust_ui_vm: qcom,trust_ui_vm { vm_name = "trustedvm"; shared-buffers-size = <0x414000>; shared-buffers = <&trust_ui_vm_vblk0_ring &trust_ui_vm_vblk1_ring &trust_ui_vm_vsock_ring &trust_ui_vm_swiotlb>; }; trust_ui_vm_virt_be0: trust_ui_vm_virt_be0@11 { qcom,vm = <&trust_ui_vm>; qcom,label = <0x11>; }; trust_ui_vm_virt_be1: trust_ui_vm_virt_be1@10 { qcom,vm = <&trust_ui_vm>; qcom,label = <0x10>; }; trust_ui_vm_virt_be2: trust_ui_vm_virt_be2@15 { qcom,vm = <&trust_ui_vm>; qcom,label = <0x15>; }; gh-secure-vm-loader@0 { compatible = "qcom,gh-secure-vm-loader"; qcom,pas-id = <28>; qcom,vmid = <45>; qcom,firmware-name = "trustedvm"; qcom,keep-running; memory-region = <&trust_ui_vm_mem &vm_comm_mem>; virtio-backends = <&trust_ui_vm_virt_be0 &trust_ui_vm_virt_be1 &trust_ui_vm_virt_be2>; }; oem_vm_vblk0_ring: oem_vm_vblk0_ring { size = <0x4000>; gunyah-label = <0x16>; }; oem_vm_vblk1_ring: oem_vm_vblk1_ring { size = <0x4000>; gunyah-label = <0x13>; }; oem_vm_swiotlb: oem_vm_swiotlb { size = <0x100000>; gunyah-label = <0x14>; }; oem_vm: qcom,oem_vm { vm_name = "oemvm"; shared-buffers-size = <0x108000>; shared-buffers = <&oem_vm_vblk0_ring &oem_vm_vblk1_ring &oem_vm_swiotlb>; }; oem_vm_virt_be0: oem_vm_virt_be0@16 { qcom,vm = <&oem_vm>; qcom,label = <0x16>; }; oem_vm_virt_be1: oem_vm_virt_be1@13 { qcom,vm = <&oem_vm>; qcom,label = <0x13>; }; gh-secure-vm-loader@1 { compatible = "qcom,gh-secure-vm-loader"; qcom,pas-id = <34>; qcom,vmid = <49>; qcom,firmware-name = "oemvm"; qcom,keep-running; memory-region = <&oem_vm_mem &vm_comm_mem>; virtio-backends = <&oem_vm_virt_be0 &oem_vm_virt_be1>; }; gh-secure-vm-loader@2 { compatible = "qcom,gh-secure-vm-loader"; qcom,pas-id = <35>; qcom,vmid = <50>; qcom,firmware-name = "cpusys_vm"; memory-region = <&cpusys_vm_mem>; ext-region = <&chipinfo_mem>; ext-label = <0x7>; }; mmio_sram: mmio-sram@17D09400 { #address-cells = <2>; #size-cells = <2>; compatible = "mmio-sram"; reg = <0x0 0x17D09400 0x0 0x400>; ranges = <0x0 0x0 0x0 0x17D09400 0x0 0x400>; cpu_scp_lpri: scmi-shmem@0 { compatible = "arm,scmi-shmem"; reg = <0x0 0x17D09400 0x0 0x400>; }; }; cpucp: qcom,cpucp@17400000 { compatible = "qcom,cpucp"; reg = <0x17d90000 0x2000>, <0x17400000 0x10>; reg-names = "rx", "tx"; #mbox-cells = <1>; interrupts = ; }; scmi: qcom,scmi { #address-cells = <1>; #size-cells = <0>; compatible = "arm,scmi"; mboxes = <&cpucp 0>; mbox-names = "tx"; shmem = <&cpu_scp_lpri>; scmi_qcom: protocol@80 { reg = <0x80>; #clock-cells = <1>; }; }; cpucp_log: qcom,cpucp_log@d8140000 { compatible = "qcom,cpucp-log"; reg = <0x81200000 0x10000>, <0x81210000 0x10000>; mboxes = <&cpucp 1>; }; qcom_c1dcvs: qcom,c1dcvs { compatible = "qcom,c1dcvs-v2"; }; qcom_dynpf: qcom,dynpf { compatible = "qcom,dynpf"; }; qcom_cpufreq_stats: qcom,cpufreq_stats { compatible = "qcom,cpufreq-stats-v2"; }; spmi_bus: spmi0_bus: qcom,spmi@c42d000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc42d000 0x4000>, <0xc400000 0x3000>, <0xc500000 0x400000>, <0xc440000 0x80000>, <0xc4c0000 0x10000>; reg-names = "cnfg", "core", "chnls", "obsrvr", "intr"; interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "periph_irq"; interrupt-controller; #interrupt-cells = <4>; #address-cells = <2>; #size-cells = <0>; cell-index = <0>; qcom,channel = <0>; qcom,ee = <0>; qcom,bus-id = <0>; }; spmi1_bus: qcom,spmi@c432000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc432000 0x4000>, <0xc400000 0x3000>, <0xc500000 0x400000>, <0xc440000 0x80000>, <0xc4d0000 0x10000>; reg-names = "cnfg", "core", "chnls", "obsrvr", "intr"; interrupts-extended = <&pdc 3 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "periph_irq"; interrupt-controller; #interrupt-cells = <4>; #address-cells = <2>; #size-cells = <0>; cell-index = <0>; qcom,channel = <0>; qcom,ee = <0>; qcom,bus-id = <1>; depends-on-supply = <&spmi0_bus>; status = "disabled"; }; spmi0_debug_bus: qcom,spmi-debug@10b14000 { compatible = "qcom,spmi-pmic-arb-debug"; reg = <0x10b14000 0x60>, <0x221c8784 0x4>; reg-names = "core", "fuse"; clocks = <&aoss_qmp>; clock-names = "core_clk"; qcom,fuse-enable-bit = <18>; #address-cells = <2>; #size-cells = <0>; depends-on-supply = <&spmi_bus>; pmk8550@0 { compatible = "qcom,spmi-pmic"; reg = <0 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pmxr2230@1 { compatible = "qcom,spmi-pmic"; reg = <1 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pm8550vs@3 { compatible = "qcom,spmi-pmic"; reg = <3 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pmd802x@4 { compatible = "qcom,spmi-pmic"; reg = <4 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pm8550vs@6 { compatible = "qcom,spmi-pmic"; reg = <6 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pmg1110@8 { compatible = "qcom,spmi-pmic"; reg = <8 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pmg1110@9 { compatible = "qcom,spmi-pmic"; reg = <9 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pmr735d@a { compatible = "qcom,spmi-pmic"; reg = <10 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pm8010@c { compatible = "qcom,spmi-pmic"; reg = <12 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; pm8010@d { compatible = "qcom,spmi-pmic"; reg = <13 SPMI_USID>; #address-cells = <2>; #size-cells = <0>; qcom,can-sleep; }; }; thermal_zones: thermal-zones { }; qcom,pmic_glink { compatible = "qcom,qti-pmic-glink"; qcom,pmic-glink-channel = "PMIC_RTR_ADSP_APPS"; qcom,subsys-name = "lpass"; qcom,protection-domain = "tms/servreg", "msm/adsp/charger_pd"; depends-on-supply = <&ipcc_mproc>; battery_charger: qcom,battery_charger { compatible = "qcom,battery-charger"; }; ucsi: qcom,ucsi { compatible = "qcom,ucsi-glink"; }; altmode: qcom,altmode { compatible = "qcom,altmode-glink"; #altmode-cells = <1>; }; }; qcom,pmic_glink_log { compatible = "qcom,qti-pmic-glink"; qcom,pmic-glink-channel = "PMIC_LOGS_ADSP_APPS"; qcom,battery_debug { compatible = "qcom,battery-debug"; }; qcom,charger_ulog_glink { compatible = "qcom,charger-ulog-glink"; }; pmic_glink_debug: qcom,pmic_glink_debug { compatible = "qcom,pmic-glink-debug"; #address-cells = <1>; #size-cells = <0>; depends-on-supply = <&spmi1_bus>; }; pmic_glink_adc: qcom,glink-adc { compatible = "qcom,glink-adc"; #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; status = "disabled"; }; }; }; #include "tuna-gdsc.dtsi" #include "ipcc-test-no-slpi.dtsi" &cam_cc_ipe_0_gdsc { status = "ok"; }; &cam_cc_ofe_gdsc { status = "ok"; }; &cam_cc_tfe_0_gdsc { status = "ok"; }; &cam_cc_tfe_1_gdsc { status = "ok"; }; &cam_cc_tfe_2_gdsc { status = "ok"; }; &cam_cc_titan_top_gdsc { interconnects = <&mmss_noc MASTER_CAMNOC_HF &mmss_noc SLAVE_MNOC_HF_MEM_NOC>; interconnect-names = "mmnoc"; parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &disp_cc_mdss_core_gdsc { parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &disp_cc_mdss_core_int2_gdsc { parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_pcie_0_gdsc { parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_pcie_0_phy_gdsc { parent-supply = <&VDD_MX_LEVEL>; status = "ok"; }; &gcc_pcie_1_gdsc { parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_pcie_1_phy_gdsc { parent-supply = <&VDD_MX_LEVEL>; status = "ok"; }; &gcc_ufs_mem_phy_gdsc { parent-supply = <&VDD_MX_LEVEL>; status = "ok"; }; &gcc_ufs_phy_gdsc { parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_usb30_prim_gdsc { parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_usb3_phy_gdsc { parent-supply = <&VDD_MX_LEVEL>; status = "ok"; }; &gpu_cc_cx_gdsc_hw_ctrl { reg = <0x3d99124 0x4>; }; &gpu_cc_cx_gdsc { compatible = "regulator-fixed"; reg = <0x3d99110 0x4>; status = "ok"; }; &gpu_cc_gx_gdsc { compatible = "regulator-fixed"; status = "ok"; }; &video_cc_mvs0_gdsc { clocks = <&gcc GCC_VIDEO_AHB_CLK>; clock-names = "ahb_clk"; status = "ok"; }; &video_cc_mvs0c_gdsc { clocks = <&gcc GCC_VIDEO_AHB_CLK>; clock-names = "ahb_clk"; parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &reserved_memory { #address-cells = <2>; #size-cells = <2>; ranges; aop_cmd_db_mem: aop_cmd_db_region@81c60000 { compatible = "qcom,cmd-db"; no-map; reg = <0x0 0x81c60000 0x0 0x20000>; }; trust_ui_vm_mem: trust_ui_vm_region@f3800000 { compatible = "shared-dma-pool"; reg = <0x0 0xf3800000 0x0 0x4400000>; reusable; alignment = <0x0 0x400000>; }; oem_vm_mem: oem_vm_region@f7c00000 { compatible = "shared-dma-pool"; reg = <0x0 0xf7c00000 0x0 0x4c00000>; reusable; alignment = <0x0 0x400000>; }; vm_comm_mem: vm_comm_mem_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; size = <0x0 0x800000>; }; adsp_mem_heap: adsp_heap_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; size = <0x0 0xC00000>; }; cdsp_secure_heap_cma: secure_cdsp_region { /* Secure DSP */ compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; size = <0x0 0x4800000>; }; }; #include "kera-debug.dtsi" #include "kera-coresight.dtsi" #include "kera-pinctrl.dtsi" #include "kera-stub-regulators.dtsi" #include "kera-usb.dtsi" #include "kera-qupv3.dtsi" &qupv3_se13_2uart { status = "ok"; };