2
0

V11STFE.dts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /dts-v1/;
  2. #include "rt2880.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. compatible = "V11ST-FE", "ralink,rt2880-soc";
  6. model = "Ralink V11ST-FE";
  7. pci@440000 {
  8. status = "okay";
  9. host-bridge {
  10. pci-bridge@1 {
  11. status = "okay";
  12. };
  13. };
  14. };
  15. nor-flash@1c000000 {
  16. compatible = "cfi-flash";
  17. reg = <0x1c000000 0x800000>;
  18. bank-width = <2>;
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. partition@0 {
  22. reg = <0x0 0x0030000>;
  23. label = "u-boot";
  24. read-only;
  25. };
  26. partition@30000 {
  27. reg = <0x00030000 0x00010000>;
  28. label = "u-boot-env";
  29. read-only;
  30. };
  31. factory: partition@40000 {
  32. reg = <0x00040000 0x00010000>;
  33. label = "factory";
  34. read-only;
  35. };
  36. partition@50000 {
  37. reg = <0x00050000 0x003b0000>;
  38. label = "firmware";
  39. };
  40. };
  41. gpio-keys-polled {
  42. compatible = "gpio-keys-polled";
  43. #address-cells = <1>;
  44. #size-cells = <0>;
  45. poll-interval = <100>;
  46. wps {
  47. label = "wps";
  48. gpios = <&gpio0 0 0>;
  49. linux,code = <KEY_WPS_BUTTON>;
  50. };
  51. };
  52. gpio-leds {
  53. compatible = "gpio-leds";
  54. status {
  55. label = "v11st-fe:green:status";
  56. gpios = <&gpio0 12 1>;
  57. };
  58. };
  59. };
  60. &gpio0 {
  61. status = "okay";
  62. };
  63. &ethernet {
  64. status = "okay";
  65. };
  66. &wmac {
  67. ralink,mtd-eeprom = <&factory 0>;
  68. };