| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- // SPDX-License-Identifier: (GPL-2.0 OR MIT)
- /*
- * Copyright (C) 2022 MediaTek Inc.
- * Author: Sam.Shih <[email protected]>
- */
- /dts-v1/;
- /plugin/;
- / {
- compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a";
- fragment@0 {
- target = <&snand>;
- __overlay__ {
- status = "okay";
- flash@0 {
- compatible = "spi-nand";
- reg = <0>;
- spi-max-frequency = <52000000>;
- spi-tx-bus-width = <4>;
- spi-rx-bus-width = <4>;
- mediatek,nmbm;
- mediatek,bmt-max-ratio = <1>;
- mediatek,bmt-max-reserved-blocks = <64>;
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
- partition@0 {
- label = "BL2";
- reg = <0x00000 0x0100000>;
- read-only;
- };
- partition@100000 {
- label = "u-boot-env";
- reg = <0x0100000 0x0080000>;
- };
- partition@180000 {
- label = "Factory";
- reg = <0x180000 0x0400000>;
- };
- partition@580000 {
- label = "FIP";
- reg = <0x580000 0x0200000>;
- };
- partition@780000 {
- label = "ubi";
- reg = <0x780000 0x7080000>;
- };
- };
- };
- };
- };
- fragment@1 {
- target = <&bch>;
- __overlay__ {
- status = "okay";
- };
- };
- };
|