diff mbox series

[net-next,1/8] Documentation/bindings: net: ocelot: document the VCAP and PTP banks

Message ID 20190117100212.2336-2-antoine.tenart@bootlin.com (mailing list archive)
State Changes Requested
Headers show
Series net: mscc: PTP offloading support | expand

Commit Message

Antoine Tenart Jan. 17, 2019, 10:02 a.m. UTC
Two additional register ranges needs to be described within the Ocelot
device tree node: the VCAP and the PTP ones. This patch documents the
binding needed to do so.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
---
 Documentation/devicetree/bindings/net/mscc-ocelot.txt | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/mscc-ocelot.txt b/Documentation/devicetree/bindings/net/mscc-ocelot.txt
index 9e5c17d426ce..08bc8d7f0c99 100644
--- a/Documentation/devicetree/bindings/net/mscc-ocelot.txt
+++ b/Documentation/devicetree/bindings/net/mscc-ocelot.txt
@@ -11,7 +11,9 @@  Required properties:
 - reg-names: Must include the following entries:
   - "sys"
   - "rew"
+  - "vcap"
   - "qs"
+  - "ptp"
   - "qsys"
   - "ana"
   - "portX" with X from 0 to the number of last port index available on that
@@ -43,7 +45,9 @@  Example:
 		compatible = "mscc,vsc7514-switch";
 		reg = <0x1010000 0x10000>,
 		      <0x1030000 0x10000>,
+		      <0x1060000 0x10000>,
 		      <0x1080000 0x100>,
+		      <0x10e0000 0x10000>,
 		      <0x11e0000 0x100>,
 		      <0x11f0000 0x100>,
 		      <0x1200000 0x100>,
@@ -57,9 +61,10 @@  Example:
 		      <0x1280000 0x100>,
 		      <0x1800000 0x80000>,
 		      <0x1880000 0x10000>;
-		reg-names = "sys", "rew", "qs", "port0", "port1", "port2",
-			    "port3", "port4", "port5", "port6", "port7",
-			    "port8", "port9", "port10", "qsys", "ana";
+		reg-names = "sys", "rew", "vcap", "qs", "ptp", "port0",
+			    "port1", "port2", "port3", "port4", "port5",
+			    "port6", "port7", "port8", "port9", "port10",
+			    "qsys", "ana";
 		interrupts = <21 22>;
 		interrupt-names = "xtr", "inj";