ARM: dts: atlas7: add software digital radio nodes and its DMA channels
authorYonghui Zhang <yonghui.zhang@csr.com>
Tue, 28 Jul 2015 07:59:41 +0000 (15:59 +0800)
committerBarry Song <Baohua.Song@csr.com>
Wed, 5 Aug 2015 14:44:20 +0000 (22:44 +0800)
this patch adds SDR(software digital raio) nodes and the DMA channels
for it.

Signed-off-by: Yonghui Zhang <yonghui.zhang@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/boot/dts/atlas7.dtsi

index 456cf81..de38bc9 100644 (file)
                        compatible = "arteris, flexnoc", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0x13000000 0x13000000 0x3000>;
+                       ranges = <0x13000000 0x13000000 0x3000>,
+                               <0x13010000 0x13010000 0x1400>,
+                               <0x13010800 0x13010800 0x100>,
+                               <0x13011000 0x13011000 0x100>;
                        gpum@0x13000000 {
                                compatible = "sirf,nocfw-gpum";
                                reg = <0x13000000 0x3000>;
                        };
+                       dmacsdrr: dma-controller@13010800 {
+                               cell-index = <5>;
+                               compatible = "sirf,atlas7-dmac-v2";
+                               reg = <0x13010800 0x100>;
+                               interrupts = <0 8 0>;
+                               clocks = <&car 127>;
+                               #dma-cells = <1>;
+                               #dma-channels = <1>;
+                       };
+                       dmacsdrw: dma-controller@13011000 {
+                               cell-index = <6>;
+                               compatible = "sirf,atlas7-dmac-v2";
+                               reg = <0x13011000 0x100>;
+                               interrupts = <0 9 0>;
+                               clocks = <&car 127>;
+                               #dma-cells = <1>;
+                               #dma-channels = <1>;
+                       };
+                       sdr@0x13010000 {
+                               compatible = "sirf,atlas7-sdr";
+                               reg = <0x13010000 0x1400>;
+                               interrupts = <0 7 0>,
+                                          <0 8 0>,
+                                          <0 9 0>;
+                               clocks = <&car 127>;
+                               dmas = <&dmacsdrr 0>, <&dmacsdrw 0>;
+                               dma-names = "tx", "rx";
+                       };
                };
 
                mediam {