mediatek: change dts to use the new snand driver
[openwrt/staging/mkresin.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,ubi";
7 };
8
9 &snand {
10 partitions {
11 compatible = "fixed-partitions";
12 #address-cells = <1>;
13 #size-cells = <1>;
14
15 partition@0 {
16 label = "Preloader";
17 reg = <0x00000 0x0080000>;
18 read-only;
19 };
20
21 partition@80000 {
22 label = "ATF";
23 reg = <0x80000 0x0040000>;
24 };
25
26 partition@c0000 {
27 label = "Bootloader";
28 reg = <0xc0000 0x0080000>;
29 };
30
31 partition@140000 {
32 label = "Config";
33 reg = <0x140000 0x0080000>;
34 };
35
36 factory: partition@1c0000 {
37 label = "Factory";
38 reg = <0x1c0000 0x0040000>;
39 };
40
41 partition@200000 {
42 label = "kernel";
43 reg = <0x200000 0x400000>;
44 };
45
46 partition@600000 {
47 label = "ubi";
48 reg = <0x600000 0x1C00000>;
49 };
50
51 partition@2200000 {
52 label = "User_data";
53 reg = <0x2200000 0x4000000>;
54 };
55 };
56 };