2019-06-26 21:40:54 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2019-11-22 10:50:00 +00:00
|
|
|
#include "ar9344_tplink_cpe.dtsi"
|
2019-06-26 21:40:54 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
2019-11-05 18:23:33 +00:00
|
|
|
led-boot = &led_system;
|
|
|
|
led-failsafe = &led_system;
|
|
|
|
led-running = &led_system;
|
|
|
|
led-upgrade = &led_system;
|
2019-06-26 21:40:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
lan {
|
|
|
|
label = "tp-link:green:lan";
|
|
|
|
gpios = <&gpio 11 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>;
|
|
|
|
};
|
|
|
|
|
2019-11-05 18:23:33 +00:00
|
|
|
led_system: link4 {
|
2019-06-26 21:40:54 +00:00
|
|
|
label = "tp-link:green:link4";
|
|
|
|
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð1 {
|
|
|
|
status = "okay";
|
2019-11-06 12:51:20 +00:00
|
|
|
|
2019-06-26 21:40:54 +00:00
|
|
|
compatible = "syscon", "simple-mfd";
|
|
|
|
};
|