ramips: fix image format for WSR-1166
[openwrt.git] / target / linux / ramips / dts / rt3352.dtsi
index db38b00..47e30a3 100644 (file)
                        #gpio-cells = <2>;
 
                        ralink,gpio-base = <40>;
-                       ralink,num-gpios = <12>;
+                       ralink,num-gpios = <6>;
                        ralink,register-map = [ 00 04 08 0c
                                                10 14 18 1c
                                                20 24 ];
 
                        resets = <&rstctrl 18>;
                        reset-names = "spi";
-       
+
                        pinctrl-names = "default";
                        pinctrl-0 = <&spi_pins>;
 
                interrupts = <17>;
        };
 
+       usbphy {
+               compatible = "ralink,rt3xxx-usbphy";
+
+               resets = <&rstctrl 22 &rstctrl 25>;
+               reset-names = "host", "device";
+       };
+
        wmac@10180000 {
                compatible = "ralink,rt3352-wmac", "ralink,rt2880-wmac";
                reg = <0x10180000 40000>;
        };
 
        ehci@101c0000 {
-               compatible = "ralink,rt3352-ehci", "ehci-platform";
+               compatible = "ralink,rt3xxx-ehci", "ehci-platform";
                reg = <0x101c0000 0x1000>;
 
                interrupt-parent = <&intc>;
        };
 
        ohci@101c1000 {
-               compatible = "ralink,rt3352-ohci", "ohci-platform";
+               compatible = "ralink,rt3xxx-ohci", "ohci-platform";
                reg = <0x101c1000 0x1000>;
 
                interrupt-parent = <&intc>;