xref: /freebsd-src/sys/contrib/device-tree/src/arm64/qcom/sc7280-herobrine-lte-sku.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
17ef62cebSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
27ef62cebSEmmanuel Vadot/*
37ef62cebSEmmanuel Vadot * Google Herobrine dts fragment for LTE SKUs
47ef62cebSEmmanuel Vadot *
57ef62cebSEmmanuel Vadot * Copyright 2022 Google LLC.
67ef62cebSEmmanuel Vadot */
77ef62cebSEmmanuel Vadot/* Modem setup is different on Chrome setups than typical Qualcomm setup */
87ef62cebSEmmanuel Vadot
98bab661aSEmmanuel Vadot/ {
108bab661aSEmmanuel Vadot	reserved-memory {
118bab661aSEmmanuel Vadot		mba_mem: memory@9c700000 {
128bab661aSEmmanuel Vadot			reg = <0x0 0x9c700000 0x0 0x200000>;
138bab661aSEmmanuel Vadot			no-map;
148bab661aSEmmanuel Vadot		};
15cb7aa33aSEmmanuel Vadot
16cb7aa33aSEmmanuel Vadot		mdata_mem: mpss-metadata {
17cb7aa33aSEmmanuel Vadot			alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
18cb7aa33aSEmmanuel Vadot			size = <0x0 0x4000>;
19cb7aa33aSEmmanuel Vadot			no-map;
208bab661aSEmmanuel Vadot		};
218bab661aSEmmanuel Vadot	};
22cb7aa33aSEmmanuel Vadot};
23cb7aa33aSEmmanuel Vadot
24cb7aa33aSEmmanuel Vadot&ipa {
25cb7aa33aSEmmanuel Vadot	qcom,gsi-loader = "modem";
26cb7aa33aSEmmanuel Vadot	status = "okay";
27cb7aa33aSEmmanuel Vadot};
288bab661aSEmmanuel Vadot
297ef62cebSEmmanuel Vadot&remoteproc_mpss {
307ef62cebSEmmanuel Vadot	compatible = "qcom,sc7280-mss-pil";
31*8d13bc63SEmmanuel Vadot	reg = <0 0x04080000 0 0x10000>, <0 0x04180000 0 0x48>;
32*8d13bc63SEmmanuel Vadot	reg-names = "qdsp6", "rmb";
33cb7aa33aSEmmanuel Vadot
34cb7aa33aSEmmanuel Vadot	clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
35cb7aa33aSEmmanuel Vadot		 <&gcc GCC_MSS_OFFLINE_AXI_CLK>,
36cb7aa33aSEmmanuel Vadot		 <&gcc GCC_MSS_SNOC_AXI_CLK>,
37cb7aa33aSEmmanuel Vadot		 <&rpmhcc RPMH_PKA_CLK>,
38cb7aa33aSEmmanuel Vadot		 <&rpmhcc RPMH_CXO_CLK>;
39cb7aa33aSEmmanuel Vadot	clock-names = "iface", "offline", "snoc_axi", "pka", "xo";
40cb7aa33aSEmmanuel Vadot
417ef62cebSEmmanuel Vadot	iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>;
427ef62cebSEmmanuel Vadot	interconnects = <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>;
43cb7aa33aSEmmanuel Vadot	memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
447ef62cebSEmmanuel Vadot	firmware-name = "qcom/sc7280-herobrine/modem/mba.mbn",
457ef62cebSEmmanuel Vadot			"qcom/sc7280-herobrine/modem/qdsp6sw.mbn";
46cb7aa33aSEmmanuel Vadot
47cb7aa33aSEmmanuel Vadot	resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
48cb7aa33aSEmmanuel Vadot		 <&pdc_reset PDC_MODEM_SYNC_RESET>;
49cb7aa33aSEmmanuel Vadot	reset-names = "mss_restart", "pdc_reset";
50cb7aa33aSEmmanuel Vadot
51cb7aa33aSEmmanuel Vadot	qcom,halt-regs = <&tcsr_1 0x3000 0x5000 0x8000 0x13000>;
52cb7aa33aSEmmanuel Vadot	qcom,ext-regs = <&tcsr_2 0x10000 0x10004 &tcsr_1 0x6004 0x6008>;
53cb7aa33aSEmmanuel Vadot	qcom,qaccept-regs = <&tcsr_1 0x3030 0x3040 0x3020>;
54cb7aa33aSEmmanuel Vadot
557ef62cebSEmmanuel Vadot	status = "okay";
567ef62cebSEmmanuel Vadot};
578bab661aSEmmanuel Vadot
588bab661aSEmmanuel Vadot/* Increase the size from 2.5MB to 8MB */
598bab661aSEmmanuel Vadot&rmtfs_mem {
608bab661aSEmmanuel Vadot	reg = <0x0 0x9c900000 0x0 0x800000>;
618bab661aSEmmanuel Vadot};
62