lantiq: improve ethernet performance
[openwrt/staging/mkresin.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / danube.dtsi
index ae8c1c045aa2623830952f9de47ed2bfd2df21e4..a18183a2dee0cb0ae311faf0873317222db7b1b1 100644 (file)
@@ -1,3 +1,5 @@
+/dts-v1/;
+
 #include <dt-bindings/gpio/gpio.h>
 
 / {
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        compatible = "lantiq,icu";
-                       reg = <0x80200 0x28
-                               0x80228 0x28
-                               0x80250 0x28
-                               0x80278 0x28
-                               0x802a0 0x28>;
+                       /*
+                        * There is a second ICU, but the SoC is not SMP
+                        * capable.
+                        */
+                       reg = <0x80200 0xc8>;
                };
 
                watchdog@803f0 {
                };
 
                usb: usb@e101000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        compatible = "lantiq,danube-usb";
                        reg = <0xe101000 0x1000
                                0xe120000 0x3f000>;
                        phys = <&usb_phy>;
                        phy-names = "usb2-phy";
                        status = "disabled";
+
+                       ehci_port1: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                deu@e103100 {
                        reg = <0xe180000 0x40000>;
                        interrupt-parent = <&icu0>;
                        interrupts = <73 78>;
-                       mac-address = [ 00 11 22 33 44 55 ];
+                       lantiq,tx-burst-length = <4>;
+                       lantiq,rx-burst-length = <4>;
                };
 
                ppe@e234000 {
                        interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
                        interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
                        req-mask = <0x1>; /* GNT1 */
+
+                       device_type = "pci";
                };
        };