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