summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <[email protected]>2020-07-30 13:56:16 +0200
committerDaniel Schwierzeck <[email protected]>2020-08-03 21:11:41 +0200
commitb113c9b570a3d7ec654971b972ffb7b550139f75 (patch)
tree0a6d8af238fd258318bb4f51afcea4f1282c4f8e /include
parent7ab932825dd0ef363c2c8523e5b82836f1417dca (diff)
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 <[email protected]> Cc: Lukasz Majewski <[email protected]>
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 00000000000..34e6a3bf41e
--- /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 <[email protected]>
+ */
+
+#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 */