ramips: update i2s dtsi files
authorMichael Lee <igvtee@gmail.com>
Mon, 22 Feb 2016 12:49:25 +0000 (20:49 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 13 Jun 2016 20:51:42 +0000 (22:51 +0200)
Signed-off-by: Michael Lee <igvtee@gmail.com>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index 1c957b7d2a71d70a4d0131c89381cc69cb773968..641d248e606381040dfb17c0ef8bedef7bf6a197 100644 (file)
                };
 
                i2s: i2s@a00 {
-                       compatible = "ralink,mt7620a-i2s";
+                       compatible = "mediatek,mt7620-i2s";
                        reg = <0xa00 0x100>;
 
                        resets = <&rstctrl 17>;
                        interrupt-parent = <&intc>;
                        interrupts = <10>;
 
+                       txdma-req = <2>;
+                       rxdma-req = <3>;
+
                        dmas = <&gdma 4>,
-                               <&gdma 5>;
+                               <&gdma 6>;
                        dma-names = "tx", "rx";
 
                        status = "disabled";
index 772f0aabfab9677c21acae7ab5999de6ad7f5085..a8b98ed8c610e3f065397f418f95c4c52b9c64a6 100644 (file)
                        pinctrl-0 = <&i2c_pins>;
                };
 
+               i2s: i2s@a00 {
+                       compatible = "mediatek,mt7621-i2s";
+                       reg = <0xa00 0x100>;
+
+                       clocks = <&sysclock>;
+
+                       resets = <&rstctrl 17>;
+                       reset-names = "i2s";
+
+                       interrupt-parent = <&gic>;
+                       interrupts = <GIC_SHARED 16 IRQ_TYPE_LEVEL_HIGH>;
+
+                       txdma-req = <2>;
+                       rxdma-req = <3>;
+
+                       dmas = <&gdma 4>,
+                               <&gdma 6>;
+                       dma-names = "tx", "rx";
+
+                       status = "disabled";
+               };
+
                memc: memc@5000 {
                        compatible = "mtk,mt7621-memc";
                        reg = <0x300 0x100>;
index 860521999d4bfd12dd23f5ecdefb9ddaf0dcb14f..671aaef386d94ef12ca958bf475f03e4ac0dcd45 100644 (file)
                };
 
                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";
index ff1281b0641673407606280761fdecf8c1713546..23da1c43ef6a2620b54ff52563a6ce0fb19fae2d 100644 (file)
                        pinctrl-0 = <&i2c_pins>;
                };
 
+               i2s@a00 {
+                       compatible = "ralink,rt3050-i2s";
+                       reg = <0xa00 0x100>;
+
+                       resets = <&rstctrl 17>;
+                       reset-names = "i2s";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <10>;
+
+                       txdma-req = <2>;
+
+                       dmas = <&gdma 4>;
+                       dma-names = "tx";
+
+                       status = "disabled";
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt3050-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x100>;
index d010de38a35aefdcb8049c444d7552031b97af8d..a617281b751096319913cddf3f90be72cfc1a6b2 100644 (file)
                        pinctrl-0 = <&i2c_pins>;
                };
 
+               i2s@a00 {
+                       compatible = "ralink,rt3352-i2s";
+                       reg = <0xa00 0x100>;
+
+                       resets = <&rstctrl 17>;
+                       reset-names = "i2s";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <10>;
+
+                       txdma-req = <2>;
+                       rxdma-req = <3>;
+
+                       dmas = <&gdma 4>,
+                               <&gdma 6>;
+                       dma-names = "tx", "rx";
+
+                       status = "disabled";
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
index 975e86b1f6329edc623c00d1addc58d29606f004..20fe7bfab929b871532e909f9d2845fd922691bd 100644 (file)
                        pinctrl-0 = <&i2c_pins>;
                };
 
+               i2s@a00 {
+                       compatible = "ralink,rt3883-i2s";
+                       reg = <0xa00 0x100>;
+
+                       resets = <&rstctrl 17>;
+                       reset-names = "i2s";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <10>;
+
+                       txdma-req = <2>;
+                       rxdma-req = <3>;
+
+                       dmas = <&gdma 4>,
+                               <&gdma 6>;
+                       dma-names = "tx", "rx";
+
+                       status = "disabled";
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt3883-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;
index f6a170756313506548b5370468bf5cbc83484a97..99959bfa359dbdc0c81e32845842637abc2d1b9d 100644 (file)
                        status = "disabled";
                };
 
+               i2s@a00 {
+                       compatible = "ralink,rt3352-i2s";
+                       reg = <0xa00 0x100>;
+
+                       resets = <&rstctrl 17>;
+                       reset-names = "i2s";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <10>;
+
+                       txdma-req = <2>;
+                       rxdma-req = <3>;
+
+                       dmas = <&gdma 4>,
+                               <&gdma 6>;
+                       dma-names = "tx", "rx";
+
+                       status = "disabled";
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt5350-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x40>;