ramips: add support for EnGenius ESR600
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_netgear_r6220.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include "mt7621_netgear_r6220.dtsi"
5
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8
9 / {
10         compatible = "netgear,r6220", "mediatek,mt7621-soc";
11         model = "Netgear R6220";
12 };
13
14 &led_power {
15         label = "r6220:green:power";
16 };
17
18 &led_usb {
19         label = "r6220:green:usb";
20 };
21
22 &led_internet {
23         label = "r6220:green:wan";
24 };
25
26 &led_wifi {
27         label = "r6220:green:wifi";
28 };
29
30 &led_wps {
31         label = "r6220:green:wps";
32 };
33
34 &nand {
35         status = "okay";
36
37         partitions {
38                 compatible = "fixed-partitions";
39                 #address-cells = <1>;
40                 #size-cells = <1>;
41
42                 partition@0 {
43                         label = "u-boot";
44                         reg = <0x0 0x100000>;
45                         read-only;
46                 };
47
48                 partition@100000 {
49                         label = "SC PID";
50                         reg = <0x100000 0x100000>;
51                         read-only;
52                 };
53
54                 partition@200000 {
55                         label = "kernel";
56                         reg = <0x200000 0x400000>;
57                 };
58
59                 partition@600000 {
60                         label = "ubi";
61                         reg = <0x600000 0x1c00000>;
62                 };
63
64                 factory: partition@2e00000 {
65                         label = "factory";
66                         reg = <0x2e00000 0x100000>;
67                         read-only;
68                 };
69
70                 partition@4200000 {
71                         label = "reserved";
72                         reg = <0x4200000 0x3c00000>;
73                         read-only;
74                 };
75         };
76 };