summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ls1021a.dtsi
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2016-02-24 10:26:54 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-25 22:22:02 +0100
commit3db66fdc5fb2a4e11df63286ee7ea3a828725529 (patch)
tree24fba606461b25c2370dfab6d17bd3563851b6cd /arch/arm/boot/dts/ls1021a.dtsi
parentphy: marvell: Fix 88E1510 initialization (diff)
downloadlinux-3db66fdc5fb2a4e11df63286ee7ea3a828725529.tar.xz
linux-3db66fdc5fb2a4e11df63286ee7ea3a828725529.zip
ARM: dts: ls1021a: add 1588 timer node
Add the 1588 timer node for ls1021a platform to support gianfar ptp driver. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/ls1021a.dtsi')
-rw-r--r--arch/arm/boot/dts/ls1021a.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 2c84ca236473..ecf12dc22595 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -457,6 +457,18 @@
reg = <0x0 0x2d24000 0x0 0x4000>;
};
+ ptp_clock@2d10e00 {
+ compatible = "fsl,etsec-ptp";
+ reg = <0x0 0x2d10e00 0x0 0xb0>;
+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+ fsl,tclk-period = <5>;
+ fsl,tmr-prsc = <2>;
+ fsl,tmr-add = <0xaaaaaaab>;
+ fsl,tmr-fiper1 = <999999990>;
+ fsl,tmr-fiper2 = <99990>;
+ fsl,max-adj = <499999999>;
+ };
+
enet0: ethernet@2d10000 {
compatible = "fsl,etsec2";
device_type = "network";