blob: 59e7a5adeedbcb7791994bc2a506dca5d73c2e05 [file] [log] [blame]
Alan M Butler4f48b7f2012-08-20 15:29:07 +01001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood.dtsi"
4#include "kirkwood-6281.dtsi"
Alan M Butler4f48b7f2012-08-20 15:29:07 +01005
6/ {
7 model = "Iomega StorCenter ix2-200";
8 compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x10000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,115200n8 earlyprintk";
17 };
18
19 ocp@f1000000 {
Andrew Lunna93d3ad2012-11-17 17:00:54 +010020 pinctrl: pinctrl@10000 {
Thomas Petazzoni4d058712013-05-24 11:44:47 +020021 pinctrl-0 = < &pmx_led_sata_brt_ctrl_1
Andrew Lunna93d3ad2012-11-17 17:00:54 +010022 &pmx_led_sata_brt_ctrl_2
23 &pmx_led_backup_brt_ctrl_1
24 &pmx_led_backup_brt_ctrl_2
25 &pmx_led_power_brt_ctrl_1
26 &pmx_led_power_brt_ctrl_2
27 &pmx_led_health_brt_ctrl_1
28 &pmx_led_health_brt_ctrl_2
29 &pmx_led_rebuild_brt_ctrl_1
30 &pmx_led_rebuild_brt_ctrl_2 >;
31 pinctrl-names = "default";
32
33 pmx_button_reset: pmx-button-reset {
34 marvell,pins = "mpp12";
35 marvell,function = "gpio";
36 };
37 pmx_button_power: pmx-button-power {
38 marvell,pins = "mpp14";
39 marvell,function = "gpio";
40 };
41 pmx_led_backup: pmx-led-backup {
42 marvell,pins = "mpp15";
43 marvell,function = "gpio";
44 };
45 pmx_led_power: pmx-led-power {
46 marvell,pins = "mpp16";
47 marvell,function = "gpio";
48 };
49 pmx_button_otb: pmx-button-otb {
50 marvell,pins = "mpp35";
51 marvell,function = "gpio";
52 };
53 pmx_led_rebuild: pmx-led-rebuild {
54 marvell,pins = "mpp36";
55 marvell,function = "gpio";
56 };
57 pmx_led_health: pmx-led_health {
58 marvell,pins = "mpp37";
59 marvell,function = "gpio";
60 };
61 pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 {
62 marvell,pins = "mpp38";
63 marvell,function = "gpio";
64 };
65 pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 {
66 marvell,pins = "mpp39";
67 marvell,function = "gpio";
68 };
69 pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 {
70 marvell,pins = "mpp40";
71 marvell,function = "gpio";
72 };
73 pmx_led_backup_brt_ctrl_2: pmx-led-backup-brt-ctrl-2 {
74 marvell,pins = "mpp41";
75 marvell,function = "gpio";
76 };
77 pmx_led_power_brt_ctrl_1: pmx-led-power-brt-ctrl-1 {
78 marvell,pins = "mpp42";
79 marvell,function = "gpio";
80 };
81 pmx_led_power_brt_ctrl_2: pmx-led-power-brt-ctrl-2 {
82 marvell,pins = "mpp43";
83 marvell,function = "gpio";
84 };
85 pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 {
86 marvell,pins = "mpp44";
87 marvell,function = "gpio";
88 };
89 pmx_led_health_brt_ctrl_2: pmx-led-health-brt-ctrl-2 {
90 marvell,pins = "mpp45";
91 marvell,function = "gpio";
92 };
93 pmx_led_rebuild_brt_ctrl_1: pmx-led-rebuild-brt-ctrl-1 {
Nigel Roberts8f08d662013-04-01 23:03:22 +110094 marvell,pins = "mpp46";
Andrew Lunna93d3ad2012-11-17 17:00:54 +010095 marvell,function = "gpio";
96 };
97 pmx_led_rebuild_brt_ctrl_2: pmx-led-rebuild-brt-ctrl-2 {
Nigel Roberts8f08d662013-04-01 23:03:22 +110098 marvell,pins = "mpp47";
Andrew Lunna93d3ad2012-11-17 17:00:54 +010099 marvell,function = "gpio";
100 };
101
102 };
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100103 i2c@11000 {
104 status = "okay";
105
106 lm63: lm63@4c {
107 compatible = "national,lm63";
108 reg = <0x4c>;
109 };
110 };
111
112 serial@12000 {
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100113 status = "ok";
114 };
115
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100116 sata@80000 {
117 status = "okay";
118 nr-ports = <2>;
119 };
120
121 };
122 gpio-leds {
123 compatible = "gpio-leds";
Thomas Petazzoni4d058712013-05-24 11:44:47 +0200124 pinctrl-0 = < &pmx_led_backup &pmx_led_power
125 &pmx_led_rebuild &pmx_led_health >;
126 pinctrl-names = "default";
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100127
128 power_led {
129 label = "status:white:power_led";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100130 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
Jason Cooperdcdf14c2013-10-14 17:37:55 +0000131 default-state = "keep";
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100132 };
Nigel Roberts8f08d662013-04-01 23:03:22 +1100133 rebuild_led {
134 label = "status:white:rebuild_led";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100135 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
Nigel Roberts8f08d662013-04-01 23:03:22 +1100136 };
137 health_led {
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100138 label = "status:red:health_led";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100139 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100140 };
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100141 backup_led {
142 label = "status:blue:backup_led";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100143 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100144 };
145 };
146 gpio-keys {
147 compatible = "gpio-keys";
148 #address-cells = <1>;
149 #size-cells = <0>;
Thomas Petazzoni4d058712013-05-24 11:44:47 +0200150 pinctrl-0 = <&pmx_button_reset &pmx_button_power
151 &pmx_button_otb>;
152 pinctrl-names = "default";
153
154
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100155 Power {
156 label = "Power Button";
Andrew Lunn23301192013-12-04 16:51:38 +0100157 linux,code = <KEY_POWER>;
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100158 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100159 };
160 Reset {
161 label = "Reset Button";
Andrew Lunn23301192013-12-04 16:51:38 +0100162 linux,code = <KEY_RESTART>;
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100163 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100164 };
165 OTB {
166 label = "OTB Button";
Andrew Lunn23301192013-12-04 16:51:38 +0100167 linux,code = <KEY_COPY>;
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100168 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
Alan M Butler4f48b7f2012-08-20 15:29:07 +0100169 };
170 };
171};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200172
Jason Gunthorpe7045ff52013-09-17 12:44:33 -0600173&nand {
174 status = "okay";
175
176 partition@0 {
177 label = "u-boot";
178 reg = <0x0000000 0x100000>;
179 read-only;
180 };
181
182 partition@a0000 {
183 label = "env";
184 reg = <0xa0000 0x20000>;
185 read-only;
186 };
187
188 partition@100000 {
189 label = "uImage";
190 reg = <0x100000 0x300000>;
191 };
192
193 partition@400000 {
194 label = "uInitrd";
195 reg = <0x540000 0x1000000>;
196 };
197};
198
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200199&mdio {
200 status = "okay";
201
202 ethphy1: ethernet-phy@11 {
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200203 reg = <11>;
204 };
205};
206
207&eth0 {
208 status = "okay";
209 ethernet0-port@0 {
210 speed = <1000>;
211 duplex = <1>;
212 };
213};
214
215&eth1 {
216 status = "okay";
217 ethernet1-port@0 {
218 phy-handle = <&ethphy1>;
219 };
220};