b0be381ecaa9f45d90d2a4ac3b5ab84c24381a8f
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_netgear_r6020.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,r6020", "mediatek,mt7628an-soc";
8 model = "Netgear R6020";
9
10 aliases {
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 lan {
21 label = "r6020:green:lan";
22 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
23 };
24
25 led_power: power {
26 label = "r6020:green:power";
27 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
28 };
29
30 wlan2g_green {
31 label = "r6020:green:wlan2g";
32 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
34 };
35
36 wlan2g_orange {
37 label = "r6020:orange:wlan2g";
38 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
39 };
40
41 wan_green {
42 label = "r6020:green:wan";
43 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
44 };
45
46 wan_orange {
47 label = "r6020:orange:wan";
48 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
49 };
50 };
51 };
52
53 &state_default {
54 gpio {
55 groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
56 "p4led_an", "wdt", "wled_an";
57 function = "gpio";
58 };
59 };
60
61 &partitions {
62 partition@90000 {
63 compatible = "denx,uimage";
64 label = "firmware";
65 reg = <0x90000 0x6f0000>;
66 };
67
68 partition@780000 {
69 label = "ML";
70 reg = <0x780000 0x20000>;
71 read-only;
72 };
73
74 partition@7a0000 {
75 label = "ML1";
76 reg = <0x7a0000 0x20000>;
77 read-only;
78 };
79
80 partition@7c0000 {
81 label = "ML2";
82 reg = <0x7c0000 0x20000>;
83 read-only;
84 };
85
86 partition@7e0000 {
87 label = "POT";
88 reg = <0x7e0000 0x10000>;
89 read-only;
90 };
91
92 partition@7f0000 {
93 label = "reserved";
94 reg = <0x7f0000 0x10000>;
95 read-only;
96 };
97 };
98
99 &ehci {
100 status = "disabled";
101 };
102
103 &ohci {
104 status = "disabled";
105 };