aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2014-05-21 17:30:46 -0400
committerOlof Johansson <olof@lixom.net>2014-05-21 17:30:46 -0400
commit0db6542dd41396a06657cd69626f00e0695e3cd1 (patch)
tree4ddd65d1074e4715784c1f168b85eb7494ea3801 /include/dt-bindings
parentbcafdb4fe8651d97463e0b720878f745dfb4c3f6 (diff)
parent9fbb1ae01b878e2cce9626fa6fdc9e5dcefeb6b5 (diff)
Merge tag 'renesas-r7s72100-ccf-for-v3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/boards
Merge "Renesas ARM Based r7s72100 SoC CCF Updates for v3.16" from Simon Horman: r7s72100 (RZ/A1H) SoC and its Genmai board * Add and use CCF support * Initislise SCIF, I2C and SPI via DT * tag 'renesas-r7s72100-ccf-for-v3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: r7s72100: use workaround for non DT-clocks ARM: shmobile: Add forward declaration of struct clk to silence warning ARM: shmobile: r7s72100: remove SPI DT clocks from legacy clock support ARM: shmobile: r7s72100: add spi clocks to dtsi ARM: shmobile: r7s72100: remove I2C DT clocks from legacy clock support ARM: shmobile: r7s72100: add i2c clocks to dtsi ARM: shmobile: r7s72100: genmai: platform scif devices only for legacy support ARM: shmobile: r7s72100: genmai: add uart alias and activate scif2 as console ARM: shmobile: r7s72100: add scif nodes to dtsi ARM: shmobile: r7s72100: genmai: populate nodes for external clocks ARM: shmobile: r7s72100: add essential clock nodes to dtsi ARM: shmobile: r7s72100: document MSTP clock support Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/r7s72100-clock.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/r7s72100-clock.h b/include/dt-bindings/clock/r7s72100-clock.h
new file mode 100644
index 000000000000..5128f4d94f44
--- /dev/null
+++ b/include/dt-bindings/clock/r7s72100-clock.h
@@ -0,0 +1,41 @@
1/*
2 * Copyright (C) 2014 Renesas Solutions Corp.
3 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 */
9
10#ifndef __DT_BINDINGS_CLOCK_R7S72100_H__
11#define __DT_BINDINGS_CLOCK_R7S72100_H__
12
13#define R7S72100_CLK_PLL 0
14
15/* MSTP3 */
16#define R7S72100_CLK_MTU2 3
17
18/* MSTP4 */
19#define R7S72100_CLK_SCIF0 7
20#define R7S72100_CLK_SCIF1 6
21#define R7S72100_CLK_SCIF2 5
22#define R7S72100_CLK_SCIF3 4
23#define R7S72100_CLK_SCIF4 3
24#define R7S72100_CLK_SCIF5 2
25#define R7S72100_CLK_SCIF6 1
26#define R7S72100_CLK_SCIF7 0
27
28/* MSTP9 */
29#define R7S72100_CLK_I2C0 7
30#define R7S72100_CLK_I2C1 6
31#define R7S72100_CLK_I2C2 5
32#define R7S72100_CLK_I2C3 4
33
34/* MSTP10 */
35#define R7S72100_CLK_SPI0 7
36#define R7S72100_CLK_SPI1 6
37#define R7S72100_CLK_SPI2 5
38#define R7S72100_CLK_SPI3 4
39#define R7S72100_CLK_SPI4 3
40
41#endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */