diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-05-23 12:38:54 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-06-10 11:38:50 -0400 |
commit | 83ff9dcf375c418ca3b98eb950711525ca1269e2 (patch) | |
tree | b6dae1fee27667653dbb96d47c3042108ce9d4c0 /Documentation/powerpc/booting-without-of.txt | |
parent | 5399be7f4679251e8c4c6637fde240f7ac8efdb9 (diff) |
powerpc/sysdev: implement FSL GTM support
GTM stands for General-purpose Timers Module and able to generate
timer{1,2,3,4} interrupts. These timers are used by the drivers that
need time precise interrupts (like for USB transactions scheduling for
the Freescale USB Host controller as found in some QE and CPM chips),
or these timers could be used as wakeup events from the CPU deep-sleep
mode.
Things unimplemented:
1. Cascaded (32 bit) timers (1-2, 3-4).
This is straightforward to implement when needed, two timers should
be marked as "requested" and configured as appropriate.
2. Super-cascaded (64 bit) timers (1-2-3-4).
This is also straightforward to implement when needed, all timers
should be marked as "requested" and configured as appropriate.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Documentation/powerpc/booting-without-of.txt')
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 948f6417a40b..8675ebca2cfd 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -61,6 +61,7 @@ Table of Contents | |||
61 | r) Freescale Display Interface Unit | 61 | r) Freescale Display Interface Unit |
62 | s) Freescale on board FPGA | 62 | s) Freescale on board FPGA |
63 | t) Freescael MSI interrupt controller | 63 | t) Freescael MSI interrupt controller |
64 | u) Freescale General-purpose Timers Module | ||
64 | 65 | ||
65 | VII - Marvell Discovery mv64[345]6x System Controller chips | 66 | VII - Marvell Discovery mv64[345]6x System Controller chips |
66 | 1) The /system-controller node | 67 | 1) The /system-controller node |
@@ -2907,6 +2908,37 @@ platforms are moved over to use the flattened-device-tree model. | |||
2907 | interrupt-parent = <&mpic>; | 2908 | interrupt-parent = <&mpic>; |
2908 | }; | 2909 | }; |
2909 | 2910 | ||
2911 | u) Freescale General-purpose Timers Module | ||
2912 | |||
2913 | Required properties: | ||
2914 | - compatible : should be | ||
2915 | "fsl,<chip>-gtm", "fsl,gtm" for SOC GTMs | ||
2916 | "fsl,<chip>-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs | ||
2917 | "fsl,<chip>-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs | ||
2918 | - reg : should contain gtm registers location and length (0x40). | ||
2919 | - interrupts : should contain four interrupts. | ||
2920 | - interrupt-parent : interrupt source phandle. | ||
2921 | - clock-frequency : specifies the frequency driving the timer. | ||
2922 | |||
2923 | Example: | ||
2924 | |||
2925 | timer@500 { | ||
2926 | compatible = "fsl,mpc8360-gtm", "fsl,gtm"; | ||
2927 | reg = <0x500 0x40>; | ||
2928 | interrupts = <90 8 78 8 84 8 72 8>; | ||
2929 | interrupt-parent = <&ipic>; | ||
2930 | /* filled by u-boot */ | ||
2931 | clock-frequency = <0>; | ||
2932 | }; | ||
2933 | |||
2934 | timer@440 { | ||
2935 | compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm"; | ||
2936 | reg = <0x440 0x40>; | ||
2937 | interrupts = <12 13 14 15>; | ||
2938 | interrupt-parent = <&qeic>; | ||
2939 | /* filled by u-boot */ | ||
2940 | clock-frequency = <0>; | ||
2941 | }; | ||
2910 | 2942 | ||
2911 | VII - Marvell Discovery mv64[345]6x System Controller chips | 2943 | VII - Marvell Discovery mv64[345]6x System Controller chips |
2912 | =========================================================== | 2944 | =========================================================== |