MT7628.dts 960 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. spi-max-frequency = <10000000>;
  30. m25p,chunked-io = <32>;
  31. partition@0 {
  32. label = "u-boot";
  33. reg = <0x0 0x30000>;
  34. read-only;
  35. };
  36. partition@30000 {
  37. label = "u-boot-env";
  38. reg = <0x30000 0x10000>;
  39. read-only;
  40. };
  41. factory: partition@40000 {
  42. label = "factory";
  43. reg = <0x40000 0x10000>;
  44. read-only;
  45. };
  46. partition@50000 {
  47. label = "firmware";
  48. reg = <0x50000 0x7b0000>;
  49. };
  50. };
  51. };
  52. &wmac {
  53. status = "okay";
  54. };