1
0

V11STFE.dts 1.4 KB

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