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.ten...@bootlin.com> --- Documentation/devicetree/bindings/net/mscc-ocelot.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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"; -- 2.20.1