Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4604fd9d authored by Zhiqiang Tu's avatar Zhiqiang Tu
Browse files

ARM: dts: msm: Enable NVMe device on sa8155 adp star



Enable NVMe device tree to use SMMU configuration in NVMe driver.

Change-Id: If1effca6bd44c7ae5106582eb90f533583413ad6
Signed-off-by: default avatarZhiqiang Tu <ztu@codeaurora.org>
parent e97015c2
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -13,3 +13,40 @@
#include "sa8155-adp-common.dtsi"
#include "sa8155-adp-star-display.dtsi"

&pcie1 {
	qcom,boot-option = <0x0>;
};

&pcie_rc1 {
	nvme_x8: qcom,nvme@pcie_rc1 {
		reg = <0 0 0 0 0>;
		compatible = "qcom,nvme";
		pci-ids =
			"8086:0953",
			"8086:0a54",
			"8086:0a55",
			"8086:f1a5",
			"8086:f1a5",
			"1c58:0003",
			"1c58:0023",
			"1c5c:1327",
			"1c5f:0540",
			"144d:a821",
			"144d:a822",
			"144d:a808",
			"1d1d:1f1f",
			"1d1d:2807",
			"1d1d:2601",
			"106b:2001",
			"106b:2003",
			"1179:0115",
			"1179:0116";

		qcom,smmu;
		qcom,smmu-iova-base = /bits/ 64 <0x20000000>;
		qcom,smmu-iova-size = /bits/ 64 <0x40000000>;

		qcom,smmu-attr-atomic;
		qcom,smmu-attr-s1-bypass;
	};
};