18e01fb15SFrank Wunderlich/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ 28e01fb15SFrank Wunderlich/* 38e01fb15SFrank Wunderlich * Authors: Daniel Golle <daniel@makrotopia.org> 48e01fb15SFrank Wunderlich * Frank Wunderlich <frank-w@public-files.de> 58e01fb15SFrank Wunderlich */ 68e01fb15SFrank Wunderlich 78e01fb15SFrank Wunderlich/dts-v1/; 88e01fb15SFrank Wunderlich/plugin/; 98e01fb15SFrank Wunderlich 108e01fb15SFrank Wunderlich/ { 118e01fb15SFrank Wunderlich compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; 12*f14cdf03SGeert Uytterhoeven}; 138e01fb15SFrank Wunderlich 14*f14cdf03SGeert Uytterhoeven&{/soc/spi@1100a000} { 158e01fb15SFrank Wunderlich #address-cells = <1>; 168e01fb15SFrank Wunderlich #size-cells = <0>; 17*f14cdf03SGeert Uytterhoeven 18e630c7b0SKrzysztof Kozlowski spi_nand: flash@0 { 198e01fb15SFrank Wunderlich compatible = "spi-nand"; 208e01fb15SFrank Wunderlich reg = <0>; 218e01fb15SFrank Wunderlich spi-max-frequency = <10000000>; 228e01fb15SFrank Wunderlich spi-tx-buswidth = <4>; 238e01fb15SFrank Wunderlich spi-rx-buswidth = <4>; 248e01fb15SFrank Wunderlich 258e01fb15SFrank Wunderlich partitions { 268e01fb15SFrank Wunderlich compatible = "fixed-partitions"; 278e01fb15SFrank Wunderlich #address-cells = <1>; 288e01fb15SFrank Wunderlich #size-cells = <1>; 298e01fb15SFrank Wunderlich 308e01fb15SFrank Wunderlich partition@0 { 318e01fb15SFrank Wunderlich label = "bl2"; 323bfbff9bSDaniel Golle reg = <0x0 0x100000>; 338e01fb15SFrank Wunderlich read-only; 348e01fb15SFrank Wunderlich }; 358e01fb15SFrank Wunderlich 363bfbff9bSDaniel Golle partition@100000 { 378e01fb15SFrank Wunderlich label = "reserved"; 383bfbff9bSDaniel Golle reg = <0x100000 0x280000>; 398e01fb15SFrank Wunderlich }; 408e01fb15SFrank Wunderlich 418e01fb15SFrank Wunderlich partition@380000 { 428e01fb15SFrank Wunderlich label = "fip"; 438e01fb15SFrank Wunderlich reg = <0x380000 0x200000>; 448e01fb15SFrank Wunderlich read-only; 458e01fb15SFrank Wunderlich }; 468e01fb15SFrank Wunderlich 478e01fb15SFrank Wunderlich partition@580000 { 488e01fb15SFrank Wunderlich label = "ubi"; 498e01fb15SFrank Wunderlich reg = <0x580000 0x7a80000>; 508e01fb15SFrank Wunderlich }; 518e01fb15SFrank Wunderlich }; 528e01fb15SFrank Wunderlich }; 538e01fb15SFrank Wunderlich}; 54