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