ed8b188994f89a6da2162333bffb323fb314100d
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_dlink_dir-1960-a1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "mt7621_dlink_dir-xx60-a1.dtsi"
5
6 / {
7 compatible = "dlink,dir-1960-a1", "mediatek,mt7621-soc";
8 model = "D-Link DIR-1960 A1";
9
10 aliases {
11 led-boot = &led_power_orange;
12 led-failsafe = &led_power_white;
13 led-running = &led_power_white;
14 led-upgrade = &led_net_orange;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 led_power_orange: power_orange {
21 label = "dir-1960-a1:orange:power";
22 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
23 };
24
25 led_power_white: power_white {
26 label = "dir-1960-a1:white:power";
27 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
28 };
29
30 led_net_orange: net_orange {
31 label = "dir-1960-a1:orange:net";
32 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
33 };
34
35 net_white {
36 label = "dir-1960-a1:white:net";
37 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
38 };
39
40 usb_white {
41 label = "dir-1960-a1:white:usb";
42 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 trigger-sources = <&xhci_ehci_port1>;
44 linux,default-trigger = "usbport";
45 };
46 };
47 };
48
49 &wifi0 {
50 mtd-mac-address = <&factory 0xe000>;
51 mtd-mac-address-increment = <1>;
52 };
53
54 &wifi1 {
55 mtd-mac-address = <&factory 0xe000>;
56 mtd-mac-address-increment = <2>;
57 };