diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-05-14 15:04:16 -0400 |
---|---|---|
committer | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-05-19 17:02:24 -0400 |
commit | d8c64c21b4221efe087af3b183563b47d8f7d280 (patch) | |
tree | 21bbc22ddd004cef9cc906d0336d1995bdfda343 | |
parent | 55a4b07aaa7eb9dde7df2ee681ac9aa1d0fbd698 (diff) |
clk: berlin: add binding include for Berlin SoC clock ids
This adds a dt-binding include for Marvell Berlin BG2/BG2CD and BG2Q
core clock IDs.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r-- | include/dt-bindings/clock/berlin2.h | 45 | ||||
-rw-r--r-- | include/dt-bindings/clock/berlin2q.h | 31 |
2 files changed, 76 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/berlin2.h b/include/dt-bindings/clock/berlin2.h new file mode 100644 index 000000000000..0c30800175df --- /dev/null +++ b/include/dt-bindings/clock/berlin2.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * Berlin2 BG2/BG2CD clock tree IDs | ||
3 | */ | ||
4 | |||
5 | #define CLKID_SYS 0 | ||
6 | #define CLKID_CPU 1 | ||
7 | #define CLKID_DRMFIGO 2 | ||
8 | #define CLKID_CFG 3 | ||
9 | #define CLKID_GFX 4 | ||
10 | #define CLKID_ZSP 5 | ||
11 | #define CLKID_PERIF 6 | ||
12 | #define CLKID_PCUBE 7 | ||
13 | #define CLKID_VSCOPE 8 | ||
14 | #define CLKID_NFC_ECC 9 | ||
15 | #define CLKID_VPP 10 | ||
16 | #define CLKID_APP 11 | ||
17 | #define CLKID_AUDIO0 12 | ||
18 | #define CLKID_AUDIO2 13 | ||
19 | #define CLKID_AUDIO3 14 | ||
20 | #define CLKID_AUDIO1 15 | ||
21 | #define CLKID_GFX3D_CORE 16 | ||
22 | #define CLKID_GFX3D_SYS 17 | ||
23 | #define CLKID_ARC 18 | ||
24 | #define CLKID_VIP 19 | ||
25 | #define CLKID_SDIO0XIN 20 | ||
26 | #define CLKID_SDIO1XIN 21 | ||
27 | #define CLKID_GFX3D_EXTRA 22 | ||
28 | #define CLKID_GC360 23 | ||
29 | #define CLKID_SDIO_DLLMST 24 | ||
30 | #define CLKID_GETH0 25 | ||
31 | #define CLKID_GETH1 26 | ||
32 | #define CLKID_SATA 27 | ||
33 | #define CLKID_AHBAPB 28 | ||
34 | #define CLKID_USB0 29 | ||
35 | #define CLKID_USB1 30 | ||
36 | #define CLKID_PBRIDGE 31 | ||
37 | #define CLKID_SDIO0 32 | ||
38 | #define CLKID_SDIO1 33 | ||
39 | #define CLKID_NFC 34 | ||
40 | #define CLKID_SMEMC 35 | ||
41 | #define CLKID_AUDIOHD 36 | ||
42 | #define CLKID_VIDEO0 37 | ||
43 | #define CLKID_VIDEO1 38 | ||
44 | #define CLKID_VIDEO2 39 | ||
45 | #define CLKID_TWD 40 | ||
diff --git a/include/dt-bindings/clock/berlin2q.h b/include/dt-bindings/clock/berlin2q.h new file mode 100644 index 000000000000..287fc3b4afb2 --- /dev/null +++ b/include/dt-bindings/clock/berlin2q.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * Berlin2 BG2Q clock tree IDs | ||
3 | */ | ||
4 | |||
5 | #define CLKID_SYS 0 | ||
6 | #define CLKID_DRMFIGO 1 | ||
7 | #define CLKID_CFG 2 | ||
8 | #define CLKID_GFX2D 3 | ||
9 | #define CLKID_ZSP 4 | ||
10 | #define CLKID_PERIF 5 | ||
11 | #define CLKID_PCUBE 6 | ||
12 | #define CLKID_VSCOPE 7 | ||
13 | #define CLKID_NFC_ECC 8 | ||
14 | #define CLKID_VPP 9 | ||
15 | #define CLKID_APP 10 | ||
16 | #define CLKID_SDIO0XIN 11 | ||
17 | #define CLKID_SDIO1XIN 12 | ||
18 | #define CLKID_GFX2DAXI 13 | ||
19 | #define CLKID_GETH0 14 | ||
20 | #define CLKID_SATA 15 | ||
21 | #define CLKID_AHBAPB 16 | ||
22 | #define CLKID_USB0 17 | ||
23 | #define CLKID_USB1 18 | ||
24 | #define CLKID_USB2 19 | ||
25 | #define CLKID_USB3 20 | ||
26 | #define CLKID_PBRIDGE 21 | ||
27 | #define CLKID_SDIO 22 | ||
28 | #define CLKID_NFC 23 | ||
29 | #define CLKID_SMEMC 24 | ||
30 | #define CLKID_PCIE 25 | ||
31 | #define CLKID_TWD 26 | ||