Commit 87548e54 authored by Sibi Sankar's avatar Sibi Sankar Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sc7280: Add Google Herobrine WIFI SKU dts fragment



The Google Herobrine WIFI SKU can save 256M by not having modem/mba/rmtfs
memory regions defined. Add the dts fragment and mark all the board files
appropriately.

Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarSibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221110070813.1777-2-quic_sibis@quicinc.com
parent 3c800bcf
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -39,20 +39,10 @@
			no-map;
		};

		mpss_mem: memory@8b800000 {
			reg = <0x0 0x8b800000 0x0 0xf600000>;
			no-map;
		};

		wpss_mem: memory@9ae00000 {
			reg = <0x0 0x9ae00000 0x0 0x1900000>;
			no-map;
		};

		mba_mem: memory@9c700000 {
			reg = <0x0 0x9c700000 0x0 0x200000>;
			no-map;
		};
	};
};

@@ -88,11 +78,6 @@
	firmware-name = "ath11k/WCN6750/hw1.0/wpss.mdt";
};

/* Increase the size from 2.5MB to 8MB */
&rmtfs_mem {
	reg = <0x0 0x9c900000 0x0 0x800000>;
};

&wifi {
	status = "okay";

+3 −1
Original line number Diff line number Diff line
@@ -5,7 +5,9 @@
 * Copyright 2022 Google LLC.
 */

#include "sc7280-herobrine-evoker.dts"
/dts-v1/;

#include "sc7280-herobrine-evoker.dtsi"
#include "sc7280-herobrine-lte-sku.dtsi"

/ {
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
/dts-v1/;

#include "sc7280-herobrine-evoker.dtsi"
#include "sc7280-herobrine-audio-rt5682-3mic.dtsi"
#include "sc7280-herobrine-wifi-sku.dtsi"

/ {
	model = "Google Evoker";
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
 */

#include "sc7280-herobrine.dtsi"
#include "sc7280-herobrine-audio-rt5682-3mic.dtsi"

/*
 * ADDITIONS TO FIXED REGULATORS DEFINED IN PARENT DEVICE TREE FILES
+19 −0
Original line number Diff line number Diff line
@@ -6,6 +6,20 @@
 */
/* Modem setup is different on Chrome setups than typical Qualcomm setup */

/ {
	reserved-memory {
		mpss_mem: memory@8b800000 {
			reg = <0x0 0x8b800000 0x0 0xf600000>;
			no-map;
		};

		mba_mem: memory@9c700000 {
			reg = <0x0 0x9c700000 0x0 0x200000>;
			no-map;
		};
	};
};

&remoteproc_mpss {
	compatible = "qcom,sc7280-mss-pil";
	iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>;
@@ -15,3 +29,8 @@
			"qcom/sc7280-herobrine/modem/qdsp6sw.mbn";
	status = "okay";
};

/* Increase the size from 2.5MB to 8MB */
&rmtfs_mem {
	reg = <0x0 0x9c900000 0x0 0x800000>;
};
Loading