ramips: merge ethernet setup for RT-AC51U/RT-AC54U

The ethernet setup/label MAC address for RT-AC51U and RT-AC54U are
the same, so move them into the shared DTSI.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-09-28 00:04:33 +02:00
parent d96d324280
commit 315904a459
3 changed files with 6 additions and 10 deletions

View File

@ -5,7 +5,6 @@
model = "Asus RT-AC51U";
aliases {
label-mac-device = &ethernet;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -35,10 +34,6 @@
};
};
&ethernet {
mtd-mac-address = <&factory 0x28>;
};
&state_default {
gpio {
groups = "i2c", "wled", "uartf";

View File

@ -7,7 +7,6 @@
model = "Asus RT-AC54U";
aliases {
label-mac-device = &ethernet;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -37,10 +36,6 @@
};
};
&ethernet {
mtd-mac-address = <&factory 0x28>;
};
&state_default {
gpio {
groups = "i2c", "wled", "uartf";

View File

@ -4,6 +4,10 @@
#include <dt-bindings/input/input.h>
/ {
aliases {
label-mac-device = &ethernet;
};
keys {
compatible = "gpio-keys";
@ -85,6 +89,8 @@
};
&ethernet {
mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "wllll";
};