xref: /linux/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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
188e01fb15SFrank Wunderlich	flash@0 {
198e01fb15SFrank Wunderlich		compatible = "jedec,spi-nor";
208e01fb15SFrank Wunderlich		reg = <0>;
218e01fb15SFrank Wunderlich		spi-max-frequency = <10000000>;
228e01fb15SFrank Wunderlich
238e01fb15SFrank Wunderlich		partitions {
248e01fb15SFrank Wunderlich			compatible = "fixed-partitions";
258e01fb15SFrank Wunderlich			#address-cells = <1>;
268e01fb15SFrank Wunderlich			#size-cells = <1>;
278e01fb15SFrank Wunderlich
288e01fb15SFrank Wunderlich			partition@0 {
298e01fb15SFrank Wunderlich				label = "bl2";
307afe7b59SFrank Wunderlich				reg = <0x0 0x40000>;
318e01fb15SFrank Wunderlich				read-only;
328e01fb15SFrank Wunderlich			};
338e01fb15SFrank Wunderlich
348e01fb15SFrank Wunderlich			partition@40000 {
358e01fb15SFrank Wunderlich				label = "u-boot-env";
368e01fb15SFrank Wunderlich				reg = <0x40000 0x40000>;
378e01fb15SFrank Wunderlich			};
388e01fb15SFrank Wunderlich
398e01fb15SFrank Wunderlich			partition@80000 {
408e01fb15SFrank Wunderlich				label = "reserved2";
418e01fb15SFrank Wunderlich				reg = <0x80000 0x80000>;
428e01fb15SFrank Wunderlich			};
438e01fb15SFrank Wunderlich
448e01fb15SFrank Wunderlich			partition@100000 {
458e01fb15SFrank Wunderlich				label = "fip";
468e01fb15SFrank Wunderlich				reg = <0x100000 0x80000>;
478e01fb15SFrank Wunderlich				read-only;
488e01fb15SFrank Wunderlich			};
498e01fb15SFrank Wunderlich
508e01fb15SFrank Wunderlich			partition@180000 {
518e01fb15SFrank Wunderlich				label = "recovery";
528e01fb15SFrank Wunderlich				reg = <0x180000 0xa80000>;
538e01fb15SFrank Wunderlich			};
548e01fb15SFrank Wunderlich
558e01fb15SFrank Wunderlich			partition@c00000 {
568e01fb15SFrank Wunderlich				label = "fit";
578e01fb15SFrank Wunderlich				reg = <0xc00000 0x1400000>;
588e01fb15SFrank Wunderlich			};
598e01fb15SFrank Wunderlich		};
608e01fb15SFrank Wunderlich	};
618e01fb15SFrank Wunderlich};
62