compatible = "ezviz,cs-w3-wd1200g-eup";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_status_green;
led-failsafe = &led_status_red;
led-running = &led_status_blue;
&gmac {
status = "okay";
+
nvmem-cells = <&macaddr_art_0>;
nvmem-cell-names = "mac-address";
};
};
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &power;
led-failsafe = &power;
led-running = &power;
led-upgrade = &power;
+ label-mac-device = &gmac;
};
leds {
&swport5 {
status = "okay";
label = "lan";
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_ubootenv_ethaddr 0>;
};
&gmac {
status = "okay";
+
+ nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_ubootenv_ethaddr 0>;
};
&mdio {
compatible = "glinet,gl-ap1300";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
+ label-mac-device = &gmac;
};
memory {
&gmac {
status = "okay";
+
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
};
&switch {
&swport4 {
status = "okay";
label = "lan";
-
- nvmem-cells = <&macaddr_art_0>;
- nvmem-cell-names = "mac-address";
};
&swport5 {
/ {
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
compatible = "mobipromo,cm520-79f";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_sys;
led-failsafe = &led_sys;
led-running = &led_sys;
/ {
model = "Qxwlan E2600AC c1";
compatible = "qxwlan,e2600ac-c1";
-
- aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
- };
};
&blsp1_spi1 {
&gmac {
status = "okay";
+
+ nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_gmac0>;
};
&switch {
&swport4 {
status = "okay";
label = "sw-eth1";
-
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_gmac0>;
};
&swport5 {
/ {
model = "Qxwlan E2600AC c2";
compatible = "qxwlan,e2600ac-c2";
-
- aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
- };
};
&blsp1_spi1 {
&gmac {
status = "okay";
+
+ nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_gmac0>;
};
&switch {
&swport2 {
status = "okay";
label = "sw-eth1";
-
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_gmac0>;
};
&swport4 {
compatible = "8dev,habanero-dvk";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
compatible = "zte,mf18a";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
&gmac {
status = "okay";
+
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_config_0 0>;
};
compatible = "zte,mf282plus";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_internal;
led-failsafe = &led_internal;
led-running = &led_internal;
&gmac {
status = "okay";
+
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_config_0 0>;
};
compatible = "zte,mf286d";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_internal;
led-failsafe = &led_internal;
led-running = &led_internal;
&gmac {
status = "okay";
+
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_config_0 0>;
};
compatible = "zte,mf289f";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
&gmac {
status = "okay";
+
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_mac_0 0>;
};
};
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_power_blue;
led-failsafe = &led_power_orange;
led-running = &led_power_white;
&gmac {
status = "okay";
+
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_orgdata_20>;
};
};
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &status;
led-failsafe = &status;
led-upgrade = &status;
&gmac {
status = "okay";
+
+ nvmem-cells = <&macaddr_art_e018>;
+ nvmem-cell-names = "mac-address";
};
&switch {
&swport4 {
status = "okay";
label = "lan1";
-
- nvmem-cells = <&macaddr_art_e018>;
- nvmem-cell-names = "mac-address";
};
&swport5 {
compatible = "aruba,ap-303h";
aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
led-boot = &led_system_green;
led-failsafe = &led_system_red;
led-running = &led_system_green;
model = "Wallystech DR40X9";
compatible = "wallys,dr40x9";
- aliases {
- // TODO: Verify if the ethernet0 alias is needed
- ethernet0 = &gmac;
- };
-
chosen {
bootargs-append = " ubi.mtd=ubi root=/dev/ubiblock0_1";
};
&gmac {
status = "okay";
+
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
};
&switch {
&swport4 {
status = "okay";
label = "wan";
- nvmem-cells = <&macaddr_art_0>;
- nvmem-cell-names = "mac-address";
};
&swport5 {