F7C027.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /dts-v1/;
  2. /include/ "rt5350.dtsi"
  3. / {
  4. compatible = "F7C027", "ralink,rt5350-soc";
  5. model = "Belkin F7C027";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "spi", "uartlite", "jtag", "sdram";
  9. ralink,uartmux = "gpio";
  10. ralink,wdtmux = <1>;
  11. };
  12. gpio0: gpio@600 {
  13. status = "okay";
  14. };
  15. spi@b00 {
  16. status = "okay";
  17. m25p80@0 {
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. compatible = "mx25l12805d";
  21. reg = <0 0>;
  22. linux,modalias = "m25p80", "mx25l12805d";
  23. spi-max-frequency = <10000000>;
  24. partition@0 {
  25. label = "u-boot";
  26. reg = <0x0 0x30000>;
  27. read-only;
  28. };
  29. partition@30000 {
  30. label = "u-boot-env";
  31. reg = <0x30000 0x10000>;
  32. read-only;
  33. };
  34. factory: partition@40000 {
  35. label = "factory";
  36. reg = <0x40000 0x10000>;
  37. read-only;
  38. };
  39. partition@50000 {
  40. label = "firmware";
  41. reg = <0x50000 0x770000>;
  42. };
  43. partition@7c0000 {
  44. label = "firmware2";
  45. reg = <0x7c0000 0x770000>;
  46. };
  47. partition@f30000 {
  48. label = "belkin_settings";
  49. reg = <0xf30000 0xa0000>;
  50. };
  51. partition@fd0000 {
  52. label = "unknown";
  53. reg = <0xfd0000 0x10000>;
  54. };
  55. partition@fe0000 {
  56. label = "nvram";
  57. reg = <0xfe0000 0x10000>;
  58. };
  59. partition@ff0000 {
  60. label = "user_factory";
  61. reg = <0xff0000 0x10000>;
  62. };
  63. };
  64. };
  65. };
  66. wmac@10180000 {
  67. status = "okay";
  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. };