diff mbox series

[net-next,2/8] MIPS: dts: mscc: describe VCAP and PTP register ranges

Message ID 20190117100212.2336-3-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
This patch adds two register ranges within the mscc,vsc7514-switch node,
to describe the VCAP and PTP registers.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
---
 arch/mips/boot/dts/mscc/ocelot.dtsi | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi
index 90c60d42f571..bb81652bebe8 100644
--- a/arch/mips/boot/dts/mscc/ocelot.dtsi
+++ b/arch/mips/boot/dts/mscc/ocelot.dtsi
@@ -119,7 +119,9 @@ 
 			compatible = "mscc,vsc7514-switch";
 			reg = <0x1010000 0x10000>,
 			      <0x1030000 0x10000>,
+			      <0x1060000 0x10000>,
 			      <0x1080000 0x100>,
+			      <0x10e0000 0x10000>,
 			      <0x11e0000 0x100>,
 			      <0x11f0000 0x100>,
 			      <0x1200000 0x100>,
@@ -133,10 +135,10 @@ 
 			      <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";