qca9531_glinet_ar300m-nor.dts 841 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /dts-v1/;
  2. #include <dt-bindings/gpio/gpio.h>
  3. #include <dt-bindings/input/input.h>
  4. #include "qca9531_glinet_ar300m.dtsi"
  5. / {
  6. compatible = "glinet,ar300m-nor", "qca,qca9531";
  7. model = "GL.iNet GL-AR300M (NOR)";
  8. };
  9. &spi {
  10. status = "okay";
  11. num-cs = <0>;
  12. flash@0 {
  13. compatible = "winbond,w25q128", "jedec,spi-nor";
  14. reg = <0>;
  15. spi-max-frequency = <25000000>;
  16. partitions {
  17. compatible = "fixed-partitions";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. partition@0 {
  21. label = "u-boot";
  22. reg = <0x000000 0x040000>;
  23. read-only;
  24. };
  25. partition@1 {
  26. label = "u-boot-env";
  27. reg = <0x040000 0x010000>;
  28. };
  29. partition@2 {
  30. compatible = "denx,uimage";
  31. label = "firmware";
  32. reg = <0x050000 0xfa0000>;
  33. };
  34. art: partition@3 {
  35. label = "art";
  36. reg = <0xff0000 0x010000>;
  37. };
  38. };
  39. };
  40. };