xref: /linux/arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Google Herobrine dts fragment for LTE SKUs
4 *
5 * Copyright 2022 Google LLC.
6 */
7/* Modem setup is different on Chrome setups than typical Qualcomm setup */
8
9/ {
10	reserved-memory {
11		mba_mem: memory@9c700000 {
12			reg = <0x0 0x9c700000 0x0 0x200000>;
13			no-map;
14		};
15
16		mdata_mem: mpss-metadata {
17			alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
18			size = <0x0 0x4000>;
19			no-map;
20		};
21	};
22};
23
24&ipa {
25	qcom,gsi-loader = "modem";
26	status = "okay";
27};
28
29&remoteproc_mpss {
30	compatible = "qcom,sc7280-mss-pil";
31	reg = <0 0x04080000 0 0x10000>, <0 0x04180000 0 0x48>;
32	reg-names = "qdsp6", "rmb";
33
34	clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
35		 <&gcc GCC_MSS_OFFLINE_AXI_CLK>,
36		 <&gcc GCC_MSS_SNOC_AXI_CLK>,
37		 <&rpmhcc RPMH_PKA_CLK>,
38		 <&rpmhcc RPMH_CXO_CLK>;
39	clock-names = "iface", "offline", "snoc_axi", "pka", "xo";
40
41	iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>;
42	interconnects = <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>;
43	memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
44	firmware-name = "qcom/sc7280-herobrine/modem/mba.mbn",
45			"qcom/sc7280-herobrine/modem/qdsp6sw.mbn";
46
47	resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
48		 <&pdc_reset PDC_MODEM_SYNC_RESET>;
49	reset-names = "mss_restart", "pdc_reset";
50
51	qcom,halt-regs = <&tcsr_1 0x3000 0x5000 0x8000 0x13000>;
52	qcom,ext-regs = <&tcsr_2 0x10000 0x10004 &tcsr_1 0x6004 0x6008>;
53	qcom,qaccept-regs = <&tcsr_1 0x3030 0x3040 0x3020>;
54
55	status = "okay";
56};
57
58/* Increase the size from 2.5MB to 8MB */
59&rmtfs_mem {
60	reg = <0x0 0x9c900000 0x0 0x800000>;
61};
62