ramips: rt3352 usbphy fix in dts-file
[oweals/openwrt.git] / target / linux / ramips / dts / rt3352.dtsi
index ffb9336f6c95a6ebed6e9386a9db968bfde8201b..0932b52406c48f62192ae51e72bb1f0e6117ba23 100644 (file)
 
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
+
+               mediatek,switch = <&esw>;
        };
 
-       esw@10110000 {
+       esw: esw@10110000 {
                compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
                interrupts = <17>;
        };
 
-       usbphy {
-               compatible = "ralink,rt3xxx-usbphy";
+       usbphy: usbphy {
+               compatible = "ralink,rt3352-usbphy";
+               #phy-cells = <1>;
 
                resets = <&rstctrl 22 &rstctrl 25>;
                reset-names = "host", "device";
        };
 
        ehci@101c0000 {
-               compatible = "ralink,rt3xxx-ehci", "ehci-platform";
+               compatible = "generic-ehci";
                reg = <0x101c0000 0x1000>;
 
+               phys = <&usbphy 1>;
+               phy-names = "usb";
+
                interrupt-parent = <&intc>;
                interrupts = <18>;
 
        };
 
        ohci@101c1000 {
-               compatible = "ralink,rt3xxx-ohci", "ohci-platform";
+               compatible = "generic-ohci";
                reg = <0x101c1000 0x1000>;
 
+               phys = <&usbphy 1>;
+               phy-names = "usb";
+
                interrupt-parent = <&intc>;
                interrupts = <18>;