]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: mscc: add DT for Ocelot PCB120
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 8 Oct 2018 10:14:44 +0000 (12:14 +0200)
committerPaul Burton <paul.burton@mips.com>
Tue, 9 Oct 2018 17:37:27 +0000 (10:37 -0700)
commit116edf6e5239ee834ae4a8c122f319a298ef052b
treee3df0513cafc45196b9dcf12bc03a5918ce33cad
parent68dec269ee29c3abfd09596fbee7e40d875a6ab3
MIPS: mscc: add DT for Ocelot PCB120

The Ocelot PCB120 evaluation board is different from the PCB123 in that
it has 4 external VSC8584 (or VSC8574) PHYs.

It uses the SoC's second MDIO bus for external PHYs which have a
reversed address on the bus (i.e. PHY4 is on address 3, PHY5 is on
address 2, PHY6 on 1 and PHY7 on 0).

Here is how the PHYs are connected to the switch ports:
port 0: phy0 (internal)
port 1: phy1 (internal)
port 2: phy2 (internal)
port 3: phy3 (internal)
port 4: phy7
port 5: phy4
port 6: phy6
port 9: phy5

Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20869/
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: robh+dt@kernel.org
Cc: mark.rutland@arm.com
Cc: davem@davemloft.net
Cc: andrew@lunn.ch
Cc: f.fainelli@gmail.com
Cc: allan.nielsen@microchip.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: thomas.petazzoni@bootlin.com
Cc: antoine.tenart@bootlin.com
arch/mips/boot/dts/mscc/Makefile
arch/mips/boot/dts/mscc/ocelot_pcb120.dts [new file with mode: 0644]