aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-4.dts
blob: 75e2c794b9e665602393484753a5a2fb791bf854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "cn7130_ubnt_edgerouter-e300.dtsi"

/ {
	compatible = "ubnt,edgerouter-4", "cavium,cn7130";
	model = "Ubiquiti EdgeRouter 4";
};

&pip {
	interface@0 {
		ethernet@0 {
			label = "lan3";
			status = "okay";
			phy-mode = "sgmii";
			phy-handle = <&phy4>;
			nvmem-cells = <&macaddr_eeprom_0>;
			nvmem-cell-names = "mac-address";
		};
	};
};

&eeprom {
	compatible = "nvmem-cells";
	#address-cells = <1>;
	#size-cells = <1>;

	macaddr_eeprom_0: macaddr@0 {
		reg = <0x0 0x6>;
	};
};