mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
b4108f3fd3
Methode eDPU is an Armada 3720 power board based on the Methode uDPU. They feature the same CPU, RAM, and storage as well as the form factor. However, eDPU only has one SFP slot plus a copper G.hn port which does not work under U-boot. In order to reduce duplication, split the uDPU DTS into a common one. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Reviewed-by: Stefan Roese <sr@denx.de>
42 lines
956 B
Text
42 lines
956 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/dts-v1/;
|
|
|
|
#include "armada-3720-uDPU.dtsi"
|
|
|
|
/ {
|
|
model = "Methode uDPU Board";
|
|
compatible = "methode,udpu", "marvell,armada3720", "marvell,armada3710";
|
|
|
|
sfp_eth0: sfp-eth0 {
|
|
compatible = "sff,sfp";
|
|
i2c-bus = <&i2c0>;
|
|
los-gpio = <&gpiosb 2 GPIO_ACTIVE_HIGH>;
|
|
mod-def0-gpio = <&gpiosb 3 GPIO_ACTIVE_LOW>;
|
|
tx-disable-gpio = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
|
|
tx-fault-gpio = <&gpiosb 5 GPIO_ACTIVE_HIGH>;
|
|
maximum-power-milliwatt = <3000>;
|
|
};
|
|
};
|
|
|
|
&pinctrl_nb {
|
|
i2c1_recovery_pins: i2c1-recovery-pins {
|
|
groups = "i2c1";
|
|
function = "gpio";
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
pinctrl-names = "default", "recovery";
|
|
pinctrl-0 = <&i2c1_pins>;
|
|
pinctrl-1 = <&i2c1_recovery_pins>;
|
|
/delete-property/mrvl,i2c-fast-mode;
|
|
scl-gpios = <&gpionb 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
|
sda-gpios = <&gpionb 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
|
};
|
|
|
|
ð0 {
|
|
phy-mode = "sgmii";
|
|
sfp = <&sfp_eth0>;
|
|
};
|