ralink: add 3.18 support
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7628an.dtsi
index 3223e162bd878d42dd3f93c8302c1fc69689f190..855d538a4b4ce29bb90a885eac85f4ca2a770608 100644 (file)
                #reset-cells = <1>;
        };
 
-       usbphy {
+       usbphy: usbphy {
                compatible = "ralink,mt7628an-usbphy", "ralink,mt7620a-usbphy";
+               #phy-cells = <1>;
 
                resets = <&rstctrl 22>;
                reset-names = "host";
        };
 
+       sdhci@10130000 {
+               compatible = "ralink,mt7620-sdhci";
+               reg = <0x10130000 4000>;
+
+               interrupt-parent = <&intc>;
+               interrupts = <14>;
+
+               status = "disabled";
+       };
+
        ehci@101c0000 {
                compatible = "ralink,rt3xxx-ehci";
                reg = <0x101c0000 0x1000>;
 
+               phys = <&usbphy 1>;
+               phy-names = "usb";
+
                interrupt-parent = <&intc>;
                interrupts = <18>;
        };
                compatible = "ralink,rt3xxx-ohci";
                reg = <0x101c1000 0x1000>;
 
+               phys = <&usbphy 1>;
+               phy-names = "usb";
+
                interrupt-parent = <&intc>;
                interrupts = <18>;
        };
 
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
+
+               resets = <&rstctrl 21 &rstctrl 23>;
+               reset-names = "fe", "esw";
        };
 
        esw@10110000 {
                compatible = "ralink,rt3050-esw";
                reg = <0x10110000 8000>;
 
+               resets = <&rstctrl 23>;
+               reset-names = "esw";
+
                interrupt-parent = <&intc>;
                interrupts = <17>;
        };