Loading...
Note: File does not exist in v4.6.
1/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2/*
3 * Authors: Daniel Golle <daniel@makrotopia.org>
4 * Frank Wunderlich <frank-w@public-files.de>
5 */
6
7/dts-v1/;
8/plugin/;
9
10/ {
11 compatible = "bananapi,bpi-r3", "mediatek,mt7986a";
12};
13
14&{/soc/spi@1100a000} {
15 #address-cells = <1>;
16 #size-cells = <0>;
17
18 spi_nand: flash@0 {
19 compatible = "spi-nand";
20 reg = <0>;
21 spi-max-frequency = <10000000>;
22 spi-tx-buswidth = <4>;
23 spi-rx-buswidth = <4>;
24
25 partitions {
26 compatible = "fixed-partitions";
27 #address-cells = <1>;
28 #size-cells = <1>;
29
30 partition@0 {
31 label = "bl2";
32 reg = <0x0 0x100000>;
33 read-only;
34 };
35
36 partition@100000 {
37 label = "reserved";
38 reg = <0x100000 0x280000>;
39 };
40
41 partition@380000 {
42 label = "fip";
43 reg = <0x380000 0x200000>;
44 read-only;
45 };
46
47 partition@580000 {
48 label = "ubi";
49 reg = <0x580000 0x7a80000>;
50 };
51 };
52 };
53};