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