]> git.sur5r.net Git - u-boot/commitdiff
arm64: zynqmp: Enabled CCI support for USB
authorManish Narani <manish.narani@xilinx.com>
Mon, 27 Mar 2017 12:17:00 +0000 (17:47 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:15 +0000 (16:09 +0100)
This patch adds CCI support for USB when CCI is enabled in design.
This patch also adds 'reg' property for Xilinx USB 3.0 IP. The 'reg'
property is added in order to modify a register in that to enable
coherency in Hardware.

Also add address to unit name to avoid dtc warning

Signed-off-by: Manish Narani <mnarani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index dce5da4e06e5be3000f9e87eb9865d383ffdaadd..7def14d95a88cf7d2cd98b0b13f36203ac05c81c 100644 (file)
                        power-domains = <&pd_uart1>;
                };
 
-               usb0: usb0 {
+               usb0: usb0@ff9d0000 {
                        #address-cells = <2>;
                        #size-cells = <2>;
                        status = "disabled";
                        compatible = "xlnx,zynqmp-dwc3";
+                       reg = <0x0 0xff9d0000 0x0 0x100>;
                        clock-names = "bus_clk", "ref_clk";
                        clocks = <&clk125>, <&clk125>;
                        #stream-id-cells = <1>;
                                interrupts = <0 65 4>;
                                /* snps,quirk-frame-length-adjustment = <0x20>; */
                                snps,refclk_fladj;
+                               /* dma-coherent; */
                        };
                };
 
-               usb1: usb1 {
+               usb1: usb1@ff9e0000 {
                        #address-cells = <2>;
                        #size-cells = <2>;
                        status = "disabled";
                        compatible = "xlnx,zynqmp-dwc3";
+                       reg = <0x0 0xff9e0000 0x0 0x100>;
                        clock-names = "bus_clk", "ref_clk";
                        clocks = <&clk125>, <&clk125>;
                        #stream-id-cells = <1>;
                                interrupts = <0 70 4>;
                                /* snps,quirk-frame-length-adjustment = <0x20>; */
                                snps,refclk_fladj;
+                               /* dma-coherent; */
                        };
                };