kirkwood-iomega_ix2_200.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. clock-frequency = <200000000>;
  109. status = "ok";
  110. };
  111. nand@3000000 {
  112. status = "okay";
  113. partition@0 {
  114. label = "u-boot";
  115. reg = <0x0000000 0x100000>;
  116. read-only;
  117. };
  118. partition@a0000 {
  119. label = "env";
  120. reg = <0xa0000 0x20000>;
  121. read-only;
  122. };
  123. partition@100000 {
  124. label = "uImage";
  125. reg = <0x100000 0x300000>;
  126. };
  127. partition@400000 {
  128. label = "uInitrd";
  129. reg = <0x540000 0x1000000>;
  130. };
  131. };
  132. sata@80000 {
  133. status = "okay";
  134. nr-ports = <2>;
  135. };
  136. };
  137. gpio-leds {
  138. compatible = "gpio-leds";
  139. power_led {
  140. label = "status:white:power_led";
  141. gpios = <&gpio0 16 0>;
  142. linux,default-trigger = "default-on";
  143. };
  144. health_led1 {
  145. label = "status:red:health_led";
  146. gpios = <&gpio1 5 0>;
  147. };
  148. health_led2 {
  149. label = "status:white:health_led";
  150. gpios = <&gpio1 4 0>;
  151. };
  152. backup_led {
  153. label = "status:blue:backup_led";
  154. gpios = <&gpio0 15 0>;
  155. };
  156. };
  157. gpio-keys {
  158. compatible = "gpio-keys";
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. Power {
  162. label = "Power Button";
  163. linux,code = <116>;
  164. gpios = <&gpio0 14 1>;
  165. };
  166. Reset {
  167. label = "Reset Button";
  168. linux,code = <0x198>;
  169. gpios = <&gpio0 12 1>;
  170. };
  171. OTB {
  172. label = "OTB Button";
  173. linux,code = <133>;
  174. gpios = <&gpio1 3 1>;
  175. };
  176. };
  177. };