F5D8235_V2.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. /dts-v1/;
  2. #include "rt3050.dtsi"
  3. / {
  4. compatible = "F5D8235_V2", "ralink,rt3052-soc";
  5. model = "Belkin F5D8235 v2";
  6. cfi@1f000000 {
  7. compatible = "cfi-flash";
  8. reg = <0x1f000000 0x800000>;
  9. bank-width = <2>;
  10. device-width = <2>;
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. uboot: partition@0 {
  14. label = "uboot";
  15. reg = <0x0 0x50000>;
  16. read-only;
  17. };
  18. partition@50000 {
  19. label = "firmware";
  20. reg = <0x50000 0x790000>;
  21. };
  22. partition@7e0000 {
  23. label = "nvram";
  24. reg = <0x7e0000 0x10000>;
  25. };
  26. factory: partition@7f0000 {
  27. label = "factory";
  28. reg = <0x7f0000 0x10000>;
  29. };
  30. };
  31. rtl8366rb {
  32. compatible = "rtl8366rb";
  33. gpio-sda = <&gpio0 1 0>;
  34. gpio-sck = <&gpio0 2 0>;
  35. };
  36. gpio-leds {
  37. compatible = "gpio-leds";
  38. internet {
  39. label = "f5d8235-v2:blue:internet";
  40. gpios = <&gpio0 5 1>;
  41. };
  42. internet2 {
  43. label = "f5d8235-v2:amber:internet";
  44. gpios = <&gpio0 6 1>;
  45. };
  46. modem {
  47. label = "f5d8235-v2:blue:modem";
  48. gpios = <&gpio0 11 1>;
  49. };
  50. modem2 {
  51. label = "f5d8235-v2:amber:modem";
  52. gpios = <&gpio0 8 1>;
  53. };
  54. router {
  55. label = "f5d8235-v2:blue:router";
  56. gpios = <&gpio0 9 1>;
  57. };
  58. storage {
  59. label = "f5d8235-v2:blue:storage";
  60. gpios = <&gpio0 23 1>;
  61. };
  62. storage2 {
  63. label = "f5d8235-v2:amber:storage";
  64. gpios = <&gpio0 22 1>;
  65. };
  66. security {
  67. label = "f5d8235-v2:blue:security";
  68. gpios = <&gpio0 13 1>;
  69. };
  70. security2 {
  71. label = "f5d8235-v2:amber:security";
  72. gpios = <&gpio0 12 1>;
  73. };
  74. };
  75. };
  76. &pinctrl {
  77. state_default: pinctrl0 {
  78. gpio {
  79. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  80. ralink,function = "gpio";
  81. };
  82. };
  83. };
  84. &ethernet {
  85. mtd-mac-address = <&uboot 0x40004>;
  86. };
  87. &esw {
  88. mediatek,portmap = <0x3f>;
  89. };
  90. &wmac {
  91. ralink,mtd-eeprom = <&uboot 0x40000>;
  92. };
  93. &otg {
  94. status = "okay";
  95. };