F5D8235_V2.dts 1.8 KB

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