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