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>
model = "Asus RT-AC51U";
aliases {
- label-mac-device = ðernet;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
};
};
-ðernet {
- mtd-mac-address = <&factory 0x28>;
-};
-
&state_default {
gpio {
groups = "i2c", "wled", "uartf";
model = "Asus RT-AC54U";
aliases {
- label-mac-device = ðernet;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
};
};
-ðernet {
- mtd-mac-address = <&factory 0x28>;
-};
-
&state_default {
gpio {
groups = "i2c", "wled", "uartf";
#include <dt-bindings/input/input.h>
/ {
+ aliases {
+ label-mac-device = ðernet;
+ };
+
keys {
compatible = "gpio-keys";
};
ðernet {
+ mtd-mac-address = <&factory 0x28>;
+
mediatek,portmap = "wllll";
};