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

Commit 73529f2d authored by Mayank Rana's avatar Mayank Rana
Browse files

ARM: dts: msm: Add USB BAM device node on Lahaina

This change adds USB BAM device node and required pipe configuration
for USB QDSS BAM2BAM functionality.

Change-Id: Id9023f281e057632da304ff8abfd974dcfc314e6
parent f62f274d
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -61,6 +61,35 @@
			maximum-speed = "super-speed-plus";
			dr_mode = "drd";
		};

		qcom,usbbam@a704000 {
			compatible = "qcom,usb-bam-msm";
			reg = <0xa704000 0x17000>;
			interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;

			qcom,usb-bam-fifo-baseaddr = <0x146bb000>;
			qcom,usb-bam-num-pipes = <4>;
			qcom,disable-clk-gating;
			qcom,usb-bam-override-threshold = <0x4001>;
			qcom,usb-bam-max-mbps-highspeed = <400>;
			qcom,usb-bam-max-mbps-superspeed = <3600>;
			qcom,reset-bam-on-connect;

			qcom,pipe0 {
				label = "ssusb-qdss-in-0";
				qcom,usb-bam-mem-type = <2>;
				qcom,dir = <1>;
				qcom,pipe-num = <0>;
				qcom,peer-bam = <0>;
				qcom,peer-bam-physical-address = <0x6064000>;
				qcom,src-bam-pipe-index = <0>;
				qcom,dst-bam-pipe-index = <0>;
				qcom,data-fifo-offset = <0x0>;
				qcom,data-fifo-size = <0x1800>;
				qcom,descriptor-fifo-offset = <0x1800>;
				qcom,descriptor-fifo-size = <0x800>;
			};
		};
	};

	usb1: ssusb@a800000 {