kirkwood-goflexnet.dts 3.6 KB

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