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