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