blob: 4cc79611eb8a4dedc84d8264948affbf3b9fea39 [file] [log] [blame]
developer31003ad2021-09-28 21:14:06 +08001/ {
2 nmbm_spim_nand {
3 compatible = "generic,nmbm";
4
5 #address-cells = <1>;
6 #size-cells = <1>;
7
8 lower-mtd-device = <&spi_nand>;
9 forced-create;
10
11 partitions {
12 compatible = "fixed-partitions";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 partition@0 {
17 label = "BL2";
18 reg = <0x00000 0x0100000>;
19 read-only;
20 };
21
22 partition@100000 {
23 label = "u-boot-env";
24 reg = <0x0100000 0x0080000>;
25 };
26
27 factory: partition@180000 {
28 label = "Factory";
29 reg = <0x180000 0x0200000>;
30 };
31
32 partition@380000 {
33 label = "FIP";
34 reg = <0x380000 0x0200000>;
35 };
36
37 partition@580000 {
38 label = "ubi";
39 reg = <0x580000 0x4000000>;
40 };
41 };
42 };
43};