3 #include "mt7621_ubnt_edgerouter-x.dtsi"
6 model = "Ubiquiti EdgeRouter X SFP";
7 compatible = "ubnt,edgerouter-x-sfp", "mediatek,mt7621-soc";
10 compatible = "sff,sfp";
12 mod-def0-gpio = <&expander0 5 GPIO_ACTIVE_LOW>;
13 maximum-power-milliwatt = <1000>;
21 * PCA9655 GPIO expander
22 * 0-POE power port eth0
23 * 1-POE power port eth1
24 * 2-POE power port eth2
25 * 3-POE power port eth3
26 * 4-POE power port eth4
39 expander0: pca9555@25 {
40 compatible = "nxp,pca9555";
41 interrupt-parent = <&gpio>;
42 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
52 gpios = <7 GPIO_ACTIVE_LOW>;
58 ephy7: ethernet-phy@7 {
69 phy-handle = <&ephy7>;
70 phy-mode = "rgmii-rxid";
71 mtd-mac-address = <&factory 0x22>;
72 mtd-mac-address-increment = <5>;