1295011Sandrew/* 2295011Sandrew * This file is dual-licensed: you can use it either under the terms 3295011Sandrew * of the GPL or the X11 license, at your option. Note that this dual 4295011Sandrew * licensing only applies to this file, and not this project as a 5295011Sandrew * whole. 6295011Sandrew * 7295011Sandrew * a) This file is free software; you can redistribute it and/or 8295011Sandrew * modify it under the terms of the GNU General Public License as 9295011Sandrew * published by the Free Software Foundation; either version 2 of the 10295011Sandrew * License, or (at your option) any later version. 11295011Sandrew * 12295011Sandrew * This file is distributed in the hope that it will be useful, 13295011Sandrew * but WITHOUT ANY WARRANTY; without even the implied warranty of 14295011Sandrew * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15295011Sandrew * GNU General Public License for more details. 16295011Sandrew * 17295011Sandrew * Or, alternatively, 18295011Sandrew * 19295011Sandrew * b) Permission is hereby granted, free of charge, to any person 20295011Sandrew * obtaining a copy of this software and associated documentation 21295011Sandrew * files (the "Software"), to deal in the Software without 22295011Sandrew * restriction, including without limitation the rights to use, 23295011Sandrew * copy, modify, merge, publish, distribute, sublicense, and/or 24295011Sandrew * sell copies of the Software, and to permit persons to whom the 25295011Sandrew * Software is furnished to do so, subject to the following 26295011Sandrew * conditions: 27295011Sandrew * 28295011Sandrew * The above copyright notice and this permission notice shall be 29295011Sandrew * included in all copies or substantial portions of the Software. 30295011Sandrew * 31295011Sandrew * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 32295011Sandrew * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 33295011Sandrew * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 34295011Sandrew * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 35295011Sandrew * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 36295011Sandrew * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 37295011Sandrew * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 38295011Sandrew * OTHER DEALINGS IN THE SOFTWARE. 39295011Sandrew */ 40295011Sandrew 41295011Sandrew#ifndef __DT_BINDINGS_DMA_AXI_DMAC_H__ 42295011Sandrew#define __DT_BINDINGS_DMA_AXI_DMAC_H__ 43295011Sandrew 44295011Sandrew#define AXI_DMAC_BUS_TYPE_AXI_MM 0 45295011Sandrew#define AXI_DMAC_BUS_TYPE_AXI_STREAM 1 46295011Sandrew#define AXI_DMAC_BUS_TYPE_FIFO 2 47295011Sandrew 48295011Sandrew#endif 49