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