ALL0256N-4M.dts 753 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /dts-v1/;
  2. #include "ALL0256N.dtsi"
  3. / {
  4. compatible = "allnet,all0256n-4m", "allnet,all0256n", "ralink,rt3050-soc";
  5. model = "Allnet ALL0256N (4M)";
  6. };
  7. &spi0 {
  8. status = "okay";
  9. m25p80@0 {
  10. compatible = "jedec,spi-nor";
  11. reg = <0>;
  12. spi-max-frequency = <10000000>;
  13. partitions {
  14. compatible = "fixed-partitions";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. partition@0 {
  18. label = "u-boot";
  19. reg = <0x0 0x30000>;
  20. read-only;
  21. };
  22. partition@30000 {
  23. label = "u-boot-env";
  24. reg = <0x30000 0x10000>;
  25. read-only;
  26. };
  27. factory: partition@40000 {
  28. label = "factory";
  29. reg = <0x40000 0x10000>;
  30. read-only;
  31. };
  32. partition@50000 {
  33. label = "firmware";
  34. reg = <0x50000 0x3c8000>;
  35. };
  36. };
  37. };
  38. };