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