bmips: bcm63268: add bcm6348-iudma support
[oweals/u-boot.git] / arch / mips / dts / brcm,bcm6368.dtsi
index 1bb538a1f34f33bf332ca012dc78808fdb99c4a3..30047f63601b3f7f1a9d55fdf06b57ff37599c94 100644 (file)
@@ -1,10 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <dt-bindings/clock/bcm6368-clock.h>
+#include <dt-bindings/dma/bcm6368-dma.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/reset/bcm6368-reset.h>
 #include "skeleton.dtsi"
                        reg = <0x10001200 0x4c>;
                        u-boot,dm-pre-reloc;
                };
+
+               ehci: usb-controller@10001500 {
+                       compatible = "brcm,bcm6368-ehci", "generic-ehci";
+                       reg = <0x10001500 0x100>;
+                       phys = <&usbh>;
+                       big-endian;
+
+                       status = "disabled";
+               };
+
+               ohci: usb-controller@10001600 {
+                       compatible = "brcm,bcm6368-ohci", "generic-ohci";
+                       reg = <0x10001600 0x100>;
+                       phys = <&usbh>;
+                       big-endian;
+
+                       status = "disabled";
+               };
+
+               usbh: usb-phy@10001700 {
+                       compatible = "brcm,bcm6368-usbh";
+                       reg = <0x10001700 0x38>;
+                       #phy-cells = <0>;
+                       clocks = <&periph_clk BCM6368_CLK_USBH>;
+                       clock-names = "usbh";
+                       resets = <&periph_rst BCM6368_RST_USBH>;
+
+                       status = "disabled";
+               };
+
+               iudma: dma-controller@10006800 {
+                       compatible = "brcm,bcm6368-iudma";
+                       reg = <0x10006800 0x80>,
+                             <0x10006a00 0x80>,
+                             <0x10006c00 0x80>;
+                       reg-names = "dma",
+                                   "dma-channels",
+                                   "dma-sram";
+                       #dma-cells = <1>;
+                       dma-channels = <8>;
+               };
        };
 };