ramips: consolidate Netgear devices for mt7628
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_netgear_r6080.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "mt7628an_netgear_r6xxx.dtsi"
5
6 / {
7 compatible = "netgear,r6080", "mediatek,mt7628an-soc";
8 model = "Netgear R6080";
9
10 aliases {
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 label-mac-device = &ethernet;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 lan {
22 label = "r6080:green:lan";
23 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
24 };
25
26 led_power: power {
27 label = "r6080:green:power";
28 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
29 };
30
31 wlan2g_green {
32 label = "r6080:green:wlan2g";
33 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0tpt";
35 };
36
37 wlan2g_orange {
38 label = "r6080:orange:wlan2g";
39 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
40 };
41
42 wan_green {
43 label = "r6080:green:wan";
44 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
45 };
46
47 wan_orange {
48 label = "r6080:orange:wan";
49 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
50 };
51 };
52 };
53
54 &state_default {
55 gpio {
56 groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
57 "p4led_an", "wdt", "wled_an";
58 function = "gpio";
59 };
60 };
61
62 &partitions {
63 partition@90000 {
64 compatible = "denx,uimage";
65 label = "firmware";
66 reg = <0x90000 0x760000>;
67 };
68
69 partition@7f0000 {
70 label = "reserved";
71 reg = <0x7f0000 0x10000>;
72 read-only;
73 };
74 };
75
76 &ehci {
77 status = "disabled";
78 };
79
80 &ohci {
81 status = "disabled";
82 };