MIPS: Octeon: Add Octeon III CN7xxx interface detection
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Wed, 3 Feb 2016 18:01:36 +0000 (18:01 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:54 +0000 (14:01 +0200)
commit885872b722b73b2026a48bdff4621f289be2b044
treedb4240ac65a984a4e554e87abfcbeb8e7b8d2398
parent04cc89d120f94131de89a6e20da27016db4782ce
MIPS: Octeon: Add Octeon III CN7xxx interface detection

Add basic CN7XXX interface detection.

This allows the kernel to boot with ethernet working as it initializes
the ethernet ports with SGMII instead of defaulting to RGMII routines.

Tested on the utm8 from Rhino Labs with a CN7130.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Acked-by: David Daney <david.daney@cavium.com>
Cc: janne.huttunen@nokia.com
Cc: aaro.koskinen@nokia.com
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12376/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/executive/cvmx-helper.c