1
0

MT7628.dts 1000 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /dts-v1/;
  2. #include "mt7628an.dtsi"
  3. / {
  4. compatible = "mediatek,mt7628an-eval-board", "mediatek,mt7628an-soc";
  5. model = "Mediatek MT7628AN evaluation board";
  6. memory@0 {
  7. device_type = "memory";
  8. reg = <0x0 0x2000000>;
  9. };
  10. };
  11. &pinctrl {
  12. state_default: pinctrl0 {
  13. gpio {
  14. ralink,group = "i2c", "jtag";
  15. ralink,function = "gpio";
  16. };
  17. };
  18. };
  19. &wmac {
  20. status = "okay";
  21. };
  22. &spi0 {
  23. status = "okay";
  24. m25p80@0 {
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. compatible = "jedec,spi-nor";
  28. reg = <0>;
  29. linux,modalias = "m25p80", "en25q64";
  30. spi-max-frequency = <10000000>;
  31. m25p,chunked-io = <32>;
  32. partition@0 {
  33. label = "u-boot";
  34. reg = <0x0 0x30000>;
  35. read-only;
  36. };
  37. partition@30000 {
  38. label = "u-boot-env";
  39. reg = <0x30000 0x10000>;
  40. read-only;
  41. };
  42. factory: partition@40000 {
  43. label = "factory";
  44. reg = <0x40000 0x10000>;
  45. read-only;
  46. };
  47. partition@50000 {
  48. label = "firmware";
  49. reg = <0x50000 0x7b0000>;
  50. };
  51. };
  52. };
  53. &wmac {
  54. status = "okay";
  55. };