kirkwood-goflexnet.dts 3.9 KB

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