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