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

Commit 7475bc3d authored by Amandeep Singh's avatar Amandeep Singh Committed by Gerrit - the friendly Code Review server
Browse files

msm-4.4: dts: mhi: Added and enabled mhi support



Added and enabled mhi node in the dts for msm8996 auto.

Change-Id: I3932f4e51844437172b0f9e71731b42de9d5b4c4
Signed-off-by: default avatarAmandeep Singh <amansing@codeaurora.org>
parent cff9fccb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
		bootargs = "fpsimd.fpsimd_settings=1 app_setting.use_app_setting=1 app_setting.use_32bit_app_setting=1";
	};

	aliases {
	aliases: aliases {
		sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
		sdhc2 = &sdhc_2; /* SDC2 SD card slot */
		smd7 = &smdtty_data1;
+37 −0
Original line number Diff line number Diff line
@@ -90,3 +90,40 @@
	qcom,smmu-support;
	status = "ok";
};

&aliases {
	mhi1 = &mhi;
};

&mhi {
	compatible = "qcom,mhi";
	qcom,pci-dev_id = <0x1102>;
	qcom,pci-domain = <0>;
	qcom,pci-bus = <1>;
	qcom,pci-slot = <0>;
	qcom,mhi-address-window = <0x0 0x80000000 0x1 0xFFFFFFFF>;

	/* RUMI Specific param */
	qcom,mhi-ready-timeout = <600000>;
	qcom,bhi-poll-timeout = <600000>;
	qcom,bhi-alignment = <0x40000>;

	/* firmware transfer */
	qcom,mhi-manage-boot;
	qcom,mhi-fw-image = "amss.bin";
	qcom,mhi-max-sbl = <0x40000>;
	qcom,mhi-sg-size = <0x80000>;

	/* mhi cntxt parameters */
	mhi-chan-cfg-0 = <0x0 0x80 0x1 0x92>;
	mhi-chan-cfg-1 = <0x1 0x80 0x1 0xa2>;
	mhi-chan-cfg-4 = <0x4 0x80 0x1 0x92>;
	mhi-chan-cfg-5 = <0x5 0x80 0x1 0xa2>;
	mhi-chan-cfg-16 = <0x10 0x40 0x1 0x92>;
	mhi-chan-cfg-17 = <0x11 0x40 0x1 0xa2>;
	mhi-event-rings = <2>;
	mhi-event-cfg-0 = <0xa 0x0 0x1 0 1 0x31>;
	mhi-event-cfg-1 = <0x80 0x1 0x1 0 1 0x31>;

	status = "okay";
};