1
0

FREESTATION5.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /dts-v1/;
  2. #include "rt3050.dtsi"
  3. / {
  4. compatible = "FREESTATION5", "ralink,rt3050-soc";
  5. model = "ARC FreeStation5";
  6. chosen {
  7. bootargs = "console=ttyS0,115200";
  8. };
  9. cfi@1f000000 {
  10. compatible = "cfi-flash";
  11. reg = <0x1f000000 0x800000>;
  12. bank-width = <2>;
  13. device-width = <2>;
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. partition@0 {
  17. label = "u-boot";
  18. reg = <0x0 0x30000>;
  19. read-only;
  20. };
  21. partition@30000 {
  22. label = "u-boot-env";
  23. reg = <0x30000 0x10000>;
  24. read-only;
  25. };
  26. factory: partition@40000 {
  27. label = "factory";
  28. reg = <0x40000 0x10000>;
  29. read-only;
  30. };
  31. partition@50000 {
  32. label = "firmware";
  33. reg = <0x50000 0x7b0000>;
  34. };
  35. };
  36. gpio-export {
  37. compatible = "gpio-export";
  38. // Used to enable power-over-ethernet passthrough from port0 to port1.
  39. // Disable passthrough by default to prevent accidental equipment damage.
  40. poe {
  41. gpio-export,name = "poe-passthrough";
  42. gpio-export,output = <1>; // OUT_INIT_HIGH
  43. gpios = <&gpio0 11 1>; // GPIO 11, ACTIVE_LOW
  44. };
  45. };
  46. gpio-leds {
  47. compatible = "gpio-leds";
  48. // The following leds are defined in the ArcOS firmware, but reportedly
  49. // not present in the Freestation5 device.
  50. wifi {
  51. label = "freestation5:unknown:wifi";
  52. gpios = <&gpio0 7 1>;
  53. };
  54. powerg {
  55. label = "freestation5:unknown:powerg";
  56. gpios = <&gpio0 9 1>;
  57. };
  58. usb {
  59. label = "freestation5:unknown:usb";
  60. gpios = <&gpio0 14 1>;
  61. };
  62. };
  63. };
  64. &pinctrl {
  65. state_default: pinctrl0 {
  66. gpio {
  67. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  68. ralink,function = "gpio";
  69. };
  70. };
  71. };
  72. &ethernet {
  73. mtd-mac-address = <&factory 0x4>;
  74. };
  75. &esw {
  76. mediatek,portmap = <0x01>;
  77. };
  78. &wmac {
  79. ralink,mtd-eeprom = <&factory 0>;
  80. };
  81. &otg {
  82. status = "okay";
  83. };