162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * This file is provided under a dual BSD/GPLv2 license. When using or 362306a36Sopenharmony_ci * redistributing this file, you may do so under either license. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * GPL LICENSE SUMMARY 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * Copyright (c) 2016 BayLibre, SAS. 862306a36Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com> 962306a36Sopenharmony_ci * 1062306a36Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 1162306a36Sopenharmony_ci * it under the terms of version 2 of the GNU General Public License as 1262306a36Sopenharmony_ci * published by the Free Software Foundation. 1362306a36Sopenharmony_ci * 1462306a36Sopenharmony_ci * This program is distributed in the hope that it will be useful, but 1562306a36Sopenharmony_ci * WITHOUT ANY WARRANTY; without even the implied warranty of 1662306a36Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1762306a36Sopenharmony_ci * General Public License for more details. 1862306a36Sopenharmony_ci * 1962306a36Sopenharmony_ci * You should have received a copy of the GNU General Public License 2062306a36Sopenharmony_ci * along with this program; if not, see <http://www.gnu.org/licenses/>. 2162306a36Sopenharmony_ci * The full GNU General Public License is included in this distribution 2262306a36Sopenharmony_ci * in the file called COPYING. 2362306a36Sopenharmony_ci * 2462306a36Sopenharmony_ci * BSD LICENSE 2562306a36Sopenharmony_ci * 2662306a36Sopenharmony_ci * Copyright (c) 2016 BayLibre, SAS. 2762306a36Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com> 2862306a36Sopenharmony_ci * 2962306a36Sopenharmony_ci * Redistribution and use in source and binary forms, with or without 3062306a36Sopenharmony_ci * modification, are permitted provided that the following conditions 3162306a36Sopenharmony_ci * are met: 3262306a36Sopenharmony_ci * 3362306a36Sopenharmony_ci * * Redistributions of source code must retain the above copyright 3462306a36Sopenharmony_ci * notice, this list of conditions and the following disclaimer. 3562306a36Sopenharmony_ci * * Redistributions in binary form must reproduce the above copyright 3662306a36Sopenharmony_ci * notice, this list of conditions and the following disclaimer in 3762306a36Sopenharmony_ci * the documentation and/or other materials provided with the 3862306a36Sopenharmony_ci * distribution. 3962306a36Sopenharmony_ci * * Neither the name of Intel Corporation nor the names of its 4062306a36Sopenharmony_ci * contributors may be used to endorse or promote products derived 4162306a36Sopenharmony_ci * from this software without specific prior written permission. 4262306a36Sopenharmony_ci * 4362306a36Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4462306a36Sopenharmony_ci * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4562306a36Sopenharmony_ci * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 4662306a36Sopenharmony_ci * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 4762306a36Sopenharmony_ci * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4862306a36Sopenharmony_ci * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 4962306a36Sopenharmony_ci * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 5062306a36Sopenharmony_ci * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 5162306a36Sopenharmony_ci * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 5262306a36Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5362306a36Sopenharmony_ci * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5462306a36Sopenharmony_ci */ 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ci#ifndef DT_BINDINGS_RESET_AMLOGIC_MESON_GXBB_AOCLK 5762306a36Sopenharmony_ci#define DT_BINDINGS_RESET_AMLOGIC_MESON_GXBB_AOCLK 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ci#define RESET_AO_REMOTE 0 6062306a36Sopenharmony_ci#define RESET_AO_I2C_MASTER 1 6162306a36Sopenharmony_ci#define RESET_AO_I2C_SLAVE 2 6262306a36Sopenharmony_ci#define RESET_AO_UART1 3 6362306a36Sopenharmony_ci#define RESET_AO_UART2 4 6462306a36Sopenharmony_ci#define RESET_AO_IR_BLASTER 5 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ci#endif 67