xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/gxbb-aoclkc.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /*
2*c66ec88fSEmmanuel Vadot  * This file is provided under a dual BSD/GPLv2 license.  When using or
3*c66ec88fSEmmanuel Vadot  * redistributing this file, you may do so under either license.
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * GPL LICENSE SUMMARY
6*c66ec88fSEmmanuel Vadot  *
7*c66ec88fSEmmanuel Vadot  * Copyright (c) 2016 BayLibre, SAS.
8*c66ec88fSEmmanuel Vadot  * Author: Neil Armstrong <narmstrong@baylibre.com>
9*c66ec88fSEmmanuel Vadot  *
10*c66ec88fSEmmanuel Vadot  * This program is free software; you can redistribute it and/or modify
11*c66ec88fSEmmanuel Vadot  * it under the terms of version 2 of the GNU General Public License as
12*c66ec88fSEmmanuel Vadot  * published by the Free Software Foundation.
13*c66ec88fSEmmanuel Vadot  *
14*c66ec88fSEmmanuel Vadot  * This program is distributed in the hope that it will be useful, but
15*c66ec88fSEmmanuel Vadot  * WITHOUT ANY WARRANTY; without even the implied warranty of
16*c66ec88fSEmmanuel Vadot  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17*c66ec88fSEmmanuel Vadot  * General Public License for more details.
18*c66ec88fSEmmanuel Vadot  *
19*c66ec88fSEmmanuel Vadot  * You should have received a copy of the GNU General Public License
20*c66ec88fSEmmanuel Vadot  * along with this program; if not, see <http://www.gnu.org/licenses/>.
21*c66ec88fSEmmanuel Vadot  * The full GNU General Public License is included in this distribution
22*c66ec88fSEmmanuel Vadot  * in the file called COPYING.
23*c66ec88fSEmmanuel Vadot  *
24*c66ec88fSEmmanuel Vadot  * BSD LICENSE
25*c66ec88fSEmmanuel Vadot  *
26*c66ec88fSEmmanuel Vadot  * Copyright (c) 2016 BayLibre, SAS.
27*c66ec88fSEmmanuel Vadot  * Author: Neil Armstrong <narmstrong@baylibre.com>
28*c66ec88fSEmmanuel Vadot  *
29*c66ec88fSEmmanuel Vadot  * Redistribution and use in source and binary forms, with or without
30*c66ec88fSEmmanuel Vadot  * modification, are permitted provided that the following conditions
31*c66ec88fSEmmanuel Vadot  * are met:
32*c66ec88fSEmmanuel Vadot  *
33*c66ec88fSEmmanuel Vadot  *   * Redistributions of source code must retain the above copyright
34*c66ec88fSEmmanuel Vadot  *     notice, this list of conditions and the following disclaimer.
35*c66ec88fSEmmanuel Vadot  *   * Redistributions in binary form must reproduce the above copyright
36*c66ec88fSEmmanuel Vadot  *     notice, this list of conditions and the following disclaimer in
37*c66ec88fSEmmanuel Vadot  *     the documentation and/or other materials provided with the
38*c66ec88fSEmmanuel Vadot  *     distribution.
39*c66ec88fSEmmanuel Vadot  *   * Neither the name of Intel Corporation nor the names of its
40*c66ec88fSEmmanuel Vadot  *     contributors may be used to endorse or promote products derived
41*c66ec88fSEmmanuel Vadot  *     from this software without specific prior written permission.
42*c66ec88fSEmmanuel Vadot  *
43*c66ec88fSEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
44*c66ec88fSEmmanuel Vadot  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
45*c66ec88fSEmmanuel Vadot  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
46*c66ec88fSEmmanuel Vadot  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
47*c66ec88fSEmmanuel Vadot  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
48*c66ec88fSEmmanuel Vadot  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
49*c66ec88fSEmmanuel Vadot  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
50*c66ec88fSEmmanuel Vadot  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
51*c66ec88fSEmmanuel Vadot  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
52*c66ec88fSEmmanuel Vadot  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
53*c66ec88fSEmmanuel Vadot  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
54*c66ec88fSEmmanuel Vadot  */
55*c66ec88fSEmmanuel Vadot 
56*c66ec88fSEmmanuel Vadot #ifndef DT_BINDINGS_CLOCK_AMLOGIC_MESON_GXBB_AOCLK
57*c66ec88fSEmmanuel Vadot #define DT_BINDINGS_CLOCK_AMLOGIC_MESON_GXBB_AOCLK
58*c66ec88fSEmmanuel Vadot 
59*c66ec88fSEmmanuel Vadot #define CLKID_AO_REMOTE		0
60*c66ec88fSEmmanuel Vadot #define CLKID_AO_I2C_MASTER	1
61*c66ec88fSEmmanuel Vadot #define CLKID_AO_I2C_SLAVE	2
62*c66ec88fSEmmanuel Vadot #define CLKID_AO_UART1		3
63*c66ec88fSEmmanuel Vadot #define CLKID_AO_UART2		4
64*c66ec88fSEmmanuel Vadot #define CLKID_AO_IR_BLASTER	5
65*c66ec88fSEmmanuel Vadot #define CLKID_AO_CEC_32K	6
66*c66ec88fSEmmanuel Vadot #define CLKID_AO_CTS_OSCIN	7
67*c66ec88fSEmmanuel Vadot #define CLKID_AO_32K_PRE	8
68*c66ec88fSEmmanuel Vadot #define CLKID_AO_32K_DIV	9
69*c66ec88fSEmmanuel Vadot #define CLKID_AO_32K_SEL	10
70*c66ec88fSEmmanuel Vadot #define CLKID_AO_32K		11
71*c66ec88fSEmmanuel Vadot #define CLKID_AO_CTS_RTC_OSCIN	12
72*c66ec88fSEmmanuel Vadot #define CLKID_AO_CLK81		13
73*c66ec88fSEmmanuel Vadot 
74*c66ec88fSEmmanuel Vadot #endif
75