mt7988a-rfb-snfi-nand.dtso 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. /*
  3. * Copyright (C) 2022 MediaTek Inc.
  4. * Author: Sam.Shih <[email protected]>
  5. */
  6. /dts-v1/;
  7. /plugin/;
  8. / {
  9. compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a";
  10. fragment@0 {
  11. target = <&snand>;
  12. __overlay__ {
  13. status = "okay";
  14. flash@0 {
  15. compatible = "spi-nand";
  16. reg = <0>;
  17. spi-max-frequency = <52000000>;
  18. spi-tx-bus-width = <4>;
  19. spi-rx-bus-width = <4>;
  20. mediatek,nmbm;
  21. mediatek,bmt-max-ratio = <1>;
  22. mediatek,bmt-max-reserved-blocks = <64>;
  23. partitions {
  24. compatible = "fixed-partitions";
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. partition@0 {
  28. label = "BL2";
  29. reg = <0x00000 0x0100000>;
  30. read-only;
  31. };
  32. partition@100000 {
  33. label = "u-boot-env";
  34. reg = <0x0100000 0x0080000>;
  35. };
  36. partition@180000 {
  37. label = "Factory";
  38. reg = <0x180000 0x0400000>;
  39. };
  40. partition@580000 {
  41. label = "FIP";
  42. reg = <0x580000 0x0200000>;
  43. };
  44. partition@780000 {
  45. label = "ubi";
  46. reg = <0x780000 0x7080000>;
  47. };
  48. };
  49. };
  50. };
  51. };
  52. fragment@1 {
  53. target = <&bch>;
  54. __overlay__ {
  55. status = "okay";
  56. };
  57. };
  58. };