ArcherC20i.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /dts-v1/;
  2. /include/ "mt7620a.dtsi"
  3. / {
  4. compatible = "ralink,mt7620a-soc";
  5. model = "TP-Link Archer C20i";
  6. chosen {
  7. bootargs = "console=ttyS0,115200";
  8. };
  9. palmbus@10000000 {
  10. gpio2: gpio@660 {
  11. status = "okay";
  12. };
  13. spi@b00 {
  14. status = "okay";
  15. m25p80@0 {
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. compatible = "en25q64";
  19. reg = <0 0>;
  20. linux,modalias = "m25p80", "mx25l6405d";
  21. spi-max-frequency = <10000000>;
  22. partition@0 {
  23. label = "u-boot";
  24. reg = <0x0 0x20000>;
  25. read-only;
  26. };
  27. partition@20000 {
  28. label = "firmware";
  29. reg = <0x20000 0x7a0000>;
  30. };
  31. partition@7c0000 {
  32. label = "config";
  33. reg = <0x7c0000 0x10000>;
  34. };
  35. rom: partition@7d0000 {
  36. label = "rom";
  37. reg = <0x7d0000 0x10000>;
  38. };
  39. partition@7e0000 {
  40. label = "romfile";
  41. reg = <0x7e0000 0x10000>;
  42. };
  43. radio: partition@7f0000 {
  44. label = "radio";
  45. reg = <0x7f0000 0x10000>;
  46. };
  47. };
  48. };
  49. };
  50. pinctrl {
  51. state_default: pinctrl0 {
  52. gpio {
  53. ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
  54. ralink,function = "gpio";
  55. };
  56. };
  57. };
  58. ethernet@10100000 {
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&ephy_pins>;
  61. mtd-mac-address = <&rom 0xf100>;
  62. ralink,port-map = "wllll";
  63. };
  64. gsw@10110000 {
  65. ralink,port4 = "ephy";
  66. };
  67. wmac@10180000 {
  68. ralink,mtd-eeprom = <&radio 0>;
  69. };
  70. pcie@10140000 {
  71. status = "okay";
  72. pcie-bridge {
  73. mt76@0,0 {
  74. reg = <0x0000 0 0 0 0>;
  75. device_type = "pci";
  76. mediatek,mtd-eeprom = <&radio 32768>;
  77. mediatek,2ghz = <0>;
  78. };
  79. };
  80. };
  81. gpio-leds {
  82. compatible = "gpio-leds";
  83. };
  84. gpio-keys-polled {
  85. compatible = "gpio-keys-polled";
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. poll-interval = <20>;
  89. };
  90. };