1cb7aa33aSEmmanuel Vadot/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ 2cb7aa33aSEmmanuel Vadot/* 3cb7aa33aSEmmanuel Vadot * Authors: Daniel Golle <daniel@makrotopia.org> 4cb7aa33aSEmmanuel Vadot * Frank Wunderlich <frank-w@public-files.de> 5cb7aa33aSEmmanuel Vadot */ 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadot/dts-v1/; 8cb7aa33aSEmmanuel Vadot/plugin/; 9cb7aa33aSEmmanuel Vadot 10cb7aa33aSEmmanuel Vadot/ { 11cb7aa33aSEmmanuel Vadot compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; 12cb7aa33aSEmmanuel Vadot 13cb7aa33aSEmmanuel Vadot fragment@0 { 14cb7aa33aSEmmanuel Vadot target-path = "/soc/spi@1100a000"; 15cb7aa33aSEmmanuel Vadot __overlay__ { 16cb7aa33aSEmmanuel Vadot #address-cells = <1>; 17cb7aa33aSEmmanuel Vadot #size-cells = <0>; 18cb7aa33aSEmmanuel Vadot flash@0 { 19cb7aa33aSEmmanuel Vadot compatible = "jedec,spi-nor"; 20cb7aa33aSEmmanuel Vadot reg = <0>; 21cb7aa33aSEmmanuel Vadot spi-max-frequency = <10000000>; 22cb7aa33aSEmmanuel Vadot 23cb7aa33aSEmmanuel Vadot partitions { 24cb7aa33aSEmmanuel Vadot compatible = "fixed-partitions"; 25cb7aa33aSEmmanuel Vadot #address-cells = <1>; 26cb7aa33aSEmmanuel Vadot #size-cells = <1>; 27cb7aa33aSEmmanuel Vadot 28cb7aa33aSEmmanuel Vadot partition@0 { 29cb7aa33aSEmmanuel Vadot label = "bl2"; 30*f126890aSEmmanuel Vadot reg = <0x0 0x40000>; 31cb7aa33aSEmmanuel Vadot read-only; 32cb7aa33aSEmmanuel Vadot }; 33cb7aa33aSEmmanuel Vadot 34cb7aa33aSEmmanuel Vadot partition@40000 { 35cb7aa33aSEmmanuel Vadot label = "u-boot-env"; 36cb7aa33aSEmmanuel Vadot reg = <0x40000 0x40000>; 37cb7aa33aSEmmanuel Vadot }; 38cb7aa33aSEmmanuel Vadot 39cb7aa33aSEmmanuel Vadot partition@80000 { 40cb7aa33aSEmmanuel Vadot label = "reserved2"; 41cb7aa33aSEmmanuel Vadot reg = <0x80000 0x80000>; 42cb7aa33aSEmmanuel Vadot }; 43cb7aa33aSEmmanuel Vadot 44cb7aa33aSEmmanuel Vadot partition@100000 { 45cb7aa33aSEmmanuel Vadot label = "fip"; 46cb7aa33aSEmmanuel Vadot reg = <0x100000 0x80000>; 47cb7aa33aSEmmanuel Vadot read-only; 48cb7aa33aSEmmanuel Vadot }; 49cb7aa33aSEmmanuel Vadot 50cb7aa33aSEmmanuel Vadot partition@180000 { 51cb7aa33aSEmmanuel Vadot label = "recovery"; 52cb7aa33aSEmmanuel Vadot reg = <0x180000 0xa80000>; 53cb7aa33aSEmmanuel Vadot }; 54cb7aa33aSEmmanuel Vadot 55cb7aa33aSEmmanuel Vadot partition@c00000 { 56cb7aa33aSEmmanuel Vadot label = "fit"; 57cb7aa33aSEmmanuel Vadot reg = <0xc00000 0x1400000>; 58cb7aa33aSEmmanuel Vadot }; 59cb7aa33aSEmmanuel Vadot }; 60cb7aa33aSEmmanuel Vadot }; 61cb7aa33aSEmmanuel Vadot }; 62cb7aa33aSEmmanuel Vadot }; 63cb7aa33aSEmmanuel Vadot}; 64