]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
arm64: dts: ti: k3-j7200-main: Add USB controller
authorRoger Quadros <rogerq@ti.com>
Wed, 30 Sep 2020 12:20:30 +0000 (15:20 +0300)
committerNishanth Menon <nm@ti.com>
Wed, 30 Sep 2020 12:34:03 +0000 (07:34 -0500)
j7200 has on USB controller instance. Add that.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20200930122032.23481-5-rogerq@ti.com
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi

index c638c3d8c0f23baccba0672bd47d9aab755ff18c..72d6496e88dd4abadd7271329dd30b2dd1e57260 100644 (file)
                no-1-8-v;
                dma-coherent;
        };
+
+       usbss0: cdns-usb@4104000 {
+               compatible = "ti,j721e-usb";
+               reg = <0x00 0x4104000 0x00 0x100>;
+               dma-coherent;
+               power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
+               clocks = <&k3_clks 288 12>, <&k3_clks 288 3>;
+               clock-names = "ref", "lpm";
+               assigned-clocks = <&k3_clks 288 12>;    /* USB2_REFCLK */
+               assigned-clock-parents = <&k3_clks 288 13>; /* HFOSC0 */
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               usb0: usb@6000000 {
+                       compatible = "cdns,usb3";
+                       reg = <0x00 0x6000000 0x00 0x10000>,
+                             <0x00 0x6010000 0x00 0x10000>,
+                             <0x00 0x6020000 0x00 0x10000>;
+                       reg-names = "otg", "xhci", "dev";
+                       interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,  /* irq.0 */
+                                    <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
+                                    <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
+                       interrupt-names = "host",
+                                         "peripheral",
+                                         "otg";
+                       maximum-speed = "super-speed";
+                       dr_mode = "otg";
+               };
+       };
 };