1 /* SPDX-License-Identifier: (GPL-2.0-only OR M 1 /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ 2 /* 2 /* 3 * Authors: Daniel Golle <daniel@makrotopia.org 3 * Authors: Daniel Golle <daniel@makrotopia.org> 4 * Frank Wunderlich <frank-w@public-fi 4 * Frank Wunderlich <frank-w@public-files.de> 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 /plugin/; 8 /plugin/; 9 9 10 / { 10 / { 11 compatible = "bananapi,bpi-r3", "media 11 compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; 12 }; << 13 12 14 &{/soc/spi@1100a000} { !! 13 fragment@0 { 15 #address-cells = <1>; !! 14 target-path = "/soc/spi@1100a000"; 16 #size-cells = <0>; !! 15 __overlay__ { 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-pa << 27 #address-cells = <1>; 16 #address-cells = <1>; 28 #size-cells = <1>; !! 17 #size-cells = <0>; 29 !! 18 spi_nand: spi_nand@0 { 30 partition@0 { !! 19 compatible = "spi-nand"; 31 label = "bl2"; !! 20 reg = <0>; 32 reg = <0x0 0x1 !! 21 spi-max-frequency = <10000000>; 33 read-only; !! 22 spi-tx-buswidth = <4>; 34 }; !! 23 spi-rx-buswidth = <4>; 35 !! 24 36 partition@100000 { !! 25 partitions { 37 label = "reser !! 26 compatible = "fixed-partitions"; 38 reg = <0x10000 !! 27 #address-cells = <1>; 39 }; !! 28 #size-cells = <1>; 40 !! 29 41 partition@380000 { !! 30 partition@0 { 42 label = "fip"; !! 31 label = "bl2"; 43 reg = <0x38000 !! 32 reg = <0x0 0x100000>; 44 read-only; !! 33 read-only; 45 }; !! 34 }; 46 !! 35 47 partition@580000 { !! 36 partition@100000 { 48 label = "ubi"; !! 37 label = "reserved"; 49 reg = <0x58000 !! 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 }; 50 }; 52 }; 51 }; 53 }; 52 }; 54 }; 53 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.