ramips: add gdma hsdma dts info
authorMichael Lee <igvtee@gmail.com>
Wed, 2 Dec 2015 13:41:22 +0000 (21:41 +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 101cdac7ab2aa3bd31e6ffeca3feff6f6999ca25..ccadbe40db7a748d1b9aa955f48978f70ae9c195 100644 (file)
                };
 
                gdma: gdma@2800 {
-                       compatible = "ralink,mt7620a-gdma", "ralink,rt2880-gdma";
+                       compatible = "ralink,mt7620a-gdma", "ralink,rt3883-gdma";
                        reg = <0x2800 0x800>;
 
                        resets = <&rstctrl 14>;
index 08343a5fd56d185aa760f44e556f349b591c5afd..7a9d79a88b93796404ed3c312dafc231862e1ce3 100644 (file)
                                m25p,chunked-io = <32>;
                        };
                };
+
+               gdma: gdma@2800 {
+                       compatible = "ralink,rt3883-gdma";
+                       reg = <0x2800 0x800>;
+
+                       resets = <&rstctrl 14>;
+                       reset-names = "dma";
+
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 13 4>;
+
+                       #dma-cells = <1>;
+                       #dma-channels = <16>;
+                       #dma-requests = <16>;
+
+                       status = "disabled";
+               };
+
+               hsdma: hsdma@7000 {
+                       compatible = "mediatek,mt7621-hsdma";
+                       reg = <0x7000 0x1000>;
+
+                       resets = <&rstctrl 5>;
+                       reset-names = "hsdma";
+
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 11 4>;
+
+                       #dma-cells = <1>;
+                       #dma-channels = <1>;
+                       #dma-requests = <1>;
+
+                       status = "disabled";
+               };
        };
 
        pinctrl: pinctrl {
index 0b16a9f60d558481dafa6e064b369dcc9817dbe7..6d5ed95e49715aa9daffbeeb87e345238a4131d1 100644 (file)
                };
 
                gdma: gdma@2800 {
-                       compatible = "ralink,mt7620a-gdma", "ralink,rt2880-gdma";
+                       compatible = "ralink,rt3883-gdma";
                        reg = <0x2800 0x800>;
 
                        resets = <&rstctrl 14>;
index caf448bd160c3738048afec1a500cc1af4c95843..ed88ac12ec3b3585394c2c3a12b5d9fc0ba6c098 100644 (file)
                        status = "disabled";
                };
 
+               gdma: gdma@700 {
+                       compatible = "ralink,rt305x-gdma";
+                       reg = <0x700 0x100>;
+
+                       resets = <&rstctrl 14>;
+                       reset-names = "dma";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <7>;
+
+                       #dma-cells = <1>;
+                       #dma-channels = <8>;
+                       #dma-requests = <8>;
+
+                       status = "disabled";
+               };
+
                spi0: spi@b00 {
                        compatible = "ralink,rt3050-spi", "ralink,rt2880-spi";
                        reg = <0xb00 0x100>;
index 0f64576b1eaf7cf47b6cdb69d231da1f97747012..0bb28ec833307972534cb42a7f31452c29e1430a 100644 (file)
                        pinctrl-names = "default";
                        pinctrl-0 = <&uartlite_pins>;
                };
+
+               gdma: gdma@2800 {
+                       compatible = "ralink,rt3883-gdma";
+                       reg = <0x2800 0x800>;
+
+                       resets = <&rstctrl 14>;
+                       reset-names = "dma";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <7>;
+
+                       #dma-cells = <1>;
+                       #dma-channels = <16>;
+                       #dma-requests = <16>;
+
+                       status = "disabled";
+               };
        };
 
        pinctrl: pinctrl {
index d92cb65b7ad917f179bc73e54ab529422e7a31dd..041b0633d3f400656697bb75ed0c387a2f38190f 100644 (file)
                        pinctrl-names = "default";
                        pinctrl-0 = <&uartlite_pins>;
                };
+
+               gdma: gdma@2800 {
+                       compatible = "ralink,rt3883-gdma";
+                       reg = <0x2800 0x800>;
+
+                       resets = <&rstctrl 14>;
+                       reset-names = "dma";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <7>;
+
+                       #dma-cells = <1>;
+                       #dma-channels = <16>;
+                       #dma-requests = <16>;
+
+                       status = "disabled";
+               };
        };
 
        pinctrl: pinctrl {
index 05dce6d3e014e5ac3a3dc81c59cac6e9b67cb815..1027519c982641a5507c08e81264464cb4c0b776 100644 (file)
                        interrupt-parent = <&cpuintc>;
                        interrupts = <7>;
                };
+
+               gdma: gdma@2800 {
+                       compatible = "ralink,rt3883-gdma";
+                       reg = <0x2800 0x800>;
+
+                       resets = <&rstctrl 14>;
+                       reset-names = "dma";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <7>;
+
+                       #dma-cells = <1>;
+                       #dma-channels = <16>;
+                       #dma-requests = <16>;
+
+                       status = "disabled";
+               };
        };
 
        pinctrl: pinctrl {