diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 11:16:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 11:16:52 +0000 |
commit | 271a348cda0688e41ee54d5d246a4b4674b4dc81 (patch) | |
tree | 18e0a8d1d9e9f43bc82126d417952dff28d66eda /target/linux/mpc85xx/files/arch/powerpc | |
parent | e2e8cb83475d9a71225a5a60adb1d4ad04ed1ded (diff) | |
download | mtk-20170518-271a348cda0688e41ee54d5d246a4b4674b4dc81.zip mtk-20170518-271a348cda0688e41ee54d5d246a4b4674b4dc81.tar.gz mtk-20170518-271a348cda0688e41ee54d5d246a4b4674b4dc81.tar.bz2 |
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: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
SVN-Revision: 48275
Diffstat (limited to 'target/linux/mpc85xx/files/arch/powerpc')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts index 0d79dc0..2325006 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts @@ -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 { |