mediatek: move out-of-tree DTS files to dedicated dts folder
[openwrt/staging/hauke.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 &snfi {
10 pinctrl-names = "default";
11 pinctrl-0 = <&serial_nand_pins>;
12 status = "okay";
13
14 spi_nand@0 {
15 #address-cells = <1>;
16 #size-cells = <1>;
17 compatible = "spi-nand";
18 spi-max-frequency = <104000000>;
19 reg = <0>;
20
21 partitions {
22 compatible = "fixed-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partition@0 {
27 label = "Preloader";
28 reg = <0x00000 0x0080000>;
29 read-only;
30 };
31
32 partition@80000 {
33 label = "ATF";
34 reg = <0x80000 0x0040000>;
35 };
36
37 partition@c0000 {
38 label = "Bootloader";
39 reg = <0xc0000 0x0080000>;
40 };
41
42 partition@140000 {
43 label = "Config";
44 reg = <0x140000 0x0080000>;
45 };
46
47 factory: partition@1c0000 {
48 label = "Factory";
49 reg = <0x1c0000 0x0040000>;
50 };
51
52 partition@200000 {
53 label = "kernel";
54 reg = <0x200000 0x400000>;
55 };
56
57 partition@600000 {
58 label = "ubi";
59 reg = <0x600000 0x1C00000>;
60 };
61
62 partition@2200000 {
63 label = "User_data";
64 reg = <0x2200000 0x4000000>;
65 };
66 };
67 };
68 };