FREESTATION5.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 0x28>;
  46. };
  47. esw@10110000 {
  48. ralink,portmap = <0x01>;
  49. };
  50. otg@101c0000 {
  51. status = "okay";
  52. };
  53. gpio-export {
  54. compatible = "gpio-export";
  55. // Used to enable power-over-ethernet passthrough from port0 to port1.
  56. // Disable passthrough by default to prevent accidental equipment damage.
  57. poe {
  58. gpio-export,name = "poe-passthrough";
  59. gpio-export,output = <1>; // OUT_INIT_HIGH
  60. gpios = <&gpio0 11 1>; // GPIO 11, ACTIVE_LOW
  61. };
  62. };
  63. gpio-leds {
  64. compatible = "gpio-leds";
  65. // The following leds are defined in the ArcOS firmware, but reportedly
  66. // not present in the Freestation5 device.
  67. wifi {
  68. label = "freestation:unknown:wifi";
  69. gpios = <&gpio0 7 1>;
  70. };
  71. powerg {
  72. label = "freestation:unknown:powerg";
  73. gpios = <&gpio0 9 1>;
  74. };
  75. usb {
  76. label = "freestation:unknown:usb";
  77. gpios = <&gpio0 14 1>;
  78. };
  79. };
  80. };