1439b65c4SChen-Yu Tsai /*
2439b65c4SChen-Yu Tsai  * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
3439b65c4SChen-Yu Tsai  *
4439b65c4SChen-Yu Tsai  * This file is dual-licensed: you can use it either under the terms
5439b65c4SChen-Yu Tsai  * of the GPL or the X11 license, at your option. Note that this dual
6439b65c4SChen-Yu Tsai  * licensing only applies to this file, and not this project as a
7439b65c4SChen-Yu Tsai  * whole.
8439b65c4SChen-Yu Tsai  *
9439b65c4SChen-Yu Tsai  *  a) This file is free software; you can redistribute it and/or
10439b65c4SChen-Yu Tsai  *     modify it under the terms of the GNU General Public License as
11439b65c4SChen-Yu Tsai  *     published by the Free Software Foundation; either version 2 of the
12439b65c4SChen-Yu Tsai  *     License, or (at your option) any later version.
13439b65c4SChen-Yu Tsai  *
14439b65c4SChen-Yu Tsai  *     This file is distributed in the hope that it will be useful,
15439b65c4SChen-Yu Tsai  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16439b65c4SChen-Yu Tsai  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17439b65c4SChen-Yu Tsai  *     GNU General Public License for more details.
18439b65c4SChen-Yu Tsai  *
19439b65c4SChen-Yu Tsai  * Or, alternatively,
20439b65c4SChen-Yu Tsai  *
21439b65c4SChen-Yu Tsai  *  b) Permission is hereby granted, free of charge, to any person
22439b65c4SChen-Yu Tsai  *     obtaining a copy of this software and associated documentation
23439b65c4SChen-Yu Tsai  *     files (the "Software"), to deal in the Software without
24439b65c4SChen-Yu Tsai  *     restriction, including without limitation the rights to use,
25439b65c4SChen-Yu Tsai  *     copy, modify, merge, publish, distribute, sublicense, and/or
26439b65c4SChen-Yu Tsai  *     sell copies of the Software, and to permit persons to whom the
27439b65c4SChen-Yu Tsai  *     Software is furnished to do so, subject to the following
28439b65c4SChen-Yu Tsai  *     conditions:
29439b65c4SChen-Yu Tsai  *
30439b65c4SChen-Yu Tsai  *     The above copyright notice and this permission notice shall be
31439b65c4SChen-Yu Tsai  *     included in all copies or substantial portions of the Software.
32439b65c4SChen-Yu Tsai  *
33439b65c4SChen-Yu Tsai  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34439b65c4SChen-Yu Tsai  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35439b65c4SChen-Yu Tsai  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36439b65c4SChen-Yu Tsai  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37439b65c4SChen-Yu Tsai  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38439b65c4SChen-Yu Tsai  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39439b65c4SChen-Yu Tsai  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40439b65c4SChen-Yu Tsai  *     OTHER DEALINGS IN THE SOFTWARE.
41439b65c4SChen-Yu Tsai  */
42439b65c4SChen-Yu Tsai 
43439b65c4SChen-Yu Tsai #ifndef _DT_BINDINGS_CLOCK_SUN9I_A80_USB_H_
44439b65c4SChen-Yu Tsai #define _DT_BINDINGS_CLOCK_SUN9I_A80_USB_H_
45439b65c4SChen-Yu Tsai 
46439b65c4SChen-Yu Tsai #define CLK_BUS_HCI0	0
47439b65c4SChen-Yu Tsai #define CLK_USB_OHCI0	1
48439b65c4SChen-Yu Tsai #define CLK_BUS_HCI1	2
49439b65c4SChen-Yu Tsai #define CLK_BUS_HCI2	3
50439b65c4SChen-Yu Tsai #define CLK_USB_OHCI2	4
51439b65c4SChen-Yu Tsai 
52439b65c4SChen-Yu Tsai #define CLK_USB0_PHY	5
53439b65c4SChen-Yu Tsai #define CLK_USB1_HSIC	6
54439b65c4SChen-Yu Tsai #define CLK_USB1_PHY	7
55439b65c4SChen-Yu Tsai #define CLK_USB2_HSIC	8
56439b65c4SChen-Yu Tsai #define CLK_USB2_PHY	9
57439b65c4SChen-Yu Tsai #define CLK_USB_HSIC	10
58439b65c4SChen-Yu Tsai 
59439b65c4SChen-Yu Tsai #endif /* _DT_BINDINGS_CLOCK_SUN9I_A80_USB_H_ */
60