Skip to content

Commit 744350b

Browse files
atenartdavem330
authored andcommitted
Documentation/bindings: net: ocelot: document the PTP ready IRQ
One additional interrupt needs to be described within the Ocelot device tree node: the PTP ready one. This patch documents the binding needed to do so. Signed-off-by: Antoine Tenart <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e36ea63 commit 744350b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Documentation/devicetree/bindings/net/mscc-ocelot.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ Required properties:
1717
- "ana"
1818
- "portX" with X from 0 to the number of last port index available on that
1919
switch
20-
- interrupts: Should contain the switch interrupts for frame extraction and
21-
frame injection
22-
- interrupt-names: should contain the interrupt names: "xtr", "inj"
20+
- interrupts: Should contain the switch interrupts for frame extraction,
21+
frame injection and PTP ready.
22+
- interrupt-names: should contain the interrupt names: "xtr", "inj". Can contain
23+
"ptp_rdy" which is optional due to backward compatibility.
2324
- ethernet-ports: A container for child nodes representing switch ports.
2425

2526
The ethernet-ports container has the following properties
@@ -63,8 +64,8 @@ Example:
6364
"port2", "port3", "port4", "port5", "port6",
6465
"port7", "port8", "port9", "port10", "qsys",
6566
"ana";
66-
interrupts = <21 22>;
67-
interrupt-names = "xtr", "inj";
67+
interrupts = <18 21 22>;
68+
interrupt-names = "ptp_rdy", "xtr", "inj";
6869

6970
ethernet-ports {
7071
#address-cells = <1>;

0 commit comments

Comments
 (0)