// SPDX-License-Identifier: GPL-2.0-or-later OR MIT #include "cn7130_ubnt_edgerouter-e300.dtsi" / { compatible = "ubnt,edgerouter-6p", "cavium,cn7130"; model = "Ubiquiti EdgeRouter 6P"; }; &smi0 { phy8: ethernet-phy@8 { device_type = "ethernet-phy"; interrupts = <17 8>; interrupt-parent = <&gpio>; compatible = "vitesse,vsc8514", "ethernet-phy-ieee802.3-c22"; reg = <8>; }; phy9: ethernet-phy@9 { device_type = "ethernet-phy"; interrupts = <17 8>; interrupt-parent = <&gpio>; compatible = "vitesse,vsc8514", "ethernet-phy-ieee802.3-c22"; reg = <9>; }; }; &pip { interface@0 { ethernet@0 { label = "lan5"; status = "okay"; phy-mode = "sgmii"; phy-handle = <&phy4>; nvmem-cells = <&macaddr_eeprom_0>; nvmem-cell-names = "mac-address"; }; }; interface@1 { status = "okay"; ethernet@0 { label = "lan3"; status = "okay"; phy-mode = "sgmii"; phy-handle = <&phy8>; nvmem-cells = <&macaddr_eeprom_0>; nvmem-cell-names = "mac-address"; mac-address-increment = <(4)>; }; ethernet@1 { label = "lan4"; status = "okay"; phy-mode = "sgmii"; phy-handle = <&phy9>; nvmem-cells = <&macaddr_eeprom_0>; nvmem-cell-names = "mac-address"; mac-address-increment = <(5)>; }; }; }; &eeprom { compatible = "nvmem-cells"; #address-cells = <1>; #size-cells = <1>; macaddr_eeprom_0: macaddr@0 { reg = <0x0 0x6>; }; };