arm64: tegra: Add XUDC node for Tegra186
authorNagarjuna Kristam <nkristam@nvidia.com>
Mon, 10 Feb 2020 08:11:43 +0000 (13:41 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 12 Mar 2020 11:14:28 +0000 (12:14 +0100)
Tegra186 has one XUSB device mode controller, which can be operated in
HS and SS modes. Add DT entry for XUSB device mode controller.

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186.dtsi

index c905527..58100fb 100644 (file)
                nvidia,xusb-padctl = <&padctl>;
        };
 
+       usb@3550000 {
+               compatible = "nvidia,tegra186-xudc";
+               reg = <0x0 0x03550000 0x0 0x8000>,
+                     <0x0 0x03558000 0x0 0x1000>;
+               reg-names = "base", "fpci";
+               interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp TEGRA186_CLK_XUSB_CORE_DEV>,
+                        <&bpmp TEGRA186_CLK_XUSB_SS>,
+                        <&bpmp TEGRA186_CLK_XUSB_CORE_SS>,
+                        <&bpmp TEGRA186_CLK_XUSB_FS>;
+               clock-names = "dev", "ss", "ss_src", "fs_src";
+               iommus = <&smmu TEGRA186_SID_XUSB_DEV>;
+               power-domains = <&bpmp TEGRA186_POWER_DOMAIN_XUSBB>,
+                               <&bpmp TEGRA186_POWER_DOMAIN_XUSBA>;
+               power-domain-names = "dev", "ss";
+               nvidia,xusb-padctl = <&padctl>;
+               status = "disabled";
+       };
+
        fuse@3820000 {
                compatible = "nvidia,tegra186-efuse";
                reg = <0x0 0x03820000 0x0 0x10000>;