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