AnsweredAssumed Answered

ls1012 ieee1588

Question asked by li zuobin on Jul 10, 2018
Latest reply on Jul 11, 2018 by Pavel Chubakov

Hello, friend.

In ls1012 or ls1043 platform,How to configure device tree for  etsec-ptp ?

 

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>;

};

ptp_timer0: ptp-timer@fe000 {
  compatible = "fsl,fman-ptp-timer", "fsl,fman-rtc";
  reg = <0xfe000 0x1000>;
};

 

Configurations can be found in lsdk18.03, but they are not applicable to ls1012 or ls1043 platforms.

Outcomes