diff options
author | Yixun Lan <yixun.lan@amlogic.com> | 2018-05-03 15:26:22 +0200 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2018-05-15 14:07:11 +0200 |
commit | 9c7aea8e17d435beeabfed88ff46a811eeb92ae4 (patch) | |
tree | 2f8ff2f5cadf86f7afc146d3476eeb19bf09c5f8 /include/dt-bindings/clock/axg-aoclkc.h | |
parent | dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC (diff) | |
download | linux-9c7aea8e17d435beeabfed88ff46a811eeb92ae4.tar.xz linux-9c7aea8e17d435beeabfed88ff46a811eeb92ae4.zip |
dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings
Add dt-bindings headers for the Meson-AXG's AO clock and
reset controller.
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'include/dt-bindings/clock/axg-aoclkc.h')
-rw-r--r-- | include/dt-bindings/clock/axg-aoclkc.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/axg-aoclkc.h b/include/dt-bindings/clock/axg-aoclkc.h new file mode 100644 index 000000000000..61955016a55b --- /dev/null +++ b/include/dt-bindings/clock/axg-aoclkc.h @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ +/* + * Copyright (c) 2016 BayLibre, SAS + * Author: Neil Armstrong <narmstrong@baylibre.com> + * + * Copyright (c) 2018 Amlogic, inc. + * Author: Qiufang Dai <qiufang.dai@amlogic.com> + */ + +#ifndef DT_BINDINGS_CLOCK_AMLOGIC_MESON_AXG_AOCLK +#define DT_BINDINGS_CLOCK_AMLOGIC_MESON_AXG_AOCLK + +#define CLKID_AO_REMOTE 0 +#define CLKID_AO_I2C_MASTER 1 +#define CLKID_AO_I2C_SLAVE 2 +#define CLKID_AO_UART1 3 +#define CLKID_AO_UART2 4 +#define CLKID_AO_IR_BLASTER 5 +#define CLKID_AO_SAR_ADC 6 +#define CLKID_AO_CLK81 7 +#define CLKID_AO_SAR_ADC_SEL 8 +#define CLKID_AO_SAR_ADC_DIV 9 +#define CLKID_AO_SAR_ADC_CLK 10 +#define CLKID_AO_ALT_XTAL 11 + +#endif |