mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 10:30:32 +00:00
46471e6c1d
There is a new eDPU revision that uses Marvell 88E6361 switch onboard. We can rely on detecting the switch to enable and fixup the Linux DTS so a single DTS can be used. There is currently no support for the 88E6361 switch and thus no working networking in U-Boot, so we disable both ports. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Reviewed-by: Stefan Roese <sr@denx.de>
61 lines
1.1 KiB
Text
61 lines
1.1 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/dts-v1/;
|
|
|
|
#include "armada-3720-uDPU.dtsi"
|
|
|
|
/ {
|
|
model = "Methode eDPU Board";
|
|
compatible = "methode,edpu", "marvell,armada3720", "marvell,armada3710";
|
|
};
|
|
|
|
ð0 {
|
|
phy-mode = "2500base-x";
|
|
};
|
|
|
|
/*
|
|
* External MV88E6361 switch is only available on v2 of the board.
|
|
* U-Boot will enable the MDIO bus and switch nodes.
|
|
*/
|
|
&mdio {
|
|
status = "disabled";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&smi_pins>;
|
|
|
|
/* Actual device is MV88E6361 */
|
|
switch: switch@0 {
|
|
compatible = "marvell,mv88e6190";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0>;
|
|
status = "disabled";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
label = "cpu";
|
|
phy-mode = "2500base-x";
|
|
managed = "in-band-status";
|
|
ethernet = <ð0>;
|
|
};
|
|
|
|
port@9 {
|
|
reg = <9>;
|
|
label = "downlink";
|
|
phy-mode = "2500base-x";
|
|
managed = "in-band-status";
|
|
};
|
|
|
|
port@a {
|
|
reg = <10>;
|
|
label = "uplink";
|
|
phy-mode = "2500base-x";
|
|
managed = "in-band-status";
|
|
sfp = <&sfp_eth1>;
|
|
};
|
|
};
|
|
};
|
|
};
|