From 73529f2d62ee7a5c0422b062bdd7e79ed4219c0f Mon Sep 17 00:00:00 2001 From: Mayank Rana Date: Tue, 12 Nov 2019 09:58:28 -0800 Subject: [PATCH] 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 --- qcom/lahaina-usb.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/qcom/lahaina-usb.dtsi b/qcom/lahaina-usb.dtsi index 8bbe807d5e55..1d39f56e176c 100644 --- a/qcom/lahaina-usb.dtsi +++ b/qcom/lahaina-usb.dtsi @@ -61,6 +61,35 @@ maximum-speed = "super-speed-plus"; dr_mode = "drd"; }; + + qcom,usbbam@a704000 { + compatible = "qcom,usb-bam-msm"; + reg = <0xa704000 0x17000>; + interrupts = ; + + 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 {