MT7621.dts 912 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. partitions {
  17. compatible = "fixed-partitions";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. partition@0 {
  21. label = "uboot";
  22. reg = <0x00000 0x80000>; /* 64 KB */
  23. };
  24. partition@80000 {
  25. label = "uboot_env";
  26. reg = <0x80000 0x80000>; /* 64 KB */
  27. };
  28. partition@100000 {
  29. label = "factory";
  30. reg = <0x100000 0x40000>;
  31. };
  32. partition@140000 {
  33. label = "rootfs";
  34. reg = <0x140000 0xec0000>;
  35. };
  36. };
  37. };
  38. &sdhci {
  39. status = "okay";
  40. };
  41. &pinctrl {
  42. state_default: pinctrl0 {
  43. gpio {
  44. ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
  45. ralink,function = "gpio";
  46. };
  47. };
  48. };