Advertisement
mopv

spi partition modification

May 29th, 2022
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. &spi {
  2. status = "okay";
  3. num-cs = <1>;
  4.  
  5. flash@0 {
  6. compatible = "jedec,spi-nor";
  7. reg = <0>;
  8. spi-max-frequency = <25000000>;
  9.  
  10. partitions {
  11. compatible = "fixed-partitions";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14.  
  15. uboot: partition@0 {
  16. label = "u-boot";
  17. reg = <0x000000 0x080000>;
  18. read-only;
  19. };
  20.  
  21. config: partition@80000 {
  22. label = "config";
  23. reg = <0x080000 0x1f0000>;
  24. read-only;
  25. };
  26.  
  27. art: partition@1f0000 {
  28. label = "art";
  29. reg = <0x1f0000 0x200000>;
  30. read-only;
  31. };
  32.  
  33.  
  34. partition@200000 {
  35. label = "kernel";
  36. reg = <0x200000 0x400000>;
  37. };
  38.  
  39. partition@400000 {
  40. label = "rootfs";
  41. reg = <0x400000 0x1000000>;
  42. };
  43. };
  44. };
  45. };
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement