xref: /freebsd/sys/contrib/device-tree/src/arm64/marvell/armada-3720-uDPU.dts (revision a4e5e0106ac7145f56eb39a691e302cabb4635be)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3/dts-v1/;
4
5#include "armada-3720-uDPU.dtsi"
6
7/ {
8	model = "Methode uDPU Board";
9	compatible = "methode,udpu", "marvell,armada3720", "marvell,armada3710";
10
11	sfp_eth0: sfp-eth0 {
12		compatible = "sff,sfp";
13		i2c-bus = <&i2c0>;
14		los-gpios = <&gpiosb 2 GPIO_ACTIVE_HIGH>;
15		mod-def0-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
16		tx-disable-gpios = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
17		tx-fault-gpios = <&gpiosb 5 GPIO_ACTIVE_HIGH>;
18		maximum-power-milliwatt = <3000>;
19	};
20};
21
22&pinctrl_nb {
23	i2c1_recovery_pins: i2c1-recovery-pins {
24		groups = "i2c1";
25		function = "gpio";
26	};
27};
28
29&i2c0 {
30	status = "okay";
31	pinctrl-names = "default", "recovery";
32	pinctrl-0 = <&i2c1_pins>;
33	pinctrl-1 = <&i2c1_recovery_pins>;
34	/delete-property/mrvl,i2c-fast-mode;
35	scl-gpios = <&gpionb 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
36	sda-gpios = <&gpionb 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
37};
38
39&eth0 {
40	phy-mode = "sgmii";
41	sfp = <&sfp_eth0>;
42};
43