WT1520-4M.dts 598 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /dts-v1/;
  2. #include "WT1520.dtsi"
  3. &spi0 {
  4. status = "okay";
  5. m25p80@0 {
  6. #address-cells = <1>;
  7. #size-cells = <1>;
  8. compatible = "jedec,spi-nor";
  9. reg = <0>;
  10. linux,modalias = "m25p80", "s25fl064k";
  11. spi-max-frequency = <10000000>;
  12. partition@0 {
  13. label = "u-boot";
  14. reg = <0x0 0x30000>;
  15. read-only;
  16. };
  17. partition@30000 {
  18. label = "u-boot-env";
  19. reg = <0x30000 0x10000>;
  20. read-only;
  21. };
  22. factory: partition@40000 {
  23. label = "factory";
  24. reg = <0x40000 0x10000>;
  25. read-only;
  26. };
  27. partition@50000 {
  28. label = "firmware";
  29. reg = <0x50000 0x3b0000>;
  30. };
  31. };
  32. };