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