AR725W.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /dts-v1/;
  2. /include/ "rt2880.dtsi"
  3. / {
  4. compatible = "AR725W", "ralink,rt2880-soc";
  5. model = "Airlink101 AR725W";
  6. palmbus@300000 {
  7. gpio0: gpio@600 {
  8. status = "okay";
  9. };
  10. };
  11. pinctrl {
  12. state_default: pinctrl0 {
  13. gpio {
  14. ralink,group = "i2c", "spi", "uartlite";
  15. ralink,function = "gpio";
  16. };
  17. };
  18. };
  19. ethernet@400000 {
  20. status = "okay";
  21. mtd-mac-address = <&factory 0x4>;
  22. port@0 {
  23. phy-handle = <&phy0>;
  24. phy-mode = "mii";
  25. };
  26. mdio-bus {
  27. status = "okay";
  28. phy0: ethernet-phy@0 {
  29. phy-mode = "mii";
  30. reg = <0>;
  31. };
  32. };
  33. };
  34. wmac@480000 {
  35. status = "okay";
  36. ralink,mtd-eeprom = <&factory 0>;
  37. };
  38. cfi@bdc00000 {
  39. compatible = "cfi-flash";
  40. reg = <0xbc400000 0x800000>;
  41. bank-width = <2>;
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. u-boot@0 {
  45. reg = <0x0 0x30000>;
  46. label = "u-boot";
  47. read-only;
  48. };
  49. u-boot-env@30000 {
  50. reg = <0x30000 0x10000>;
  51. label = "u-boot-env";
  52. };
  53. factory: factory@40000 {
  54. reg = <0x40000 0x10000>;
  55. label = "factory";
  56. read-only;
  57. };
  58. firmware@50000 {
  59. reg = <0x50000 0x3B0000>;
  60. label = "firmware";
  61. };
  62. };
  63. gpio-leds {
  64. compatible = "gpio-leds";
  65. status {
  66. label = "ar725w:green:power";
  67. gpios = <&gpio0 7 0>;
  68. };
  69. wpsred {
  70. label = "ar725w:red:wps";
  71. gpios = <&gpio0 8 1>;
  72. };
  73. wpsblue {
  74. label = "ar725w:blue:wps";
  75. gpios = <&gpio0 13 1>;
  76. };
  77. };
  78. gpio-keys-polled {
  79. compatible = "gpio-keys-polled";
  80. #address-cells = <1>;
  81. #size-cells = <0>;
  82. poll-interval = <100>;
  83. wps {
  84. label = "wps";
  85. gpios = <&gpio0 0 1>;
  86. linux,code = <0x211>;
  87. };
  88. reset {
  89. label = "reset";
  90. gpios = <&gpio0 9 1>;
  91. linux,code = <0x198>;
  92. };
  93. };
  94. };