WLI-TX4-AG300N.dts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /dts-v1/;
  2. /include/ "rt2880.dtsi"
  3. / {
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. compatible = "WLI-TX4-AG300N", "ralink,rt2880-soc";
  7. model = "Buffalo WLI-TX4-AG300N";
  8. palmbus@300000 {
  9. gpio0: gpio@600 {
  10. status = "okay";
  11. };
  12. };
  13. cfi@1f000000 {
  14. compatible = "cfi-flash";
  15. reg = <0x1f000000 0x800000>;
  16. bank-width = <2>;
  17. device-width = <2>;
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. partition@0 {
  21. label = "uboot";
  22. reg = <0x0 0x30000>;
  23. read-only;
  24. };
  25. partition@30000 {
  26. label = "uboot-env";
  27. reg = <0x30000 0x10000>;
  28. read-only;
  29. };
  30. factory: partition@40000 {
  31. label = "factory";
  32. reg = <0x40000 0x10000>;
  33. read-only;
  34. };
  35. partition@50000 {
  36. label = "linux";
  37. reg = <0x50000 0x3b0000>;
  38. };
  39. };
  40. ethernet@400000 {
  41. status = "okay";
  42. mtd-mac-address = <&factory 0x4>;
  43. port@0 {
  44. ralink,fixed-link = <1000 1 1 1>;
  45. };
  46. };
  47. wmac@480000 {
  48. ralink,mtd-eeprom = <&factory 0>;
  49. };
  50. gpio-keys-polled {
  51. compatible = "gpio-keys-polled";
  52. #address-cells = <1>;
  53. #size-cells = <0>;
  54. poll-interval = <100>;
  55. wps {
  56. label = "wps";
  57. gpios = <&gpio0 0 1>;
  58. linux,code = <0x211>;
  59. };
  60. bandwidth {
  61. label = "bandwidth";
  62. gpios = <&gpio0 8 0>;
  63. linux,code = <0x198>;
  64. };
  65. reset {
  66. label = "reset";
  67. gpios = <&gpio0 9 1>;
  68. linux,code = <0x198>;
  69. };
  70. };
  71. gpio-leds {
  72. compatible = "gpio-leds";
  73. diag {
  74. label = "buffalo:red:diag";
  75. gpios = <&gpio0 10 1>;
  76. };
  77. power {
  78. label = "buffalo:blue:power";
  79. gpios = <&gpio0 12 1>;
  80. };
  81. security {
  82. label = "buffalo:blue:security";
  83. gpios = <&gpio0 13 1>;
  84. };
  85. };
  86. };