kirkwood-goflexnet.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. status = "ok";
  70. };
  71. nand@3000000 {
  72. status = "okay";
  73. partition@0 {
  74. label = "u-boot";
  75. reg = <0x0000000 0x100000>;
  76. read-only;
  77. };
  78. partition@100000 {
  79. label = "uImage";
  80. reg = <0x0100000 0x400000>;
  81. };
  82. partition@500000 {
  83. label = "pogoplug";
  84. reg = <0x0500000 0x2000000>;
  85. };
  86. partition@2500000 {
  87. label = "root";
  88. reg = <0x02500000 0xd800000>;
  89. };
  90. };
  91. sata@80000 {
  92. status = "okay";
  93. nr-ports = <2>;
  94. };
  95. };
  96. gpio-leds {
  97. compatible = "gpio-leds";
  98. health {
  99. label = "status:green:health";
  100. gpios = <&gpio1 14 1>;
  101. linux,default-trigger = "default-on";
  102. };
  103. fault {
  104. label = "status:orange:fault";
  105. gpios = <&gpio1 15 1>;
  106. };
  107. left0 {
  108. label = "status:white:left0";
  109. gpios = <&gpio1 10 0>;
  110. };
  111. left1 {
  112. label = "status:white:left1";
  113. gpios = <&gpio1 11 0>;
  114. };
  115. left2 {
  116. label = "status:white:left2";
  117. gpios = <&gpio1 12 0>;
  118. };
  119. left3 {
  120. label = "status:white:left3";
  121. gpios = <&gpio1 13 0>;
  122. };
  123. right0 {
  124. label = "status:white:right0";
  125. gpios = <&gpio1 6 0>;
  126. };
  127. right1 {
  128. label = "status:white:right1";
  129. gpios = <&gpio1 7 0>;
  130. };
  131. right2 {
  132. label = "status:white:right2";
  133. gpios = <&gpio1 8 0>;
  134. };
  135. right3 {
  136. label = "status:white:right3";
  137. gpios = <&gpio1 9 0>;
  138. };
  139. };
  140. regulators {
  141. compatible = "simple-bus";
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. usb_power: regulator@1 {
  145. compatible = "regulator-fixed";
  146. reg = <1>;
  147. regulator-name = "USB Power";
  148. regulator-min-microvolt = <5000000>;
  149. regulator-max-microvolt = <5000000>;
  150. enable-active-high;
  151. regulator-always-on;
  152. regulator-boot-on;
  153. gpio = <&gpio0 29 0>;
  154. };
  155. };
  156. };