kirkwood-guruplug-server-plus.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /dts-v1/;
  2. #include "kirkwood.dtsi"
  3. #include "kirkwood-6281.dtsi"
  4. / {
  5. model = "Globalscale Technologies Guruplug Server Plus";
  6. compatible = "globalscale,guruplug-server-plus", "globalscale,guruplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x20000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk";
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pmx_led_health_r: pmx-led-health-r {
  17. marvell,pins = "mpp46";
  18. marvell,function = "gpio";
  19. };
  20. pmx_led_health_g: pmx-led-health-g {
  21. marvell,pins = "mpp47";
  22. marvell,function = "gpio";
  23. };
  24. pmx_led_wmode_r: pmx-led-wmode-r {
  25. marvell,pins = "mpp48";
  26. marvell,function = "gpio";
  27. };
  28. pmx_led_wmode_g: pmx-led-wmode-g {
  29. marvell,pins = "mpp49";
  30. marvell,function = "gpio";
  31. };
  32. };
  33. serial@12000 {
  34. clock-frequency = <200000000>;
  35. status = "ok";
  36. };
  37. sata@80000 {
  38. status = "okay";
  39. nr-ports = <1>;
  40. };
  41. mvsdio@90000 {
  42. status = "okay";
  43. /* No CD or WP GPIOs */
  44. broken-cd;
  45. };
  46. };
  47. gpio-leds {
  48. compatible = "gpio-leds";
  49. pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g
  50. &pmx_led_wmode_r &pmx_led_wmode_g >;
  51. pinctrl-names = "default";
  52. health-r {
  53. label = "guruplug:red:health";
  54. gpios = <&gpio1 14 1>;
  55. };
  56. health-g {
  57. label = "guruplug:green:health";
  58. gpios = <&gpio1 15 1>;
  59. };
  60. wmode-r {
  61. label = "guruplug:red:wmode";
  62. gpios = <&gpio1 16 1>;
  63. };
  64. wmode-g {
  65. label = "guruplug:green:wmode";
  66. gpios = <&gpio1 17 1>;
  67. };
  68. };
  69. };
  70. &nand {
  71. status = "okay";
  72. partition@0 {
  73. label = "u-boot";
  74. reg = <0x00000000 0x00100000>;
  75. read-only;
  76. };
  77. partition@100000 {
  78. label = "uImage";
  79. reg = <0x00100000 0x00400000>;
  80. };
  81. partition@500000 {
  82. label = "data";
  83. reg = <0x00500000 0x1fb00000>;
  84. };
  85. };
  86. &mdio {
  87. status = "okay";
  88. ethphy0: ethernet-phy@0 {
  89. device_type = "ethernet-phy";
  90. compatible = "marvell,88e1121";
  91. reg = <0>;
  92. };
  93. ethphy1: ethernet-phy@1 {
  94. device_type = "ethernet-phy";
  95. compatible = "marvell,88e1121";
  96. reg = <1>;
  97. };
  98. };
  99. &eth0 {
  100. status = "okay";
  101. ethernet0-port@0 {
  102. phy-handle = <&ethphy0>;
  103. };
  104. };
  105. &eth1 {
  106. status = "okay";
  107. ethernet1-port@0 {
  108. phy-handle = <&ethphy1>;
  109. };
  110. };