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 fragment@0 { 14 target-path = "/soc/spi@1100a000"; 15 __overlay__ { 16 #address-cells = <1>; 17 #size-cells = <0>; 18 flash@0 { 19 compatible = "jedec,spi-nor"; 20 reg = <0>; 21 spi-max-frequency = <10000000>; 22 23 partitions { 24 compatible = "fixed-partitions"; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 28 partition@0 { 29 label = "bl2"; 30 reg = <0x0 0x40000>; 31 read-only; 32 }; 33 34 partition@40000 { 35 label = "u-boot-env"; 36 reg = <0x40000 0x40000>; 37 }; 38 39 partition@80000 { 40 label = "reserved2"; 41 reg = <0x80000 0x80000>; 42 }; 43 44 partition@100000 { 45 label = "fip"; 46 reg = <0x100000 0x80000>; 47 read-only; 48 }; 49 50 partition@180000 { 51 label = "recovery"; 52 reg = <0x180000 0xa80000>; 53 }; 54 55 partition@c00000 { 56 label = "fit"; 57 reg = <0xc00000 0x1400000>; 58 }; 59 }; 60 }; 61 }; 62 }; 63}; 64