FREESTATION5.dts 1.8 KB

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