forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/net/mscc-ocelot.txt
....@@ -12,14 +12,15 @@
1212 - "sys"
1313 - "rew"
1414 - "qs"
15
- - "hsio"
15
+ - "ptp" (optional due to backward compatibility)
1616 - "qsys"
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
....@@ -45,7 +46,7 @@
4546 reg = <0x1010000 0x10000>,
4647 <0x1030000 0x10000>,
4748 <0x1080000 0x100>,
48
- <0x10d0000 0x10000>,
49
+ <0x10e0000 0x10000>,
4950 <0x11e0000 0x100>,
5051 <0x11f0000 0x100>,
5152 <0x1200000 0x100>,
....@@ -59,12 +60,12 @@
5960 <0x1280000 0x100>,
6061 <0x1800000 0x80000>,
6162 <0x1880000 0x10000>;
62
- reg-names = "sys", "rew", "qs", "hsio", "port0",
63
- "port1", "port2", "port3", "port4", "port5",
64
- "port6", "port7", "port8", "port9", "port10",
65
- "qsys", "ana";
66
- interrupts = <21 22>;
67
- interrupt-names = "xtr", "inj";
63
+ reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
64
+ "port2", "port3", "port4", "port5", "port6",
65
+ "port7", "port8", "port9", "port10", "qsys",
66
+ "ana";
67
+ interrupts = <18 21 22>;
68
+ interrupt-names = "ptp_rdy", "xtr", "inj";
6869
6970 ethernet-ports {
7071 #address-cells = <1>;