Debian Codegraph @

scripts/dtc/include-prefixes/arm64/mediatek/mt7988a-bananapi-bpi-r4.dts

raw
1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
2
3 /dts-v1/;
4
5 #include "mt7988a-bananapi-bpi-r4.dtsi"
6
7 / {
8 compatible = "bananapi,bpi-r4", "mediatek,mt7988a";
9 model = "Banana Pi BPI-R4 (2x SFP+)";
10 chassis-type = "embedded";
11
12 /* SFP2 cage (LAN) */
13 sfp2: sfp2 {
14 compatible = "sff,sfp";
15 i2c-bus = <&i2c_sfp2>;
16 maximum-power-milliwatt = <3000>;
17
18 los-gpios = <&pio 2 GPIO_ACTIVE_HIGH>;
19 mod-def0-gpios = <&pio 83 GPIO_ACTIVE_LOW>;
20 rate-select0-gpios = <&pio 3 GPIO_ACTIVE_LOW>;
21 tx-disable-gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
22 tx-fault-gpios = <&pio 1 GPIO_ACTIVE_HIGH>;
23 };
24 };
25
26 &gmac1 {
27 managed = "in-band-status";
28 phy-mode = "usxgmii";
29 sfp = <&sfp2>;
30 };
31
32 &pca9545 {
33 i2c_sfp2: i2c@2 {
34 #address-cells = <1>;
35 #size-cells = <0>;
36 reg = <2>;
37 };
38 };