Skip to content
Snippets Groups Projects
Commit 271a348c authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mpc85xx: Add PTP node for TL-WD4900 in device tree


PTP requires at least one timer to be 1PPS so describe it.
For testing, load kernel module gianfar_ptp and use ptp4l
from linuxptp.

Copied from FSL P1010RDB reference design.

Signed-off-by: default avatarWojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 48275
parent e2e8cb83
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,19 @@
can1: can@1d000 {
status = "disabled";
};
ptp_clock@b0e00 {
compatible = "fsl,etsec-ptp";
reg = <0xb0e00 0xb0>;
interrupts = <68 2 0 0 69 2 0 0 70 2 0 0>;
fsl,cksel = <1>;
fsl,tclk-period = <5>;
fsl,tmr-prsc = <2>;
fsl,tmr-add = <0xcccccccd>;
fsl,tmr-fiper1 = <0x3b9ac9fb>; /* 1PPS */
fsl,tmr-fiper2 = <0x00018696>;
fsl,max-adj = <249999999>;
};
};
pci0: pcie@ffe09000 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment