Merge tag 'efi-2022-10-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
[platform/kernel/u-boot.git] / arch / arm / dts / armada-3720-uDPU.dts
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-gpio = <&gpiosb 2 GPIO_ACTIVE_HIGH>;
15                 mod-def0-gpio = <&gpiosb 3 GPIO_ACTIVE_LOW>;
16                 tx-disable-gpio = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
17                 tx-fault-gpio = <&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 };