diff options
author | Richard Cochran <richardcochran@gmail.com> | 2011-04-22 06:03:54 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-05-23 16:10:14 -0400 |
commit | c78275f366c687b5b3ead3d99fc96d1f02d38a8e (patch) | |
tree | 279a8cccfc56fd347b4864c3f400935f18244a5f /arch/powerpc/boot/dts/mpc8313erdb.dts | |
parent | d94ba80ebbea17f036cecb104398fbcd788aa742 (diff) |
ptp: Added a clock that uses the eTSEC found on the MPC85xx.
The eTSEC includes a PTP clock with quite a few features. This patch adds
support for the basic clock adjustment functions, plus two external time
stamps, one alarm, and the PPS callback.
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8313erdb.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8313erdb.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts index 761faa7b6964..ac1eb320c7b4 100644 --- a/arch/powerpc/boot/dts/mpc8313erdb.dts +++ b/arch/powerpc/boot/dts/mpc8313erdb.dts | |||
@@ -176,6 +176,19 @@ | |||
176 | sleep = <&pmc 0x00300000>; | 176 | sleep = <&pmc 0x00300000>; |
177 | }; | 177 | }; |
178 | 178 | ||
179 | ptp_clock@24E00 { | ||
180 | compatible = "fsl,etsec-ptp"; | ||
181 | reg = <0x24E00 0xB0>; | ||
182 | interrupts = <12 0x8 13 0x8>; | ||
183 | interrupt-parent = < &ipic >; | ||
184 | fsl,tclk-period = <10>; | ||
185 | fsl,tmr-prsc = <100>; | ||
186 | fsl,tmr-add = <0x999999A4>; | ||
187 | fsl,tmr-fiper1 = <0x3B9AC9F6>; | ||
188 | fsl,tmr-fiper2 = <0x00018696>; | ||
189 | fsl,max-adj = <659999998>; | ||
190 | }; | ||
191 | |||
179 | enet0: ethernet@24000 { | 192 | enet0: ethernet@24000 { |
180 | #address-cells = <1>; | 193 | #address-cells = <1>; |
181 | #size-cells = <1>; | 194 | #size-cells = <1>; |