milos-linux/arch/arm64/boot/dts/qcom/milos.dtsi
Luca Weiss 7b3104d3b1 arm64: dts: qcom: milos: Add reset for sdhc_2
Add the missing reset (BCR) for sdhc_2.

Fixes: d9d59d105f ("arm64: dts: qcom: Add initial Milos dtsi")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2026-06-30 15:48:40 +02:00

4055 lines
94 KiB
Devicetree

// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2025, Luca Weiss <luca.weiss@fairphone.com>
*/
#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
#include <dt-bindings/clock/qcom,kaanapali-gxclkctl.h>
#include <dt-bindings/clock/qcom,milos-camcc.h>
#include <dt-bindings/clock/qcom,milos-dispcc.h>
#include <dt-bindings/clock/qcom,milos-gcc.h>
#include <dt-bindings/clock/qcom,milos-gpucc.h>
#include <dt-bindings/clock/qcom,milos-videocc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm8650-tcsr.h>
#include <dt-bindings/dma/qcom-gpi.h>
#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,milos-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/soc/qcom,gpr.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
/ {
interrupt-parent = <&intc>;
#address-cells = <2>;
#size-cells = <2>;
chosen { };
clocks {
xo_board: xo-board {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <76800000>;
};
sleep_clk: sleep-clk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32764>;
};
};
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>;
#cooling-cells = <2>;
l2_0: l2-cache {
compatible = "cache";
cache-level = <2>;
cache-unified;
next-level-cache = <&l3_0>;
l3_0: 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>;
#cooling-cells = <2>;
};
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>;
#cooling-cells = <2>;
l2_2: l2-cache {
compatible = "cache";
cache-level = <2>;
cache-unified;
next-level-cache = <&l3_0>;
};
};
cpu3: cpu@300 {
device_type = "cpu";
compatible = "arm,cortex-a520";
reg = <0x0 0x300>;
clocks = <&cpufreq_hw 0>;
power-domains = <&cpu_pd3>;
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>;
#cooling-cells = <2>;
};
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 = <1670>;
dynamic-power-coefficient = <264>;
qcom,freq-domain = <&cpufreq_hw 1>;
#cooling-cells = <2>;
l2_4: l2-cache {
compatible = "cache";
cache-level = <2>;
cache-unified;
next-level-cache = <&l3_0>;
};
};
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 = <1670>;
dynamic-power-coefficient = <264>;
qcom,freq-domain = <&cpufreq_hw 1>;
#cooling-cells = <2>;
l2_5: l2-cache {
compatible = "cache";
cache-level = <2>;
cache-unified;
next-level-cache = <&l3_0>;
};
};
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 = <1670>;
dynamic-power-coefficient = <264>;
qcom,freq-domain = <&cpufreq_hw 1>;
#cooling-cells = <2>;
l2_6: l2-cache {
compatible = "cache";
cache-level = <2>;
cache-unified;
next-level-cache = <&l3_0>;
};
};
cpu7: cpu@700 {
device_type = "cpu";
compatible = "arm,cortex-a720";
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 = <1670>;
dynamic-power-coefficient = <287>;
qcom,freq-domain = <&cpufreq_hw 2>;
#cooling-cells = <2>;
l2_7: l2-cache {
compatible = "cache";
cache-level = <2>;
cache-unified;
next-level-cache = <&l3_0>;
};
};
cpu-map {
cluster0 {
core0 {
cpu = <&cpu0>;
};
core1 {
cpu = <&cpu1>;
};
core2 {
cpu = <&cpu2>;
};
core3 {
cpu = <&cpu3>;
};
};
cluster1 {
core0 {
cpu = <&cpu4>;
};
core1 {
cpu = <&cpu5>;
};
core2 {
cpu = <&cpu6>;
};
};
cluster2 {
core0 {
cpu = <&cpu7>;
};
};
};
idle-states {
entry-method = "psci";
silver_cpu_sleep_0: cpu-sleep-0-0 {
compatible = "arm,idle-state";
idle-state-name = "pc";
arm,psci-suspend-param = <0x40000003>;
entry-latency-us = <250>;
exit-latency-us = <700>;
min-residency-us = <5200>;
local-timer-stop;
};
silver_cpu_sleep_1: cpu-sleep-0-1 {
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>;
local-timer-stop;
};
gold_cpu_sleep_0: cpu-sleep-1-0 {
compatible = "arm,idle-state";
idle-state-name = "silver-power-collapse";
arm,psci-suspend-param = <0x40000003>;
entry-latency-us = <400>;
exit-latency-us = <900>;
min-residency-us = <5511>;
local-timer-stop;
};
gold_cpu_sleep_1: cpu-sleep-1-1 {
compatible = "arm,idle-state";
idle-state-name = "gold-rail-power-collapse";
arm,psci-suspend-param = <0x40000004>;
entry-latency-us = <600>;
exit-latency-us = <1300>;
min-residency-us = <8136>;
local-timer-stop;
};
gold_plus_cpu_sleep_0: cpu-sleep-2-0 {
compatible = "arm,idle-state";
idle-state-name = "gold-plus-rail-power-collapse";
arm,psci-suspend-param = <0x40000004>;
entry-latency-us = <600>;
exit-latency-us = <1500>;
min-residency-us = <8551>;
local-timer-stop;
};
};
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 = <0x41003344>;
entry-latency-us = <2800>;
exit-latency-us = <4400>;
min-residency-us = <10150>;
};
};
};
firmware {
scm: scm {
compatible = "qcom,scm-milos", "qcom,scm";
qcom,dload-mode = <&tcsr 0x19000>;
};
};
clk_virt: interconnect-0 {
compatible = "qcom,milos-clk-virt";
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
mc_virt: interconnect-1 {
compatible = "qcom,milos-mc-virt";
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
memory@0 {
device_type = "memory";
/* We expect the bootloader to fill in the size */
reg = <0 0 0 0>;
};
pmu-a520 {
compatible = "arm,cortex-a520-pmu";
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster0>;
};
pmu-a720 {
compatible = "arm,cortex-a720-pmu";
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>;
};
psci {
compatible = "arm,psci-1.0";
method = "smc";
cpu_pd0: power-domain-cpu0 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&silver_cpu_sleep_0>, <&silver_cpu_sleep_1>;
};
cpu_pd1: power-domain-cpu1 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&silver_cpu_sleep_0>, <&silver_cpu_sleep_1>;
};
cpu_pd2: power-domain-cpu2 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&silver_cpu_sleep_0>, <&silver_cpu_sleep_1>;
};
cpu_pd3: power-domain-cpu3 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&silver_cpu_sleep_0>, <&silver_cpu_sleep_1>;
};
cpu_pd4: power-domain-cpu4 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&gold_cpu_sleep_0>, <&gold_cpu_sleep_1>;
};
cpu_pd5: power-domain-cpu5 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&gold_cpu_sleep_0>, <&gold_cpu_sleep_1>;
};
cpu_pd6: power-domain-cpu6 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&gold_cpu_sleep_0>, <&gold_cpu_sleep_1>;
};
cpu_pd7: power-domain-cpu7 {
#power-domain-cells = <0>;
power-domains = <&cluster_pd>;
domain-idle-states = <&gold_plus_cpu_sleep_0>;
};
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-region@80000000 {
reg = <0x0 0x80000000 0x0 0xe00000>;
no-map;
};
xbl_sc_mem: xbl-sc-region@81800000 {
reg = <0x0 0x81800000 0x0 0x40000>;
no-map;
};
cpucp_fw_mem: cpucp-fw-region@81840000 {
reg = <0x0 0x81840000 0x0 0x1c0000>;
no-map;
};
xbl_dtlog_mem: xbl-dtlog-region@81a00000 {
reg = <0x0 0x81a00000 0x0 0x40000>;
no-map;
};
xbl_ramdump_mem: xbl-ramdump-region@81a40000 {
reg = <0x0 0x81a40000 0x0 0x1c0000>;
no-map;
};
aop_image_mem: aop-image-region@81c00000 {
reg = <0x0 0x81c00000 0x0 0x60000>;
no-map;
};
aop_cmd_db_mem: aop-cmd-db-region@81c60000 {
compatible = "qcom,cmd-db";
reg = <0x0 0x81c60000 0x0 0x20000>;
no-map;
};
aop_config_mem: aop-config-region@81c80000 {
reg = <0x0 0x81c80000 0x0 0x20000>;
no-map;
};
tme_crash_dump_mem: tme-crash-dump-region@81ca0000 {
reg = <0x0 0x81ca0000 0x0 0x40000>;
no-map;
};
tme_log_mem: tme-log-region@81ce0000 {
reg = <0x0 0x81ce0000 0x0 0x4000>;
no-map;
};
uefi_log_mem: uefi-log-region@81ce4000 {
reg = <0x0 0x81ce4000 0x0 0x10000>;
no-map;
};
chipinfo_mem: chipinfo-region@81cf4000 {
reg = <0x0 0x81cf4000 0x0 0x1000>;
no-map;
};
secdata_apss_mem: secdata-apss-region@81cff000 {
reg = <0x0 0x81cff000 0x0 0x1000>;
no-map;
};
smem_mem: smem-region@81d00000 {
compatible = "qcom,smem";
reg = <0x0 0x81d00000 0x0 0x200000>;
hwlocks = <&tcsr_mutex 3>;
no-map;
};
adsp_mhi_mem: adsp-mhi-region@81f00000 {
reg = <0x0 0x81f00000 0x0 0x20000>;
no-map;
};
pvm_fw_mem: pvm-fw-region@824a0000 {
reg = <0x0 0x824a0000 0x0 0x100000>;
no-map;
};
hyp_mem_database_mem: hyp-mem-database-region@825a0000 {
reg = <0x0 0x825a0000 0x0 0x60000>;
no-map;
};
global_sync_mem: global-sync-region@82600000 {
reg = <0x0 0x82600000 0x0 0x100000>;
no-map;
};
tz_stat_mem: tz-stat-region@82700000 {
reg = <0x0 0x82700000 0x0 0x100000>;
no-map;
};
qdss_apps_mem: qdss-apps-region@82800000 {
reg = <0x0 0x82800000 0x0 0x2000000>;
reusable;
};
mpss_mem: mpss-region@8ac00000 {
reg = <0x0 0x8ac00000 0x0 0xe600000>;
no-map;
};
q6_mpss_dtb_mem: q6-mpss-dtb-region@99200000 {
reg = <0x0 0x99200000 0x0 0x80000>;
no-map;
};
q6_adsp_dtb_mem: q6-adsp-dtb-region@99280000 {
reg = <0x0 0x99280000 0x0 0x80000>;
no-map;
};
adspslpi_mem: adspslpi-region@99300000 {
reg = <0x0 0x99300000 0x0 0x2800000>;
no-map;
};
wpss_mem: wpss-region@9bb00000 {
reg = <0x0 0x9bb00000 0x0 0x1900000>;
no-map;
};
video_mem: video-region@9d400000 {
reg = <0x0 0x9d400000 0x0 0x700000>;
no-map;
};
cdsp_mem: cdsp-region@9db00000 {
reg = <0x0 0x9db00000 0x0 0xf00000>;
no-map;
};
q6_cdsp_dtb_mem: q6-cdsp-dtb-region@9ea00000 {
reg = <0x0 0x9ea00000 0x0 0x80000>;
no-map;
};
ipa_fw_mem: ipa-fw-region@9ea80000 {
reg = <0x0 0x9ea80000 0x0 0x10000>;
no-map;
};
ipa_gsi_mem: ipa-gsi-region@9ea90000 {
reg = <0x0 0x9ea90000 0x0 0xa000>;
no-map;
};
gpu_microcode_mem: gpu-microcode-region@9ea9a000 {
reg = <0x0 0x9ea9a000 0x0 0x2000>;
no-map;
};
camera_mem: camera-region@9eb00000 {
reg = <0x0 0x9eb00000 0x0 0x800000>;
no-map;
};
wlan_msa_mem: wlan-msa-region@a6400000 {
reg = <0x0 0xa6400000 0x0 0xc00000>;
no-map;
};
cpusys_vm_mem: cpusys-vm-region@e0600000 {
reg = <0x0 0xe0600000 0x0 0x400000>;
no-map;
};
rmtfs_mem: rmtfs@e1f00000 {
compatible = "qcom,rmtfs-mem";
reg = <0x0 0xe1f00000 0x0 0x280000>;
no-map;
qcom,client-id = <1>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};
qtee_mem: qtee-region@e8900000 {
reg = <0x0 0xe8900000 0x0 0x500000>;
no-map;
};
tags_mem: tags-region@e8e00000 {
reg = <0x0 0xe8e00000 0x0 0x700000>;
no-map;
};
trusted_apps_mem: trusted-apps-region@e9500000 {
reg = <0x0 0xe9500000 0x0 0x1200000>;
no-map;
};
};
smp2p-adsp {
compatible = "qcom,smp2p";
qcom,smem = <443>, <429>;
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_SMP2P
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_SMP2P>;
qcom,local-pid = <0>;
qcom,remote-pid = <2>;
smp2p_adsp_out: master-kernel {
qcom,entry-name = "master-kernel";
#qcom,smem-state-cells = <1>;
};
smp2p_adsp_in: slave-kernel {
qcom,entry-name = "slave-kernel";
interrupt-controller;
#interrupt-cells = <2>;
};
};
smp2p-cdsp {
compatible = "qcom,smp2p";
qcom,smem = <94>, <432>;
interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
IPCC_MPROC_SIGNAL_SMP2P
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_CDSP
IPCC_MPROC_SIGNAL_SMP2P>;
qcom,local-pid = <0>;
qcom,remote-pid = <5>;
smp2p_cdsp_out: master-kernel {
qcom,entry-name = "master-kernel";
#qcom,smem-state-cells = <1>;
};
smp2p_cdsp_in: slave-kernel {
qcom,entry-name = "slave-kernel";
interrupt-controller;
#interrupt-cells = <2>;
};
};
smp2p-modem {
compatible = "qcom,smp2p";
qcom,smem = <435>, <428>;
interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
IPCC_MPROC_SIGNAL_SMP2P
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_MPSS
IPCC_MPROC_SIGNAL_SMP2P>;
qcom,local-pid = <0>;
qcom,remote-pid = <1>;
smp2p_modem_out: master-kernel {
qcom,entry-name = "master-kernel";
#qcom,smem-state-cells = <1>;
};
smp2p_modem_in: slave-kernel {
qcom,entry-name = "slave-kernel";
interrupt-controller;
#interrupt-cells = <2>;
};
smp2p_ipa_out: ipa-ap-to-modem {
qcom,entry-name = "ipa";
#qcom,smem-state-cells = <1>;
};
smp2p_ipa_in: ipa-modem-to-ap {
qcom,entry-name = "ipa";
interrupt-controller;
#interrupt-cells = <2>;
};
};
smp2p-wpss {
compatible = "qcom,smp2p";
qcom,smem = <617>, <616>;
interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_SMP2P
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_SMP2P>;
qcom,local-pid = <0>;
qcom,remote-pid = <13>;
smp2p_wpss_out: master-kernel {
qcom,entry-name = "master-kernel";
#qcom,smem-state-cells = <1>;
};
smp2p_wpss_in: slave-kernel {
qcom,entry-name = "slave-kernel";
interrupt-controller;
#interrupt-cells = <2>;
};
smp2p_wlan_out: wlan-ap-to-wpss {
qcom,entry-name = "wlan";
#qcom,smem-state-cells = <1>;
};
smp2p_wlan_in: wlan-wpss-to-ap {
qcom,entry-name = "wlan";
interrupt-controller;
#interrupt-cells = <2>;
};
};
soc: soc@0 {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
dma-ranges = <0 0 0 0 0x10 0>;
ranges = <0 0 0 0 0x10 0>;
gcc: clock-controller@100000 {
compatible = "qcom,milos-gcc";
reg = <0x0 0x00100000 0x0 0x1f4200>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>,
<0>, /* pcie_0_pipe_clk */
<0>, /* pcie_1_pipe_clk */
<&ufs_mem_phy 0>,
<&ufs_mem_phy 1>,
<&ufs_mem_phy 2>,
<0>; /* usb3_phy_wrapper_gcc_usb30_pipe_clk */
power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
ipcc: mailbox@405000 {
compatible = "qcom,milos-ipcc", "qcom,ipcc";
reg = <0x0 0x00405000 0x0 0x1000>;
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-controller;
#interrupt-cells = <3>;
#mbox-cells = <2>;
};
gpi_dma1: dma-controller@800000 {
compatible = "qcom,milos-gpi-dma", "qcom,sm6350-gpi-dma";
reg = <0x0 0x00800000 0x0 0x60000>;
interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 0>;
dma-channels = <12>;
dma-channel-mask = <0x3f>;
#dma-cells = <3>;
iommus = <&apps_smmu 0x36 0x0>;
dma-coherent;
};
qupv3_id_1: geniqup@8c0000 {
compatible = "qcom,geni-se-qup";
reg = <0x0 0x008c0000 0x0 0x2000>;
clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
<&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
clock-names = "m-ahb",
"s-ahb";
interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "qup-core";
iommus = <&apps_smmu 0x23 0>;
dma-coherent;
#address-cells = <2>;
#size-cells = <2>;
ranges;
status = "disabled";
i2c7: i2c@880000 {
compatible = "qcom,geni-i2c";
reg = <0x0 0x00880000 0x0 0x4000>;
interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
clock-names = "se";
interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>,
<&aggre1_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "qup-core",
"qup-config",
"qup-memory";
dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
<&gpi_dma1 1 0 QCOM_GPI_I2C>;
dma-names = "tx",
"rx";
pinctrl-0 = <&qup_i2c7_data_clk>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
uart11: serial@890000 {
compatible = "qcom,geni-uart";
reg = <0x0 0x00890000 0x0 0x4000>;
interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
clock-names = "se";
interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_QUP_1 QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "qup-core",
"qup-config";
pinctrl-0 = <&qup_uart11_default>, <&qup_uart11_cts_rts>;
pinctrl-names = "default";
status = "disabled";
};
};
gpi_dma0: dma-controller@a00000 {
compatible = "qcom,milos-gpi-dma", "qcom,sm6350-gpi-dma";
reg = <0x0 0x00a00000 0x0 0x60000>;
interrupts = <GIC_SPI 433 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 437 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH 0>;
dma-channels = <12>;
dma-channel-mask = <0x3e>;
#dma-cells = <3>;
iommus = <&apps_smmu 0x576 0x0>;
dma-coherent;
};
qupv3_id_0: geniqup@ac0000 {
compatible = "qcom,geni-se-qup";
reg = <0x0 0x00ac0000 0x0 0x2000>;
clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
<&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
clock-names = "m-ahb",
"s-ahb";
interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "qup-core";
iommus = <&apps_smmu 0x563 0>;
dma-coherent;
#address-cells = <2>;
#size-cells = <2>;
ranges;
status = "disabled";
spi0: spi@a80000 {
compatible = "qcom,geni-spi";
reg = <0x0 0x00a80000 0x0 0x4000>;
interrupts = <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
clock-names = "se";
interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_QUP_0 QCOM_ICC_TAG_ACTIVE_ONLY>,
<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "qup-core",
"qup-config",
"qup-memory";
dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
<&gpi_dma0 1 0 QCOM_GPI_SPI>;
dma-names = "tx",
"rx";
pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
i2c1: i2c@a84000 {
compatible = "qcom,geni-i2c";
reg = <0x0 0x00a84000 0x0 0x4000>;
interrupts = <GIC_SPI 521 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
clock-names = "se";
interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_QUP_0 QCOM_ICC_TAG_ACTIVE_ONLY>,
<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "qup-core",
"qup-config",
"qup-memory";
dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
<&gpi_dma0 1 1 QCOM_GPI_I2C>;
dma-names = "tx",
"rx";
pinctrl-0 = <&qup_i2c1_data_clk>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
i2c3: i2c@a8c000 {
compatible = "qcom,geni-i2c";
reg = <0x0 0x00a8c000 0x0 0x4000>;
interrupts = <GIC_SPI 523 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
clock-names = "se";
interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_QUP_0 QCOM_ICC_TAG_ACTIVE_ONLY>,
<&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "qup-core",
"qup-config",
"qup-memory";
dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
<&gpi_dma0 1 3 QCOM_GPI_I2C>;
dma-names = "tx",
"rx";
pinctrl-0 = <&qup_i2c3_data_clk>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
uart5: serial@a94000 {
compatible = "qcom,geni-debug-uart";
reg = <0x0 0x00a94000 0x0 0x4000>;
interrupts = <GIC_SPI 525 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
clock-names = "se";
interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
&clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_QUP_0 QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "qup-core",
"qup-config";
pinctrl-0 = <&qup_uart5_default>;
pinctrl-names = "default";
status = "disabled";
};
};
rng: rng@10c3000 {
compatible = "qcom,milos-trng", "qcom,trng";
reg = <0x0 0x010c3000 0x0 0x1000>;
};
mmss_noc: interconnect@1400000 {
compatible = "qcom,milos-mmss-noc";
reg = <0x0 0x01400000 0x0 0xdb800>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
cnoc_main: interconnect@1500000 {
compatible = "qcom,milos-cnoc-main";
reg = <0x0 0x01500000 0x0 0x14400>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
cnoc_cfg: interconnect@1600000 {
compatible = "qcom,milos-cnoc-cfg";
reg = <0x0 0x01600000 0x0 0x6e00>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
system_noc: interconnect@1680000 {
compatible = "qcom,milos-system-noc";
reg = <0x0 0x01680000 0x0 0x40000>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
pcie_anoc: interconnect@16c0000 {
compatible = "qcom,milos-pcie-anoc";
reg = <0x0 0x016c0000 0x0 0x12400>;
#interconnect-cells = <2>;
clocks = <&gcc GCC_AGGRE_NOC_PCIE_AXI_CLK>,
<&gcc GCC_CFG_NOC_PCIE_ANOC_AHB_CLK>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
aggre1_noc: interconnect@16e0000 {
compatible = "qcom,milos-aggre1-noc";
reg = <0x0 0x016e0000 0x0 0x16400>;
#interconnect-cells = <2>;
clocks = <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
aggre2_noc: interconnect@1700000 {
compatible = "qcom,milos-aggre2-noc";
reg = <0x0 0x01700000 0x0 0x1f400>;
#interconnect-cells = <2>;
clocks = <&rpmhcc RPMH_IPA_CLK>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
ufs_mem_phy: phy@1d80000 {
compatible = "qcom,milos-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 UFS_MEM_PHY_GDSC>;
#clock-cells = <1>;
#phy-cells = <0>;
status = "disabled";
};
ufs_mem_hc: ufshc@1d84000 {
compatible = "qcom,milos-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
reg = <0x0 0x01d84000 0x0 0x3000>;
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH 0>;
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>,
<&tcsr TCSR_UFS_PAD_CLKREF_EN>,
<&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";
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
&cnoc_cfg SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "ufs-ddr",
"cpu-ufs";
power-domains = <&gcc UFS_PHY_GDSC>;
required-opps = <&rpmhpd_opp_nom>;
operating-points-v2 = <&ufs_opp_table>;
iommus = <&apps_smmu 0x60 0>;
dma-coherent;
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-75000000 {
opp-hz = /bits/ 64 <75000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <75000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>;
required-opps = <&rpmhpd_opp_low_svs>;
};
opp-150000000 {
opp-hz = /bits/ 64 <150000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <150000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>;
required-opps = <&rpmhpd_opp_svs>;
};
opp-300000000 {
opp-hz = /bits/ 64 <300000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <300000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>;
required-opps = <&rpmhpd_opp_nom>;
};
};
};
ice: crypto@1d88000 {
compatible = "qcom,milos-inline-crypto-engine",
"qcom,inline-crypto-engine";
reg = <0x0 0x01d88000 0x0 0x18000>;
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
<&gcc GCC_UFS_PHY_AHB_CLK>;
clock-names = "core",
"iface";
power-domains = <&gcc UFS_PHY_GDSC>;
};
cryptobam: dma-controller@1dc4000 {
compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
reg = <0x0 0x01dc4000 0x0 0x28000>;
interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH 0>;
#dma-cells = <1>;
iommus = <&apps_smmu 0x480 0>,
<&apps_smmu 0x481 0>;
qcom,ee = <0>;
qcom,num-ees = <4>;
num-channels = <20>;
qcom,controlled-remotely;
};
crypto: crypto@1dfa000 {
compatible = "qcom,milos-qce", "qcom,sm8150-qce", "qcom,qce";
reg = <0x0 0x01dfa000 0x0 0x6000>;
interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "memory";
dmas = <&cryptobam 4>, <&cryptobam 5>;
dma-names = "rx", "tx";
iommus = <&apps_smmu 0x480 0>,
<&apps_smmu 0x481 0>;
};
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x0 0x01f40000 0x0 0x20000>;
#hwlock-cells = <1>;
};
tcsr: clock-controller@1fc0000 {
compatible = "qcom,milos-tcsr", "syscon";
reg = <0x0 0x01fc0000 0x0 0xa0000>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
#clock-cells = <1>;
#reset-cells = <1>;
};
qfprom: efuse@221c8000 {
compatible = "qcom,milos-qfprom", "qcom,qfprom";
reg = <0x0 0x221c8000 0x0 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
gpu_speed_bin: gpu-speed-bin@138 {
reg = <0x138 0x2>;
bits = <0 9>;
};
};
remoteproc_adsp: remoteproc@3000000 {
compatible = "qcom,milos-adsp-pas";
reg = <0x0 0x03000000 0x0 0x10000>;
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>,
<&smp2p_adsp_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog",
"fatal",
"ready",
"handover",
"stop-ack",
"shutdown-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
power-domains = <&rpmhpd RPMHPD_LCX>,
<&rpmhpd RPMHPD_LMX>;
power-domain-names = "lcx",
"lmx";
interconnects = <&lpass_ag_noc MASTER_LPASS_PROC QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
memory-region = <&adspslpi_mem>, <&q6_adsp_dtb_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_adsp_out 0>;
qcom,smem-state-names = "stop";
status = "disabled";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_LPASS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "lpass";
qcom,remote-pid = <2>;
fastrpc {
compatible = "qcom,fastrpc";
qcom,glink-channels = "fastrpcglink-apps-dsp";
label = "adsp";
qcom,non-secure-domain;
#address-cells = <1>;
#size-cells = <0>;
compute-cb@3 {
compatible = "qcom,fastrpc-compute-cb";
reg = <3>;
iommus = <&apps_smmu 0x1003 0x0>,
<&apps_smmu 0x1063 0x0>;
dma-coherent;
};
compute-cb@4 {
compatible = "qcom,fastrpc-compute-cb";
reg = <4>;
iommus = <&apps_smmu 0x1004 0x0>,
<&apps_smmu 0x1064 0x0>;
dma-coherent;
};
compute-cb@5 {
compatible = "qcom,fastrpc-compute-cb";
reg = <5>;
iommus = <&apps_smmu 0x1005 0x0>,
<&apps_smmu 0x1065 0x0>;
dma-coherent;
};
compute-cb@6 {
compatible = "qcom,fastrpc-compute-cb";
reg = <6>;
iommus = <&apps_smmu 0x1006 0x0>,
<&apps_smmu 0x1066 0x0>;
dma-coherent;
};
compute-cb@7 {
compatible = "qcom,fastrpc-compute-cb";
reg = <7>;
iommus = <&apps_smmu 0x1007 0x0>,
<&apps_smmu 0x1067 0x0>;
dma-coherent;
};
};
gpr {
compatible = "qcom,gpr";
qcom,glink-channels = "adsp_apps";
qcom,domain = <GPR_DOMAIN_ID_ADSP>;
qcom,intents = <512 20>;
#address-cells = <1>;
#size-cells = <0>;
q6apm: service@1 {
compatible = "qcom,q6apm";
reg = <GPR_APM_MODULE_IID>;
#sound-dai-cells = <0>;
qcom,protection-domain = "avs/audio",
"msm/adsp/audio_pd";
q6apmbedai: bedais {
compatible = "qcom,q6apm-lpass-dais";
#sound-dai-cells = <1>;
};
q6apmdai: dais {
compatible = "qcom,q6apm-dais";
iommus = <&apps_smmu 0x1001 0x0>,
<&apps_smmu 0x1061 0x0>;
};
};
q6prm: service@2 {
compatible = "qcom,q6prm";
reg = <GPR_PRM_MODULE_IID>;
qcom,protection-domain = "avs/audio",
"msm/adsp/audio_pd";
q6prmcc: clock-controller {
compatible = "qcom,q6prm-lpass-clocks";
#clock-cells = <2>;
};
};
};
};
};
lpass_rxmacro: codec@3200000 {
compatible = "qcom,milos-lpass-rx-macro", "qcom,sm8550-lpass-rx-macro";
reg = <0x0 0x03200000 0x0 0x1000>;
clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&lpass_vamacro>;
clock-names = "mclk",
"macro",
"dcodec",
"fsgen";
#clock-cells = <0>;
clock-output-names = "mclk";
#sound-dai-cells = <1>;
};
swr1: soundwire@3210000 {
compatible = "qcom,soundwire-v1.7.0";
reg = <0x0 0x03210000 0x0 0x10000>;
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&lpass_rxmacro>;
clock-names = "iface";
label = "RX";
pinctrl-0 = <&rx_swr_active>;
pinctrl-names = "default";
qcom,din-ports = <0>; // FIXME <1>
qcom,dout-ports = <5>; // FIXME <6>
qcom,ports-sinterval = /bits/ 16 <0x03 0x3f 0x1f 0x07 0x03>;
qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0b 0x09 0x01>;
qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0b 0x00 0x00>;
qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff>;
qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff>;
qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff>;
qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff>;
qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0x01 0x03>;
qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>;
#address-cells = <2>;
#size-cells = <0>;
#sound-dai-cells = <1>;
status = "disabled";
};
lpass_txmacro: codec@3220000 {
compatible = "qcom,milos-lpass-tx-macro", "qcom,sm8550-lpass-tx-macro"; // FIXME are we v11?
reg = <0x0 0x03220000 0x0 0x1000>;
clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&lpass_vamacro>;
clock-names = "mclk",
"macro",
"dcodec",
"fsgen";
#clock-cells = <0>;
clock-output-names = "mclk";
#sound-dai-cells = <1>;
};
lpass_wsamacro: codec@3240000 {
compatible = "qcom,milos-lpass-wsa-macro", "qcom,sm8550-lpass-wsa-macro";
reg = <0x0 0x03240000 0x0 0x1000>;
clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&lpass_vamacro>;
clock-names = "mclk",
"macro",
"dcodec",
"fsgen";
#clock-cells = <0>;
clock-output-names = "mclk";
#sound-dai-cells = <1>;
};
swr0: soundwire@3250000 {
compatible = "qcom,soundwire-v1.7.0";
reg = <0x0 0x03250000 0x0 0x10000>;
interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&lpass_wsamacro>;
clock-names = "iface";
label = "WSA";
pinctrl-0 = <&wsa_swr_active>;
pinctrl-names = "default";
qcom,din-ports = <2>; // FIXME <3>
qcom,dout-ports = <6>;
qcom,ports-sinterval = /bits/ 16 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x0f 0x0f>;
qcom,ports-offset1 = /bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x06 0x0d>;
qcom,ports-offset2 = /bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0xff>;
qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
qcom,ports-block-pack-mode = /bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 0x01 0x01>;
qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>;
#address-cells = <2>;
#size-cells = <0>;
#sound-dai-cells = <1>;
status = "disabled";
};
swr2: soundwire@33b0000 {
compatible = "qcom,soundwire-v1.7.0";
reg = <0x0 0x033b0000 0x0 0x10000>;
interrupts = <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "core",
"wakeup";
clocks = <&lpass_txmacro>;
clock-names = "iface";
label = "TX";
pinctrl-0 = <&tx_swr_active>;
pinctrl-names = "default";
qcom,din-ports = <4>;
qcom,dout-ports = <0>;
qcom,ports-sinterval-low = /bits/ 8 <0x01 0x01 0x03 0x03>; // FIXME?
qcom,ports-offset1 = /bits/ 8 <0x01 0x01 0x00 0x01>; // taken UC0
qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>;
qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-lane-control = /bits/ 8 <0x00 0x01 0x01 0x00>; // taken UC0
#address-cells = <2>;
#size-cells = <0>;
#sound-dai-cells = <1>;
status = "disabled";
};
lpass_vamacro: codec@33f0000 {
compatible = "qcom,milos-lpass-va-macro", "qcom,sm8550-lpass-va-macro";
reg = <0x0 0x033f0000 0x0 0x1000>;
clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
clock-names = "mclk",
"macro",
"dcodec";
#clock-cells = <0>;
clock-output-names = "fsgen";
#sound-dai-cells = <1>;
};
lpass_tlmm: pinctrl@3440000 {
compatible = "qcom,milos-lpass-lpi-pinctrl";
reg = <0x0 0x03440000 0x0 0x20000>,
<0x0 0x034d0000 0x0 0x10000>;
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&lpass_tlmm 0 0 23>;
clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
clock-names = "core",
"audio";
tx_swr_active: tx-swr-active-state {
clk-pins {
pins = "gpio0";
function = "swr_tx_clk";
drive-strength = <4>;
slew-rate = <1>;
bias-disable;
};
data-pins {
pins = "gpio1", "gpio2", "gpio14";
function = "swr_tx_data";
drive-strength = <4>;
slew-rate = <1>;
bias-bus-hold;
};
};
rx_swr_active: rx-swr-active-state {
clk-pins {
pins = "gpio3";
function = "swr_rx_clk";
drive-strength = <2>;
slew-rate = <1>;
bias-disable;
};
data-pins {
pins = "gpio4", "gpio5";
function = "swr_rx_data";
drive-strength = <2>;
slew-rate = <1>;
bias-bus-hold;
};
};
wsa_swr_active: wsa-swr-active-state {
clk-pins {
pins = "gpio10";
function = "wsa_swr_clk";
drive-strength = <2>;
slew-rate = <1>;
bias-disable;
};
data-pins {
pins = "gpio11";
function = "wsa_swr_data";
drive-strength = <2>;
slew-rate = <1>;
bias-bus-hold;
};
};
lpi_i2s2_active: lpi-i2s2-active-state {
clk-pins {
pins = "gpio10";
function = "i2s2_clk";
drive-strength = <8>;
bias-disable;
output-high;
};
ws-pins {
pins = "gpio11";
function = "i2s2_ws";
drive-strength = <8>;
bias-disable;
output-high;
};
data-pins {
pins = "gpio12", "gpio13";
function = "i2s2_data";
drive-strength = <8>;
bias-disable;
output-high;
};
};
lpi_i2s2_sleep: lpi-i2s2-sleep-state {
clk-pins {
pins = "gpio10";
function = "i2s2_clk";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
ws-pins {
pins = "gpio11";
function = "i2s2_ws";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
data-pins {
pins = "gpio12", "gpio13";
function = "i2s2_data";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
};
};
lpass_ag_noc: interconnect@3c40000 {
compatible = "qcom,milos-lpass-ag-noc";
reg = <0x0 0x03c40000 0x0 0x17200>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
gpu: gpu@3d00000 {
compatible = "qcom,adreno-44010000", "qcom,adreno";
reg = <0x0 0x03d00000 0x0 0x6c000>,
<0x0 0x03d9e000 0x0 0x2000>;
reg-names = "kgsl_3d0_reg_memory",
"cx_mem";
interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH 0>;
iommus = <&adreno_smmu 0 0x0>;
operating-points-v2 = <&gpu_opp_table>;
nvmem-cells = <&gpu_speed_bin>;
nvmem-cell-names = "speed_bin";
qcom,gmu = <&gmu>;
#cooling-cells = <2>;
interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "gfx-mem";
status = "disabled";
gpu_zap_shader: zap-shader {
memory-region = <&gpu_microcode_mem>;
};
gpu_opp_table: opp-table {
compatible = "operating-points-v2-adreno",
"operating-points-v2";
opp-264000000 {
opp-hz = /bits/ 64 <264000000>;
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
opp-peak-kBps = <2136718>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0xc8295ffd>;
};
opp-362000000 {
opp-hz = /bits/ 64 <362000000>;
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
opp-peak-kBps = <2136718>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0xc02c5ffd>;
};
opp-510000000 {
opp-hz = /bits/ 64 <510000000>;
opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
opp-peak-kBps = <3972656>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0x882b5ffd>;
};
opp-644000000 {
opp-hz = /bits/ 64 <644000000>;
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
opp-peak-kBps = <5285156>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0x882a5ffd>;
};
opp-688000000 {
opp-hz = /bits/ 64 <688000000>;
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
opp-peak-kBps = <6074218>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0x882a5ffd>;
};
opp-763000000 {
opp-hz = /bits/ 64 <763000000>;
opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
opp-peak-kBps = <6671875>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0xa8295ffd>;
};
opp-895000000 {
opp-hz = /bits/ 64 <895000000>;
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
opp-peak-kBps = <8171875>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0x88295ffd>;
};
opp-960000000 {
opp-hz = /bits/ 64 <960000000>;
opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
opp-peak-kBps = <8171875>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0xa8285ffd>;
};
opp-1050000000 {
opp-hz = /bits/ 64 <1050000000>;
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
opp-peak-kBps = <18597656>;
opp-supported-hw = <0x7>;
qcom,opp-acd-level = <0x88285ffd>;
};
opp-1150000000 {
opp-hz = /bits/ 64 <1150000000>;
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L2>;
opp-peak-kBps = <18597656>;
opp-supported-hw = <0x3>;
qcom,opp-acd-level = <0xa02f5ffd>;
};
};
};
gxclkctl: clock-controller@3d64000 {
compatible = "qcom,milos-gxclkctl";
reg = <0x0 0x03d64000 0x0 0x6000>;
power-domains = <&rpmhpd RPMHPD_GFX>,
<&gpucc GPU_CC_CX_GDSC>;
#power-domain-cells = <1>;
};
gmu: gmu@3d6c000 {
compatible = "qcom,adreno-gmu-810.0", "qcom,adreno-gmu";
reg = <0x0 0x03d6c000 0x0 0x32000>;
reg-names = "gmu";
interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "hfi",
"gmu";
clocks = <&gpucc GPU_CC_AHB_CLK>,
<&gpucc GPU_CC_CX_GMU_CLK>,
<&gpucc GPU_CC_CXO_CLK>,
<&gcc GCC_DDRSS_GPU_AXI_CLK>,
<&gcc GCC_GPU_MEMNOC_GFX_CLK>,
<&gpucc GPU_CC_HUB_CX_INT_CLK>;
clock-names = "ahb",
"gmu",
"cxo",
"axi",
"memnoc",
"hub";
power-domains = <&gpucc GPU_CC_CX_GDSC>,
<&gxclkctl GX_CLKCTL_GX_GDSC>;
power-domain-names = "cx",
"gx";
iommus = <&adreno_smmu 5 0x0>;
qcom,qmp = <&aoss_qmp>;
operating-points-v2 = <&gmu_opp_table>;
gmu_opp_table: opp-table {
compatible = "operating-points-v2";
opp-350000000 {
opp-hz = /bits/ 64 <350000000>;
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
};
opp-650000000 {
opp-hz = /bits/ 64 <650000000>;
opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
};
};
};
gpucc: clock-controller@3d90000 {
compatible = "qcom,milos-gpucc";
reg = <0x0 0x03d90000 0x0 0x9800>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_GPU_GPLL0_CLK_SRC>,
<&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
adreno_smmu: iommu@3da0000 {
compatible = "qcom,milos-smmu-500", "qcom,adreno-smmu",
"qcom,smmu-500", "arm,mmu-500";
reg = <0x0 0x03da0000 0x0 0x40000>;
#iommu-cells = <2>;
#global-interrupts = <1>;
interrupts = <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 677 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 574 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 575 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 576 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 577 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 659 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 661 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 664 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 665 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 666 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 668 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 669 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 699 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>,
<&gcc GCC_GPU_MEMNOC_GFX_CLK>,
<&gcc GCC_GPU_SNOC_DVM_GFX_CLK>,
<&gpucc GPU_CC_AHB_CLK>;
clock-names = "hlos",
"bus",
"iface",
"ahb";
power-domains = <&gpucc GPU_CC_CX_GDSC>;
dma-coherent;
};
ipa: ipa@3f40000 {
compatible = "qcom,milos-ipa";
reg = <0x0 0x03f40000 0x0 0x10000>,
<0x0 0x03f50000 0x0 0x5000>,
<0x0 0x03e04000 0x0 0xfc000>;
reg-names = "ipa-reg",
"ipa-shared",
"gsi";
interrupts-extended = <&intc GIC_SPI 654 IRQ_TYPE_EDGE_RISING 0>,
<&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH 0>,
<&smp2p_ipa_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_ipa_in 1 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "ipa",
"gsi",
"ipa-clock-query",
"ipa-setup-ready";
clocks = <&rpmhcc RPMH_IPA_CLK>;
clock-names = "core";
interconnects = <&aggre2_noc MASTER_IPA QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_main SLAVE_IPA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "memory",
"config";
iommus = <&apps_smmu 0x4a0 0x0>,
<&apps_smmu 0x4a2 0x0>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_ipa_out 0>,
<&smp2p_ipa_out 1>;
qcom,smem-state-names = "ipa-clock-enabled-valid",
"ipa-clock-enabled";
sram = <&ipa_modem_tables>;
status = "disabled";
};
remoteproc_mpss: remoteproc@4080000 {
compatible = "qcom,milos-mpss-pas";
reg = <0x0 0x04080000 0x0 0x10000>;
interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING 0>,
<&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>,
<&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog",
"fatal",
"ready",
"handover",
"stop-ack",
"shutdown-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
power-domains = <&rpmhpd RPMHPD_CX>,
<&rpmhpd RPMHPD_MSS>;
power-domain-names = "cx",
"mss";
interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
memory-region = <&mpss_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_modem_out 0>;
qcom,smem-state-names = "stop";
status = "disabled";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_MPSS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "mpss";
qcom,remote-pid = <1>;
};
};
sdhc_2: mmc@8804000 {
compatible = "qcom,milos-sdhci", "qcom,sdhci-msm-v5";
reg = <0x0 0x08804000 0x0 0x1000>;
interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "hc_irq",
"pwr_irq";
clocks = <&gcc GCC_SDCC2_AHB_CLK>,
<&gcc GCC_SDCC2_APPS_CLK>,
<&rpmhcc RPMH_CXO_CLK>;
clock-names = "iface",
"core",
"xo";
interconnects = <&aggre2_noc MASTER_SDCC_2 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_SDCC_2 QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "sdhc-ddr",
"cpu-sdhc";
power-domains = <&rpmhpd RPMHPD_CX>;
operating-points-v2 = <&sdhc2_opp_table>;
iommus = <&apps_smmu 0x540 0>;
resets = <&gcc GCC_SDCC2_BCR>;
bus-width = <4>;
qcom,dll-config = <0x0007442c>;
qcom,ddr-config = <0x80040868>;
dma-coherent;
status = "disabled";
sdhc2_opp_table: opp-table {
compatible = "operating-points-v2";
opp-100000000 {
opp-hz = /bits/ 64 <100000000>;
required-opps = <&rpmhpd_opp_low_svs>;
};
opp-202000000 {
opp-hz = /bits/ 64 <202000000>;
required-opps = <&rpmhpd_opp_svs_l1>;
};
};
};
usb_1_hsphy: phy@88e3000 {
compatible = "qcom,milos-snps-eusb2-phy",
"qcom,sm8550-snps-eusb2-phy";
reg = <0x0 0x088e3000 0x0 0x154>;
#phy-cells = <0>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "ref";
resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
status = "disabled";
};
remoteproc_wpss: remoteproc@8a00000 {
compatible = "qcom,milos-wpss-pas";
reg = <0x0 0x08a00000 0x0 0x10000>;
interrupts-extended = <&intc GIC_SPI 579 IRQ_TYPE_EDGE_RISING 0>,
<&smp2p_wpss_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_wpss_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_wpss_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_wpss_in 3 IRQ_TYPE_EDGE_RISING>,
<&smp2p_wpss_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog",
"fatal",
"ready",
"handover",
"stop-ack",
"shutdown-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
power-domains = <&rpmhpd RPMHPD_CX>,
<&rpmhpd RPMHPD_MX>;
power-domain-names = "cx",
"mx";
memory-region = <&wpss_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_wpss_out 0>;
qcom,smem-state-names = "stop";
status = "disabled";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_WPSS
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "wpss";
qcom,remote-pid = <13>;
};
};
usb_1: usb@a600000 {
compatible = "qcom,milos-dwc3", "qcom,snps-dwc3";
reg = <0x0 0x0a600000 0x0 0xfc000>;
clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
<&gcc GCC_USB30_PRIM_MASTER_CLK>,
<&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
<&gcc GCC_USB30_PRIM_SLEEP_CLK>,
<&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
<&rpmhcc RPMH_CXO_CLK>;
clock-names = "cfg_noc",
"core",
"iface",
"sleep",
"mock_utmi",
"xo";
assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
<&gcc GCC_USB30_PRIM_MASTER_CLK>;
assigned-clock-rates = <19200000>, <200000000>;
interrupts-extended = <&intc GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH 0>,
<&intc GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH 0>,
<&pdc 14 IRQ_TYPE_EDGE_BOTH>,
<&pdc 15 IRQ_TYPE_EDGE_BOTH>,
<&pdc 25 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "dwc_usb3",
"pwr_event",
"dp_hs_phy_irq",
"dm_hs_phy_irq",
"ss_phy_irq";
iommus = <&apps_smmu 0x40 0x0>;
power-domains = <&gcc USB30_PRIM_GDSC>;
required-opps = <&rpmhpd_opp_nom>;
resets = <&gcc GCC_USB30_PRIM_BCR>;
interconnects = <&aggre1_noc MASTER_USB3_0 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_USB3_0 QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "usb-ddr", "apps-usb";
phys = <&usb_1_hsphy>;
phy-names = "usb2-phy";
snps,dis-u1-entry-quirk;
snps,dis-u2-entry-quirk;
snps,dis_enblslpm_quirk;
snps,dis_u2_susphy_quirk;
snps,dis_u3_susphy_quirk;
snps,has-lpm-erratum;
snps,hird-threshold = /bits/ 8 <0x0>;
snps,is-utmi-l1-suspend;
snps,parkmode-disable-ss-quirk;
tx-fifo-resize;
dma-coherent;
usb-role-switch;
status = "disabled";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
usb_1_dwc3_hs: endpoint {
};
};
};
};
iris: video-codec@aa00000 {
compatible = "qcom,milos-iris";
reg = <0x0 0x0aa00000 0x0 0xf0000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH 0>;
power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>,
<&videocc VIDEO_CC_MVS0_GDSC>,
<&rpmhpd RPMHPD_CX>,
<&rpmhpd RPMHPD_MX>;
power-domain-names = "venus",
"vcodec0",
"cx",
"mx";
operating-points-v2 = <&iris_opp_table>;
clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
<&videocc VIDEO_CC_MVS0C_CLK>,
<&videocc VIDEO_CC_MVS0_CLK>;
clock-names = "iface",
"core",
"vcodec0_core";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_cfg SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_VIDEO QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "cpu-cfg",
"video-mem";
memory-region = <&video_mem>;
resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
<&videocc VIDEO_CC_MVS0C_CLK_ARES>;
reset-names = "bus",
"core";
iommus = <&apps_smmu 0x1960 0>,
<&apps_smmu 0x1967 0>;
dma-coherent;
/*
* IRIS firmware is signed by vendors, only enable on
* boards where the proper signed firmware is available.
*/
status = "disabled";
iris_opp_table: opp-table {
compatible = "operating-points-v2";
opp-240000000 {
opp-hz = /bits/ 64 <240000000>;
required-opps = <&rpmhpd_opp_svs>,
<&rpmhpd_opp_svs>;
};
opp-338000000 {
opp-hz = /bits/ 64 <338000000>;
required-opps = <&rpmhpd_opp_svs>,
<&rpmhpd_opp_svs>;
};
opp-366000000 {
opp-hz = /bits/ 64 <366000000>;
required-opps = <&rpmhpd_opp_svs>,
<&rpmhpd_opp_svs>;
};
opp-444000000 {
opp-hz = /bits/ 64 <444000000>;
required-opps = <&rpmhpd_opp_svs_l1>,
<&rpmhpd_opp_svs_l1>;
};
opp-552000000 {
opp-hz = /bits/ 64 <552000000>;
required-opps = <&rpmhpd_opp_nom>,
<&rpmhpd_opp_nom>;
};
};
};
videocc: clock-controller@aaf0000 {
compatible = "qcom,milos-videocc";
reg = <0x0 0x0aaf0000 0x0 0x10000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>,
<&gcc GCC_VIDEO_AHB_CLK>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
cci0: cci@ac15000 {
compatible = "qcom,milos-cci", "qcom,msm8996-cci";
reg = <0x0 0x0ac15000 0x0 0x1000>;
interrupts = <GIC_SPI 426 IRQ_TYPE_EDGE_RISING 0>;
power-domains = <&camcc CAM_CC_CAMSS_TOP_GDSC>;
clocks = <&camcc CAM_CC_SOC_AHB_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CCI_0_CLK>;
clock-names = "soc_ahb",
"cpas_ahb",
"cci";
pinctrl-0 = <&cci0_0_default &cci0_1_default>;
pinctrl-1 = <&cci0_0_sleep &cci0_1_sleep>;
pinctrl-names = "default", "sleep";
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
cci0_i2c0: i2c-bus@0 {
reg = <0>;
clock-frequency = <1000000>;
#address-cells = <1>;
#size-cells = <0>;
};
cci0_i2c1: i2c-bus@1 {
reg = <1>;
clock-frequency = <1000000>;
#address-cells = <1>;
#size-cells = <0>;
};
};
cci1: cci@ac16000 {
compatible = "qcom,milos-cci", "qcom,msm8996-cci";
reg = <0x0 0x0ac16000 0x0 0x1000>;
interrupts = <GIC_SPI 427 IRQ_TYPE_EDGE_RISING 0>;
power-domains = <&camcc CAM_CC_CAMSS_TOP_GDSC>;
clocks = <&camcc CAM_CC_SOC_AHB_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CCI_1_CLK>;
clock-names = "soc_ahb",
"cpas_ahb",
"cci";
pinctrl-0 = <&cci1_0_default &cci1_1_default>;
pinctrl-1 = <&cci1_0_sleep &cci1_1_sleep>;
pinctrl-names = "default", "sleep";
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
cci1_i2c0: i2c-bus@0 {
reg = <0>;
clock-frequency = <1000000>;
#address-cells = <1>;
#size-cells = <0>;
};
cci1_i2c1: i2c-bus@1 {
reg = <1>;
clock-frequency = <1000000>;
#address-cells = <1>;
#size-cells = <0>;
};
};
camcc: clock-controller@adb0000 {
compatible = "qcom,milos-camcc";
reg = <0x0 0x0adb0000 0x0 0x40000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>,
<&gcc GCC_CAMERA_AHB_CLK>;
interconnects = <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
&mmss_noc SLAVE_MNOC_HF_MEM_NOC QCOM_ICC_TAG_ALWAYS>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
mdss: display-subsystem@ae00000 {
compatible = "qcom,milos-mdss";
reg = <0x0 0x0ae00000 0x0 0x1000>;
reg-names = "mdss";
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
<&gcc GCC_DISP_HF_AXI_CLK>,
<&dispcc DISP_CC_MDSS_MDP_CLK>;
resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
interconnects = <&mmss_noc MASTER_MDP QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc_main SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "mdp0-mem",
"cpu-cfg";
power-domains = <&dispcc DISP_CC_MDSS_CORE_GDSC>;
iommus = <&apps_smmu 0x1c00 0x2>;
interrupt-controller;
#interrupt-cells = <1>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
status = "disabled";
mdss_mdp: display-controller@ae01000 {
compatible = "qcom,milos-dpu";
reg = <0x0 0x0ae01000 0x0 0x8f000>,
<0x0 0x0aeb0000 0x0 0x3000>;
reg-names = "mdp",
"vbif";
interrupts-extended = <&mdss 0>;
clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
<&dispcc DISP_CC_MDSS_AHB_CLK>,
<&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
<&dispcc DISP_CC_MDSS_MDP_CLK>,
<&dispcc DISP_CC_MDSS_VSYNC_CLK>;
clock-names = "nrt_bus",
"iface",
"lut",
"core",
"vsync";
assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
assigned-clock-rates = <19200000>;
operating-points-v2 = <&mdp_opp_table>;
power-domains = <&rpmhpd RPMHPD_CX>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
dpu_intf1_out: endpoint {
remote-endpoint = <&mdss_dsi0_in>;
};
};
};
mdp_opp_table: opp-table {
compatible = "operating-points-v2";
opp-200000000 {
opp-hz = /bits/ 64 <200000000>;
required-opps = <&rpmhpd_opp_low_svs>;
};
opp-342000000 {
opp-hz = /bits/ 64 <342000000>;
required-opps = <&rpmhpd_opp_svs>;
};
opp-402000000 {
opp-hz = /bits/ 64 <402000000>;
required-opps = <&rpmhpd_opp_svs_l1>;
};
opp-535000000 {
opp-hz = /bits/ 64 <535000000>;
required-opps = <&rpmhpd_opp_nom>;
};
opp-600000000 {
opp-hz = /bits/ 64 <600000000>;
required-opps = <&rpmhpd_opp_nom_l1>;
};
opp-630000000 {
opp-hz = /bits/ 64 <630000000>;
required-opps = <&rpmhpd_opp_turbo>;
};
};
};
mdss_dsi0: dsi@ae94000 {
compatible = "qcom,milos-dsi-ctrl", "qcom,mdss-dsi-ctrl";
reg = <0x0 0x0ae94000 0x0 0x1000>;
reg-names = "dsi_ctrl";
interrupts-extended = <&mdss 4>;
clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
<&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
<&dispcc DISP_CC_MDSS_PCLK0_CLK>,
<&dispcc DISP_CC_MDSS_ESC0_CLK>,
<&dispcc DISP_CC_MDSS_AHB_CLK>,
<&gcc GCC_DISP_HF_AXI_CLK>;
clock-names = "byte",
"byte_intf",
"pixel",
"core",
"iface",
"bus";
assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
<&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
operating-points-v2 = <&mdss_dsi_opp_table>;
power-domains = <&rpmhpd RPMHPD_CX>;
phys = <&mdss_dsi0_phy>;
phy-names = "dsi";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
mdss_dsi0_in: endpoint {
remote-endpoint = <&dpu_intf1_out>;
};
};
port@1 {
reg = <1>;
mdss_dsi0_out: endpoint {
};
};
};
mdss_dsi_opp_table: opp-table {
compatible = "operating-points-v2";
opp-187500000 {
opp-hz = /bits/ 64 <187500000>;
required-opps = <&rpmhpd_opp_low_svs>;
};
opp-300000000 {
opp-hz = /bits/ 64 <300000000>;
required-opps = <&rpmhpd_opp_svs>;
};
opp-358000000 {
opp-hz = /bits/ 64 <358000000>;
required-opps = <&rpmhpd_opp_svs_l1>;
};
};
};
mdss_dsi0_phy: phy@ae95000 {
compatible = "qcom,milos-dsi-phy-4nm";
reg = <0x0 0x0ae95000 0x0 0x200>,
<0x0 0x0ae95200 0x0 0x300>,
<0x0 0x0ae95500 0x0 0x400>;
reg-names = "dsi_phy",
"dsi_phy_lane",
"dsi_pll";
clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
<&rpmhcc RPMH_CXO_CLK>;
clock-names = "iface",
"ref";
#clock-cells = <1>;
#phy-cells = <0>;
status = "disabled";
};
};
dispcc: clock-controller@af00000 {
compatible = "qcom,milos-dispcc";
reg = <0x0 0x0af00000 0x0 0x20000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>,
<&gcc GCC_DISP_AHB_CLK>,
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
<&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
<0>, /* dp0_phy_pll_link_clk */
<0>; /* dp0_phy_pll_vco_div_clk */
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
pdc: interrupt-controller@b220000 {
compatible = "qcom,milos-pdc", "qcom,pdc";
reg = <0x0 0x0b220000 0x0 0x30000>,
<0x0 0x174000f0 0x0 0x64>;
interrupt-parent = <&intc>;
qcom,pdc-ranges = <0 480 40>, <40 140 11>, <51 527 47>,
<98 609 31>, <129 63 1>, <130 716 12>,
<142 251 5>;
#interrupt-cells = <2>;
interrupt-controller;
};
tsens0: thermal-sensor@c228000 {
compatible = "qcom,milos-tsens", "qcom,tsens-v2";
reg = <0x0 0x0c228000 0x0 0x1000>,
<0x0 0x0c222000 0x0 0x1000>;
interrupts-extended = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>,
<&intc GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "uplow",
"critical";
#qcom,sensors = <15>;
#thermal-sensor-cells = <1>;
};
tsens1: thermal-sensor@c229000 {
compatible = "qcom,milos-tsens", "qcom,tsens-v2";
reg = <0x0 0x0c229000 0x0 0x1000>,
<0x0 0x0c223000 0x0 0x1000>;
interrupts-extended = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>,
<&intc GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "uplow",
"critical";
#qcom,sensors = <14>;
#thermal-sensor-cells = <1>;
};
aoss_qmp: power-management@c300000 {
compatible = "qcom,milos-aoss-qmp", "qcom,aoss-qmp";
reg = <0x0 0x0c300000 0x0 0x400>;
interrupt-parent = <&ipcc>;
interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
#clock-cells = <0>;
};
sram@c3f0000 {
compatible = "qcom,rpmh-stats";
reg = <0x0 0x0c3f0000 0x0 0x400>;
};
spmi_bus: spmi@c400000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x0 0x0c400000 0x0 0x3000>,
<0x0 0x0c500000 0x0 0x400000>,
<0x0 0x0c440000 0x0 0x80000>,
<0x0 0x0c4c0000 0x0 0x10000>,
<0x0 0x0c42d000 0x0 0x4000>;
reg-names = "core",
"chnls",
"obsrvr",
"intr",
"cnfg";
interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "periph_irq";
qcom,ee = <0>;
qcom,channel = <0>;
qcom,bus-id = <0>;
interrupt-controller;
#interrupt-cells = <4>;
#address-cells = <2>;
#size-cells = <0>;
};
tlmm: pinctrl@f100000 {
compatible = "qcom,milos-tlmm";
reg = <0x0 0x0f100000 0x0 0x300000>;
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH 0>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&tlmm 0 0 168>;
wakeup-parent = <&pdc>;
qup_spi0_data_clk: qup-spi0-data-clk-state {
/* MISO, MOSI, CLK */
pins = "gpio0", "gpio1", "gpio2";
function = "qup0_se0";
drive-strength = <6>;
bias-disable;
};
qup_spi0_cs: qup-spi0-cs-state {
pins = "gpio3";
function = "qup0_se0";
drive-strength = <6>;
bias-disable;
};
qup_i2c1_data_clk: qup-i2c1-data-clk-state {
/* SDA, SCL */
pins = "gpio4", "gpio5";
function = "qup0_se1";
drive-strength = <2>;
bias-pull-up;
};
qup_i2c3_data_clk: qup-i2c3-data-clk-state {
/* SDA, SCL */
pins = "gpio15", "gpio16";
function = "qup0_se3";
drive-strength = <2>;
bias-pull-up = <2200>;
};
qup_uart5_default: qup-uart5-default-state {
/* TX, RX */
pins = "gpio25", "gpio26";
function = "qup0_se5";
drive-strength = <2>;
bias-disable;
};
qup_i2c7_data_clk: qup-i2c7-data-clk-state {
/* SDA, SCL */
pins = "gpio32", "gpio33";
function = "qup1_se0";
drive-strength = <2>;
bias-pull-up;
};
qup_uart11_cts_rts: qup-uart11-cts-rts-state {
qup_uart11_cts: cts-pins {
pins = "gpio48";
function = "qup1_se4";
};
qup_uart11_rts: rts-pins {
pins = "gpio49";
function = "qup1_se4";
};
};
qup_uart11_default: qup-uart11-default-state {
qup_uart11_tx: tx-pins {
pins = "gpio50";
function = "qup1_se4";
};
qup_uart11_rx: rx-pins {
pins = "gpio51";
function = "qup1_se4";
};
};
sdc2_default: sdc2-default-state {
clk-pins {
pins = "gpio62";
function = "sdc2_clk";
drive-strength = <16>;
bias-disable;
};
cmd-pins {
pins = "gpio61";
function = "sdc2_cmd";
drive-strength = <10>;
bias-pull-up;
};
data-pins {
pins = "gpio58", "gpio57", "gpio35", "gpio34";
function = "sdc2_data";
drive-strength = <10>;
bias-pull-up;
};
};
sdc2_sleep: sdc2-sleep-state {
clk-pins {
pins = "gpio62";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
cmd-pins {
pins = "gpio61";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
data-pins {
pins = "gpio58", "gpio57", "gpio35", "gpio34";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
};
cci0_0_default: cci0-0-default-state {
sda-pins {
pins = "gpio88";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-up = <2200>;
};
scl-pins {
pins = "gpio89";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-up = <2200>;
};
};
cci0_0_sleep: cci0-0-sleep-state {
sda-pins {
pins = "gpio88";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-down;
};
scl-pins {
pins = "gpio89";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-down;
};
};
cci0_1_default: cci0-1-default-state {
sda-pins {
pins = "gpio90";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-up = <2200>;
};
scl-pins {
pins = "gpio91";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-up = <2200>;
};
};
cci0_1_sleep: cci0-1-sleep-state {
sda-pins {
pins = "gpio90";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-down;
};
scl-pins {
pins = "gpio91";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-down;
};
};
cci1_0_default: cci1-0-default-state {
sda-pins {
pins = "gpio92";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-up = <2200>;
};
scl-pins {
pins = "gpio93";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-up = <2200>;
};
};
cci1_0_sleep: cci1-0-sleep-state {
sda-pins {
pins = "gpio92";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-down;
};
scl-pins {
pins = "gpio93";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-down;
};
};
cci1_1_default: cci1-1-default-state {
sda-pins {
pins = "gpio94";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-up = <2200>;
};
scl-pins {
pins = "gpio95";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-up = <2200>;
};
};
cci1_1_sleep: cci1-1-sleep-state {
sda-pins {
pins = "gpio94";
function = "cci_i2c_sda";
drive-strength = <2>;
bias-pull-down;
};
scl-pins {
pins = "gpio95";
function = "cci_i2c_scl";
drive-strength = <2>;
bias-pull-down;
};
};
};
sram@14680000 {
compatible = "qcom,milos-imem", "mmio-sram";
reg = <0x0 0x14680000 0x0 0x2c000>;
ranges = <0x0 0x0 0x14680000 0x2c000>;
no-memory-wc;
#address-cells = <1>;
#size-cells = <1>;
pil-reloc-sram@94c {
compatible = "qcom,pil-reloc-info";
reg = <0x94c 0xc8>;
};
ipa_modem_tables: modem-tables-sram@3000 {
reg = <0x3000 0x2000>;
};
};
apps_smmu: iommu@15000000 {
compatible = "qcom,milos-smmu-500", "qcom,smmu-500", "arm,mmu-500";
reg = <0x0 0x15000000 0x0 0x100000>;
#iommu-cells = <2>;
#global-interrupts = <1>;
interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 689 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH 0>;
dma-coherent;
};
intc: interrupt-controller@17100000 {
compatible = "arm,gic-v3";
reg = <0x0 0x17100000 0x0 0x10000>,
<0x0 0x17180000 0x0 0x200000>;
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
#interrupt-cells = <4>;
interrupt-controller;
#redistributor-regions = <1>;
redistributor-stride = <0 0x40000>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
ppi-partitions {
ppi_cluster0: interrupt-partition-0 {
affinity = <&cpu0 &cpu1 &cpu2 &cpu3>;
};
ppi_cluster1: interrupt-partition-1 {
affinity = <&cpu4 &cpu5 &cpu6 &cpu7>;
};
};
gic_its: msi-controller@17140000 {
compatible = "arm,gic-v3-its";
reg = <0x0 0x17140000 0x0 0x40000>;
msi-controller;
#msi-cells = <1>;
};
};
wifi: wifi@17110040 {
compatible = "qcom,wcn6755-wifi", "qcom,wcn6750-wifi";
reg = <0x0 0x17110040 0x0 0x0>;
iommus = <&apps_smmu 0x1400 0x1>;
interrupts = <GIC_SPI 768 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 769 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 770 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 771 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 772 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 773 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 774 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 775 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 776 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 777 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 778 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 779 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 780 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 781 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 782 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 783 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 784 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 785 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 786 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 787 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 788 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 789 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 790 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 791 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 792 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 793 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 794 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 795 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 796 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 797 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 798 IRQ_TYPE_EDGE_RISING 0>,
<GIC_SPI 799 IRQ_TYPE_EDGE_RISING 0>;
qcom,rproc = <&remoteproc_wpss>;
qcom,smem-states = <&smp2p_wlan_out 0>;
qcom,smem-state-names = "wlan-smp2p-out";
status = "disabled";
};
timer@17420000 {
compatible = "arm,armv7-timer-mem";
reg = <0x0 0x17420000 0x0 0x1000>;
ranges = <0 0 0 0x20000000>;
#address-cells = <1>;
#size-cells = <1>;
frame@17421000 {
reg = <0x17421000 0x1000>,
<0x17422000 0x1000>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>;
frame-number = <0>;
};
frame@17423000 {
reg = <0x17423000 0x1000>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
frame-number = <1>;
status = "disabled";
};
frame@17425000 {
reg = <0x17425000 0x1000>;
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
frame-number = <2>;
status = "disabled";
};
frame@17427000 {
reg = <0x17427000 0x1000>;
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH 0>;
frame-number = <3>;
status = "disabled";
};
frame@17429000 {
reg = <0x17429000 0x1000>;
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH 0>;
frame-number = <4>;
status = "disabled";
};
frame@1742b000 {
reg = <0x1742b000 0x1000>;
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH 0>;
frame-number = <5>;
status = "disabled";
};
frame@1742d000 {
reg = <0x1742d000 0x1000>;
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH 0>;
frame-number = <6>;
status = "disabled";
};
};
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 = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH 0>;
power-domains = <&cluster_pd>;
qcom,tcs-offset = <0xd00>;
qcom,drv-id = <2>;
qcom,tcs-config = <ACTIVE_TCS 3>, <SLEEP_TCS 2>,
<WAKE_TCS 2>, <CONTROL_TCS 0>;
label = "apps_rsc";
apps_bcm_voter: bcm-voter {
compatible = "qcom,bcm-voter";
};
rpmhcc: clock-controller {
compatible = "qcom,milos-rpmh-clk";
clocks = <&xo_board>;
clock-names = "xo";
#clock-cells = <1>;
};
rpmhpd: power-controller {
compatible = "qcom,milos-rpmhpd";
#power-domain-cells = <1>;
operating-points-v2 = <&rpmhpd_opp_table>;
rpmhpd_opp_table: opp-table {
compatible = "operating-points-v2";
rpmhpd_opp_ret: opp-16 {
opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
};
rpmhpd_opp_low_svs_d1: opp-56 {
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>;
};
rpmhpd_opp_low_svs: opp-64 {
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
};
rpmhpd_opp_svs: opp-128 {
opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
};
rpmhpd_opp_svs_l1: opp-192 {
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
};
rpmhpd_opp_nom: opp-256 {
opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
};
rpmhpd_opp_nom_l1: opp-320 {
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
};
rpmhpd_opp_turbo: opp-384 {
opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
};
rpmhpd_opp_turbo_l1: opp-416 {
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
};
};
};
};
cpufreq_hw: cpufreq@17d91000 {
compatible = "qcom,milos-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 = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "dcvsh-irq-0",
"dcvsh-irq-1",
"dcvsh-irq-2";
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_GPLL0>;
clock-names = "xo",
"alternate";
#freq-domain-cells = <1>;
#clock-cells = <1>;
};
gem_noc: interconnect@24100000 {
compatible = "qcom,milos-gem-noc";
reg = <0x0 0x24100000 0x0 0xff080>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
nsp_noc: interconnect@320c0000 {
compatible = "qcom,milos-nsp-noc";
reg = <0x0 0x320c0000 0x0 0xe080>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
};
remoteproc_cdsp: remoteproc@32300000 {
compatible = "qcom,milos-cdsp-pas";
reg = <0x0 0x32300000 0x0 0x10000>;
interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING 0>,
<&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
<&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
<&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
<&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>,
<&smp2p_cdsp_in 7 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog",
"fatal",
"ready",
"handover",
"stop-ack",
"shutdown-ack";
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
power-domains = <&rpmhpd RPMHPD_CX>,
<&rpmhpd RPMHPD_MX>;
power-domain-names = "cx",
"mx";
interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
memory-region = <&cdsp_mem>, <&q6_cdsp_dtb_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&smp2p_cdsp_out 0>;
qcom,smem-state-names = "stop";
status = "disabled";
glink-edge {
interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
mboxes = <&ipcc IPCC_CLIENT_CDSP
IPCC_MPROC_SIGNAL_GLINK_QMP>;
label = "cdsp";
qcom,remote-pid = <5>;
fastrpc {
compatible = "qcom,fastrpc";
qcom,glink-channels = "fastrpcglink-apps-dsp";
label = "cdsp";
qcom,non-secure-domain;
#address-cells = <1>;
#size-cells = <0>;
compute-cb@1 {
compatible = "qcom,fastrpc-compute-cb";
reg = <1>;
iommus = <&apps_smmu 0x0c01 0x0>;
dma-coherent;
};
compute-cb@2 {
compatible = "qcom,fastrpc-compute-cb";
reg = <2>;
iommus = <&apps_smmu 0x0c02 0x0>;
dma-coherent;
};
compute-cb@3 {
compatible = "qcom,fastrpc-compute-cb";
reg = <3>;
iommus = <&apps_smmu 0x0c03 0x0>;
dma-coherent;
};
compute-cb@4 {
compatible = "qcom,fastrpc-compute-cb";
reg = <4>;
iommus = <&apps_smmu 0x0c04 0x0>;
dma-coherent;
};
compute-cb@5 {
compatible = "qcom,fastrpc-compute-cb";
reg = <5>;
iommus = <&apps_smmu 0x0c05 0x0>;
dma-coherent;
};
compute-cb@6 {
compatible = "qcom,fastrpc-compute-cb";
reg = <6>;
iommus = <&apps_smmu 0x0c06 0x0>;
dma-coherent;
};
compute-cb@7 {
compatible = "qcom,fastrpc-compute-cb";
reg = <7>;
iommus = <&apps_smmu 0x0c07 0x0>;
dma-coherent;
};
compute-cb@8 {
compatible = "qcom,fastrpc-compute-cb";
reg = <8>;
iommus = <&apps_smmu 0x0c08 0x0>;
dma-coherent;
};
/* note: secure cb9 in downstream */
compute-cb@12 {
compatible = "qcom,fastrpc-compute-cb";
reg = <12>;
iommus = <&apps_smmu 0x0c0c 0x0>;
dma-coherent;
};
compute-cb@13 {
compatible = "qcom,fastrpc-compute-cb";
reg = <13>;
iommus = <&apps_smmu 0x0c0d 0x0>;
dma-coherent;
};
compute-cb@14 {
compatible = "qcom,fastrpc-compute-cb";
reg = <14>;
iommus = <&apps_smmu 0x0c0e 0x0>;
dma-coherent;
};
compute-cb@15 {
compatible = "qcom,fastrpc-compute-cb";
reg = <15>;
iommus = <&apps_smmu 0x0c0f 0x0>;
dma-coherent;
};
};
};
};
};
thermal-zones {
aoss0-thermal {
thermal-sensors = <&tsens0 0>;
trips {
aoss0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
aoss0-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
cpuss0-thermal {
thermal-sensors = <&tsens0 1>;
trips {
cpuss0-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
cpuss1-thermal {
thermal-sensors = <&tsens0 2>;
trips {
cpuss1-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
cpu4-left-thermal {
thermal-sensors = <&tsens0 3>;
trips {
cpu4-left-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu4-right-thermal {
thermal-sensors = <&tsens0 4>;
trips {
cpu4-right-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu5-left-thermal {
thermal-sensors = <&tsens0 5>;
trips {
cpu5-left-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu5-right-thermal {
thermal-sensors = <&tsens0 6>;
trips {
cpu5-right-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu6-left-thermal {
thermal-sensors = <&tsens0 7>;
trips {
cpu6-left-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu6-right-thermal {
thermal-sensors = <&tsens0 8>;
trips {
cpu6-right-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu7-left-thermal {
thermal-sensors = <&tsens0 9>;
trips {
cpu7-left-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu7-right-thermal {
thermal-sensors = <&tsens0 10>;
trips {
cpu7-right-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu0-thermal {
thermal-sensors = <&tsens0 11>;
trips {
cpu0-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu1-thermal {
thermal-sensors = <&tsens0 12>;
trips {
cpu1-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu2-thermal {
thermal-sensors = <&tsens0 13>;
trips {
cpu2-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
cpu3-thermal {
thermal-sensors = <&tsens0 14>;
trips {
cpu3-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
aoss1-thermal {
thermal-sensors = <&tsens1 0>;
trips {
aoss1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
aoss1-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
nsphvx0-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 1>;
trips {
nsphvx0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphvx0-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
nsphmx1-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 2>;
trips {
nsphmx1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphmx1-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
nsphmx0-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 3>;
trips {
nsphmx0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphmx0-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
gpuss0-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 4>;
trips {
gpu0_alert0: trip-point0 {
temperature = <85000>;
hysteresis = <1000>;
type = "passive";
};
trip-point1 {
temperature = <90000>;
hysteresis = <1000>;
type = "hot";
};
gpuss0-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
gpuss1-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 5>;
trips {
gpu1_alert0: trip-point0 {
temperature = <85000>;
hysteresis = <1000>;
type = "passive";
};
trip-point1 {
temperature = <90000>;
hysteresis = <1000>;
type = "hot";
};
gpuss1-critical {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
video-thermal {
thermal-sensors = <&tsens1 7>;
trips {
video-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
video-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
ddr-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 8>;
trips {
ddr-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
ddr-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
camera0-thermal {
thermal-sensors = <&tsens1 9>;
trips {
camera0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
camera0-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
modem0-thermal {
polling-delay-passive = <100>;
thermal-sensors = <&tsens1 10>;
trips {
modem0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem0-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
modem1-thermal {
polling-delay-passive = <100>;
thermal-sensors = <&tsens1 11>;
trips {
modem1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem1-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
modem2-thermal {
polling-delay-passive = <100>;
thermal-sensors = <&tsens1 12>;
trips {
modem2-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem2-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
modem3-thermal {
polling-delay-passive = <100>;
thermal-sensors = <&tsens1 13>;
trips {
modem3-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem3-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
};
};
};
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>,
<GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>,
<GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>,
<GIC_PPI 12 IRQ_TYPE_LEVEL_LOW 0>;
};
};