qca9531_glinet_ar300m-nand.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /dts-v1/;
  2. #include "qca9531_glinet_ar300m.dtsi"
  3. / {
  4. compatible = "glinet,ar300m-nand", "qca,qca9531";
  5. model = "GL.iNet GL-AR300M (NAND)";
  6. };
  7. &spi {
  8. status = "okay";
  9. num-cs = <1>;
  10. flash@0 {
  11. compatible = "winbond,w25q128", "jedec,spi-nor";
  12. reg = <0>;
  13. spi-max-frequency = <25000000>;
  14. partitions {
  15. compatible = "fixed-partitions";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. partition@0 {
  19. label = "u-boot";
  20. reg = <0x000000 0x040000>;
  21. read-only;
  22. };
  23. partition@1 {
  24. label = "u-boot-env";
  25. reg = <0x040000 0x010000>;
  26. };
  27. partition@2 {
  28. label = "reserved";
  29. reg = <0x050000 0xfa0000>;
  30. };
  31. art: partition@3 {
  32. label = "art";
  33. reg = <0xff0000 0x010000>;
  34. };
  35. };
  36. };
  37. flash@1 {
  38. compatible = "spinand,mt29f";
  39. reg = <1>;
  40. spi-max-frequency = <25000000>;
  41. partitions {
  42. compatible = "fixed-partitions";
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. partition@0 {
  46. label = "kernel";
  47. reg = <0x000000 0x0200000>;
  48. };
  49. partition@1 {
  50. label = "ubi";
  51. reg = <0x200000 0x7e00000>;
  52. };
  53. };
  54. };
  55. };