2
0

MT7621.dts 797 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /dts-v1/;
  2. #include "mt7621.dtsi"
  3. / {
  4. compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
  5. model = "Mediatek MT7621 evaluation board";
  6. memory@0 {
  7. device_type = "memory";
  8. reg = <0x0 0x2000000>;
  9. };
  10. chosen {
  11. bootargs = "console=ttyS0,57600";
  12. };
  13. };
  14. &nand {
  15. status = "okay";
  16. partition@0 {
  17. label = "uboot";
  18. reg = <0x00000 0x80000>; /* 64 KB */
  19. };
  20. partition@80000 {
  21. label = "uboot_env";
  22. reg = <0x80000 0x80000>; /* 64 KB */
  23. };
  24. partition@100000 {
  25. label = "factory";
  26. reg = <0x100000 0x40000>;
  27. };
  28. partition@140000 {
  29. label = "rootfs";
  30. reg = <0x140000 0xec0000>;
  31. };
  32. };
  33. &sdhci {
  34. status = "okay";
  35. };
  36. &pinctrl {
  37. state_default: pinctrl0 {
  38. gpio {
  39. ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
  40. ralink,function = "gpio";
  41. };
  42. };
  43. };