// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include "ar9344_tplink_cpe.dtsi"
compatible = "gpio-leds";
lan0 {
- label = "tp-link:green:lan0";
+ label = "green:lan0";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
link1 {
- label = "tp-link:green:link1";
+ label = "green:link1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
link2 {
- label = "tp-link:green:link2";
+ label = "green:link2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
link3 {
- label = "tp-link:green:link3";
+ label = "green:link3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_link4: link4 {
- label = "tp-link:green:link4";
+ label = "green:link4";
};
};
};
-&gpio {
- gpio_ext_lna0 {
- gpio-hog;
- gpios = <18 0>;
- output-high;
- line-name = "tp-link:ext:lna0";
- };
-
- gpio_ext_lna1 {
- gpio-hog;
- gpios = <19 0>;
- output-high;
- line-name = "tp-link:ext:lna1";
- };
-};
-
ð1 {
- status = "okay";
-
- mtd-mac-address = <&info 0x8>;
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
gmac-config {
device = <&gmac>;