Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 2 | |
| 3 | /dts-v1/; |
| 4 | |
Robert Marko | 1b5ea2a | 2022-05-20 13:46:32 +0200 | [diff] [blame] | 5 | #include "armada-3720-uDPU.dtsi" |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | model = "Methode uDPU Board"; |
Robert Marko | 1bbc39c | 2022-05-20 13:46:31 +0200 | [diff] [blame] | 9 | compatible = "methode,udpu", "marvell,armada3720", "marvell,armada3710"; |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 10 | |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 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>; |
Pali Rohár | 790dd14 | 2022-02-14 11:34:30 +0100 | [diff] [blame] | 18 | maximum-power-milliwatt = <3000>; |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 19 | }; |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 20 | }; |
| 21 | |
Pali Rohár | 790dd14 | 2022-02-14 11:34:30 +0100 | [diff] [blame] | 22 | &pinctrl_nb { |
| 23 | i2c1_recovery_pins: i2c1-recovery-pins { |
| 24 | groups = "i2c1"; |
| 25 | function = "gpio"; |
| 26 | }; |
Pali Rohár | 790dd14 | 2022-02-14 11:34:30 +0100 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | &i2c0 { |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 30 | status = "okay"; |
Pali Rohár | 790dd14 | 2022-02-14 11:34:30 +0100 | [diff] [blame] | 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 | }; |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 38 | |
Pali Rohár | 790dd14 | 2022-02-14 11:34:30 +0100 | [diff] [blame] | 39 | ð0 { |
| 40 | phy-mode = "sgmii"; |
Pali Rohár | 790dd14 | 2022-02-14 11:34:30 +0100 | [diff] [blame] | 41 | sfp = <&sfp_eth0>; |
Vladimir Vid | b3df0b5 | 2019-01-28 17:27:58 +0100 | [diff] [blame] | 42 | }; |