MIPS: mscc: ocelot: fix length of memory address space for MIIM
authorQuentin Schulz <quentin.schulz@bootlin.com>
Wed, 25 Jul 2018 12:21:32 +0000 (14:21 +0200)
committerPaul Burton <paul.burton@mips.com>
Thu, 26 Jul 2018 17:34:58 +0000 (10:34 -0700)
The length of memory address space for MIIM0 is from 0x7107009c to
0x710700bf included which is 36 bytes long in decimal, or 0x24 bytes in
hexadecimal and not 0x36.

Fixes: 49b031690abe ("MIPS: mscc: Add switch to ocelot")
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20013/
Cc: robh+dt@kernel.org
Cc: mark.rutland@arm.com
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: thomas.petazzoni@bootlin.com
arch/mips/boot/dts/mscc/ocelot.dtsi

index 4f33dbc6734824142968b1062119b50a83475557..7096915f26e0dd60f4ce2fbd9d35fec9d3b25405 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "mscc,ocelot-miim";
-                       reg = <0x107009c 0x36>, <0x10700f0 0x8>;
+                       reg = <0x107009c 0x24>, <0x10700f0 0x8>;
                        interrupts = <14>;
                        status = "disabled";