developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | #include "mt7986a-rfb.dtsi" |
| 3 | / { |
| 4 | model = "MediaTek MT7986a RFB"; |
developer | 3395eb4 | 2021-06-15 16:01:34 +0800 | [diff] [blame] | 5 | compatible = "mediatek,mt7986a-snand-rfb"; |
developer | 5b91be7 | 2021-09-27 14:03:07 +0800 | [diff] [blame] | 6 | |
| 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 | }; |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 48 | }; |
developer | 298705c | 2021-06-05 18:48:19 +0800 | [diff] [blame] | 49 | |
developer | 5b91be7 | 2021-09-27 14:03:07 +0800 | [diff] [blame] | 50 | &spi0 { |
developer | 298705c | 2021-06-05 18:48:19 +0800 | [diff] [blame] | 51 | status = "okay"; |
| 52 | }; |
developer | 5b91be7 | 2021-09-27 14:03:07 +0800 | [diff] [blame] | 53 | |
| 54 | &snand { |
| 55 | status = "okay"; |
| 56 | }; |
| 57 | |
| 58 | &mmc0 { |
| 59 | status = "disabled"; |
| 60 | }; |