RP-N53.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /dts-v1/;
  2. /include/ "mt7620a.dtsi"
  3. / {
  4. compatible = "asus,rp-n53", "ralink,mt7620a-soc";
  5. model = "Asus RP-N53";
  6. palmbus@10000000 {
  7. gpio1: gpio@638 {
  8. status = "okay";
  9. };
  10. i2c@900 {
  11. status = "okay";
  12. };
  13. i2s@a00 {
  14. status = "okay";
  15. pinctrl-names = "default";
  16. pinctrl-0 = <&pcm_i2s_pins>;
  17. };
  18. spi@b00 {
  19. status = "okay";
  20. m25p80@0 {
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. compatible = "mx25l6405d";
  24. reg = <0 0>;
  25. linux,modalias = "m25p80";
  26. spi-max-frequency = <10000000>;
  27. partition@0 {
  28. label = "u-boot";
  29. reg = <0x0 0x30000>;
  30. read-only;
  31. };
  32. partition@30000 {
  33. label = "u-boot-env";
  34. reg = <0x30000 0x10000>;
  35. read-only;
  36. };
  37. factory: partition@40000 {
  38. label = "factory";
  39. reg = <0x40000 0x10000>;
  40. read-only;
  41. };
  42. partition@50000 {
  43. label = "firmware";
  44. reg = <0x50000 0x7b0000>;
  45. };
  46. };
  47. };
  48. pcm@2000 {
  49. status = "okay";
  50. };
  51. gdma@2800 {
  52. status = "okay";
  53. };
  54. };
  55. pinctrl {
  56. state_default: pinctrl0 {
  57. gpio {
  58. ralink,group = "mdio", "rgmii1";
  59. ralink,function = "gpio";
  60. };
  61. };
  62. };
  63. gsw@10110000 {
  64. ralink,port4 = "ephy";
  65. pinctrl-names = "default";
  66. pinctrl-0 = <&ephy_pins>;
  67. };
  68. pcie@10140000 {
  69. status = "okay";
  70. };
  71. gpio-keys-polled {
  72. compatible = "gpio-keys-polled";
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. poll-interval = <20>;
  76. touch {
  77. label = "touch";
  78. gpios = <&gpio1 0 1>;
  79. linux,code = <0x100>;
  80. };
  81. wps {
  82. label = "wps";
  83. gpios = <&gpio1 1 1>;
  84. linux,code = <0x100>;
  85. };
  86. reset {
  87. label = "reset";
  88. gpios = <&gpio1 2 1>;
  89. linux,code = <0x100>;
  90. };
  91. audio {
  92. label = "audio";
  93. gpios = <&gpio1 3 0>;
  94. linux,code = <0x101>;
  95. };
  96. };
  97. gpio-leds {
  98. compatible = "gpio-leds";
  99. backlight {
  100. label = "asus:white:back";
  101. gpios = <&gpio1 4 1>;
  102. };
  103. wifi0 {
  104. label = "asus:blue:5g3";
  105. gpios = <&gpio1 5 1>;
  106. };
  107. wifi1 {
  108. label = "asus:blue:5g2";
  109. gpios = <&gpio1 6 1>;
  110. };
  111. wifi2 {
  112. label = "asus:blue:5g1";
  113. gpios = <&gpio1 7 1>;
  114. };
  115. wifi3 {
  116. label = "asus:blue:wifi";
  117. gpios = <&gpio1 8 1>;
  118. };
  119. wifi4 {
  120. label = "asus:blue:2g1";
  121. gpios = <&gpio1 9 1>;
  122. };
  123. wifi5 {
  124. label = "asus:blue:2g2";
  125. gpios = <&gpio1 10 1>;
  126. };
  127. wifi6 {
  128. label = "asus:blue:2g3";
  129. gpios = <&gpio1 11 1>;
  130. };
  131. };
  132. };