armada-xp-openblocks-ax3-4.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /*
  2. * Device Tree file for OpenBlocks AX3-4 board
  3. *
  4. * Copyright (C) 2012 Marvell
  5. *
  6. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  7. *
  8. * This file is licensed under the terms of the GNU General Public
  9. * License version 2. This program is licensed "as is" without any
  10. * warranty of any kind, whether express or implied.
  11. */
  12. /dts-v1/;
  13. /include/ "armada-xp-mv78260.dtsi"
  14. / {
  15. model = "PlatHome OpenBlocks AX3-4 board";
  16. compatible = "plathome,openblocks-ax3-4", "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
  17. chosen {
  18. bootargs = "console=ttyS0,115200 earlyprintk";
  19. };
  20. memory {
  21. device_type = "memory";
  22. reg = <0x00000000 0xC0000000>; /* 3 GB */
  23. };
  24. soc {
  25. serial@d0012000 {
  26. clock-frequency = <250000000>;
  27. status = "okay";
  28. };
  29. serial@d0012100 {
  30. clock-frequency = <250000000>;
  31. status = "okay";
  32. };
  33. pinctrl {
  34. led_pins: led-pins-0 {
  35. marvell,pins = "mpp49", "mpp51", "mpp53";
  36. marvell,function = "gpio";
  37. };
  38. };
  39. leds {
  40. compatible = "gpio-leds";
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&led_pins>;
  43. red_led {
  44. label = "red_led";
  45. gpios = <&gpio1 17 1>;
  46. default-state = "off";
  47. };
  48. yellow_led {
  49. label = "yellow_led";
  50. gpios = <&gpio1 19 1>;
  51. default-state = "off";
  52. };
  53. green_led {
  54. label = "green_led";
  55. gpios = <&gpio1 21 1>;
  56. default-state = "off";
  57. linux,default-trigger = "heartbeat";
  58. };
  59. };
  60. gpio_keys {
  61. compatible = "gpio-keys";
  62. #address-cells = <1>;
  63. #size-cells = <0>;
  64. button@1 {
  65. label = "Init Button";
  66. linux,code = <116>;
  67. gpios = <&gpio1 28 0>;
  68. };
  69. };
  70. mdio {
  71. phy0: ethernet-phy@0 {
  72. reg = <0>;
  73. };
  74. phy1: ethernet-phy@1 {
  75. reg = <1>;
  76. };
  77. phy2: ethernet-phy@2 {
  78. reg = <2>;
  79. };
  80. phy3: ethernet-phy@3 {
  81. reg = <3>;
  82. };
  83. };
  84. ethernet@d0070000 {
  85. status = "okay";
  86. phy = <&phy0>;
  87. phy-mode = "sgmii";
  88. };
  89. ethernet@d0074000 {
  90. status = "okay";
  91. phy = <&phy1>;
  92. phy-mode = "sgmii";
  93. };
  94. ethernet@d0030000 {
  95. status = "okay";
  96. phy = <&phy2>;
  97. phy-mode = "sgmii";
  98. };
  99. ethernet@d0034000 {
  100. status = "okay";
  101. phy = <&phy3>;
  102. phy-mode = "sgmii";
  103. };
  104. i2c@d0011000 {
  105. status = "okay";
  106. clock-frequency = <400000>;
  107. };
  108. i2c@d0011100 {
  109. status = "okay";
  110. clock-frequency = <400000>;
  111. s35390a: s35390a@30 {
  112. compatible = "s35390a";
  113. reg = <0x30>;
  114. };
  115. };
  116. sata@d00a0000 {
  117. nr-ports = <2>;
  118. status = "okay";
  119. };
  120. usb@d0050000 {
  121. status = "okay";
  122. };
  123. usb@d0051000 {
  124. status = "okay";
  125. };
  126. };
  127. };