F7C027.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. pinctrl {
  59. state_default: pinctrl0 {
  60. gpio {
  61. ralink,group = "i2c", "jtag", "uartf";
  62. ralink,function = "gpio";
  63. };
  64. };
  65. };
  66. gpio-leds {
  67. compatible = "gpio-leds";
  68. status {
  69. label = "belkin:blue:status";
  70. gpios = <&gpio0 7 1>;
  71. };
  72. power {
  73. label = "belkin:blue:power";
  74. gpios = <&gpio0 9 1>;
  75. };
  76. orange {
  77. label = "belkin:orange:status";
  78. gpios = <&gpio0 11 1>;
  79. };
  80. relay {
  81. label = "belkin:device:relay";
  82. gpios = <&gpio0 13 0>;
  83. };
  84. };
  85. gpio-keys-polled {
  86. compatible = "gpio-keys-polled";
  87. #address-cells = <1>;
  88. #size-cells = <0>;
  89. poll-interval = <20>;
  90. top {
  91. label = "top";
  92. gpios = <&gpio0 10 1>;
  93. linux,code = <0x198>;
  94. };
  95. power {
  96. label = "power";
  97. gpios = <&gpio0 12 1>;
  98. linux,code = <0x100>;
  99. };
  100. sensor {
  101. label = "sensor";
  102. gpios = <&gpio0 14 1>;
  103. linux,code = <0x101>;
  104. };
  105. };
  106. };