facebook-bmc-flash-layout-128.dtsi 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // SPDX-License-Identifier: GPL-2.0+
  2. // Copyright (c) 2020 Facebook Inc.
  3. partitions {
  4. compatible = "fixed-partitions";
  5. #address-cells = <1>;
  6. #size-cells = <1>;
  7. /*
  8. * u-boot partition: 896KB.
  9. */
  10. u-boot@0 {
  11. reg = <0x0 0xe0000>;
  12. label = "u-boot";
  13. };
  14. /*
  15. * u-boot environment variables: 64KB.
  16. */
  17. u-boot-env@e0000 {
  18. reg = <0xe0000 0x10000>;
  19. label = "env";
  20. };
  21. /*
  22. * image metadata partition (64KB), used by Facebook internal
  23. * tools.
  24. */
  25. image-meta@f0000 {
  26. reg = <0xf0000 0x10000>;
  27. label = "meta";
  28. };
  29. /*
  30. * FIT image: 119 MB.
  31. */
  32. fit@100000 {
  33. reg = <0x100000 0x7700000>;
  34. label = "fit";
  35. };
  36. /*
  37. * "data0" partition (8MB) is used by Facebook BMC platforms as
  38. * persistent data store.
  39. */
  40. data0@7800000 {
  41. reg = <0x7800000 0x800000>;
  42. label = "data0";
  43. };
  44. /*
  45. * Although the master partition can be created by enabling
  46. * MTD_PARTITIONED_MASTER option, below "flash0" partition is
  47. * explicitly created to avoid breaking legacy applications.
  48. */
  49. flash0@0 {
  50. reg = <0x0 0x8000000>;
  51. label = "flash0";
  52. };
  53. };