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