xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/g12a-aoclkc.h (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /*
3  * Copyright (c) 2016 BayLibre, SAS
4  * Author: Neil Armstrong <narmstrong@baylibre.com>
5  *
6  * Copyright (c) 2018 Amlogic, inc.
7  * Author: Qiufang Dai <qiufang.dai@amlogic.com>
8  */
9 
10 #ifndef DT_BINDINGS_CLOCK_AMLOGIC_MESON_G12A_AOCLK
11 #define DT_BINDINGS_CLOCK_AMLOGIC_MESON_G12A_AOCLK
12 
13 #define CLKID_AO_AHB		0
14 #define CLKID_AO_IR_IN		1
15 #define CLKID_AO_I2C_M0		2
16 #define CLKID_AO_I2C_S0		3
17 #define CLKID_AO_UART		4
18 #define CLKID_AO_PROD_I2C	5
19 #define CLKID_AO_UART2		6
20 #define CLKID_AO_IR_OUT		7
21 #define CLKID_AO_SAR_ADC	8
22 #define CLKID_AO_MAILBOX	9
23 #define CLKID_AO_M3		10
24 #define CLKID_AO_AHB_SRAM	11
25 #define CLKID_AO_RTI		12
26 #define CLKID_AO_M4_FCLK	13
27 #define CLKID_AO_M4_HCLK	14
28 #define CLKID_AO_CLK81		15
29 #define CLKID_AO_SAR_ADC_DIV	17
30 #define CLKID_AO_SAR_ADC_SEL	16
31 #define CLKID_AO_SAR_ADC_CLK	18
32 #define CLKID_AO_CTS_OSCIN	19
33 #define CLKID_AO_32K_PRE	20
34 #define CLKID_AO_32K_DIV	21
35 #define CLKID_AO_32K_SEL	22
36 #define CLKID_AO_32K		23
37 #define CLKID_AO_CEC_PRE	24
38 #define CLKID_AO_CEC_DIV	25
39 #define CLKID_AO_CEC_SEL	26
40 #define CLKID_AO_CEC		27
41 #define CLKID_AO_CTS_RTC_OSCIN	28
42 
43 #endif
44