1 #include "mt7621_ubnt_edgerouter-x.dtsi"
4 model = "Ubiquiti EdgeRouter X SFP";
5 compatible = "ubnt,edgerouter-x-sfp", "mediatek,mt7621-soc";
8 compatible = "sff,sfp";
10 mod-def0-gpio = <&expander0 5 GPIO_ACTIVE_LOW>;
11 maximum-power-milliwatt = <1000>;
19 * PCA9655 GPIO expander
20 * 0-POE power port eth0
21 * 1-POE power port eth1
22 * 2-POE power port eth2
23 * 3-POE power port eth3
24 * 4-POE power port eth4
37 expander0: pca9555@25 {
38 compatible = "nxp,pca9555";
39 interrupt-parent = <&gpio>;
40 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
50 gpios = <7 GPIO_ACTIVE_LOW>;
56 ephy7: ethernet-phy@7 {
67 phy-handle = <&ephy7>;
68 phy-mode = "rgmii-rxid";
69 nvmem-cells = <&macaddr_factory_22>;
70 nvmem-cell-names = "mac-address";
71 mac-address-increment = <5>;
77 compatible = "nvmem-cells";
81 macaddr_factory_22: macaddr@22 {