18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * This file is provided under a dual BSD/GPLv2 license.  When using or
38c2ecf20Sopenharmony_ci * redistributing this file, you may do so under either license.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * GPL LICENSE SUMMARY
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (c) 2016 BayLibre, SAS.
88c2ecf20Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com>
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify
118c2ecf20Sopenharmony_ci * it under the terms of version 2 of the GNU General Public License as
128c2ecf20Sopenharmony_ci * published by the Free Software Foundation.
138c2ecf20Sopenharmony_ci *
148c2ecf20Sopenharmony_ci * This program is distributed in the hope that it will be useful, but
158c2ecf20Sopenharmony_ci * WITHOUT ANY WARRANTY; without even the implied warranty of
168c2ecf20Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
178c2ecf20Sopenharmony_ci * General Public License for more details.
188c2ecf20Sopenharmony_ci *
198c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License
208c2ecf20Sopenharmony_ci * along with this program; if not, see <http://www.gnu.org/licenses/>.
218c2ecf20Sopenharmony_ci * The full GNU General Public License is included in this distribution
228c2ecf20Sopenharmony_ci * in the file called COPYING.
238c2ecf20Sopenharmony_ci *
248c2ecf20Sopenharmony_ci * BSD LICENSE
258c2ecf20Sopenharmony_ci *
268c2ecf20Sopenharmony_ci * Copyright (c) 2016 BayLibre, SAS.
278c2ecf20Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com>
288c2ecf20Sopenharmony_ci *
298c2ecf20Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
308c2ecf20Sopenharmony_ci * modification, are permitted provided that the following conditions
318c2ecf20Sopenharmony_ci * are met:
328c2ecf20Sopenharmony_ci *
338c2ecf20Sopenharmony_ci *   * Redistributions of source code must retain the above copyright
348c2ecf20Sopenharmony_ci *     notice, this list of conditions and the following disclaimer.
358c2ecf20Sopenharmony_ci *   * Redistributions in binary form must reproduce the above copyright
368c2ecf20Sopenharmony_ci *     notice, this list of conditions and the following disclaimer in
378c2ecf20Sopenharmony_ci *     the documentation and/or other materials provided with the
388c2ecf20Sopenharmony_ci *     distribution.
398c2ecf20Sopenharmony_ci *   * Neither the name of Intel Corporation nor the names of its
408c2ecf20Sopenharmony_ci *     contributors may be used to endorse or promote products derived
418c2ecf20Sopenharmony_ci *     from this software without specific prior written permission.
428c2ecf20Sopenharmony_ci *
438c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
448c2ecf20Sopenharmony_ci * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
458c2ecf20Sopenharmony_ci * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
468c2ecf20Sopenharmony_ci * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
478c2ecf20Sopenharmony_ci * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
488c2ecf20Sopenharmony_ci * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
498c2ecf20Sopenharmony_ci * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
508c2ecf20Sopenharmony_ci * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
518c2ecf20Sopenharmony_ci * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
528c2ecf20Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
538c2ecf20Sopenharmony_ci * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
548c2ecf20Sopenharmony_ci */
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci#ifndef DT_BINDINGS_CLOCK_AMLOGIC_MESON_GXBB_AOCLK
578c2ecf20Sopenharmony_ci#define DT_BINDINGS_CLOCK_AMLOGIC_MESON_GXBB_AOCLK
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci#define CLKID_AO_REMOTE		0
608c2ecf20Sopenharmony_ci#define CLKID_AO_I2C_MASTER	1
618c2ecf20Sopenharmony_ci#define CLKID_AO_I2C_SLAVE	2
628c2ecf20Sopenharmony_ci#define CLKID_AO_UART1		3
638c2ecf20Sopenharmony_ci#define CLKID_AO_UART2		4
648c2ecf20Sopenharmony_ci#define CLKID_AO_IR_BLASTER	5
658c2ecf20Sopenharmony_ci#define CLKID_AO_CEC_32K	6
668c2ecf20Sopenharmony_ci#define CLKID_AO_CTS_OSCIN	7
678c2ecf20Sopenharmony_ci#define CLKID_AO_32K_PRE	8
688c2ecf20Sopenharmony_ci#define CLKID_AO_32K_DIV	9
698c2ecf20Sopenharmony_ci#define CLKID_AO_32K_SEL	10
708c2ecf20Sopenharmony_ci#define CLKID_AO_32K		11
718c2ecf20Sopenharmony_ci#define CLKID_AO_CTS_RTC_OSCIN	12
728c2ecf20Sopenharmony_ci#define CLKID_AO_CLK81		13
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci#endif
75