diff options
author | Olof Johansson <olof@lixom.net> | 2014-01-04 00:09:51 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-01-04 00:09:51 -0500 |
commit | 11b35a352521b740944455b45dbee190e9c893a4 (patch) | |
tree | aa5bc9a24cb6290aaed5476990f0e5a05442ff38 /include/dt-bindings | |
parent | 5631e7f4e29b1ebf3d856614c0b5876463857da6 (diff) | |
parent | b652896b02df3dfde3a68957cce01f2aa4585842 (diff) |
Merge tag 'renesas-dt3-for-v3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt
From Simon Horman:
Third Round of Renesas ARM Based SoC DT Updates for v3.14
* r8a7791 (R-Car M2) and r8a7790 (R-Car H2) SoCSs
- Add SSI, QSPI and MSIOF clocks in device tree
r8a7791 (R-Car M2) based Koelsch and r8a7790 (R-Car H2) based Lager boards
- Remove reference DTS
- Specify external clock frequency in DT
- Sync non-reference DTS with referene DTS
- Add clocks to DTS
* r8a7740 (R-Mobile A1) based Armadillo board
- Add gpio-keys device
- Add PWM backlight enable GPIO
- Add PWM backlight power supply
* r8a73a0 (SH-Mobile AG5), r8a7740 (R-Mobile A1) and
r8a73a4 (SH-Mobile APE6) SoCs
- Specify PFC interrupts in DT
* tag 'renesas-dt3-for-v3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (72 commits)
ARM: shmobile: r8a7791: Add SSI clocks in device tree
ARM: shmobile: r8a7790: Add SSI clocks in device tree
ARM: shmobile: r8a7791: Add QSPI module clock in device tree
ARM: shmobile: r8a7790: Add QSPI module clock in device tree
ARM: shmobile: r8a7791: Add MSIOF clocks in device tree
ARM: shmobile: r8a7790: Add MSIOF clocks in device tree
ARM: shmobile: Remove Koelsch reference DTS
ARM: shmobile: Remove Lager reference DTS
ARM: shmobile: koelsch: Specify external clock frequency in DT
ARM: shmobile: lager: Specify external clock frequency in DT
ARM: shmobile: Sync Koelsch DTS with Koelsch reference DTS
ARM: shmobile: Sync Lager DTS with Lager reference DTS
ARM: shmobile: r8a7791: Add clocks
ARM: shmobile: r8a7790: Reference clocks
ARM: shmobile: r8a7790: Add clocks
ARM: shmobile: armadillo: dts: Add gpio-keys device
ARM: shmobile: sh73a0: Specify PFC interrupts in DT
ARM: shmobile: r8a7740: Specify PFC interrupts in DT
ARM: shmobile: r8a73a4: Specify PFC interrupts in DT
ARM: shmobile: armadillo: dts: Add PWM backlight enable GPIO
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/clock/r8a7790-clock.h | 120 | ||||
-rw-r--r-- | include/dt-bindings/clock/r8a7791-clock.h | 124 |
2 files changed, 244 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h new file mode 100644 index 000000000000..dbb262a3e7a6 --- /dev/null +++ b/include/dt-bindings/clock/r8a7790-clock.h | |||
@@ -0,0 +1,120 @@ | |||
1 | /* | ||
2 | * Copyright 2013 Ideas On Board SPRL | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_R8A7790_H__ | ||
11 | #define __DT_BINDINGS_CLOCK_R8A7790_H__ | ||
12 | |||
13 | /* CPG */ | ||
14 | #define R8A7790_CLK_MAIN 0 | ||
15 | #define R8A7790_CLK_PLL0 1 | ||
16 | #define R8A7790_CLK_PLL1 2 | ||
17 | #define R8A7790_CLK_PLL3 3 | ||
18 | #define R8A7790_CLK_LB 4 | ||
19 | #define R8A7790_CLK_QSPI 5 | ||
20 | #define R8A7790_CLK_SDH 6 | ||
21 | #define R8A7790_CLK_SD0 7 | ||
22 | #define R8A7790_CLK_SD1 8 | ||
23 | #define R8A7790_CLK_Z 9 | ||
24 | |||
25 | /* MSTP0 */ | ||
26 | #define R8A7790_CLK_MSIOF0 0 | ||
27 | |||
28 | /* MSTP1 */ | ||
29 | #define R8A7790_CLK_TMU1 11 | ||
30 | #define R8A7790_CLK_TMU3 21 | ||
31 | #define R8A7790_CLK_TMU2 22 | ||
32 | #define R8A7790_CLK_CMT0 24 | ||
33 | #define R8A7790_CLK_TMU0 25 | ||
34 | #define R8A7790_CLK_VSP1_DU1 27 | ||
35 | #define R8A7790_CLK_VSP1_DU0 28 | ||
36 | #define R8A7790_CLK_VSP1_RT 30 | ||
37 | #define R8A7790_CLK_VSP1_SY 31 | ||
38 | |||
39 | /* MSTP2 */ | ||
40 | #define R8A7790_CLK_SCIFA2 2 | ||
41 | #define R8A7790_CLK_SCIFA1 3 | ||
42 | #define R8A7790_CLK_SCIFA0 4 | ||
43 | #define R8A7790_CLK_MSIOF2 5 | ||
44 | #define R8A7790_CLK_SCIFB0 6 | ||
45 | #define R8A7790_CLK_SCIFB1 7 | ||
46 | #define R8A7790_CLK_MSIOF1 8 | ||
47 | #define R8A7790_CLK_MSIOF3 15 | ||
48 | #define R8A7790_CLK_SCIFB2 16 | ||
49 | #define R8A7790_CLK_SYS_DMAC0 18 | ||
50 | #define R8A7790_CLK_SYS_DMAC1 19 | ||
51 | |||
52 | /* MSTP3 */ | ||
53 | #define R8A7790_CLK_TPU0 4 | ||
54 | #define R8A7790_CLK_MMCIF1 5 | ||
55 | #define R8A7790_CLK_SDHI3 11 | ||
56 | #define R8A7790_CLK_SDHI2 12 | ||
57 | #define R8A7790_CLK_SDHI1 13 | ||
58 | #define R8A7790_CLK_SDHI0 14 | ||
59 | #define R8A7790_CLK_MMCIF0 15 | ||
60 | #define R8A7790_CLK_SSUSB 28 | ||
61 | #define R8A7790_CLK_CMT1 29 | ||
62 | #define R8A7790_CLK_USBDMAC0 30 | ||
63 | #define R8A7790_CLK_USBDMAC1 31 | ||
64 | |||
65 | /* MSTP5 */ | ||
66 | #define R8A7790_CLK_THERMAL 22 | ||
67 | #define R8A7790_CLK_PWM 23 | ||
68 | |||
69 | /* MSTP7 */ | ||
70 | #define R8A7790_CLK_EHCI 3 | ||
71 | #define R8A7790_CLK_HSUSB 4 | ||
72 | #define R8A7790_CLK_HSCIF1 16 | ||
73 | #define R8A7790_CLK_HSCIF0 17 | ||
74 | #define R8A7790_CLK_SCIF1 20 | ||
75 | #define R8A7790_CLK_SCIF0 21 | ||
76 | #define R8A7790_CLK_DU2 22 | ||
77 | #define R8A7790_CLK_DU1 23 | ||
78 | #define R8A7790_CLK_DU0 24 | ||
79 | #define R8A7790_CLK_LVDS1 25 | ||
80 | #define R8A7790_CLK_LVDS0 26 | ||
81 | |||
82 | /* MSTP8 */ | ||
83 | #define R8A7790_CLK_VIN3 8 | ||
84 | #define R8A7790_CLK_VIN2 9 | ||
85 | #define R8A7790_CLK_VIN1 10 | ||
86 | #define R8A7790_CLK_VIN0 11 | ||
87 | #define R8A7790_CLK_ETHER 13 | ||
88 | #define R8A7790_CLK_SATA1 14 | ||
89 | #define R8A7790_CLK_SATA0 15 | ||
90 | |||
91 | /* MSTP9 */ | ||
92 | #define R8A7790_CLK_GPIO5 7 | ||
93 | #define R8A7790_CLK_GPIO4 8 | ||
94 | #define R8A7790_CLK_GPIO3 9 | ||
95 | #define R8A7790_CLK_GPIO2 10 | ||
96 | #define R8A7790_CLK_GPIO1 11 | ||
97 | #define R8A7790_CLK_GPIO0 12 | ||
98 | #define R8A7790_CLK_RCAN1 15 | ||
99 | #define R8A7790_CLK_RCAN0 16 | ||
100 | #define R8A7790_CLK_QSPI_MOD 17 | ||
101 | #define R8A7790_CLK_IICDVFS 26 | ||
102 | #define R8A7790_CLK_I2C3 28 | ||
103 | #define R8A7790_CLK_I2C2 29 | ||
104 | #define R8A7790_CLK_I2C1 30 | ||
105 | #define R8A7790_CLK_I2C0 31 | ||
106 | |||
107 | /* MSTP10 */ | ||
108 | #define R8A7790_CLK_SSI 5 | ||
109 | #define R8A7790_CLK_SSI9 6 | ||
110 | #define R8A7790_CLK_SSI8 7 | ||
111 | #define R8A7790_CLK_SSI7 8 | ||
112 | #define R8A7790_CLK_SSI6 9 | ||
113 | #define R8A7790_CLK_SSI5 10 | ||
114 | #define R8A7790_CLK_SSI4 11 | ||
115 | #define R8A7790_CLK_SSI3 12 | ||
116 | #define R8A7790_CLK_SSI2 13 | ||
117 | #define R8A7790_CLK_SSI1 14 | ||
118 | #define R8A7790_CLK_SSI0 15 | ||
119 | |||
120 | #endif /* __DT_BINDINGS_CLOCK_R8A7790_H__ */ | ||
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h new file mode 100644 index 000000000000..1c8f00d0d88b --- /dev/null +++ b/include/dt-bindings/clock/r8a7791-clock.h | |||
@@ -0,0 +1,124 @@ | |||
1 | /* | ||
2 | * Copyright 2013 Ideas On Board SPRL | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_R8A7791_H__ | ||
11 | #define __DT_BINDINGS_CLOCK_R8A7791_H__ | ||
12 | |||
13 | /* CPG */ | ||
14 | #define R8A7791_CLK_MAIN 0 | ||
15 | #define R8A7791_CLK_PLL0 1 | ||
16 | #define R8A7791_CLK_PLL1 2 | ||
17 | #define R8A7791_CLK_PLL3 3 | ||
18 | #define R8A7791_CLK_LB 4 | ||
19 | #define R8A7791_CLK_QSPI 5 | ||
20 | #define R8A7791_CLK_SDH 6 | ||
21 | #define R8A7791_CLK_SD0 7 | ||
22 | #define R8A7791_CLK_Z 8 | ||
23 | |||
24 | /* MSTP0 */ | ||
25 | #define R8A7791_CLK_MSIOF0 0 | ||
26 | |||
27 | /* MSTP1 */ | ||
28 | #define R8A7791_CLK_TMU1 11 | ||
29 | #define R8A7791_CLK_TMU3 21 | ||
30 | #define R8A7791_CLK_TMU2 22 | ||
31 | #define R8A7791_CLK_CMT0 24 | ||
32 | #define R8A7791_CLK_TMU0 25 | ||
33 | #define R8A7791_CLK_VSP1_DU1 27 | ||
34 | #define R8A7791_CLK_VSP1_DU0 28 | ||
35 | #define R8A7791_CLK_VSP1_SY 31 | ||
36 | |||
37 | /* MSTP2 */ | ||
38 | #define R8A7791_CLK_SCIFA2 2 | ||
39 | #define R8A7791_CLK_SCIFA1 3 | ||
40 | #define R8A7791_CLK_SCIFA0 4 | ||
41 | #define R8A7791_CLK_MSIOF2 5 | ||
42 | #define R8A7791_CLK_SCIFB0 6 | ||
43 | #define R8A7791_CLK_SCIFB1 7 | ||
44 | #define R8A7791_CLK_MSIOF1 8 | ||
45 | #define R8A7791_CLK_SCIFB2 16 | ||
46 | #define R8A7791_CLK_DMAC 18 | ||
47 | |||
48 | /* MSTP3 */ | ||
49 | #define R8A7791_CLK_TPU0 4 | ||
50 | #define R8A7791_CLK_SDHI2 11 | ||
51 | #define R8A7791_CLK_SDHI1 12 | ||
52 | #define R8A7791_CLK_SDHI0 14 | ||
53 | #define R8A7791_CLK_MMCIF0 15 | ||
54 | #define R8A7791_CLK_SSUSB 28 | ||
55 | #define R8A7791_CLK_CMT1 29 | ||
56 | #define R8A7791_CLK_USBDMAC0 30 | ||
57 | #define R8A7791_CLK_USBDMAC1 31 | ||
58 | |||
59 | /* MSTP5 */ | ||
60 | #define R8A7791_CLK_THERMAL 22 | ||
61 | #define R8A7791_CLK_PWM 23 | ||
62 | |||
63 | /* MSTP7 */ | ||
64 | #define R8A7791_CLK_HSUSB 4 | ||
65 | #define R8A7791_CLK_HSCIF2 13 | ||
66 | #define R8A7791_CLK_SCIF5 14 | ||
67 | #define R8A7791_CLK_SCIF4 15 | ||
68 | #define R8A7791_CLK_HSCIF1 16 | ||
69 | #define R8A7791_CLK_HSCIF0 17 | ||
70 | #define R8A7791_CLK_SCIF3 18 | ||
71 | #define R8A7791_CLK_SCIF2 19 | ||
72 | #define R8A7791_CLK_SCIF1 20 | ||
73 | #define R8A7791_CLK_SCIF0 21 | ||
74 | #define R8A7791_CLK_DU1 23 | ||
75 | #define R8A7791_CLK_DU0 24 | ||
76 | #define R8A7791_CLK_LVDS0 26 | ||
77 | |||
78 | /* MSTP8 */ | ||
79 | #define R8A7791_CLK_VIN2 9 | ||
80 | #define R8A7791_CLK_VIN1 10 | ||
81 | #define R8A7791_CLK_VIN0 11 | ||
82 | #define R8A7791_CLK_ETHER 13 | ||
83 | #define R8A7791_CLK_SATA1 14 | ||
84 | #define R8A7791_CLK_SATA0 15 | ||
85 | |||
86 | /* MSTP9 */ | ||
87 | #define R8A7791_CLK_GPIO7 4 | ||
88 | #define R8A7791_CLK_GPIO6 5 | ||
89 | #define R8A7791_CLK_GPIO5 7 | ||
90 | #define R8A7791_CLK_GPIO4 8 | ||
91 | #define R8A7791_CLK_GPIO3 9 | ||
92 | #define R8A7791_CLK_GPIO2 10 | ||
93 | #define R8A7791_CLK_GPIO1 11 | ||
94 | #define R8A7791_CLK_GPIO0 12 | ||
95 | #define R8A7791_CLK_RCAN1 15 | ||
96 | #define R8A7791_CLK_RCAN0 16 | ||
97 | #define R8A7791_CLK_QSPI_MOD 17 | ||
98 | #define R8A7791_CLK_I2C5 25 | ||
99 | #define R8A7791_CLK_IICDVFS 26 | ||
100 | #define R8A7791_CLK_I2C4 27 | ||
101 | #define R8A7791_CLK_I2C3 28 | ||
102 | #define R8A7791_CLK_I2C2 29 | ||
103 | #define R8A7791_CLK_I2C1 30 | ||
104 | #define R8A7791_CLK_I2C0 31 | ||
105 | |||
106 | /* MSTP10 */ | ||
107 | #define R8A7791_CLK_SSI 5 | ||
108 | #define R8A7791_CLK_SSI9 6 | ||
109 | #define R8A7791_CLK_SSI8 7 | ||
110 | #define R8A7791_CLK_SSI7 8 | ||
111 | #define R8A7791_CLK_SSI6 9 | ||
112 | #define R8A7791_CLK_SSI5 10 | ||
113 | #define R8A7791_CLK_SSI4 11 | ||
114 | #define R8A7791_CLK_SSI3 12 | ||
115 | #define R8A7791_CLK_SSI2 13 | ||
116 | #define R8A7791_CLK_SSI1 14 | ||
117 | #define R8A7791_CLK_SSI0 15 | ||
118 | |||
119 | /* MSTP11 */ | ||
120 | #define R8A7791_CLK_SCIFA3 6 | ||
121 | #define R8A7791_CLK_SCIFA4 7 | ||
122 | #define R8A7791_CLK_SCIFA5 8 | ||
123 | |||
124 | #endif /* __DT_BINDINGS_CLOCK_R8A7791_H__ */ | ||