F7C027.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /dts-v1/;
  2. /include/ "rt5350.dtsi"
  3. / {
  4. compatible = "F7C027", "ralink,rt5350-soc";
  5. model = "Belkin F7C027";
  6. palmbus@10000000 {
  7. spi@b00 {
  8. status = "okay";
  9. m25p80@0 {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. compatible = "mx25l12805d";
  13. reg = <0 0>;
  14. linux,modalias = "m25p80", "mx25l12805d";
  15. spi-max-frequency = <10000000>;
  16. partition@0 {
  17. label = "u-boot";
  18. reg = <0x0 0x30000>;
  19. read-only;
  20. };
  21. partition@30000 {
  22. label = "u-boot-env";
  23. reg = <0x30000 0x10000>;
  24. read-only;
  25. };
  26. factory: partition@40000 {
  27. label = "factory";
  28. reg = <0x40000 0x10000>;
  29. read-only;
  30. };
  31. partition@50000 {
  32. label = "firmware";
  33. reg = <0x50000 0x770000>;
  34. };
  35. partition@7c0000 {
  36. label = "firmware2";
  37. reg = <0x7c0000 0x770000>;
  38. };
  39. partition@f30000 {
  40. label = "belkin_settings";
  41. reg = <0xf30000 0xa0000>;
  42. };
  43. partition@fd0000 {
  44. label = "unknown";
  45. reg = <0xfd0000 0x10000>;
  46. };
  47. partition@fe0000 {
  48. label = "nvram";
  49. reg = <0xfe0000 0x10000>;
  50. };
  51. partition@ff0000 {
  52. label = "user_factory";
  53. reg = <0xff0000 0x10000>;
  54. };
  55. };
  56. };
  57. };
  58. wmac@10180000 {
  59. ralink,mtd-eeprom = <&factory 0>;
  60. };
  61. pinctrl {
  62. state_default: pinctrl0 {
  63. gpio {
  64. ralink,group = "i2c", "jtag", "uartf";
  65. ralink,function = "gpio";
  66. };
  67. };
  68. };
  69. gpio-leds {
  70. compatible = "gpio-leds";
  71. status {
  72. label = "belkin:blue:status";
  73. gpios = <&gpio0 7 1>;
  74. };
  75. power {
  76. label = "belkin:blue:power";
  77. gpios = <&gpio0 9 1>;
  78. };
  79. orange {
  80. label = "belkin:orange:status";
  81. gpios = <&gpio0 11 1>;
  82. };
  83. relay {
  84. label = "belkin:device:relay";
  85. gpios = <&gpio0 13 0>;
  86. };
  87. };
  88. gpio-keys-polled {
  89. compatible = "gpio-keys-polled";
  90. #address-cells = <1>;
  91. #size-cells = <0>;
  92. poll-interval = <20>;
  93. top {
  94. label = "top";
  95. gpios = <&gpio0 10 1>;
  96. linux,code = <0x198>;
  97. };
  98. power {
  99. label = "power";
  100. gpios = <&gpio0 12 1>;
  101. linux,code = <0x100>;
  102. };
  103. sensor {
  104. label = "sensor";
  105. gpios = <&gpio0 14 1>;
  106. linux,code = <0x101>;
  107. };
  108. };
  109. };