F5D8235_V1.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /dts-v1/;
  2. #include "rt2880.dtsi"
  3. / {
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. compatible = "F5D8235_V1", "ralink,rt2880-soc";
  7. model = "Belkin F5D8235 v1";
  8. cfi@1f000000 {
  9. compatible = "cfi-flash";
  10. reg = <0x1f000000 0x800000>;
  11. bank-width = <2>;
  12. device-width = <2>;
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. partition@0 {
  16. label = "uboot";
  17. reg = <0x0 0x30000>;
  18. read-only;
  19. };
  20. partition@30000 {
  21. label = "uboot-env";
  22. reg = <0x30000 0x10000>;
  23. read-only;
  24. };
  25. factory: partition@40000 {
  26. label = "factory";
  27. reg = <0x40000 0x10000>;
  28. read-only;
  29. };
  30. partition@50000 {
  31. label = "linux";
  32. reg = <0x50000 0x3b0000>;
  33. };
  34. };
  35. rtl8366s {
  36. compatible = "realtek,rtl8366s";
  37. gpio-sda = <&gpio0 1 0>;
  38. gpio-sck = <&gpio0 2 0>;
  39. };
  40. gpio-keys-polled {
  41. compatible = "gpio-keys-polled";
  42. #address-cells = <1>;
  43. #size-cells = <0>;
  44. poll-interval = <100>;
  45. wps {
  46. label = "wps";
  47. gpios = <&gpio0 0 1>;
  48. linux,code = <0x211>;
  49. };
  50. reset {
  51. label = "reset";
  52. gpios = <&gpio0 9 1>;
  53. linux,code = <0x198>;
  54. };
  55. };
  56. gpio-leds {
  57. compatible = "gpio-leds";
  58. storage {
  59. label = "f5d8235-v1:blue:storage";
  60. gpios = <&gpio0 7 1>;
  61. };
  62. storage2 {
  63. label = "f5d8235-v1:orange:storage";
  64. gpios = <&gpio0 8 1>;
  65. };
  66. };
  67. };
  68. &gpio0 {
  69. status = "okay";
  70. };
  71. &pinctrl {
  72. state_default: pinctrl0 {
  73. gpio {
  74. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  75. ralink,function = "gpio";
  76. };
  77. };
  78. };
  79. &ethernet {
  80. status = "okay";
  81. mtd-mac-address = <&factory 0x4>;
  82. port@0 {
  83. mediatek,fixed-link = <1000 1 1 1>;
  84. };
  85. };
  86. /* FIXME: no u-boot partition and 0x40000@uboot is out of boundaries */
  87. /*&wmac {
  88. status = "okay";
  89. ralink,mtd-eeprom = <&u-boot 0x40000>;
  90. };
  91. */