Commit | Line | Data |
---|---|---|
4f48b7fc AB |
1 | /dts-v1/; |
2 | ||
3 | /include/ "kirkwood.dtsi" | |
a93d3ad2 | 4 | /include/ "kirkwood-6281.dtsi" |
4f48b7fc AB |
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 { | |
a93d3ad2 AL |
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 | }; | |
4f48b7fc AB |
108 | i2c@11000 { |
109 | status = "okay"; | |
110 | ||
111 | lm63: lm63@4c { | |
112 | compatible = "national,lm63"; | |
113 | reg = <0x4c>; | |
114 | }; | |
115 | }; | |
116 | ||
117 | serial@12000 { | |
4f48b7fc AB |
118 | status = "ok"; |
119 | }; | |
120 | ||
121 | nand@3000000 { | |
122 | status = "okay"; | |
123 | ||
124 | partition@0 { | |
125 | label = "u-boot"; | |
126 | reg = <0x0000000 0x100000>; | |
127 | read-only; | |
128 | }; | |
129 | ||
130 | partition@a0000 { | |
131 | label = "env"; | |
132 | reg = <0xa0000 0x20000>; | |
133 | read-only; | |
134 | }; | |
135 | ||
136 | partition@100000 { | |
137 | label = "uImage"; | |
138 | reg = <0x100000 0x300000>; | |
139 | }; | |
140 | ||
141 | partition@400000 { | |
142 | label = "uInitrd"; | |
143 | reg = <0x540000 0x1000000>; | |
144 | }; | |
145 | }; | |
146 | sata@80000 { | |
147 | status = "okay"; | |
148 | nr-ports = <2>; | |
149 | }; | |
150 | ||
151 | }; | |
152 | gpio-leds { | |
153 | compatible = "gpio-leds"; | |
154 | ||
155 | power_led { | |
156 | label = "status:white:power_led"; | |
157 | gpios = <&gpio0 16 0>; | |
158 | linux,default-trigger = "default-on"; | |
159 | }; | |
160 | health_led1 { | |
161 | label = "status:red:health_led"; | |
162 | gpios = <&gpio1 5 0>; | |
163 | }; | |
164 | health_led2 { | |
165 | label = "status:white:health_led"; | |
166 | gpios = <&gpio1 4 0>; | |
167 | }; | |
168 | backup_led { | |
169 | label = "status:blue:backup_led"; | |
170 | gpios = <&gpio0 15 0>; | |
171 | }; | |
172 | }; | |
173 | gpio-keys { | |
174 | compatible = "gpio-keys"; | |
175 | #address-cells = <1>; | |
176 | #size-cells = <0>; | |
177 | Power { | |
178 | label = "Power Button"; | |
179 | linux,code = <116>; | |
180 | gpios = <&gpio0 14 1>; | |
181 | }; | |
182 | Reset { | |
183 | label = "Reset Button"; | |
184 | linux,code = <0x198>; | |
185 | gpios = <&gpio0 12 1>; | |
186 | }; | |
187 | OTB { | |
188 | label = "OTB Button"; | |
189 | linux,code = <133>; | |
190 | gpios = <&gpio1 3 1>; | |
191 | }; | |
192 | }; | |
193 | }; |