mirror of https://github.com/hak5/openwrt.git
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>master
parent
d96d324280
commit
315904a459
|
@ -5,7 +5,6 @@
|
||||||
model = "Asus RT-AC51U";
|
model = "Asus RT-AC51U";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
label-mac-device = ðernet;
|
|
||||||
led-boot = &led_power;
|
led-boot = &led_power;
|
||||||
led-failsafe = &led_power;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_power;
|
led-running = &led_power;
|
||||||
|
@ -35,10 +34,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ðernet {
|
|
||||||
mtd-mac-address = <&factory 0x28>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&state_default {
|
&state_default {
|
||||||
gpio {
|
gpio {
|
||||||
groups = "i2c", "wled", "uartf";
|
groups = "i2c", "wled", "uartf";
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
model = "Asus RT-AC54U";
|
model = "Asus RT-AC54U";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
label-mac-device = ðernet;
|
|
||||||
led-boot = &led_power;
|
led-boot = &led_power;
|
||||||
led-failsafe = &led_power;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_power;
|
led-running = &led_power;
|
||||||
|
@ -37,10 +36,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ðernet {
|
|
||||||
mtd-mac-address = <&factory 0x28>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&state_default {
|
&state_default {
|
||||||
gpio {
|
gpio {
|
||||||
groups = "i2c", "wled", "uartf";
|
groups = "i2c", "wled", "uartf";
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
aliases {
|
||||||
|
label-mac-device = ðernet;
|
||||||
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
|
@ -85,6 +89,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
ðernet {
|
ðernet {
|
||||||
|
mtd-mac-address = <&factory 0x28>;
|
||||||
|
|
||||||
mediatek,portmap = "wllll";
|
mediatek,portmap = "wllll";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue