FREESTATION5.dts 1.8 KB

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