ath79: add support for Netgear WNR1000 v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_dlink_dir-842-c2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9563_dlink_dir-842-c.dtsi"
5
6 / {
7 compatible = "dlink,dir-842-c2", "qca,qca9563";
8 model = "D-Link DIR-842 C2";
9
10 aliases {
11 led-boot = &power;
12 led-failsafe = &power;
13 led-running = &power;
14 led-upgrade = &power;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 wps {
21 label = "dir-842-c2:green:wps";
22 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
23 };
24
25 power: power {
26 label = "dir-842-c2:green:power";
27 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
28 };
29
30 internet {
31 label = "dir-842-c2:green:internet";
32 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
33 };
34
35 wlan {
36 label = "dir-842-c2:green:wlan";
37 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
39 };
40 };
41 };
42
43 &usb_phy0 {
44 status = "okay";
45 };
46
47 &usb0 {
48 status = "okay";
49 };