kirkwood-goflexnet.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /dts-v1/;
  2. #include "kirkwood.dtsi"
  3. #include "kirkwood-6281.dtsi"
  4. / {
  5. model = "Seagate GoFlex Net";
  6. compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x8000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pmx_usb_power_enable: pmx-usb-power-enable {
  17. marvell,pins = "mpp29";
  18. marvell,function = "gpio";
  19. };
  20. pmx_led_right_cap_0: pmx-led_right_cap_0 {
  21. marvell,pins = "mpp38";
  22. marvell,function = "gpio";
  23. };
  24. pmx_led_right_cap_1: pmx-led_right_cap_1 {
  25. marvell,pins = "mpp39";
  26. marvell,function = "gpio";
  27. };
  28. pmx_led_right_cap_2: pmx-led_right_cap_2 {
  29. marvell,pins = "mpp40";
  30. marvell,function = "gpio";
  31. };
  32. pmx_led_right_cap_3: pmx-led_right_cap_3 {
  33. marvell,pins = "mpp41";
  34. marvell,function = "gpio";
  35. };
  36. pmx_led_left_cap_0: pmx-led_left_cap_0 {
  37. marvell,pins = "mpp42";
  38. marvell,function = "gpio";
  39. };
  40. pmx_led_left_cap_1: pmx-led_left_cap_1 {
  41. marvell,pins = "mpp43";
  42. marvell,function = "gpio";
  43. };
  44. pmx_led_left_cap_2: pmx-led_left_cap_2 {
  45. marvell,pins = "mpp44";
  46. marvell,function = "gpio";
  47. };
  48. pmx_led_left_cap_3: pmx-led_left_cap_3 {
  49. marvell,pins = "mpp45";
  50. marvell,function = "gpio";
  51. };
  52. pmx_led_green: pmx-led_green {
  53. marvell,pins = "mpp46";
  54. marvell,function = "gpio";
  55. };
  56. pmx_led_orange: pmx-led_orange {
  57. marvell,pins = "mpp47";
  58. marvell,function = "gpio";
  59. };
  60. };
  61. serial@12000 {
  62. status = "ok";
  63. };
  64. sata@80000 {
  65. status = "okay";
  66. nr-ports = <2>;
  67. };
  68. };
  69. gpio-leds {
  70. compatible = "gpio-leds";
  71. pinctrl-0 = < &pmx_led_orange
  72. &pmx_led_left_cap_0 &pmx_led_left_cap_1
  73. &pmx_led_left_cap_2 &pmx_led_left_cap_3
  74. &pmx_led_right_cap_0 &pmx_led_right_cap_1
  75. &pmx_led_right_cap_2 &pmx_led_right_cap_3
  76. >;
  77. pinctrl-names = "default";
  78. health {
  79. label = "status:green:health";
  80. gpios = <&gpio1 14 1>;
  81. linux,default-trigger = "default-on";
  82. };
  83. fault {
  84. label = "status:orange:fault";
  85. gpios = <&gpio1 15 1>;
  86. };
  87. left0 {
  88. label = "status:white:left0";
  89. gpios = <&gpio1 10 0>;
  90. };
  91. left1 {
  92. label = "status:white:left1";
  93. gpios = <&gpio1 11 0>;
  94. };
  95. left2 {
  96. label = "status:white:left2";
  97. gpios = <&gpio1 12 0>;
  98. };
  99. left3 {
  100. label = "status:white:left3";
  101. gpios = <&gpio1 13 0>;
  102. };
  103. right0 {
  104. label = "status:white:right0";
  105. gpios = <&gpio1 6 0>;
  106. };
  107. right1 {
  108. label = "status:white:right1";
  109. gpios = <&gpio1 7 0>;
  110. };
  111. right2 {
  112. label = "status:white:right2";
  113. gpios = <&gpio1 8 0>;
  114. };
  115. right3 {
  116. label = "status:white:right3";
  117. gpios = <&gpio1 9 0>;
  118. };
  119. };
  120. regulators {
  121. compatible = "simple-bus";
  122. #address-cells = <1>;
  123. #size-cells = <0>;
  124. pinctrl-0 = <&pmx_usb_power_enable>;
  125. pinctrl-names = "default";
  126. usb_power: regulator@1 {
  127. compatible = "regulator-fixed";
  128. reg = <1>;
  129. regulator-name = "USB Power";
  130. regulator-min-microvolt = <5000000>;
  131. regulator-max-microvolt = <5000000>;
  132. enable-active-high;
  133. regulator-always-on;
  134. regulator-boot-on;
  135. gpio = <&gpio0 29 0>;
  136. };
  137. };
  138. };
  139. &nand {
  140. chip-delay = <40>;
  141. status = "okay";
  142. partition@0 {
  143. label = "u-boot";
  144. reg = <0x0000000 0x100000>;
  145. read-only;
  146. };
  147. partition@100000 {
  148. label = "uImage";
  149. reg = <0x0100000 0x400000>;
  150. };
  151. partition@500000 {
  152. label = "pogoplug";
  153. reg = <0x0500000 0x2000000>;
  154. };
  155. partition@2500000 {
  156. label = "root";
  157. reg = <0x02500000 0xd800000>;
  158. };
  159. };
  160. &mdio {
  161. status = "okay";
  162. ethphy0: ethernet-phy@0 {
  163. device_type = "ethernet-phy";
  164. reg = <0>;
  165. };
  166. };
  167. &eth0 {
  168. status = "okay";
  169. ethernet0-port@0 {
  170. phy-handle = <&ethphy0>;
  171. };
  172. };