0f6d9bbc50f8b428d09e8d259a66b49cb2062f73
[openwrt/openwrt.git] / target / linux / mediatek / dts / mt7622-rfb1-ubi.dts
1 /dts-v1/;
2
3 #include "mt7622-rfb1.dts"
4 / {
5 model = "MT7622_MT7531 RFB (UBI)";
6 compatible = "mediatek,mt7622-rfb1-ubi";
7 };
8
9 &snfi {
10 flash@0 {
11 mediatek,bmt-v2;
12 mediatek,bmt-remap-range = <0x0 0x6c0000>;
13
14 partitions {
15 compatible = "fixed-partitions";
16 #address-cells = <1>;
17 #size-cells = <1>;
18
19 partition@0 {
20 label = "Preloader";
21 reg = <0x00000 0x0080000>;
22 read-only;
23 };
24
25 partition@80000 {
26 label = "ATF";
27 reg = <0x80000 0x0040000>;
28 };
29
30 partition@c0000 {
31 label = "Bootloader";
32 reg = <0xc0000 0x0080000>;
33 };
34
35 partition@140000 {
36 label = "Config";
37 reg = <0x140000 0x0080000>;
38 };
39
40 factory: partition@1c0000 {
41 label = "Factory";
42 reg = <0x1c0000 0x0100000>;
43 };
44
45 partition@200000 {
46 label = "kernel";
47 reg = <0x2c0000 0x400000>;
48 };
49
50 partition@6c0000 {
51 label = "ubi";
52 reg = <0x6c0000 0x6f00000>;
53 };
54
55 /delete-node/ partition@2200000;
56 };
57 };
58 };