RTN56U.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /dts-v1/;
  2. /include/ "rt3883.dtsi"
  3. / {
  4. compatible = "RT-N56U", "ralink,rt3883-soc";
  5. model = "Asus RT-N56U";
  6. palmbus@10000000 {
  7. gpio1: gpio@638 {
  8. status = "okay";
  9. };
  10. };
  11. pinctrl {
  12. state_default: pinctrl0 {
  13. gpio {
  14. ralink,group = "spi", "i2c", "jtag", "uartf";
  15. ralink,function = "gpio";
  16. };
  17. };
  18. };
  19. ethernet@10100000 {
  20. mtd-mac-address = <&factory 0x4>;
  21. port@0 {
  22. ralink,fixed-link = <1000 1 1 1>;
  23. };
  24. };
  25. pci@10140000 {
  26. status = "okay";
  27. pinctrl-names = "default";
  28. pinctrl-0 = <&pci_pins>;
  29. pci_pins: pci {
  30. pci {
  31. ralink,group = "pci";
  32. ralink,function = "pci-fnc";
  33. };
  34. };
  35. host-bridge {
  36. pci-bridge@1 {
  37. status = "okay";
  38. wmac@0,0 {
  39. compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
  40. reg = < 0x10000 0 0 0 0 >;
  41. ralink,eeprom = "rt2x00pci_1_0.eeprom";
  42. };
  43. };
  44. };
  45. };
  46. wmac@10180000 {
  47. status = "okay";
  48. ralink,2ghz = <0>;
  49. ralink,mtd-eeprom = <&factory 0>;
  50. };
  51. ehci@101c0000 {
  52. status = "okay";
  53. };
  54. ohci@101c1000 {
  55. status = "okay";
  56. };
  57. nor-flash@1c000000 {
  58. compatible = "cfi-flash";
  59. reg = <0x1c000000 0x800000>;
  60. bank-width = <2>;
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. partition@0 {
  64. reg = <0x0 0x0030000>;
  65. label = "u-boot";
  66. read-only;
  67. };
  68. partition@30000 {
  69. reg = <0x00030000 0x00010000>;
  70. label = "u-boot-env";
  71. read-only;
  72. };
  73. factory: partition@40000 {
  74. reg = <0x00040000 0x00010000>;
  75. label = "factory";
  76. read-only;
  77. };
  78. partition@50000 {
  79. reg = <0x00050000 0x007b0000>;
  80. label = "firmware";
  81. };
  82. };
  83. rtl8367 {
  84. compatible = "realtek,rtl8367";
  85. gpio-sda = <&gpio0 1 0>;
  86. gpio-sck = <&gpio0 2 0>;
  87. realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
  88. };
  89. gpio-keys-polled {
  90. compatible = "gpio-keys-polled";
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. poll-interval = <100>;
  94. reset {
  95. label = "reset";
  96. gpios = <&gpio0 13 1>;
  97. linux,code = <0x198>;
  98. };
  99. wps {
  100. label = "wps";
  101. gpios = <&gpio1 2 1>;
  102. linux,code = <0x211>;
  103. };
  104. };
  105. gpio-leds {
  106. compatible = "gpio-leds";
  107. power {
  108. label = "asus:blue:power";
  109. gpios = <&gpio0 0 1>;
  110. };
  111. lan {
  112. label = "asus:blue:lan";
  113. gpios = <&gpio0 19 1>;
  114. };
  115. wan {
  116. label = "asus:blue:wan";
  117. gpios = <&gpio1 3 1>;
  118. };
  119. usb {
  120. label = "asus:blue:usb";
  121. gpios = <&gpio1 0 1>;
  122. };
  123. };
  124. };