1be3d960bSNeil Armstrong /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2be3d960bSNeil Armstrong /* 3be3d960bSNeil Armstrong * Copyright (c) 2016 BayLibre, SAS 4be3d960bSNeil Armstrong * Author: Neil Armstrong <narmstrong@baylibre.com> 5be3d960bSNeil Armstrong * 6be3d960bSNeil Armstrong * Copyright (c) 2018 Amlogic, inc. 7be3d960bSNeil Armstrong * Author: Qiufang Dai <qiufang.dai@amlogic.com> 8be3d960bSNeil Armstrong */ 9be3d960bSNeil Armstrong 10be3d960bSNeil Armstrong #ifndef DT_BINDINGS_CLOCK_AMLOGIC_MESON_G12A_AOCLK 11be3d960bSNeil Armstrong #define DT_BINDINGS_CLOCK_AMLOGIC_MESON_G12A_AOCLK 12be3d960bSNeil Armstrong 13be3d960bSNeil Armstrong #define CLKID_AO_AHB 0 14be3d960bSNeil Armstrong #define CLKID_AO_IR_IN 1 15be3d960bSNeil Armstrong #define CLKID_AO_I2C_M0 2 16be3d960bSNeil Armstrong #define CLKID_AO_I2C_S0 3 17be3d960bSNeil Armstrong #define CLKID_AO_UART 4 18be3d960bSNeil Armstrong #define CLKID_AO_PROD_I2C 5 19be3d960bSNeil Armstrong #define CLKID_AO_UART2 6 20be3d960bSNeil Armstrong #define CLKID_AO_IR_OUT 7 21be3d960bSNeil Armstrong #define CLKID_AO_SAR_ADC 8 22be3d960bSNeil Armstrong #define CLKID_AO_MAILBOX 9 23be3d960bSNeil Armstrong #define CLKID_AO_M3 10 24be3d960bSNeil Armstrong #define CLKID_AO_AHB_SRAM 11 25be3d960bSNeil Armstrong #define CLKID_AO_RTI 12 26be3d960bSNeil Armstrong #define CLKID_AO_M4_FCLK 13 27be3d960bSNeil Armstrong #define CLKID_AO_M4_HCLK 14 28be3d960bSNeil Armstrong #define CLKID_AO_CLK81 15 29dc6276f5SNeil Armstrong #define CLKID_AO_SAR_ADC_SEL 16 30be3d960bSNeil Armstrong #define CLKID_AO_SAR_ADC_CLK 18 31be3d960bSNeil Armstrong #define CLKID_AO_32K 23 32be3d960bSNeil Armstrong #define CLKID_AO_CEC 27 33be3d960bSNeil Armstrong #define CLKID_AO_CTS_RTC_OSCIN 28 34be3d960bSNeil Armstrong 35be3d960bSNeil Armstrong #endif 36