You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.1 KiB
Plaintext
72 lines
1.1 KiB
Plaintext
5 years ago
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||
|
|
||
5 years ago
|
#include "ar9344_tplink_cpe.dtsi"
|
||
5 years ago
|
|
||
|
/ {
|
||
|
aliases {
|
||
5 years ago
|
led-boot = &led_link4;
|
||
|
led-failsafe = &led_link4;
|
||
|
led-running = &led_link4;
|
||
|
led-upgrade = &led_link4;
|
||
5 years ago
|
};
|
||
|
|
||
|
leds {
|
||
|
compatible = "gpio-leds";
|
||
|
|
||
|
lan0 {
|
||
|
label = "tp-link:green:lan0";
|
||
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
|
||
|
lan1 {
|
||
|
label = "tp-link:green:lan1";
|
||
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
|
||
|
link1 {
|
||
|
label = "tp-link:green:link1";
|
||
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
|
||
|
link2 {
|
||
|
label = "tp-link:green:link2";
|
||
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
|
||
|
link3 {
|
||
|
label = "tp-link:green:link3";
|
||
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
|
||
5 years ago
|
led_link4: link4 {
|
||
5 years ago
|
label = "tp-link: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 {
|
||
|
mtd-mac-address = <&info 0x8>;
|
||
|
|
||
|
gmac-config {
|
||
|
device = <&gmac>;
|
||
|
switch-phy-swap = <0>;
|
||
|
switch-only-mode = <1>;
|
||
|
};
|
||
|
};
|