Advertisement
mopv

devicetree spi structure

May 30th, 2022
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 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. partition@80000 {
  22. label = "product-info";
  23. reg = <0x080000 0x05000>;
  24. read-only;
  25. };
  26.  
  27. config: partition@85000 {
  28. label = "config";
  29. reg = <0x085000 0x16b000>;
  30. read-only;
  31. };
  32.  
  33. art: partition@1f0000 {
  34. label = "art";
  35. reg = <0x1f0000 0x100000>;
  36. read-only;
  37. };
  38.  
  39.  
  40. partition@200000 {
  41. label = "kernel";
  42. reg = <0x200000 0x200000>;
  43. };
  44.  
  45. partition@400000 {
  46. label = "rootfs";
  47. reg = <0x400000 0xc00000>;
  48. };
  49. };
  50. };
  51. };
  52.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement