// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. */ #include / { model = "Qualcomm Technologies, Inc. Sun"; compatible = "qcom,sun"; qcom,msm-id = <618 0x10000>; interrupt-parent = <&intc>; #address-cells = <2>; #size-cells = <2>; memory { device_type = "memory"; reg = <0 0 0 0>; }; chosen: chosen { bootargs = "nokaslr kpti=0 log_buf_len=256K swiotlb=0 loop.max_part=7"; }; aliases { }; cpus { #address-cells = <2>; #size-cells = <0>; CPU0: cpu@0 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x0>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_0>; L2_0: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; }; }; CPU1: cpu@100 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x100>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_0>; }; CPU2: cpu@200 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x200>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_0>; }; CPU3: cpu@300 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x300>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_0>; }; CPU4: cpu@400 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x400>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_0>; }; CPU5: cpu@500 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x500>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_0>; }; CPU6: cpu@10000 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x10000>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_6>; L2_6: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; }; }; CPU7: cpu@10100 { device_type = "cpu"; compatible = "arm,armv8"; reg = <0x0 0x10100>; enable-method = "spin-table"; cpu-release-addr = <0x0 0x90000000>; next-level-cache = <&L2_6>; }; cpu-map { cluster0 { core0 { cpu = <&CPU0>; }; core1 { cpu = <&CPU1>; }; core2 { cpu = <&CPU2>; }; core3 { cpu = <&CPU3>; }; core4 { cpu = <&CPU4>; }; core5 { cpu = <&CPU5>; }; }; cluster1 { core0 { cpu = <&CPU6>; }; core1 { cpu = <&CPU7>; }; }; }; }; reserved_memory: reserved-memory { }; soc: soc { }; }; &soc { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; intc: interrupt-controller@16000000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>; interrupt-controller; #redistributor-regions = <1>; redistributor-stride = <0x0 0x40000>; reg = <0x16000000 0x10000>, /* GICD */ <0x16080000 0x200000>; /* GICR * 8 */ interrupts = ; }; memtimer: timer@16800000 { #address-cells = <1>; #size-cells = <1>; ranges; compatible = "arm,armv7-timer-mem"; reg = <0x16800000 0x1000>; clock-frequency = <19200000>; frame@16801000 { frame-number = <0>; interrupts = , ; reg = <0x16801000 0x1000>, <0x16802000 0x1000>; }; frame@16803000 { frame-number = <1>; interrupts = ; reg = <0x16803000 0x1000>; status = "disabled"; }; frame@16805000 { frame-number = <2>; interrupts = ; reg = <0x16805000 0x1000>; status = "disabled"; }; frame@16807000 { frame-number = <3>; interrupts = ; reg = <0x16807000 0x1000>; status = "disabled"; }; frame@16809000 { frame-number = <4>; interrupts = ; reg = <0x16809000 0x1000>; status = "disabled"; }; frame@1680b000 { frame-number = <5>; interrupts = ; reg = <0x1680b000 0x1000>; status = "disabled"; }; frame@1680d000 { frame-number = <6>; interrupts = ; reg = <0x1680d000 0x1000>; status = "disabled"; }; }; arch_timer: timer { compatible = "arm,armv8-timer"; interrupts = , , , ; clock-frequency = <19200000>; }; }; &reserved_memory { #address-cells = <2>; #size-cells = <2>; ranges; gunyah_hyp_mem: gunyah_hyp_region@80000000 { no-map; reg = <0x0 0x80000000 0x0 0xe00000>; }; cpusys_vm_mem: cpusys_vm_region@80e00000 { no-map; reg = <0x0 0x80e00000 0x0 0x400000>; }; cpucp_mem: cpucp_region@81200000 { no-map; reg = <0x0 0x81200000 0x0 0x200000>; }; /* * hyp_tags_mem is dynamically removed from the RAM * partition tables before boot occurs. Size of region * varies. */ /* merged xbl_dtlog, xbl_ramdump and aop_image regions */ xbl_aop_merged_mem: xbl_aop_merged_region@81a00000 { no-map; reg = <0x0 0x81a00000 0x0 0x260000>; }; aop_cmd_db_mem: aop_cmd_db_region@81c60000 { compatible = "qcom,cmd-db"; no-map; reg = <0x0 0x81c60000 0x0 0x20000>; }; /* merged aop_config, tme_crash_dump, tme_log and uefi_log regions */ aop_tme_uefi_merged_mem: aop_tme_uefi_merged_region@81c80000 { no-map; reg = <0x0 0x81c80000 0x0 0x74000>; }; /* secdata region can be reused by apps */ smem_mem: smem_region@81d00000 { no-map; reg = <0x0 0x81d00000 0x0 0x200000>; }; adsp_mhi_mem: adsp_mhi_region@81f00000 { no-map; reg = <0x0 0x81f00000 0x0 0x20000>; }; cpucp_scandump_mem: cpucp_scandump_region@81f20000 { no-map; reg = <0x0 0x81f20000 0x0 0x380000>; }; pdp_ns_shared_mem: pdp_ns_shared_region@822a0000 { no-map; reg = <0x0 0x822a0000 0x0 0x100000>; }; soccp_sdi_mem: soccp_sdi_region@823a0000 { no-map; reg = <0x0 0x823a0000 0x0 0x40000>; }; pmic_minii_dump_mem: pmic_minii_dump_region@823e0000 { no-map; reg = <0x0 0x823e0000 0x0 0x80000>; }; pvm_fw_mem: pvm_fw_region@824a0000 { no-map; reg = <0x0 0x824a0000 0x0 0x100000>; }; /* hyp_mem_database_mem is removed by HYP in the RAM partition table */ global_sync_mem: global_sync_region@82600000 { no-map; reg = <0x0 0x82600000 0x0 0x100000>; }; tz_stat_mem: tz_stat_region@82700000 { no-map; reg = <0x0 0x82700000 0x0 0x100000>; }; qdss_apps_mem: qdss_apps_region@82800000 { compatible = "shared-dma-pool"; reg = <0x0 0x82800000 0x0 0x2000000>; reusable; }; dsm_partition_1_mem: dsm_partition_1_region@86b00000 { no-map; reg = <0x0 0x86b00000 0x0 0x4900000>; }; dsm_partition_2_mem: dsm_partition_2_region@8b400000 { no-map; reg = <0x0 0x8b400000 0x0 0x800000>; }; mpss_mem: mpss_region@8bc00000 { no-map; reg = <0x0 0x8bc00000 0x0 0xf400000>; }; q6_mpss_dtb_mem: q6_mpss_dtb_region@9b000000 { no-map; reg = <0x0 0x9b000000 0x0 0x80000>; }; ipa_fw_mem: ipa_fw_region@9b080000 { no-map; reg = <0x0 0x9b080000 0x0 0x10000>; }; ipa_gsi_mem: ipa_gsi_region@9b090000 { no-map; reg = <0x0 0x9b090000 0x0 0xa000>; }; gpu_microcode_mem: gpu_microcode_region@9b09a000 { no-map; reg = <0x0 0x9b09a000 0x0 0x2000>; }; spss_region_mem: spss_region_region@9b100000 { no-map; reg = <0x0 0x9b100000 0x0 0x180000>; }; spu_secure_shared_memory_mem: spu_secure_shared_memory_region@9b280000 { no-map; reg = <0x0 0x9b280000 0x0 0x80000>; }; camera_mem: camera_region@9b300000 { no-map; reg = <0x0 0x9b300000 0x0 0x800000>; }; video_mem: video_region@9bb00000 { no-map; reg = <0x0 0x9bb00000 0x0 0x800000>; }; cvp_mem: cvp_region@9c300000 { no-map; reg = <0x0 0x9c300000 0x0 0x700000>; }; cdsp_mem: cdsp_region@9ca00000 { no-map; reg = <0x0 0x9ca00000 0x0 0x2000000>; }; q6_cdsp_dtb_mem: q6_cdsp_dtb_region@9ea00000 { no-map; reg = <0x0 0x9ea00000 0x0 0x80000>; }; q6_adsp_dtb_mem: q6_adsp_dtb_region@9ea80000 { no-map; reg = <0x0 0x9ea80000 0x0 0x80000>; }; adspslpi_mem: adspslpi_region@9eb00000 { no-map; reg = <0x0 0x9eb00000 0x0 0x4080000>; }; soccp_mem: soccp_region@a2b80000 { no-map; reg = <0x0 0xa2b80000 0x0 0x100000>; }; /* uefi region can be reused by apps */ /* Linux kernel image is loaded at 0xa8000000 */ /* merged tz_reserved, xbl_sc, and qtee regions */ tz_merged_mem: tz_merged_region@d8000000 { no-map; reg = <0x0 0xd8000000 0x0 0x600000>; }; /* * ta/tags mem is dynamically removed from the RAM * partition tables before boot occurs. Size of region * varies. */ 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>; }; llcc_lpi_mem: llcc_lpi_region@ff800000 { no-map; reg = <0x0 0xff800000 0x0 0x800000>; }; system_cma: linux,cma { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; size = <0x0 0x400000>; linux,cma-default; }; }; #include "msm-arm-smmu-sun.dtsi"