summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/dts/p2020ds.dts
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2011-04-22 12:03:54 +0200
committerJohn Stultz <john.stultz@linaro.org>2011-05-23 13:10:14 -0700
commitc78275f366c687b5b3ead3d99fc96d1f02d38a8e (patch)
tree279a8cccfc56fd347b4864c3f400935f18244a5f /arch/powerpc/boot/dts/p2020ds.dts
parentd94ba80ebbea17f036cecb104398fbcd788aa742 (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/p2020ds.dts')
-rw-r--r--arch/powerpc/boot/dts/p2020ds.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/p2020ds.dts b/arch/powerpc/boot/dts/p2020ds.dts
index 2bcf3683d223..dae403100f2f 100644
--- a/arch/powerpc/boot/dts/p2020ds.dts
+++ b/arch/powerpc/boot/dts/p2020ds.dts
@@ -178,6 +178,19 @@
};
+ ptp_clock@24E00 {
+ compatible = "fsl,etsec-ptp";
+ reg = <0x24E00 0xB0>;
+ interrupts = <68 2 69 2 70 2>;
+ interrupt-parent = < &mpic >;
+ fsl,tclk-period = <5>;
+ fsl,tmr-prsc = <200>;
+ fsl,tmr-add = <0xCCCCCCCD>;
+ fsl,tmr-fiper1 = <0x3B9AC9FB>;
+ fsl,tmr-fiper2 = <0x0001869B>;
+ fsl,max-adj = <249999999>;
+ };
+
enet0: ethernet@24000 {
tbi-handle = <&tbi0>;
phy-handle = <&phy0>;