ARM: dts: ls1021a: add 1588 timer node
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 24 Feb 2016 09:26:54 +0000 (17:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 21:22:02 +0000 (16:22 -0500)
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>
arch/arm/boot/dts/ls1021a.dtsi

index 2c84ca236473a10d8381666ef921a29a3ab395e0..ecf12dc225953d08c0b9e68ec3fe3f1ac50f1c67 100644 (file)
                        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";