ramips: fix missing mediatek wdt
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an.dtsi
index 6b8b1b73d088663f3d07f7d7e9f6915475ef578d..3376b9f3a611c3d603aec27bd0f778bc771e34ae 100644 (file)
@@ -38,7 +38,7 @@
                };
 
                watchdog: watchdog@120 {
-                       compatible = "ralink,mt7628an-wdt", "mtk,mt7621-wdt";
+                       compatible = "ralink,mt7628an-wdt", "mediatek,mt7621-wdt";
                        reg = <0x120 0x10>;
 
                        resets = <&rstctrl 8>;
                };
 
                i2c: i2c@900 {
-                       compatible = "mediatek,mt7628-i2c";
+                       compatible = "mediatek,mt7621-i2c";
                        reg = <0x900 0x100>;
 
                        resets = <&rstctrl 16>;
                };
 
                i2s: i2s@a00 {
-                       compatible = "ralink,mt7620a-i2s";
+                       compatible = "mediatek,mt7628-i2s";
                        reg = <0xa00 0x100>;
 
                        resets = <&rstctrl 17>;
                        interrupt-parent = <&intc>;
                        interrupts = <10>;
 
-                       dmas = <&gdma 2>,
-                               <&gdma 3>;
+                       txdma-req = <2>;
+                       rxdma-req = <3>;
+
+                       dmas = <&gdma 4>,
+                               <&gdma 6>;
                        dma-names = "tx", "rx";
 
                        status = "disabled";
                };
 
                gdma: gdma@2800 {
-                       compatible = "ralink,mt7620a-gdma", "ralink,rt2880-gdma";
+                       compatible = "ralink,rt3883-gdma";
                        reg = <0x2800 0x800>;
 
                        resets = <&rstctrl 14>;
 
        usbphy: usbphy@10120000 {
                compatible = "ralink,mt7628an-usbphy", "mediatek,mt7620-usbphy";
-               reg = <0x10120000 0x4000>;
+               reg = <0x10120000 0x1000>;
                #phy-cells = <1>;
 
                resets = <&rstctrl 22 &rstctrl 25>;
        };
 
        esw: esw@10110000 {
-               compatible = "ralink,rt3050-esw";
+               compatible = "mediatek,mt7628-esw", "ralink,rt3050-esw";
                reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                status = "disabled";
 
                mediatek,mtd-eeprom = <&factory 0x0000>;
-               mediatek,5ghz = <0>;
        };
 };