Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. #include "qca9533_glinet_ar300m.dtsi"
  4.  
  5. &spi {
  6. status = "okay";
  7. num-cs = <2>;
  8. cs-gpios = <0>, <0>;
  9.  
  10. flash@0 {
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. compatible = "macronix,mx25l12805d", "winbond,w25q128", "jedec,spi-nor";
  14. reg = <0>;
  15. spi-max-frequency = <25000000>;
  16.  
  17. partitions {
  18. compatible = "fixed-partitions";
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21.  
  22. partition@0 {
  23. label = "u-boot";
  24. reg = <0x000000 0x040000>;
  25. read-only;
  26. };
  27.  
  28. partition@1 {
  29. label = "u-boot-env";
  30. reg = <0x040000 0x010000>;
  31. };
  32.  
  33. partition@2 {
  34. label = "reserved";
  35. reg = <0x050000 0xfa0000>;
  36. };
  37.  
  38. art: partition@3 {
  39. label = "art";
  40. reg = <0xff0000 0x010000>;
  41. };
  42. };
  43. };
  44.  
  45. flash@1 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. compatible = "spinand,mt29f";
  49. reg = <1>;
  50. spi-max-frequency = <25000000>;
  51.  
  52. partitions {
  53. compatible = "fixed-partitions";
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56.  
  57. partition@0 {
  58. label = "kernel";
  59. reg = <0x000000 0x0200000>;
  60. };
  61.  
  62. partition@1 {
  63. label = "ubi";
  64. reg = <0x200000 0x7e00000>;
  65. };
  66. };
  67. };
  68. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement