ramips: Add support for Cudy WR1300 v3
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_dlink_dir-882-r1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_dlink_dir-8xx.dtsi"
4 #include "mt7621_dlink_flash-16m-r1.dtsi"
5
6 / {
7 compatible = "dlink,dir-882-r1", "mediatek,mt7621-soc";
8 model = "D-Link DIR-882 R1";
9
10 aliases {
11 label-mac-device = &gmac0;
12 };
13 };
14
15 &leds {
16 usb2 {
17 label = "green:usb2";
18 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
19 trigger-sources = <&ehci_port2>;
20 linux,default-trigger = "usbport";
21 };
22
23 usb3 {
24 label = "green:usb3";
25 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
26 trigger-sources = <&xhci_ehci_port1>;
27 linux,default-trigger = "usbport";
28 };
29 };
30
31 &gmac0 {
32 nvmem-cells = <&macaddr_factory_e000>;
33 nvmem-cell-names = "mac-address";
34 };
35
36 &gmac1 {
37 nvmem-cells = <&macaddr_factory_e006>;
38 nvmem-cell-names = "mac-address";
39 };