// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = ð0;
+ label-mac-device = ð1;
};
keys {
compatible = "gpio-keys";
- wifi_button {
+ wifi {
label = "WiFi button";
linux,code = <KEY_RFKILL>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
- reset_button {
+ reset {
label = "Reset button";
linux,code = <KEY_RESTART>;
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
- leds {
+ leds: leds {
compatible = "gpio-leds";
led_power: power {
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
- wan_amber {
- label = "tp-link:amber:wan";
- gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
- };
-
lan {
label = "tp-link:green:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
-
- wps {
- label = "tp-link:green:wps";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- };
};
};
ð0 {
status = "okay";
- phy-mode = "mii";
phy-handle = <&swphy4>;
mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address-increment = <1>;
};
ð1 {
status = "okay";
mtd-mac-address = <&mac 0x8>;
- mtd-mac-address-increment = <1>;
};
&wmac {