]> git.sur5r.net Git - u-boot/commitdiff
arm64: zynqmp: usb: Correct IOMMU node for making SMMU work with USB
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Tue, 20 Jun 2017 10:55:16 +0000 (16:25 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:16 +0000 (16:09 +0100)
This patch makes SMMU work by moving the iommus node under the dwc3 child
entry from parent node.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index 35cb6f2ea197644e9e1e35d4503ca3e14787b60f..247344fcbb867693c456dd12aa0a76da02dba11a 100644 (file)
                        compatible = "xlnx,zynqmp-dwc3";
                        reg = <0x0 0xff9d0000 0x0 0x100>;
                        clock-names = "bus_clk", "ref_clk";
-                       #stream-id-cells = <1>;
-                       iommus = <&smmu 0x860>;
                        power-domains = <&pd_usb0>;
                        ranges;
                        nvmem-cells = <&soc_revision>;
                                reg = <0x0 0xfe200000 0x0 0x40000>;
                                interrupt-parent = <&gic>;
                                interrupts = <0 65 4>, <0 69 4>;
+                               #stream-id-cells = <1>;
+                               iommus = <&smmu 0x860>;
                                snps,quirk-frame-length-adjustment = <0x20>;
                                snps,refclk_fladj;
                                /* dma-coherent; */
                        compatible = "xlnx,zynqmp-dwc3";
                        reg = <0x0 0xff9e0000 0x0 0x100>;
                        clock-names = "bus_clk", "ref_clk";
-                       #stream-id-cells = <1>;
-                       iommus = <&smmu 0x861>;
                        power-domains = <&pd_usb1>;
                        ranges;
                        nvmem-cells = <&soc_revision>;
                                reg = <0x0 0xfe300000 0x0 0x40000>;
                                interrupt-parent = <&gic>;
                                interrupts = <0 70 4>, <0 74 4>;
+                               #stream-id-cells = <1>;
+                               iommus = <&smmu 0x861>;
                                snps,quirk-frame-length-adjustment = <0x20>;
                                snps,refclk_fladj;
                                /* dma-coherent; */