blob: 811e0971fc588a2cc9f59ddbd8f64d51e38acb14 [file] [log] [blame]
Ben Peddell2d0a7ad2014-02-20 06:02:37 +10001/*
2 * Nodes for Marvell 628x Synology devices
3 *
4 * Andrew Lunn <andrew@lunn.ch>
5 * Ben Peddell <klightspeed@killerwolves.net>
6 *
7 * This file is licensed under the terms of the GNU General Public
8 * License version 2. This program is licensed "as is" without any
9 * warranty of any kind, whether express or implied.
10 */
11
12/ {
13 mbus {
14 pcie-controller {
15 status = "okay";
16
17 pcie@1,0 {
18 status = "okay";
19 };
20
21 pcie2: pcie@2,0 {
22 status = "disabled";
23 };
24 };
25 };
26
27 ocp@f1000000 {
Sebastian Hesselbartha9483962014-04-30 14:56:32 +020028 pinctrl: pin-controller@10000 {
Ben Peddell2d0a7ad2014-02-20 06:02:37 +100029 pmx_alarmled_12: pmx-alarmled-12 {
30 marvell,pins = "mpp12";
31 marvell,function = "gpio";
32 };
33
34 pmx_fanctrl_15: pmx-fanctrl-15 {
35 marvell,pins = "mpp15";
36 marvell,function = "gpio";
37 };
38
39 pmx_fanctrl_16: pmx-fanctrl-16 {
40 marvell,pins = "mpp16";
41 marvell,function = "gpio";
42 };
43
44 pmx_fanctrl_17: pmx-fanctrl-17 {
45 marvell,pins = "mpp17";
46 marvell,function = "gpio";
47 };
48
49 pmx_fanalarm_18: pmx-fanalarm-18 {
50 marvell,pins = "mpp18";
51 marvell,function = "gpo";
52 };
53
54 pmx_hddled_20: pmx-hddled-20 {
55 marvell,pins = "mpp20";
56 marvell,function = "gpio";
57 };
58
59 pmx_hddled_21: pmx-hddled-21 {
60 marvell,pins = "mpp21";
61 marvell,function = "gpio";
62 };
63
64 pmx_hddled_22: pmx-hddled-22 {
65 marvell,pins = "mpp22";
66 marvell,function = "gpio";
67 };
68
69 pmx_hddled_23: pmx-hddled-23 {
70 marvell,pins = "mpp23";
71 marvell,function = "gpio";
72 };
73
74 pmx_hddled_24: pmx-hddled-24 {
75 marvell,pins = "mpp24";
76 marvell,function = "gpio";
77 };
78
79 pmx_hddled_25: pmx-hddled-25 {
80 marvell,pins = "mpp25";
81 marvell,function = "gpio";
82 };
83
84 pmx_hddled_26: pmx-hddled-26 {
85 marvell,pins = "mpp26";
86 marvell,function = "gpio";
87 };
88
89 pmx_hddled_27: pmx-hddled-27 {
90 marvell,pins = "mpp27";
91 marvell,function = "gpio";
92 };
93
94 pmx_hddled_28: pmx-hddled-28 {
95 marvell,pins = "mpp28";
96 marvell,function = "gpio";
97 };
98
99 pmx_hdd1_pwr_29: pmx-hdd1-pwr-29 {
100 marvell,pins = "mpp29";
101 marvell,function = "gpio";
102 };
103
104 pmx_hdd1_pwr_30: pmx-hdd-pwr-30 {
105 marvell,pins = "mpp30";
106 marvell,function = "gpio";
107 };
108
109 pmx_hdd2_pwr_31: pmx-hdd2-pwr-31 {
110 marvell,pins = "mpp31";
111 marvell,function = "gpio";
112 };
113
114 pmx_fanctrl_32: pmx-fanctrl-32 {
115 marvell,pins = "mpp32";
116 marvell,function = "gpio";
117 };
118
119 pmx_fanctrl_33: pmx-fanctrl-33 {
120 marvell,pins = "mpp33";
121 marvell,function = "gpo";
122 };
123
124 pmx_fanctrl_34: pmx-fanctrl-34 {
125 marvell,pins = "mpp34";
126 marvell,function = "gpio";
127 };
128
129 pmx_hdd2_pwr_34: pmx-hdd2-pwr-34 {
130 marvell,pins = "mpp34";
131 marvell,function = "gpio";
132 };
133
134 pmx_fanalarm_35: pmx-fanalarm-35 {
135 marvell,pins = "mpp35";
136 marvell,function = "gpio";
137 };
138
139 pmx_hddled_36: pmx-hddled-36 {
140 marvell,pins = "mpp36";
141 marvell,function = "gpio";
142 };
143
144 pmx_hddled_37: pmx-hddled-37 {
145 marvell,pins = "mpp37";
146 marvell,function = "gpio";
147 };
148
149 pmx_hddled_38: pmx-hddled-38 {
150 marvell,pins = "mpp38";
151 marvell,function = "gpio";
152 };
153
154 pmx_hddled_39: pmx-hddled-39 {
155 marvell,pins = "mpp39";
156 marvell,function = "gpio";
157 };
158
159 pmx_hddled_40: pmx-hddled-40 {
160 marvell,pins = "mpp40";
161 marvell,function = "gpio";
162 };
163
164 pmx_hddled_41: pmx-hddled-41 {
165 marvell,pins = "mpp41";
166 marvell,function = "gpio";
167 };
168
169 pmx_hddled_42: pmx-hddled-42 {
170 marvell,pins = "mpp42";
171 marvell,function = "gpio";
172 };
173
174 pmx_hddled_43: pmx-hddled-43 {
175 marvell,pins = "mpp43";
176 marvell,function = "gpio";
177 };
178
179 pmx_hddled_44: pmx-hddled-44 {
180 marvell,pins = "mpp44";
181 marvell,function = "gpio";
182 };
183
184 pmx_hddled_45: pmx-hddled-45 {
185 marvell,pins = "mpp45";
186 marvell,function = "gpio";
187 };
188
189 pmx_hdd3_pwr_44: pmx-hdd3-pwr-44 {
190 marvell,pins = "mpp44";
191 marvell,function = "gpio";
192 };
193
194 pmx_hdd4_pwr_45: pmx-hdd4-pwr-45 {
195 marvell,pins = "mpp45";
196 marvell,function = "gpio";
197 };
198
199 pmx_fanalarm_44: pmx-fanalarm-44 {
200 marvell,pins = "mpp44";
201 marvell,function = "gpio";
202 };
203
204 pmx_fanalarm_45: pmx-fanalarm-45 {
205 marvell,pins = "mpp45";
206 marvell,function = "gpio";
207 };
208 };
209
210 rtc@10300 {
211 status = "disabled";
212 };
213
214 spi@10600 {
215 status = "okay";
Ben Peddell2d0a7ad2014-02-20 06:02:37 +1000216
217 m25p80@0 {
218 #address-cells = <1>;
219 #size-cells = <1>;
220 compatible = "st,m25p80";
221 reg = <0>;
222 spi-max-frequency = <20000000>;
223 mode = <0>;
224
225 partition@00000000 {
226 reg = <0x00000000 0x00080000>;
227 label = "RedBoot";
228 };
229
230 partition@00080000 {
231 reg = <0x00080000 0x00200000>;
232 label = "zImage";
233 };
234
235 partition@00280000 {
236 reg = <0x00280000 0x00140000>;
237 label = "rd.gz";
238 };
239
240 partition@003c0000 {
241 reg = <0x003c0000 0x00010000>;
242 label = "vendor";
243 };
244
245 partition@003d0000 {
246 reg = <0x003d0000 0x00020000>;
247 label = "RedBoot config";
248 };
249
250 partition@003f0000 {
251 reg = <0x003f0000 0x00010000>;
252 label = "FIS directory";
253 };
254 };
255 };
256
257 i2c@11000 {
258 status = "okay";
259 clock-frequency = <400000>;
Ben Peddell2d0a7ad2014-02-20 06:02:37 +1000260
261 rs5c372: rs5c372@32 {
262 status = "disabled";
263 compatible = "ricoh,rs5c372";
264 reg = <0x32>;
265 };
266
267 s35390a: s35390a@30 {
268 status = "disabled";
269 compatible = "ssi,s35390a";
270 reg = <0x30>;
271 };
272 };
273
274 serial@12000 {
275 status = "okay";
Ben Peddell2d0a7ad2014-02-20 06:02:37 +1000276 };
277
278 serial@12100 {
279 status = "okay";
Ben Peddell2d0a7ad2014-02-20 06:02:37 +1000280 };
281
282 poweroff@12100 {
283 compatible = "synology,power-off";
284 reg = <0x12100 0x100>;
285 clocks = <&gate_clk 7>;
286 };
287
288 sata@80000 {
289 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
290 pinctrl-names = "default";
291 status = "okay";
292 nr-ports = <2>;
293 };
294 };
295
296 gpio-fan-150-32-35 {
297 status = "disabled";
298 compatible = "gpio-fan";
299 pinctrl-0 = <&pmx_fanctrl_32 &pmx_fanctrl_33 &pmx_fanctrl_34
300 &pmx_fanalarm_35>;
301 pinctrl-names = "default";
302 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH
303 &gpio1 1 GPIO_ACTIVE_HIGH
304 &gpio1 2 GPIO_ACTIVE_HIGH>;
305 gpio-fan,speed-map = < 0 0
306 2200 1
307 2500 2
308 3000 4
309 3300 3
310 3700 5
311 3800 6
312 4200 7 >;
313 };
314
315 gpio-fan-150-15-18 {
316 status = "disabled";
317 compatible = "gpio-fan";
318 pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
319 &pmx_fanalarm_18>;
320 pinctrl-names = "default";
321 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
322 &gpio0 16 GPIO_ACTIVE_HIGH
323 &gpio0 17 GPIO_ACTIVE_HIGH>;
324 alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
325 gpio-fan,speed-map = < 0 0
326 2200 1
327 2500 2
328 3000 4
329 3300 3
330 3700 5
331 3800 6
332 4200 7 >;
333 };
334
335 gpio-fan-100-32-35 {
336 status = "disabled";
337 compatible = "gpio-fan";
338 pinctrl-0 = <&pmx_fanctrl_32 &pmx_fanctrl_33 &pmx_fanctrl_34
339 &pmx_fanalarm_35>;
340 pinctrl-names = "default";
341 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH
342 &gpio1 1 GPIO_ACTIVE_HIGH
343 &gpio1 2 GPIO_ACTIVE_HIGH>;
344 alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
345 gpio-fan,speed-map = < 0 0
346 2500 1
347 3100 2
348 3800 3
349 4600 4
350 4800 5
351 4900 6
352 5000 7 >;
353 };
354
355 gpio-fan-100-15-18 {
356 status = "disabled";
357 compatible = "gpio-fan";
358 pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
359 &pmx_fanalarm_18>;
360 pinctrl-names = "default";
361 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
362 &gpio0 16 GPIO_ACTIVE_HIGH
363 &gpio0 17 GPIO_ACTIVE_HIGH>;
364 alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
365 gpio-fan,speed-map = < 0 0
366 2500 1
367 3100 2
368 3800 3
369 4600 4
370 4800 5
371 4900 6
372 5000 7 >;
373 };
374
375 gpio-fan-100-15-35-1 {
376 status = "disabled";
377 compatible = "gpio-fan";
378 pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
379 &pmx_fanalarm_35>;
380 pinctrl-names = "default";
381 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
382 &gpio0 16 GPIO_ACTIVE_HIGH
383 &gpio0 17 GPIO_ACTIVE_HIGH>;
384 alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
385 gpio-fan,speed-map = < 0 0
386 2500 1
387 3100 2
388 3800 3
389 4600 4
390 4800 5
391 4900 6
392 5000 7 >;
393 };
394
395 gpio-fan-100-15-35-3 {
396 status = "disabled";
397 compatible = "gpio-fan";
398 pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
399 &pmx_fanalarm_35 &pmx_fanalarm_44 &pmx_fanalarm_45>;
400 pinctrl-names = "default";
401 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
402 &gpio0 16 GPIO_ACTIVE_HIGH
403 &gpio0 17 GPIO_ACTIVE_HIGH>;
404 alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH
405 &gpio1 12 GPIO_ACTIVE_HIGH
406 &gpio1 13 GPIO_ACTIVE_HIGH>;
407 gpio-fan,speed-map = < 0 0
408 2500 1
409 3100 2
410 3800 3
411 4600 4
412 4800 5
413 4900 6
414 5000 7 >;
415 };
416
417 gpio-leds-alarm-12 {
418 status = "disabled";
419 compatible = "gpio-leds";
420 pinctrl-0 = <&pmx_alarmled_12>;
421 pinctrl-names = "default";
422
423 hdd1-green {
424 label = "synology:alarm";
425 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
426 };
427 };
428
429 gpio-leds-hdd-20 {
430 status = "disabled";
431 compatible = "gpio-leds";
432 pinctrl-0 = <&pmx_hddled_20 &pmx_hddled_21 &pmx_hddled_22
433 &pmx_hddled_23 &pmx_hddled_24 &pmx_hddled_25
434 &pmx_hddled_26 &pmx_hddled_27>;
435 pinctrl-names = "default";
436
437 hdd1-green {
438 label = "synology:green:hdd1";
439 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
440 };
441
442 hdd1-amber {
443 label = "synology:amber:hdd1";
444 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
445 };
446
447 hdd2-green {
448 label = "synology:green:hdd2";
449 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
450 };
451
452 hdd2-amber {
453 label = "synology:amber:hdd2";
454 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
455 };
456
457 hdd3-green {
458 label = "synology:green:hdd3";
459 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
460 };
461
462 hdd3-amber {
463 label = "synology:amber:hdd3";
464 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
465 };
466
467 hdd4-green {
468 label = "synology:green:hdd4";
469 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
470 };
471
472 hdd4-amber {
473 label = "synology:amber:hdd4";
474 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
475 };
476 };
477
478 gpio-leds-hdd-21-1 {
479 status = "disabled";
480 compatible = "gpio-leds";
481 pinctrl-0 = <&pmx_hddled_21 &pmx_hddled_23>;
482 pinctrl-names = "default";
483
484 hdd1-green {
485 label = "synology:green:hdd1";
486 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
487 };
488
489 hdd1-amber {
490 label = "synology:amber:hdd1";
491 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
492 };
493 };
494
495 gpio-leds-hdd-21-2 {
496 status = "disabled";
497 compatible = "gpio-leds";
498 pinctrl-0 = <&pmx_hddled_21 &pmx_hddled_23 &pmx_hddled_20 &pmx_hddled_22>;
499 pinctrl-names = "default";
500
501 hdd1-green {
502 label = "synology:green:hdd1";
503 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
504 };
505
506 hdd1-amber {
507 label = "synology:amber:hdd1";
508 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
509 };
510
511 hdd2-green {
512 label = "synology:green:hdd2";
513 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
514 };
515
516 hdd2-amber {
517 label = "synology:amber:hdd2";
518 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
519 };
520 };
521
522 gpio-leds-hdd-36 {
523 status = "disabled";
524 compatible = "gpio-leds";
525 pinctrl-0 = <&pmx_hddled_36 &pmx_hddled_37 &pmx_hddled_38
526 &pmx_hddled_39 &pmx_hddled_40 &pmx_hddled_41
527 &pmx_hddled_42 &pmx_hddled_43 &pmx_hddled_44
528 &pmx_hddled_45>;
529 pinctrl-names = "default";
530
531 hdd1-green {
532 label = "synology:green:hdd1";
533 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
534 };
535
536 hdd1-amber {
537 label = "synology:amber:hdd1";
538 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
539 };
540
541 hdd2-green {
542 label = "synology:green:hdd2";
543 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
544 };
545
546 hdd2-amber {
547 label = "synology:amber:hdd2";
548 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
549 };
550
551 hdd3-green {
552 label = "synology:green:hdd3";
553 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
554 };
555
556 hdd3-amber {
557 label = "synology:amber:hdd3";
558 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
559 };
560
561 hdd4-green {
562 label = "synology:green:hdd4";
563 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
564 };
565
566 hdd4-amber {
567 label = "synology:amber:hdd4";
568 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
569 };
570
571 hdd5-green {
572 label = "synology:green:hdd5";
573 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
574 };
575
576 hdd5-amber {
577 label = "synology:amber:hdd5";
578 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
579 };
580 };
581
582 gpio-leds-hdd-38 {
583 status = "disabled";
584 compatible = "gpio-leds";
585 pinctrl-0 = <&pmx_hddled_38 &pmx_hddled_39 &pmx_hddled_36 &pmx_hddled_37>;
586 pinctrl-names = "default";
587
588 hdd1-green {
589 label = "synology:green:hdd1";
590 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
591 };
592
593 hdd1-amber {
594 label = "synology:amber:hdd1";
595 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
596 };
597
598 hdd2-green {
599 label = "synology:green:hdd2";
600 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
601 };
602
603 hdd2-amber {
604 label = "synology:amber:hdd2";
605 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
606 };
607 };
608
609 regulators-hdd-29 {
610 status = "disabled";
611 compatible = "simple-bus";
612 #address-cells = <1>;
613 #size-cells = <0>;
614 pinctrl-0 = <&pmx_hdd1_pwr_29 &pmx_hdd2_pwr_31>;
615 pinctrl-names = "default";
616
617 regulator@1 {
618 compatible = "regulator-fixed";
619 reg = <1>;
620 regulator-name = "hdd1power";
621 regulator-min-microvolt = <5000000>;
622 regulator-max-microvolt = <5000000>;
623 enable-active-high;
624 regulator-always-on;
625 regulator-boot-on;
626 startup-delay-us = <5000000>;
627 gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
628 };
629
630 regulator@2 {
631 compatible = "regulator-fixed";
632 reg = <2>;
633 regulator-name = "hdd2power";
634 regulator-min-microvolt = <5000000>;
635 regulator-max-microvolt = <5000000>;
636 enable-active-high;
637 regulator-always-on;
638 regulator-boot-on;
639 startup-delay-us = <5000000>;
640 gpio = <&gpio0 31 GPIO_ACTIVE_HIGH>;
641 };
642 };
643
644 regulators-hdd-30-1 {
645 status = "disabled";
646 compatible = "simple-bus";
647 #address-cells = <1>;
648 #size-cells = <0>;
649 pinctrl-0 = <&pmx_hdd1_pwr_30>;
650 pinctrl-names = "default";
651
652 regulator@1 {
653 compatible = "regulator-fixed";
654 reg = <1>;
655 regulator-name = "hdd1power";
656 regulator-min-microvolt = <5000000>;
657 regulator-max-microvolt = <5000000>;
658 enable-active-high;
659 regulator-always-on;
660 regulator-boot-on;
661 startup-delay-us = <5000000>;
662 gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>;
663 };
664 };
665
666 regulators-hdd-30-2 {
667 status = "disabled";
668 compatible = "simple-bus";
669 #address-cells = <1>;
670 #size-cells = <0>;
671 pinctrl-0 = <&pmx_hdd1_pwr_30 &pmx_hdd2_pwr_34>;
672 pinctrl-names = "default";
673
674 regulator@1 {
675 compatible = "regulator-fixed";
676 reg = <1>;
677 regulator-name = "hdd1power";
678 regulator-min-microvolt = <5000000>;
679 regulator-max-microvolt = <5000000>;
680 enable-active-high;
681 regulator-always-on;
682 regulator-boot-on;
683 startup-delay-us = <5000000>;
684 gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>;
685 };
686
687 regulator@2 {
688 compatible = "regulator-fixed";
689 reg = <2>;
690 regulator-name = "hdd2power";
691 regulator-min-microvolt = <5000000>;
692 regulator-max-microvolt = <5000000>;
693 enable-active-high;
694 regulator-always-on;
695 regulator-boot-on;
696 startup-delay-us = <5000000>;
697 gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
698 };
699 };
700
701 regulators-hdd-30-4 {
702 status = "disabled";
703 compatible = "simple-bus";
704 #address-cells = <1>;
705 #size-cells = <0>;
706 pinctrl-0 = <&pmx_hdd1_pwr_30 &pmx_hdd2_pwr_34
707 &pmx_hdd3_pwr_44 &pmx_hdd4_pwr_45>;
708 pinctrl-names = "default";
709
710 regulator@1 {
711 compatible = "regulator-fixed";
712 reg = <1>;
713 regulator-name = "hdd1power";
714 regulator-min-microvolt = <5000000>;
715 regulator-max-microvolt = <5000000>;
716 enable-active-high;
717 regulator-always-on;
718 regulator-boot-on;
719 startup-delay-us = <5000000>;
720 gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>;
721 };
722
723 regulator@2 {
724 compatible = "regulator-fixed";
725 reg = <2>;
726 regulator-name = "hdd2power";
727 regulator-min-microvolt = <5000000>;
728 regulator-max-microvolt = <5000000>;
729 enable-active-high;
730 regulator-always-on;
731 regulator-boot-on;
732 startup-delay-us = <5000000>;
733 gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
734 };
735
736 regulator@3 {
737 compatible = "regulator-fixed";
738 reg = <3>;
739 regulator-name = "hdd3power";
740 regulator-min-microvolt = <5000000>;
741 regulator-max-microvolt = <5000000>;
742 enable-active-high;
743 regulator-always-on;
744 regulator-boot-on;
745 startup-delay-us = <5000000>;
746 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
747 };
748
749 regulator@4 {
750 compatible = "regulator-fixed";
751 reg = <4>;
752 regulator-name = "hdd4power";
753 regulator-min-microvolt = <5000000>;
754 regulator-max-microvolt = <5000000>;
755 enable-active-high;
756 regulator-always-on;
757 regulator-boot-on;
758 startup-delay-us = <5000000>;
759 gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>;
760 };
761 };
762
763 regulators-hdd-31 {
764 status = "disabled";
765 compatible = "simple-bus";
766 #address-cells = <1>;
767 #size-cells = <0>;
768 pinctrl-0 = <&pmx_hdd2_pwr_31>;
769 pinctrl-names = "default";
770
771 regulator@1 {
772 compatible = "regulator-fixed";
773 reg = <1>;
774 regulator-name = "hdd2power";
775 regulator-min-microvolt = <5000000>;
776 regulator-max-microvolt = <5000000>;
777 enable-active-high;
778 regulator-always-on;
779 regulator-boot-on;
780 startup-delay-us = <5000000>;
781 gpio = <&gpio0 31 GPIO_ACTIVE_HIGH>;
782 };
783 };
784
785 regulators-hdd-34 {
786 status = "disabled";
787 compatible = "simple-bus";
788 #address-cells = <1>;
789 #size-cells = <0>;
790 pinctrl-0 = <&pmx_hdd2_pwr_34 &pmx_hdd3_pwr_44
791 &pmx_hdd4_pwr_45>;
792 pinctrl-names = "default";
793
794 regulator@2 {
795 compatible = "regulator-fixed";
796 reg = <2>;
797 regulator-name = "hdd2power";
798 regulator-min-microvolt = <5000000>;
799 regulator-max-microvolt = <5000000>;
800 enable-active-high;
801 regulator-always-on;
802 regulator-boot-on;
803 startup-delay-us = <5000000>;
804 gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
805 };
806
807 regulator@3 {
808 compatible = "regulator-fixed";
809 reg = <3>;
810 regulator-name = "hdd3power";
811 regulator-min-microvolt = <5000000>;
812 regulator-max-microvolt = <5000000>;
813 enable-active-high;
814 regulator-always-on;
815 regulator-boot-on;
816 startup-delay-us = <5000000>;
817 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
818 };
819
820 regulator@4 {
821 compatible = "regulator-fixed";
822 reg = <4>;
823 regulator-name = "hdd4power";
824 regulator-min-microvolt = <5000000>;
825 regulator-max-microvolt = <5000000>;
826 enable-active-high;
827 regulator-always-on;
828 regulator-boot-on;
829 startup-delay-us = <5000000>;
830 gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>;
831 };
832 };
833};
834
835&mdio {
836 status = "okay";
837
838 ethphy0: ethernet-phy@0 {
839 device_type = "ethernet-phy";
840 reg = <8>;
841 };
842
843 ethphy1: ethernet-phy@1 {
844 device_type = "ethernet-phy";
845 reg = <9>;
846 };
847};
848
849&eth0 {
850 status = "okay";
851
852 ethernet0-port@0 {
853 phy-handle = <&ethphy0>;
854 };
855};
856
857&eth1 {
858 status = "disabled";
859
860 ethernet1-port@0 {
861 phy-handle = <&ethphy1>;
862 };
863};