103aa254fSHongbo Zhang/*
203aa254fSHongbo Zhang * QorIQ Elo3 DMA device tree stub [ controller @ offset 0x101000 ]
303aa254fSHongbo Zhang *
403aa254fSHongbo Zhang * Copyright 2013 Freescale Semiconductor Inc.
503aa254fSHongbo Zhang *
603aa254fSHongbo Zhang * Redistribution and use in source and binary forms, with or without
703aa254fSHongbo Zhang * modification, are permitted provided that the following conditions are met:
803aa254fSHongbo Zhang *     * Redistributions of source code must retain the above copyright
903aa254fSHongbo Zhang *       notice, this list of conditions and the following disclaimer.
1003aa254fSHongbo Zhang *     * Redistributions in binary form must reproduce the above copyright
1103aa254fSHongbo Zhang *       notice, this list of conditions and the following disclaimer in the
1203aa254fSHongbo Zhang *       documentation and/or other materials provided with the distribution.
1303aa254fSHongbo Zhang *     * Neither the name of Freescale Semiconductor nor the
1403aa254fSHongbo Zhang *       names of its contributors may be used to endorse or promote products
1503aa254fSHongbo Zhang *       derived from this software without specific prior written permission.
1603aa254fSHongbo Zhang *
1703aa254fSHongbo Zhang *
1803aa254fSHongbo Zhang * ALTERNATIVELY, this software may be distributed under the terms of the
1903aa254fSHongbo Zhang * GNU General Public License ("GPL") as published by the Free Software
2003aa254fSHongbo Zhang * Foundation, either version 2 of that License or (at your option) any
2103aa254fSHongbo Zhang * later version.
2203aa254fSHongbo Zhang *
2303aa254fSHongbo Zhang * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2403aa254fSHongbo Zhang * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2503aa254fSHongbo Zhang * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2603aa254fSHongbo Zhang * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2703aa254fSHongbo Zhang * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2803aa254fSHongbo Zhang * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2903aa254fSHongbo Zhang * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3003aa254fSHongbo Zhang * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3103aa254fSHongbo Zhang * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3203aa254fSHongbo Zhang * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3303aa254fSHongbo Zhang */
3403aa254fSHongbo Zhang
3503aa254fSHongbo Zhangdma1: dma@101300 {
3603aa254fSHongbo Zhang	#address-cells = <1>;
3703aa254fSHongbo Zhang	#size-cells = <1>;
3803aa254fSHongbo Zhang	compatible = "fsl,elo3-dma";
3903aa254fSHongbo Zhang	reg = <0x101300 0x4>,
4003aa254fSHongbo Zhang	      <0x101600 0x4>;
4103aa254fSHongbo Zhang	ranges = <0x0 0x101100 0x500>;
4203aa254fSHongbo Zhang	dma-channel@0 {
4303aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
4403aa254fSHongbo Zhang		reg = <0x0 0x80>;
4503aa254fSHongbo Zhang		interrupts = <32 2 0 0>;
4603aa254fSHongbo Zhang	};
4703aa254fSHongbo Zhang	dma-channel@80 {
4803aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
4903aa254fSHongbo Zhang		reg = <0x80 0x80>;
5003aa254fSHongbo Zhang		interrupts = <33 2 0 0>;
5103aa254fSHongbo Zhang	};
5203aa254fSHongbo Zhang	dma-channel@100 {
5303aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
5403aa254fSHongbo Zhang		reg = <0x100 0x80>;
5503aa254fSHongbo Zhang		interrupts = <34 2 0 0>;
5603aa254fSHongbo Zhang	};
5703aa254fSHongbo Zhang	dma-channel@180 {
5803aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
5903aa254fSHongbo Zhang		reg = <0x180 0x80>;
6003aa254fSHongbo Zhang		interrupts = <35 2 0 0>;
6103aa254fSHongbo Zhang	};
6203aa254fSHongbo Zhang	dma-channel@300 {
6303aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
6403aa254fSHongbo Zhang		reg = <0x300 0x80>;
6503aa254fSHongbo Zhang		interrupts = <80 2 0 0>;
6603aa254fSHongbo Zhang	};
6703aa254fSHongbo Zhang	dma-channel@380 {
6803aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
6903aa254fSHongbo Zhang		reg = <0x380 0x80>;
7003aa254fSHongbo Zhang		interrupts = <81 2 0 0>;
7103aa254fSHongbo Zhang	};
7203aa254fSHongbo Zhang	dma-channel@400 {
7303aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
7403aa254fSHongbo Zhang		reg = <0x400 0x80>;
7503aa254fSHongbo Zhang		interrupts = <82 2 0 0>;
7603aa254fSHongbo Zhang	};
7703aa254fSHongbo Zhang	dma-channel@480 {
7803aa254fSHongbo Zhang		compatible = "fsl,eloplus-dma-channel";
7903aa254fSHongbo Zhang		reg = <0x480 0x80>;
8003aa254fSHongbo Zhang		interrupts = <83 2 0 0>;
8103aa254fSHongbo Zhang	};
8203aa254fSHongbo Zhang};
83