F5D8235_V1.dts 1.8 KB

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