lede/target/linux/ramips/dts/mt7621_dlink_dir-878-a1.dts
2020-07-10 11:58:12 +08:00

37 lines
745 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "mt7621_dlink_dir.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
compatible = "dlink,dlink-dir878-a1", "mediatek,mt7621-soc";
model = "D-Link DIR878 A1";
leds {
compatible = "gpio-leds";
led_power_orange: power_orange {
label = "dir-878-a1:orange:power";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
label = "dir-878-a1:green:power";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
led_net_orange: net_orange {
label = "dir-878-a1:orange:net";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
net_green {
label = "dir-878-a1:green:net";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
};