kirkwood-iomega_ix2_200.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. /include/ "kirkwood-6281.dtsi"
  4. / {
  5. model = "Iomega StorCenter ix2-200";
  6. compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x10000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk";
  13. };
  14. ocp@f1000000 {
  15. pinctrl: pinctrl@10000 {
  16. pinctrl-0 = < &pmx_button_reset &pmx_button_power
  17. &pmx_led_backup &pmx_led_power
  18. &pmx_button_otb &pmx_led_rebuild
  19. &pmx_led_health
  20. &pmx_led_sata_brt_ctrl_1
  21. &pmx_led_sata_brt_ctrl_2
  22. &pmx_led_backup_brt_ctrl_1
  23. &pmx_led_backup_brt_ctrl_2
  24. &pmx_led_power_brt_ctrl_1
  25. &pmx_led_power_brt_ctrl_2
  26. &pmx_led_health_brt_ctrl_1
  27. &pmx_led_health_brt_ctrl_2
  28. &pmx_led_rebuild_brt_ctrl_1
  29. &pmx_led_rebuild_brt_ctrl_2 >;
  30. pinctrl-names = "default";
  31. pmx_button_reset: pmx-button-reset {
  32. marvell,pins = "mpp12";
  33. marvell,function = "gpio";
  34. };
  35. pmx_button_power: pmx-button-power {
  36. marvell,pins = "mpp14";
  37. marvell,function = "gpio";
  38. };
  39. pmx_led_backup: pmx-led-backup {
  40. marvell,pins = "mpp15";
  41. marvell,function = "gpio";
  42. };
  43. pmx_led_power: pmx-led-power {
  44. marvell,pins = "mpp16";
  45. marvell,function = "gpio";
  46. };
  47. pmx_button_otb: pmx-button-otb {
  48. marvell,pins = "mpp35";
  49. marvell,function = "gpio";
  50. };
  51. pmx_led_rebuild: pmx-led-rebuild {
  52. marvell,pins = "mpp36";
  53. marvell,function = "gpio";
  54. };
  55. pmx_led_health: pmx-led_health {
  56. marvell,pins = "mpp37";
  57. marvell,function = "gpio";
  58. };
  59. pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 {
  60. marvell,pins = "mpp38";
  61. marvell,function = "gpio";
  62. };
  63. pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 {
  64. marvell,pins = "mpp39";
  65. marvell,function = "gpio";
  66. };
  67. pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 {
  68. marvell,pins = "mpp40";
  69. marvell,function = "gpio";
  70. };
  71. pmx_led_backup_brt_ctrl_2: pmx-led-backup-brt-ctrl-2 {
  72. marvell,pins = "mpp41";
  73. marvell,function = "gpio";
  74. };
  75. pmx_led_power_brt_ctrl_1: pmx-led-power-brt-ctrl-1 {
  76. marvell,pins = "mpp42";
  77. marvell,function = "gpio";
  78. };
  79. pmx_led_power_brt_ctrl_2: pmx-led-power-brt-ctrl-2 {
  80. marvell,pins = "mpp43";
  81. marvell,function = "gpio";
  82. };
  83. pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 {
  84. marvell,pins = "mpp44";
  85. marvell,function = "gpio";
  86. };
  87. pmx_led_health_brt_ctrl_2: pmx-led-health-brt-ctrl-2 {
  88. marvell,pins = "mpp45";
  89. marvell,function = "gpio";
  90. };
  91. pmx_led_rebuild_brt_ctrl_1: pmx-led-rebuild-brt-ctrl-1 {
  92. marvell,pins = "mpp44";
  93. marvell,function = "gpio";
  94. };
  95. pmx_led_rebuild_brt_ctrl_2: pmx-led-rebuild-brt-ctrl-2 {
  96. marvell,pins = "mpp45";
  97. marvell,function = "gpio";
  98. };
  99. };
  100. i2c@11000 {
  101. status = "okay";
  102. lm63: lm63@4c {
  103. compatible = "national,lm63";
  104. reg = <0x4c>;
  105. };
  106. };
  107. serial@12000 {
  108. status = "ok";
  109. };
  110. nand@3000000 {
  111. status = "okay";
  112. partition@0 {
  113. label = "u-boot";
  114. reg = <0x0000000 0x100000>;
  115. read-only;
  116. };
  117. partition@a0000 {
  118. label = "env";
  119. reg = <0xa0000 0x20000>;
  120. read-only;
  121. };
  122. partition@100000 {
  123. label = "uImage";
  124. reg = <0x100000 0x300000>;
  125. };
  126. partition@400000 {
  127. label = "uInitrd";
  128. reg = <0x540000 0x1000000>;
  129. };
  130. };
  131. sata@80000 {
  132. status = "okay";
  133. nr-ports = <2>;
  134. };
  135. };
  136. gpio-leds {
  137. compatible = "gpio-leds";
  138. power_led {
  139. label = "status:white:power_led";
  140. gpios = <&gpio0 16 0>;
  141. linux,default-trigger = "default-on";
  142. };
  143. health_led1 {
  144. label = "status:red:health_led";
  145. gpios = <&gpio1 5 0>;
  146. };
  147. health_led2 {
  148. label = "status:white:health_led";
  149. gpios = <&gpio1 4 0>;
  150. };
  151. backup_led {
  152. label = "status:blue:backup_led";
  153. gpios = <&gpio0 15 0>;
  154. };
  155. };
  156. gpio-keys {
  157. compatible = "gpio-keys";
  158. #address-cells = <1>;
  159. #size-cells = <0>;
  160. Power {
  161. label = "Power Button";
  162. linux,code = <116>;
  163. gpios = <&gpio0 14 1>;
  164. };
  165. Reset {
  166. label = "Reset Button";
  167. linux,code = <0x198>;
  168. gpios = <&gpio0 12 1>;
  169. };
  170. OTB {
  171. label = "OTB Button";
  172. linux,code = <133>;
  173. gpios = <&gpio1 3 1>;
  174. };
  175. };
  176. };