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.
Look at the Table 4 of NXP LSDK 18.06 documentation:
https://www.nxp.com/docs/en/supporting-information/LSDK-KC-REV18.06.pdf
This Table shows that IEEE1588, PTPD is not supported for the LS1012a.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------