ramips: add support for WAVLINK WL-WN573HX1
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_dlink_flash-16m-a1.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 &spi0 {
4 status = "okay";
5
6 flash@0 {
7 compatible = "jedec,spi-nor";
8 reg = <0>;
9 spi-max-frequency = <50000000>;
10
11 partitions {
12 compatible = "fixed-partitions";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 partition@0 {
17 label = "u-boot";
18 reg = <0x0 0x30000>;
19 read-only;
20 };
21
22 partition@30000 {
23 label = "u-boot-env";
24 reg = <0x30000 0x10000>;
25 read-only;
26 };
27
28 factory: partition@40000 {
29 label = "factory";
30 reg = <0x40000 0x20000>;
31 read-only;
32 };
33
34 partition@60000 {
35 compatible = "openwrt,uimage", "denx,uimage";
36 openwrt,padding = <96>;
37 label = "firmware";
38 reg = <0x60000 0xfa0000>;
39 };
40 };
41 };
42 };