summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-07-30 14:56:16 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-08-03 22:11:41 +0300
commitb113c9b570a3d7ec654971b972ffb7b550139f75 (patch)
tree0a6d8af238fd258318bb4f51afcea4f1282c4f8e /include
parent7ab932825dd0ef363c2c8523e5b82836f1417dca (diff)
downloadu-boot-b113c9b570a3d7ec654971b972ffb7b550139f75.tar.xz
clk: clk_octeon: Add simple MIPS Octeon clock driver
This patch adds a simple clock driver for the Marvell Octeon MIPS SoC family. Its for IO clock rate passing via DT in some of the Octeon driver, like I2C. So that we don't need to use the non-mainline API octeon_get_io_clock(). Signed-off-by: Stefan Roese <sr@denx.de> Cc: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/clock/octeon-clock.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/octeon-clock.h b/include/dt-bindings/clock/octeon-clock.h
new file mode 100644
index 0000000000..34e6a3bf41
--- /dev/null
+++ b/include/dt-bindings/clock/octeon-clock.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2020 Stefan Roese <sr@denx.de>
+ */
+
+#ifndef __DT_BINDINGS_CLOCK_OCTEON_CLOCK_H
+#define __DT_BINDINGS_CLOCK_OCTEON_CLOCK_H
+
+#define OCTEON_CLK_CORE 0
+#define OCTEON_CLK_IO 1
+
+#endif /* __DT_BINDINGS_CLOCK_OCTEON_CLOCK_H */