summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/reset/g12a-aoclkc.h
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-02-12 17:28:58 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2019-02-13 09:49:17 +0100
commitbe3d960b0aeb97438a044d8d3ce75393d198c020 (patch)
tree90c1d253cd72136007471fe85cb54fd20e8f7ce5 /include/dt-bindings/reset/g12a-aoclkc.h
parent6682bd4d443fad802e11a0a39332025cdfbf5108 (diff)
downloadlinux-stable-be3d960b0aeb97438a044d8d3ce75393d198c020.tar.gz
linux-stable-be3d960b0aeb97438a044d8d3ce75393d198c020.tar.bz2
linux-stable-be3d960b0aeb97438a044d8d3ce75393d198c020.zip
dt-bindings: clk: add G12A AO Clock and Reset Bindings
Add bindings for the Amlogic G12A AO Clock and Reset controllers. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lkml.kernel.org/r/20190212162859.20743-2-narmstrong@baylibre.com
Diffstat (limited to 'include/dt-bindings/reset/g12a-aoclkc.h')
-rw-r--r--include/dt-bindings/reset/g12a-aoclkc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/g12a-aoclkc.h b/include/dt-bindings/reset/g12a-aoclkc.h
new file mode 100644
index 000000000000..bd2e2337135c
--- /dev/null
+++ b/include/dt-bindings/reset/g12a-aoclkc.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
+/*
+ * Copyright (c) 2016 BayLibre, SAS
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#ifndef DT_BINDINGS_RESET_AMLOGIC_MESON_G12A_AOCLK
+#define DT_BINDINGS_RESET_AMLOGIC_MESON_G12A_AOCLK
+
+#define RESET_AO_IR_IN 0
+#define RESET_AO_UART 1
+#define RESET_AO_I2C_M 2
+#define RESET_AO_I2C_S 3
+#define RESET_AO_SAR_ADC 4
+#define RESET_AO_UART2 5
+#define RESET_AO_IR_OUT 6
+
+#endif