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>;