summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lee <igvtee@gmail.com>2016-02-22 20:49:25 +0800
committerJohn Crispin <john@phrozen.org>2016-06-13 22:51:42 +0200
commit921d782eb7a649128ef8a1974765a79dee8b422e (patch)
tree9aff1d5498604ea4f597eb286210e25c31b592a6
parent9ff8928bb9c28be701eb963e591afcfd54b9d8c9 (diff)
downloadmtk-20170518-921d782eb7a649128ef8a1974765a79dee8b422e.zip
mtk-20170518-921d782eb7a649128ef8a1974765a79dee8b422e.tar.gz
mtk-20170518-921d782eb7a649128ef8a1974765a79dee8b422e.tar.bz2
ramips: update i2s dtsi files
Signed-off-by: Michael Lee <igvtee@gmail.com>
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi7
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi22
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi9
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi18
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi20
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi20
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi20
7 files changed, 111 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 1c957b7..641d248 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/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";
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 772f0aa..a8b98ed 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/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>;
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 8605219..671aaef 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/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";
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index ff1281b..23da1c4 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/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>;
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index d010de3..a617281 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/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>;
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 975e86b..20fe7bf 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/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>;
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index f6a1707..99959bf 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/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>;