ramips: move dts-v1 statement to top-level DTSI files
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_netgear_wndr3700-v5.dts
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "mt7621_netgear_sercomm_ayx.dtsi"
4
5 / {
6 compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc";
7 model = "Netgear WNDR3700 v5";
8 };
9
10 &led_power {
11 label = "wndr3700-v5:green:power";
12 };
13
14 &led_usb {
15 label = "wndr3700-v5:green:usb";
16 };
17
18 &led_internet {
19 label = "wndr3700-v5:green:wan";
20 };
21
22 &led_wifi {
23 label = "wndr3700-v5:green:wifi";
24 };
25
26 &led_wps {
27 label = "wndr3700-v5:green:wps";
28 };
29
30 &spi0 {
31 status = "okay";
32
33 flash@0 {
34 compatible = "jedec,spi-nor";
35 reg = <0>;
36 spi-max-frequency = <10000000>;
37
38 partitions {
39 compatible = "fixed-partitions";
40 #address-cells = <1>;
41 #size-cells = <1>;
42
43 partition@0 {
44 label = "u-boot";
45 reg = <0x0 0x30000>;
46 read-only;
47 };
48
49 partition@30000 {
50 label = "u-boot-env";
51 reg = <0x30000 0x10000>;
52 read-only;
53 };
54
55 factory: partition@f30000 {
56 label = "factory";
57 reg = <0xf30000 0x10000>;
58 read-only;
59 };
60
61 partition@50000 {
62 compatible = "denx,uimage";
63 label = "firmware";
64 reg = <0x50000 0xee0000>;
65 };
66 };
67 };
68 };