blob: c1a41cbf705da78e1dc35da63370eece995ae879 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
// 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>;
};
};
|