2019-01-28 16:27:58 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2022-05-20 11:46:32 +00:00
|
|
|
#include "armada-3720-uDPU.dtsi"
|
2019-01-28 16:27:58 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Methode uDPU Board";
|
2022-05-20 11:46:31 +00:00
|
|
|
compatible = "methode,udpu", "marvell,armada3720", "marvell,armada3710";
|
2019-01-28 16:27:58 +00:00
|
|
|
|
|
|
|
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>;
|
2022-02-14 10:34:30 +00:00
|
|
|
maximum-power-milliwatt = <3000>;
|
2019-01-28 16:27:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-02-14 10:34:30 +00:00
|
|
|
&pinctrl_nb {
|
|
|
|
i2c1_recovery_pins: i2c1-recovery-pins {
|
|
|
|
groups = "i2c1";
|
|
|
|
function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
2019-01-28 16:27:58 +00:00
|
|
|
status = "okay";
|
2022-02-14 10:34:30 +00:00
|
|
|
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)>;
|
|
|
|
};
|
2019-01-28 16:27:58 +00:00
|
|
|
|
2022-02-14 10:34:30 +00:00
|
|
|
ð0 {
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
sfp = <&sfp_eth0>;
|
|
|
|
};
|