compatible = "keenetic,kn-3711", "mediatek,mt7981";
aliases {
- label-mac-device = &gmac0;
+ label-mac-device = &gmac1;
led-boot = &power_led;
led-failsafe = &power_led;
led-running = &power_led;
};
};
- mac@1 {
+ gmac1: mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
phy-mode = "gmii";
compatible = "keenetic,kn-3811", "mediatek,mt7981";
aliases {
- label-mac-device = &gmac0;
+ label-mac-device = &gmac1;
led-boot = &power_led;
led-failsafe = &power_led;
led-running = &power_led;
compatible = "keenetic,kn-3911", "mediatek,mt7981";
aliases {
- label-mac-device = &gmac0;
+ label-mac-device = &gmac1;
led-boot = &status_led;
led-failsafe = &status_led;
led-running = &status_led;
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
- gmac0: mac@0 {
+ mac@0 {
compatible = "mediatek,eth-mac";
reg = <0>;
phy-mode = "2500base-x";