Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cb785b4 authored by Yangbo Lu's avatar Yangbo Lu Committed by David S. Miller
Browse files

dt-binding: ptp_qoriq: add DPAA FMan support



This patch is to add bindings description for DPAA
FMan 1588 timer, and also remove its description in
fsl-fman dt-bindings document.

Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
Acked-by: default avatarMadalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a8f62d0c
Loading
Loading
Loading
Loading
+1 −24
Original line number Original line Diff line number Diff line
@@ -356,30 +356,7 @@ ethernet@e0000 {
============================================================================
============================================================================
FMan IEEE 1588 Node
FMan IEEE 1588 Node


DESCRIPTION
Refer to Documentation/devicetree/bindings/ptp/ptp-qoriq.txt

The FMan interface to support IEEE 1588


PROPERTIES

- compatible
		Usage: required
		Value type: <stringlist>
		Definition: A standard property.
		Must include "fsl,fman-ptp-timer".

- reg
		Usage: required
		Value type: <prop-encoded-array>
		Definition: A standard property.

EXAMPLE

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


=============================================================================
=============================================================================
FMan MDIO Node
FMan MDIO Node
+12 −3
Original line number Original line Diff line number Diff line
@@ -2,7 +2,8 @@


General Properties:
General Properties:


  - compatible   Should be "fsl,etsec-ptp"
  - compatible   Should be "fsl,etsec-ptp" for eTSEC
                 Should be "fsl,fman-ptp-timer" for DPAA FMan
  - reg          Offset and length of the register set for the device
  - reg          Offset and length of the register set for the device
  - interrupts   There should be at least two interrupts. Some devices
  - interrupts   There should be at least two interrupts. Some devices
                 have as many as four PTP related interrupts.
                 have as many as four PTP related interrupts.
@@ -43,14 +44,22 @@ Clock Properties:
  value, which will be directly written in those bits, that is why,
  value, which will be directly written in those bits, that is why,
  according to reference manual, the next clock sources can be used:
  according to reference manual, the next clock sources can be used:


  For eTSEC,
  <0> - external high precision timer reference clock (TSEC_TMR_CLK
  <0> - external high precision timer reference clock (TSEC_TMR_CLK
        input is used for this purpose);
        input is used for this purpose);
  <1> - eTSEC system clock;
  <1> - eTSEC system clock;
  <2> - eTSEC1 transmit clock;
  <2> - eTSEC1 transmit clock;
  <3> - RTC clock input.
  <3> - RTC clock input.


  When this attribute is not used, eTSEC system clock will serve as
  For DPAA FMan,
  IEEE 1588 timer reference clock.
  <0> - external high precision timer reference clock (TMR_1588_CLK)
  <1> - MAC system clock (1/2 FMan clock)
  <2> - reserved
  <3> - RTC clock oscillator

  When this attribute is not used, the IEEE 1588 timer reference clock
  will use the eTSEC system clock (for Gianfar) or the MAC system
  clock (for DPAA).


Example:
Example: