Procházet zdrojové kódy

ramips: update i2s dtsi files

Signed-off-by: Michael Lee <[email protected]>
Michael Lee před 10 roky
rodič
revize
921d782eb7

+ 5 - 2
target/linux/ramips/dts/mt7620a.dtsi

@@ -192,7 +192,7 @@
 		};
 
 		i2s: i2s@a00 {
-			compatible = "ralink,mt7620a-i2s";
+			compatible = "mediatek,mt7620-i2s";
 			reg = <0xa00 0x100>;
 
 			resets = <&rstctrl 17>;
@@ -201,8 +201,11 @@
 			interrupt-parent = <&intc>;
 			interrupts = <10>;
 
+			txdma-req = <2>;
+			rxdma-req = <3>;
+
 			dmas = <&gdma 4>,
-				<&gdma 5>;
+				<&gdma 6>;
 			dma-names = "tx", "rx";
 
 			status = "disabled";

+ 22 - 0
target/linux/ramips/dts/mt7621.dtsi

@@ -107,6 +107,28 @@
 			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>;

+ 6 - 3
target/linux/ramips/dts/mt7628an.dtsi

@@ -126,7 +126,7 @@
 		};
 
 		i2s: i2s@a00 {
-			compatible = "ralink,mt7620a-i2s";
+			compatible = "mediatek,mt7628-i2s";
 			reg = <0xa00 0x100>;
 
 			resets = <&rstctrl 17>;
@@ -135,8 +135,11 @@
 			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";

+ 18 - 0
target/linux/ramips/dts/rt3050.dtsi

@@ -182,6 +182,24 @@
 			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>;

+ 20 - 0
target/linux/ramips/dts/rt3352.dtsi

@@ -162,6 +162,26 @@
 			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>;

+ 20 - 0
target/linux/ramips/dts/rt3883.dtsi

@@ -182,6 +182,26 @@
 			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>;

+ 20 - 0
target/linux/ramips/dts/rt5350.dtsi

@@ -153,6 +153,26 @@
 			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>;