1
0

MAC1200RV2.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 = "w25q128";
  27. reg = <0 0>;
  28. linux,modalias = "m25p80", "w25q128";
  29. spi-max-frequency = <10000000>;
  30. m25p,chunked-io = <32>;
  31. partition@0 {
  32. label = "u-boot";
  33. reg = <0x0 0x1d800>;
  34. };
  35. factory: partition@0x1d800 {
  36. label = "factory_info";
  37. reg = <0x1d800 0x800>;
  38. read-only;
  39. };
  40. art: partition@0x1e000 {
  41. label = "art";
  42. reg = <0x1e000 0x2000>;
  43. read-only;
  44. };
  45. partition@20000 {
  46. label = "config";
  47. reg = <0x20000 0x10000>;
  48. };
  49. partition@30000 {
  50. label = "u-boot2";
  51. reg = <0x30000 0x10000>;
  52. };
  53. partition@40000 {
  54. label = "firmware";
  55. reg = <0x40000 0x7c0000>;
  56. };
  57. };
  58. };
  59. &ethernet {
  60. pinctrl-names = "default";
  61. mtd-mac-address = <&factory 0xd>;
  62. ralink,port-map = "llllw";
  63. };
  64. &wmac {
  65. status = "okay";
  66. ralink,mtd-eeprom = <&art 0x0>;
  67. };
  68. &pcie {
  69. status = "okay";
  70. pcie-bridge {
  71. mt76@0,0 {
  72. reg = <0x0000 0 0 0 0>;
  73. device_type = "pci";
  74. mediatek,mtd-eeprom = <&art 0x1000>;
  75. mediatek,2ghz = <0>;
  76. };
  77. };
  78. };