ramips: add newline for ASUS RT-ACx5P DTSes
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_netgear_wndr3700-v5.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,wndr3700-v5", "mediatek,mt7621-soc";
11         model = "Netgear WNDR3700 v5";
12 };
13
14 &led_power {
15         label = "wndr3700-v5:green:power";
16 };
17
18 &led_usb {
19         label = "wndr3700-v5:green:usb";
20 };
21
22 &led_internet {
23         label = "wndr3700-v5:green:wan";
24 };
25
26 &led_wifi {
27         label = "wndr3700-v5:green:wifi";
28 };
29
30 &led_wps {
31         label = "wndr3700-v5:green:wps";
32 };
33
34 &spi0 {
35         status = "okay";
36
37         flash@0 {
38                 compatible = "jedec,spi-nor";
39                 reg = <0>;
40                 spi-max-frequency = <10000000>;
41
42                 partitions {
43                         compatible = "fixed-partitions";
44                         #address-cells = <1>;
45                         #size-cells = <1>;
46
47                         partition@0 {
48                                 label = "u-boot";
49                                 reg = <0x0 0x30000>;
50                                 read-only;
51                         };
52
53                         partition@30000 {
54                                 label = "u-boot-env";
55                                 reg = <0x30000 0x10000>;
56                                 read-only;
57                         };
58
59                         factory: partition@f30000 {
60                                 label = "factory";
61                                 reg = <0xf30000 0x10000>;
62                                 read-only;
63                         };
64
65                         partition@50000 {
66                                 compatible = "denx,uimage";
67                                 label = "firmware";
68                                 reg = <0x50000 0xee0000>;
69                         };
70                 };
71         };
72 };