MAC1200RV2.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /dts-v1/;
  2. #include "mt7628an.dtsi"
  3. / {
  4. compatible = "mercury,mac1200rv2", "mediatek,mt7628an-soc";
  5. model = "Mercury MAC1200R v2";
  6. chosen {
  7. bootargs = "console=ttyS0,57600";
  8. };
  9. memory@0 {
  10. device_type = "memory";
  11. reg = <0x0 0x2000000>;
  12. };
  13. gpio-leds {
  14. compatible = "gpio-leds";
  15. status {
  16. label = "mac1200rv2:green:status";
  17. gpios = <&gpio0 11 1>;
  18. };
  19. };
  20. };
  21. &spi0 {
  22. status = "okay";
  23. m25p80@0 {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. compatible = "jedec,spi-nor";
  27. reg = <0 0>;
  28. spi-max-frequency = <10000000>;
  29. m25p,chunked-io = <32>;
  30. partition@0 {
  31. label = "u-boot";
  32. reg = <0x0 0x1d800>;
  33. };
  34. factory: partition@0x1d800 {
  35. label = "factory_info";
  36. reg = <0x1d800 0x800>;
  37. read-only;
  38. };
  39. art: partition@0x1e000 {
  40. label = "art";
  41. reg = <0x1e000 0x2000>;
  42. read-only;
  43. };
  44. partition@20000 {
  45. label = "config";
  46. reg = <0x20000 0x10000>;
  47. };
  48. partition@30000 {
  49. label = "u-boot2";
  50. reg = <0x30000 0x10000>;
  51. };
  52. partition@40000 {
  53. label = "firmware";
  54. reg = <0x40000 0x7c0000>;
  55. };
  56. };
  57. };
  58. &ethernet {
  59. pinctrl-names = "default";
  60. mtd-mac-address = <&factory 0xd>;
  61. ralink,port-map = "llllw";
  62. };
  63. &wmac {
  64. status = "okay";
  65. ralink,mtd-eeprom = <&art 0x0>;
  66. };
  67. &pcie {
  68. status = "okay";
  69. pcie-bridge {
  70. mt76@0,0 {
  71. reg = <0x0000 0 0 0 0>;
  72. device_type = "pci";
  73. mediatek,mtd-eeprom = <&art 0x1000>;
  74. mediatek,2ghz = <0>;
  75. };
  76. };
  77. };