lantiq: update USB controller initialization
[openwrt/staging/lynxis/omap.git] / target / linux / lantiq / dts / amazonse.dtsi
index c586106359316341410ce859bc86a86f32f0856b..2b8ad08140d1decd4d13735d5fc2959c623e0f65 100644 (file)
@@ -1,8 +1,18 @@
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "lantiq,xway", "lantiq,ase";
 
+       aliases {
+               serial0 = &asc1;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        cpus {
                cpu@0 {
                        compatible = "mips,mips4Kc";
@@ -87,7 +97,7 @@
                        compatible = "lantiq,gptu-xway";
                        reg = <0xE100A00 0x100>;
                        interrupt-parent = <&icu0>;
-                        interrupts = <97 98 99 100 101 102>;
+                       interrupts = <97 98 99 100 101 102>;
                        status = "disabled";
                };
 
                        reg = <0xE100B10 0xA0>;
                };
 
-               serial@E100C00 {
+               asc1: serial@E100C00 {
                        compatible = "lantiq,asc";
                        reg = <0xE100C00 0x400>;
                        interrupt-parent = <&icu0>;
                };
 
                ifxhcd@E101000 {
-                       compatible = "lantiq,ifxhcd-ase";
+                       compatible = "lantiq,ase-usb", "lantiq,ifxhcd-ase";
                        reg = <0xE101000 0x1000
                                0xE120000 0x3f000>;
                        interrupt-parent = <&icu0>;
                        interrupts = <39>;
+                       dr_mode = "host";
                        status = "disabled";
                };