summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>2020-07-23 01:18:03 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-07-23 16:58:09 +0200
commitac756d05c468e535380c7b4b102105793c5d095e (patch)
treefc0aa36aafa6a2d60a1441543e92a8bb3296acd8 /include/dt-bindings
parentdcf30fc0ca9e2df2f5f9daddd1a0ab8f1ccbc9e4 (diff)
downloadlinux-ac756d05c468e535380c7b4b102105793c5d095e.tar.bz2
dt-bindings: timer: Add Ingenic X1000 OST bindings.
Add the OST bindings for the X1000 SoC from Ingenic. Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200722171804.97559-2-zhouyanjie@wanyeetech.com
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/ingenic,sysost.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/ingenic,sysost.h b/include/dt-bindings/clock/ingenic,sysost.h
new file mode 100644
index 000000000000..9ac88e90babf
--- /dev/null
+++ b/include/dt-bindings/clock/ingenic,sysost.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This header provides clock numbers for the ingenic,tcu DT binding.
+ */
+
+#ifndef __DT_BINDINGS_CLOCK_INGENIC_OST_H__
+#define __DT_BINDINGS_CLOCK_INGENIC_OST_H__
+
+#define OST_CLK_PERCPU_TIMER 0
+#define OST_CLK_GLOBAL_TIMER 1
+
+#endif /* __DT_BINDINGS_CLOCK_INGENIC_OST_H__ */