blob: eb6af6aab2b9f361cf779e2fc452b97ee39a1d17 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001/dts-v1/;
2#include "mt7986a-rfb.dtsi"
3/ {
4 model = "MediaTek MT7986a RFB";
developer3395eb42021-06-15 16:01:34 +08005 compatible = "mediatek,mt7986a-snand-rfb";
developer5b91be72021-09-27 14:03:07 +08006
7 nmbm_spim_nand {
8 compatible = "generic,nmbm";
9
10 #address-cells = <1>;
11 #size-cells = <1>;
12
13 lower-mtd-device = <&spi_nand>;
14 forced-create;
15
16 partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "BL2";
23 reg = <0x00000 0x0100000>;
24 read-only;
25 };
26
27 partition@100000 {
28 label = "u-boot-env";
29 reg = <0x0100000 0x0080000>;
30 };
31
32 factory: partition@180000 {
33 label = "Factory";
34 reg = <0x180000 0x0200000>;
35 };
36
37 partition@380000 {
38 label = "FIP";
39 reg = <0x380000 0x0200000>;
40 };
41
42 partition@580000 {
43 label = "ubi";
44 reg = <0x580000 0x4000000>;
45 };
46 };
47 };
developerfd40db22021-04-29 10:08:25 +080048};
developer298705c2021-06-05 18:48:19 +080049
developer5b91be72021-09-27 14:03:07 +080050&spi0 {
developer298705c2021-06-05 18:48:19 +080051 status = "okay";
52};
developer5b91be72021-09-27 14:03:07 +080053
54&snand {
55 status = "okay";
56};
57
58&mmc0 {
59 status = "disabled";
60};