xref: /freebsd-src/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-ampere-mtmitchell.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot// Copyright (c) 2022, Ampere Computing LLC
3f126890aSEmmanuel Vadot
4f126890aSEmmanuel Vadot/dts-v1/;
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include "aspeed-g6.dtsi"
7aa1a8ff2SEmmanuel Vadot#include <dt-bindings/i2c/i2c.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h>
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/ {
11f126890aSEmmanuel Vadot	model = "Ampere Mt.Mitchell BMC";
12f126890aSEmmanuel Vadot	compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
13f126890aSEmmanuel Vadot
14aa1a8ff2SEmmanuel Vadot	aliases {
15aa1a8ff2SEmmanuel Vadot		serial7 = &uart8;
16aa1a8ff2SEmmanuel Vadot		serial8 = &uart9;
1784943d6fSEmmanuel Vadot
1884943d6fSEmmanuel Vadot		/*
19*b2d2a78aSEmmanuel Vadot		 * I2C temperature alias port
20*b2d2a78aSEmmanuel Vadot		 */
21*b2d2a78aSEmmanuel Vadot		i2c20 = &i2c4_bus70_chn0;
22*b2d2a78aSEmmanuel Vadot		i2c21 = &i2c4_bus70_chn1;
23*b2d2a78aSEmmanuel Vadot		i2c22 = &i2c4_bus70_chn2;
24*b2d2a78aSEmmanuel Vadot		i2c23 = &i2c4_bus70_chn3;
25*b2d2a78aSEmmanuel Vadot
26*b2d2a78aSEmmanuel Vadot		/*
27*b2d2a78aSEmmanuel Vadot		 *  i2c bus 30-31 assigned to OCP slot 0-1
28*b2d2a78aSEmmanuel Vadot		 */
29*b2d2a78aSEmmanuel Vadot		i2c30 = &ocpslot_0;
30*b2d2a78aSEmmanuel Vadot		i2c31 = &ocpslot_1;
31*b2d2a78aSEmmanuel Vadot
32*b2d2a78aSEmmanuel Vadot		/*
33*b2d2a78aSEmmanuel Vadot		 *  i2c bus 32-33 assigned to Riser slot 0-1
34*b2d2a78aSEmmanuel Vadot		 */
35*b2d2a78aSEmmanuel Vadot		i2c32 = &i2c_riser0;
36*b2d2a78aSEmmanuel Vadot		i2c33 = &i2c_riser1;
37*b2d2a78aSEmmanuel Vadot
38*b2d2a78aSEmmanuel Vadot		/*
39*b2d2a78aSEmmanuel Vadot		 *  i2c bus 38-39 assigned to FRU on Riser slot 0-1
40*b2d2a78aSEmmanuel Vadot		 */
41*b2d2a78aSEmmanuel Vadot		i2c38 = &i2c_riser0_chn_0;
42*b2d2a78aSEmmanuel Vadot		i2c39 = &i2c_riser1_chn_0;
43*b2d2a78aSEmmanuel Vadot
44*b2d2a78aSEmmanuel Vadot		/*
4584943d6fSEmmanuel Vadot		 *  I2C NVMe alias port
4684943d6fSEmmanuel Vadot		 */
4784943d6fSEmmanuel Vadot		i2c100 = &backplane_0;
4884943d6fSEmmanuel Vadot		i2c48 = &nvmeslot_0;
4984943d6fSEmmanuel Vadot		i2c49 = &nvmeslot_1;
5084943d6fSEmmanuel Vadot		i2c50 = &nvmeslot_2;
5184943d6fSEmmanuel Vadot		i2c51 = &nvmeslot_3;
5284943d6fSEmmanuel Vadot		i2c52 = &nvmeslot_4;
5384943d6fSEmmanuel Vadot		i2c53 = &nvmeslot_5;
5484943d6fSEmmanuel Vadot		i2c54 = &nvmeslot_6;
5584943d6fSEmmanuel Vadot		i2c55 = &nvmeslot_7;
5684943d6fSEmmanuel Vadot
5784943d6fSEmmanuel Vadot		i2c101 = &backplane_1;
5884943d6fSEmmanuel Vadot		i2c56 = &nvmeslot_8;
5984943d6fSEmmanuel Vadot		i2c57 = &nvmeslot_9;
6084943d6fSEmmanuel Vadot		i2c58 = &nvmeslot_10;
6184943d6fSEmmanuel Vadot		i2c59 = &nvmeslot_11;
6284943d6fSEmmanuel Vadot		i2c60 = &nvmeslot_12;
6384943d6fSEmmanuel Vadot		i2c61 = &nvmeslot_13;
6484943d6fSEmmanuel Vadot		i2c62 = &nvmeslot_14;
6584943d6fSEmmanuel Vadot		i2c63 = &nvmeslot_15;
6684943d6fSEmmanuel Vadot
6784943d6fSEmmanuel Vadot		i2c102 = &backplane_2;
6884943d6fSEmmanuel Vadot		i2c64 = &nvmeslot_16;
6984943d6fSEmmanuel Vadot		i2c65 = &nvmeslot_17;
7084943d6fSEmmanuel Vadot		i2c66 = &nvmeslot_18;
7184943d6fSEmmanuel Vadot		i2c67 = &nvmeslot_19;
7284943d6fSEmmanuel Vadot		i2c68 = &nvmeslot_20;
7384943d6fSEmmanuel Vadot		i2c69 = &nvmeslot_21;
7484943d6fSEmmanuel Vadot		i2c70 = &nvmeslot_22;
7584943d6fSEmmanuel Vadot		i2c71 = &nvmeslot_23;
7684943d6fSEmmanuel Vadot
7784943d6fSEmmanuel Vadot		i2c80 = &nvme_m2_0;
7884943d6fSEmmanuel Vadot		i2c81 = &nvme_m2_1;
79aa1a8ff2SEmmanuel Vadot	};
80aa1a8ff2SEmmanuel Vadot
81f126890aSEmmanuel Vadot	chosen {
82f126890aSEmmanuel Vadot		stdout-path = &uart5;
83f126890aSEmmanuel Vadot	};
84f126890aSEmmanuel Vadot
85f126890aSEmmanuel Vadot	memory@80000000 {
86f126890aSEmmanuel Vadot		device_type = "memory";
87f126890aSEmmanuel Vadot		reg = <0x80000000 0x80000000>;
88f126890aSEmmanuel Vadot	};
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot	reserved-memory {
91f126890aSEmmanuel Vadot		#address-cells = <1>;
92f126890aSEmmanuel Vadot		#size-cells = <1>;
93f126890aSEmmanuel Vadot		ranges;
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot		gfx_memory: framebuffer {
96f126890aSEmmanuel Vadot			size = <0x01000000>;
97f126890aSEmmanuel Vadot			alignment = <0x01000000>;
98f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
99f126890aSEmmanuel Vadot			reusable;
100f126890aSEmmanuel Vadot		};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot		video_engine_memory: video {
103f126890aSEmmanuel Vadot			size = <0x04000000>;
104f126890aSEmmanuel Vadot			alignment = <0x01000000>;
105f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
106f126890aSEmmanuel Vadot			reusable;
107f126890aSEmmanuel Vadot		};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot		vga_memory: region@bf000000 {
110f126890aSEmmanuel Vadot			no-map;
111f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
112f126890aSEmmanuel Vadot			reg = <0xbf000000 0x01000000>;  /* 16M */
113f126890aSEmmanuel Vadot		};
114f126890aSEmmanuel Vadot	};
115f126890aSEmmanuel Vadot
116*b2d2a78aSEmmanuel Vadot	leds {
117*b2d2a78aSEmmanuel Vadot		compatible = "gpio-leds";
118*b2d2a78aSEmmanuel Vadot		/*
119*b2d2a78aSEmmanuel Vadot		 * Use gpio-leds to configure GPIOW5 (bmc-ready) pin to be reseted when
120*b2d2a78aSEmmanuel Vadot		 * watchdog timeout.
121*b2d2a78aSEmmanuel Vadot		 */
122*b2d2a78aSEmmanuel Vadot		led-bmc-ready {
123*b2d2a78aSEmmanuel Vadot			gpios = <&gpio0 ASPEED_GPIO(W, 5) (GPIO_ACTIVE_HIGH | GPIO_TRANSITORY)>;
124*b2d2a78aSEmmanuel Vadot		};
125*b2d2a78aSEmmanuel Vadot
126*b2d2a78aSEmmanuel Vadot		led-sw-heartbeat {
127*b2d2a78aSEmmanuel Vadot			gpios = <&gpio0 ASPEED_GPIO(N, 3) GPIO_ACTIVE_HIGH>;
128*b2d2a78aSEmmanuel Vadot		};
129*b2d2a78aSEmmanuel Vadot
130*b2d2a78aSEmmanuel Vadot		led-identify {
131*b2d2a78aSEmmanuel Vadot			gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_HIGH>;
132*b2d2a78aSEmmanuel Vadot		};
133*b2d2a78aSEmmanuel Vadot
134*b2d2a78aSEmmanuel Vadot		led-fault {
135*b2d2a78aSEmmanuel Vadot			gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
136*b2d2a78aSEmmanuel Vadot		};
137*b2d2a78aSEmmanuel Vadot
138*b2d2a78aSEmmanuel Vadot		led-fan-fault {
139*b2d2a78aSEmmanuel Vadot			gpios = <&gpio_expander1 0 GPIO_ACTIVE_HIGH>;
140*b2d2a78aSEmmanuel Vadot		};
141*b2d2a78aSEmmanuel Vadot
142*b2d2a78aSEmmanuel Vadot		led-psu-fault {
143*b2d2a78aSEmmanuel Vadot			gpios = <&gpio_expander1 1 GPIO_ACTIVE_HIGH>;
144*b2d2a78aSEmmanuel Vadot		};
145*b2d2a78aSEmmanuel Vadot	};
146*b2d2a78aSEmmanuel Vadot
147f126890aSEmmanuel Vadot	voltage_mon_reg: voltage-mon-regulator {
148f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
149f126890aSEmmanuel Vadot		regulator-name = "ltc2497_reg";
150f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
151f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
152f126890aSEmmanuel Vadot		regulator-always-on;
153f126890aSEmmanuel Vadot	};
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot	gpioI5mux: mux-controller {
156f126890aSEmmanuel Vadot		compatible = "gpio-mux";
157f126890aSEmmanuel Vadot		#mux-control-cells = <0>;
158f126890aSEmmanuel Vadot		mux-gpios = <&gpio0 ASPEED_GPIO(I, 5) GPIO_ACTIVE_HIGH>;
159f126890aSEmmanuel Vadot	};
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot	adc0mux: adc0mux {
162f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
163aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 0>;
164f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
165f126890aSEmmanuel Vadot		io-channel-names = "parent";
166f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
167aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
168f126890aSEmmanuel Vadot		channels = "s0", "s1";
169f126890aSEmmanuel Vadot	};
170f126890aSEmmanuel Vadot
171f126890aSEmmanuel Vadot	adc1mux: adc1mux {
172f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
173aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 1>;
174f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
175f126890aSEmmanuel Vadot		io-channel-names = "parent";
176f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
177aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
178f126890aSEmmanuel Vadot		channels = "s0", "s1";
179f126890aSEmmanuel Vadot	};
180f126890aSEmmanuel Vadot
181f126890aSEmmanuel Vadot	adc2mux: adc2mux {
182f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
183aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 2>;
184f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
185f126890aSEmmanuel Vadot		io-channel-names = "parent";
186f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
187aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
188f126890aSEmmanuel Vadot		channels = "s0", "s1";
189f126890aSEmmanuel Vadot	};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot	adc3mux: adc3mux {
192f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
193aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 3>;
194f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
195f126890aSEmmanuel Vadot		io-channel-names = "parent";
196f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
197aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
198f126890aSEmmanuel Vadot		channels = "s0", "s1";
199f126890aSEmmanuel Vadot	};
200f126890aSEmmanuel Vadot
201f126890aSEmmanuel Vadot	adc4mux: adc4mux {
202f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
203aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 4>;
204f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
205f126890aSEmmanuel Vadot		io-channel-names = "parent";
206f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
207aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
208f126890aSEmmanuel Vadot		channels = "s0", "s1";
209f126890aSEmmanuel Vadot	};
210f126890aSEmmanuel Vadot
211f126890aSEmmanuel Vadot	adc5mux: adc5mux {
212f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
213aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 5>;
214f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
215f126890aSEmmanuel Vadot		io-channel-names = "parent";
216f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
217aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
218f126890aSEmmanuel Vadot		channels = "s0", "s1";
219f126890aSEmmanuel Vadot	};
220f126890aSEmmanuel Vadot
221f126890aSEmmanuel Vadot	adc6mux: adc6mux {
222f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
223aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 6>;
224f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
225f126890aSEmmanuel Vadot		io-channel-names = "parent";
226f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
227aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
228f126890aSEmmanuel Vadot		channels = "s0", "s1";
229f126890aSEmmanuel Vadot	};
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot	adc7mux: adc7mux {
232f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
233aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 7>;
234f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
235f126890aSEmmanuel Vadot		io-channel-names = "parent";
236f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
237aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
238f126890aSEmmanuel Vadot		channels = "s0", "s1";
239f126890aSEmmanuel Vadot	};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot	adc8mux: adc8mux {
242f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
243aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 8>;
244f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
245f126890aSEmmanuel Vadot		io-channel-names = "parent";
246f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
247aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
248f126890aSEmmanuel Vadot		channels = "s0", "s1";
249f126890aSEmmanuel Vadot	};
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot	adc9mux: adc9mux {
252f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
253aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 9>;
254f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
255f126890aSEmmanuel Vadot		io-channel-names = "parent";
256f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
257aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
258f126890aSEmmanuel Vadot		channels = "s0", "s1";
259f126890aSEmmanuel Vadot	};
260f126890aSEmmanuel Vadot
261f126890aSEmmanuel Vadot	adc10mux: adc10mux {
262f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
263aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 10>;
264f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
265f126890aSEmmanuel Vadot		io-channel-names = "parent";
266f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
267aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
268f126890aSEmmanuel Vadot		channels = "s0", "s1";
269f126890aSEmmanuel Vadot	};
270f126890aSEmmanuel Vadot
271f126890aSEmmanuel Vadot	adc11mux: adc11mux {
272f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
273aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 11>;
274f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
275f126890aSEmmanuel Vadot		io-channel-names = "parent";
276f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
277aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
278f126890aSEmmanuel Vadot		channels = "s0", "s1";
279f126890aSEmmanuel Vadot	};
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot	adc12mux: adc12mux {
282f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
283aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 12>;
284f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
285f126890aSEmmanuel Vadot		io-channel-names = "parent";
286f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
287aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
288f126890aSEmmanuel Vadot		channels = "s0", "s1";
289f126890aSEmmanuel Vadot	};
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot	adc13mux: adc13mux {
292f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
293aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 13>;
294f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
295f126890aSEmmanuel Vadot		io-channel-names = "parent";
296f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
297aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
298f126890aSEmmanuel Vadot		channels = "s0", "s1";
299f126890aSEmmanuel Vadot	};
300f126890aSEmmanuel Vadot
301f126890aSEmmanuel Vadot	adc14mux: adc14mux {
302f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
303aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 14>;
304f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
305f126890aSEmmanuel Vadot		io-channel-names = "parent";
306f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
307aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
308f126890aSEmmanuel Vadot		channels = "s0", "s1";
309f126890aSEmmanuel Vadot	};
310f126890aSEmmanuel Vadot
311f126890aSEmmanuel Vadot	adc15mux: adc15mux {
312f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
313aa1a8ff2SEmmanuel Vadot		io-channels = <&adc_i2c_0 15>;
314f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
315f126890aSEmmanuel Vadot		io-channel-names = "parent";
316f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
317aa1a8ff2SEmmanuel Vadot		settle-time-us = <10000>;
318f126890aSEmmanuel Vadot		channels = "s0", "s1";
319f126890aSEmmanuel Vadot	};
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot	iio-hwmon {
322f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
323f126890aSEmmanuel Vadot		io-channels =	<&adc0mux 0>, <&adc0mux 1>,
324f126890aSEmmanuel Vadot				<&adc1mux 0>, <&adc1mux 1>,
325f126890aSEmmanuel Vadot				<&adc2mux 0>, <&adc2mux 1>,
326f126890aSEmmanuel Vadot				<&adc3mux 0>, <&adc3mux 1>,
327f126890aSEmmanuel Vadot				<&adc4mux 0>, <&adc4mux 1>,
328f126890aSEmmanuel Vadot				<&adc5mux 0>, <&adc5mux 1>,
329f126890aSEmmanuel Vadot				<&adc6mux 0>, <&adc6mux 1>,
330f126890aSEmmanuel Vadot				<&adc7mux 0>, <&adc7mux 1>,
331f126890aSEmmanuel Vadot				<&adc8mux 0>, <&adc8mux 1>,
332f126890aSEmmanuel Vadot				<&adc9mux 0>, <&adc9mux 1>,
333f126890aSEmmanuel Vadot				<&adc10mux 0>, <&adc10mux 1>,
334f126890aSEmmanuel Vadot				<&adc11mux 0>, <&adc11mux 1>,
335f126890aSEmmanuel Vadot				<&adc12mux 0>, <&adc12mux 1>,
336f126890aSEmmanuel Vadot				<&adc13mux 0>, <&adc13mux 1>,
337f126890aSEmmanuel Vadot				<&adc14mux 0>, <&adc14mux 1>,
338f126890aSEmmanuel Vadot				<&adc15mux 0>, <&adc15mux 1>,
339aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 0>, <&adc_i2c_1 1>,
340aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 2>, <&adc_i2c_1 3>,
341aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 4>, <&adc_i2c_1 5>,
342aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 6>, <&adc_i2c_1 7>,
343aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 8>, <&adc_i2c_1 9>,
344aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 10>, <&adc_i2c_1 11>,
345aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 12>, <&adc_i2c_1 13>,
346aa1a8ff2SEmmanuel Vadot				<&adc_i2c_1 14>, <&adc_i2c_1 15>,
347aa1a8ff2SEmmanuel Vadot				<&adc0 0>, <&adc0 1>,
348aa1a8ff2SEmmanuel Vadot				<&adc0 2>;
349f126890aSEmmanuel Vadot	};
350f126890aSEmmanuel Vadot};
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot&mdio0 {
353f126890aSEmmanuel Vadot	status = "okay";
354f126890aSEmmanuel Vadot
355f126890aSEmmanuel Vadot	ethphy0: ethernet-phy@0 {
356f126890aSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
357f126890aSEmmanuel Vadot		reg = <0>;
358f126890aSEmmanuel Vadot	};
359f126890aSEmmanuel Vadot};
360f126890aSEmmanuel Vadot
361f126890aSEmmanuel Vadot&mac0 {
362f126890aSEmmanuel Vadot	status = "okay";
363f126890aSEmmanuel Vadot
364f126890aSEmmanuel Vadot	phy-mode = "rgmii";
365f126890aSEmmanuel Vadot	phy-handle = <&ethphy0>;
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot	pinctrl-names = "default";
368f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rgmii1_default>;
369f126890aSEmmanuel Vadot};
370f126890aSEmmanuel Vadot
371f126890aSEmmanuel Vadot&mac3 {
372f126890aSEmmanuel Vadot	status = "okay";
373f126890aSEmmanuel Vadot	pinctrl-names = "default";
374f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rmii4_default>;
375f126890aSEmmanuel Vadot	clock-names = "MACCLK", "RCLK";
376f126890aSEmmanuel Vadot	use-ncsi;
377f126890aSEmmanuel Vadot};
378f126890aSEmmanuel Vadot
379f126890aSEmmanuel Vadot&fmc {
380f126890aSEmmanuel Vadot	status = "okay";
381f126890aSEmmanuel Vadot	flash@0 {
382f126890aSEmmanuel Vadot		status = "okay";
383f126890aSEmmanuel Vadot		m25p,fast-read;
384f126890aSEmmanuel Vadot		label = "bmc";
385f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
386f126890aSEmmanuel Vadot#include "openbmc-flash-layout-64.dtsi"
387f126890aSEmmanuel Vadot	};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot	flash@1 {
390f126890aSEmmanuel Vadot		status = "okay";
391f126890aSEmmanuel Vadot		m25p,fast-read;
392f126890aSEmmanuel Vadot		label = "alt-bmc";
393f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
394f126890aSEmmanuel Vadot#include "openbmc-flash-layout-64-alt.dtsi"
395f126890aSEmmanuel Vadot	};
396f126890aSEmmanuel Vadot};
397f126890aSEmmanuel Vadot
398f126890aSEmmanuel Vadot&spi1 {
399f126890aSEmmanuel Vadot	status = "okay";
400f126890aSEmmanuel Vadot	pinctrl-names = "default";
401f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi1_default>;
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot	flash@0 {
404f126890aSEmmanuel Vadot		status = "okay";
405f126890aSEmmanuel Vadot		m25p,fast-read;
406f126890aSEmmanuel Vadot		label = "pnor";
407f126890aSEmmanuel Vadot		spi-max-frequency = <20000000>;
408f126890aSEmmanuel Vadot	};
409f126890aSEmmanuel Vadot};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot&uart1 {
412f126890aSEmmanuel Vadot	status = "okay";
413f126890aSEmmanuel Vadot};
414f126890aSEmmanuel Vadot
415f126890aSEmmanuel Vadot&uart2 {
416f126890aSEmmanuel Vadot	status = "okay";
417f126890aSEmmanuel Vadot};
418f126890aSEmmanuel Vadot
419f126890aSEmmanuel Vadot&uart3 {
420f126890aSEmmanuel Vadot	status = "okay";
421f126890aSEmmanuel Vadot};
422f126890aSEmmanuel Vadot
423f126890aSEmmanuel Vadot&uart4 {
424f126890aSEmmanuel Vadot	status = "okay";
425f126890aSEmmanuel Vadot};
426f126890aSEmmanuel Vadot
427aa1a8ff2SEmmanuel Vadot&uart8 {
428aa1a8ff2SEmmanuel Vadot	status = "okay";
429aa1a8ff2SEmmanuel Vadot};
430aa1a8ff2SEmmanuel Vadot
431aa1a8ff2SEmmanuel Vadot&uart9 {
432aa1a8ff2SEmmanuel Vadot	status = "okay";
433aa1a8ff2SEmmanuel Vadot};
434aa1a8ff2SEmmanuel Vadot
435f126890aSEmmanuel Vadot&i2c0 {
436f126890aSEmmanuel Vadot	status = "okay";
437f126890aSEmmanuel Vadot
438f126890aSEmmanuel Vadot	temperature-sensor@2e {
439f126890aSEmmanuel Vadot		compatible = "adi,adt7490";
440f126890aSEmmanuel Vadot		reg = <0x2e>;
441f126890aSEmmanuel Vadot	};
442f126890aSEmmanuel Vadot};
443f126890aSEmmanuel Vadot
444f126890aSEmmanuel Vadot&i2c1 {
445f126890aSEmmanuel Vadot	status = "okay";
446f126890aSEmmanuel Vadot};
447f126890aSEmmanuel Vadot
448f126890aSEmmanuel Vadot&i2c2 {
449f126890aSEmmanuel Vadot	status = "okay";
450f126890aSEmmanuel Vadot
451f126890aSEmmanuel Vadot	psu@58 {
452f126890aSEmmanuel Vadot		compatible = "pmbus";
453f126890aSEmmanuel Vadot		reg = <0x58>;
454f126890aSEmmanuel Vadot	};
455f126890aSEmmanuel Vadot
456f126890aSEmmanuel Vadot	psu@59 {
457f126890aSEmmanuel Vadot		compatible = "pmbus";
458f126890aSEmmanuel Vadot		reg = <0x59>;
459f126890aSEmmanuel Vadot	};
460f126890aSEmmanuel Vadot};
461f126890aSEmmanuel Vadot
462f126890aSEmmanuel Vadot&i2c3 {
463f126890aSEmmanuel Vadot	status = "okay";
464aa1a8ff2SEmmanuel Vadot	bus-frequency = <1000000>;
465aa1a8ff2SEmmanuel Vadot	multi-master;
466aa1a8ff2SEmmanuel Vadot	mctp-controller;
467aa1a8ff2SEmmanuel Vadot
468aa1a8ff2SEmmanuel Vadot	mctp@10 {
469aa1a8ff2SEmmanuel Vadot		compatible = "mctp-i2c-controller";
470aa1a8ff2SEmmanuel Vadot		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
471aa1a8ff2SEmmanuel Vadot	};
472f126890aSEmmanuel Vadot};
473f126890aSEmmanuel Vadot
474f126890aSEmmanuel Vadot&i2c4 {
475f126890aSEmmanuel Vadot	status = "okay";
476f126890aSEmmanuel Vadot
477aa1a8ff2SEmmanuel Vadot	adc_i2c_0: adc@14 {
478aa1a8ff2SEmmanuel Vadot		compatible = "lltc,ltc2497";
479aa1a8ff2SEmmanuel Vadot		reg = <0x14>;
480aa1a8ff2SEmmanuel Vadot		vref-supply = <&voltage_mon_reg>;
481aa1a8ff2SEmmanuel Vadot		#io-channel-cells = <1>;
482aa1a8ff2SEmmanuel Vadot	 };
483aa1a8ff2SEmmanuel Vadot
484aa1a8ff2SEmmanuel Vadot	adc_i2c_1: adc@16 {
485f126890aSEmmanuel Vadot		compatible = "lltc,ltc2497";
486f126890aSEmmanuel Vadot		reg = <0x16>;
487f126890aSEmmanuel Vadot		vref-supply = <&voltage_mon_reg>;
488f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
489f126890aSEmmanuel Vadot	 };
490f126890aSEmmanuel Vadot
491f126890aSEmmanuel Vadot	eeprom@50 {
492f126890aSEmmanuel Vadot		compatible = "atmel,24c64";
493f126890aSEmmanuel Vadot		reg = <0x50>;
494f126890aSEmmanuel Vadot		pagesize = <32>;
495f126890aSEmmanuel Vadot	};
496f126890aSEmmanuel Vadot
497f126890aSEmmanuel Vadot	i2c-mux@70 {
498f126890aSEmmanuel Vadot		compatible = "nxp,pca9545";
499f126890aSEmmanuel Vadot		#address-cells = <1>;
500f126890aSEmmanuel Vadot		#size-cells = <0>;
501f126890aSEmmanuel Vadot		reg = <0x70>;
502f126890aSEmmanuel Vadot		i2c-mux-idle-disconnect;
503f126890aSEmmanuel Vadot
504f126890aSEmmanuel Vadot		i2c4_bus70_chn0: i2c@0 {
505f126890aSEmmanuel Vadot			#address-cells = <1>;
506f126890aSEmmanuel Vadot			#size-cells = <0>;
507f126890aSEmmanuel Vadot			reg = <0x0>;
508f126890aSEmmanuel Vadot
509f126890aSEmmanuel Vadot			outlet_temp1: temperature-sensor@48 {
510f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
511f126890aSEmmanuel Vadot				reg = <0x48>;
512f126890aSEmmanuel Vadot			};
513f126890aSEmmanuel Vadot			psu1_inlet_temp2: temperature-sensor@49 {
514f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
515f126890aSEmmanuel Vadot				reg = <0x49>;
516f126890aSEmmanuel Vadot			};
517f126890aSEmmanuel Vadot		};
518f126890aSEmmanuel Vadot
519f126890aSEmmanuel Vadot		i2c4_bus70_chn1: i2c@1 {
520f126890aSEmmanuel Vadot			#address-cells = <1>;
521f126890aSEmmanuel Vadot			#size-cells = <0>;
522f126890aSEmmanuel Vadot			reg = <0x1>;
523f126890aSEmmanuel Vadot
524f126890aSEmmanuel Vadot			pcie_zone_temp1: temperature-sensor@48 {
525f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
526f126890aSEmmanuel Vadot				reg = <0x48>;
527f126890aSEmmanuel Vadot			};
528f126890aSEmmanuel Vadot			psu0_inlet_temp2: temperature-sensor@49 {
529f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
530f126890aSEmmanuel Vadot				reg = <0x49>;
531f126890aSEmmanuel Vadot			};
532f126890aSEmmanuel Vadot		};
533f126890aSEmmanuel Vadot
534f126890aSEmmanuel Vadot		i2c4_bus70_chn2: i2c@2 {
535f126890aSEmmanuel Vadot			#address-cells = <1>;
536f126890aSEmmanuel Vadot			#size-cells = <0>;
537f126890aSEmmanuel Vadot			reg = <0x2>;
538f126890aSEmmanuel Vadot
539f126890aSEmmanuel Vadot			pcie_zone_temp2: temperature-sensor@48 {
540f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
541f126890aSEmmanuel Vadot				reg = <0x48>;
542f126890aSEmmanuel Vadot			};
543f126890aSEmmanuel Vadot			outlet_temp2: temperature-sensor@49 {
544f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
545f126890aSEmmanuel Vadot				reg = <0x49>;
546f126890aSEmmanuel Vadot			};
547f126890aSEmmanuel Vadot		};
548f126890aSEmmanuel Vadot
549f126890aSEmmanuel Vadot		i2c4_bus70_chn3: i2c@3 {
550f126890aSEmmanuel Vadot			#address-cells = <1>;
551f126890aSEmmanuel Vadot			#size-cells = <0>;
552f126890aSEmmanuel Vadot			reg = <0x3>;
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot			mb_inlet_temp1: temperature-sensor@7c {
555f126890aSEmmanuel Vadot				compatible = "microchip,emc1413";
556f126890aSEmmanuel Vadot				reg = <0x7c>;
557f126890aSEmmanuel Vadot			};
558f126890aSEmmanuel Vadot			mb_inlet_temp2: temperature-sensor@4c {
559f126890aSEmmanuel Vadot				compatible = "microchip,emc1413";
560f126890aSEmmanuel Vadot				reg = <0x4c>;
561f126890aSEmmanuel Vadot			};
562f126890aSEmmanuel Vadot		};
563f126890aSEmmanuel Vadot	};
564f126890aSEmmanuel Vadot};
565f126890aSEmmanuel Vadot
566f126890aSEmmanuel Vadot&i2c5 {
567f126890aSEmmanuel Vadot	status = "okay";
568f126890aSEmmanuel Vadot
569f126890aSEmmanuel Vadot	i2c-mux@70 {
570f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
571f126890aSEmmanuel Vadot		#address-cells = <1>;
572f126890aSEmmanuel Vadot		#size-cells = <0>;
573f126890aSEmmanuel Vadot		reg = <0x70>;
574f126890aSEmmanuel Vadot		i2c-mux-idle-disconnect;
575*b2d2a78aSEmmanuel Vadot
576*b2d2a78aSEmmanuel Vadot		ocpslot_0: i2c@0 {
577*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
578*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
579*b2d2a78aSEmmanuel Vadot			reg = <0x0>;
580*b2d2a78aSEmmanuel Vadot
581*b2d2a78aSEmmanuel Vadot			ocpslot_0_temp: temperature-sensor@1f {
582*b2d2a78aSEmmanuel Vadot				compatible = "ti,tmp421";
583*b2d2a78aSEmmanuel Vadot				reg = <0x1f>;
584*b2d2a78aSEmmanuel Vadot			};
585*b2d2a78aSEmmanuel Vadot		};
586*b2d2a78aSEmmanuel Vadot
587*b2d2a78aSEmmanuel Vadot		ocpslot_1: i2c@1 {
588*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
589*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
590*b2d2a78aSEmmanuel Vadot			reg = <0x1>;
591*b2d2a78aSEmmanuel Vadot
592*b2d2a78aSEmmanuel Vadot			ocpslot_1_temp: temperature-sensor@1f {
593*b2d2a78aSEmmanuel Vadot				compatible = "ti,tmp421";
594*b2d2a78aSEmmanuel Vadot				reg = <0x1f>;
595*b2d2a78aSEmmanuel Vadot			};
596*b2d2a78aSEmmanuel Vadot		};
597*b2d2a78aSEmmanuel Vadot
598*b2d2a78aSEmmanuel Vadot		i2c_riser0: i2c@2 {
599*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
600*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
601*b2d2a78aSEmmanuel Vadot			reg = <0x2>;
602*b2d2a78aSEmmanuel Vadot
603*b2d2a78aSEmmanuel Vadot			i2c-mux@72 {
604*b2d2a78aSEmmanuel Vadot				compatible = "nxp,pca9546";
605*b2d2a78aSEmmanuel Vadot				#address-cells = <1>;
606*b2d2a78aSEmmanuel Vadot				#size-cells = <0>;
607*b2d2a78aSEmmanuel Vadot				reg = <0x72>;
608*b2d2a78aSEmmanuel Vadot				i2c-mux-idle-disconnect;
609*b2d2a78aSEmmanuel Vadot
610*b2d2a78aSEmmanuel Vadot				i2c_riser0_chn_0: i2c@0 {
611*b2d2a78aSEmmanuel Vadot					#address-cells = <1>;
612*b2d2a78aSEmmanuel Vadot					#size-cells = <0>;
613*b2d2a78aSEmmanuel Vadot					reg = <0x0>;
614*b2d2a78aSEmmanuel Vadot
615*b2d2a78aSEmmanuel Vadot					eeprom@50 {
616*b2d2a78aSEmmanuel Vadot						compatible = "atmel,24c02";
617*b2d2a78aSEmmanuel Vadot						reg = <0x50>;
618*b2d2a78aSEmmanuel Vadot						pagesize = <16>;
619*b2d2a78aSEmmanuel Vadot					};
620*b2d2a78aSEmmanuel Vadot				};
621*b2d2a78aSEmmanuel Vadot			};
622*b2d2a78aSEmmanuel Vadot		};
623*b2d2a78aSEmmanuel Vadot
624*b2d2a78aSEmmanuel Vadot		i2c_riser1: i2c@3 {
625*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
626*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
627*b2d2a78aSEmmanuel Vadot			reg = <0x3>;
628*b2d2a78aSEmmanuel Vadot
629*b2d2a78aSEmmanuel Vadot			i2c-mux@72 {
630*b2d2a78aSEmmanuel Vadot				compatible = "nxp,pca9546";
631*b2d2a78aSEmmanuel Vadot				#address-cells = <1>;
632*b2d2a78aSEmmanuel Vadot				#size-cells = <0>;
633*b2d2a78aSEmmanuel Vadot				reg = <0x72>;
634*b2d2a78aSEmmanuel Vadot				i2c-mux-idle-disconnect;
635*b2d2a78aSEmmanuel Vadot
636*b2d2a78aSEmmanuel Vadot				i2c_riser1_chn_0: i2c@0 {
637*b2d2a78aSEmmanuel Vadot					#address-cells = <1>;
638*b2d2a78aSEmmanuel Vadot					#size-cells = <0>;
639*b2d2a78aSEmmanuel Vadot					reg = <0x0>;
640*b2d2a78aSEmmanuel Vadot
641*b2d2a78aSEmmanuel Vadot					eeprom@50 {
642*b2d2a78aSEmmanuel Vadot						compatible = "atmel,24c02";
643*b2d2a78aSEmmanuel Vadot						reg = <0x50>;
644*b2d2a78aSEmmanuel Vadot						pagesize = <16>;
645*b2d2a78aSEmmanuel Vadot					};
646*b2d2a78aSEmmanuel Vadot				};
647*b2d2a78aSEmmanuel Vadot			};
648*b2d2a78aSEmmanuel Vadot		};
649f126890aSEmmanuel Vadot	};
650f126890aSEmmanuel Vadot};
651f126890aSEmmanuel Vadot
652f126890aSEmmanuel Vadot&i2c6 {
653f126890aSEmmanuel Vadot	status = "okay";
654f126890aSEmmanuel Vadot	rtc@51 {
655f126890aSEmmanuel Vadot		compatible = "nxp,pcf85063a";
656f126890aSEmmanuel Vadot		reg = <0x51>;
657f126890aSEmmanuel Vadot	};
658f126890aSEmmanuel Vadot};
659f126890aSEmmanuel Vadot
660f126890aSEmmanuel Vadot&i2c7 {
661f126890aSEmmanuel Vadot	status = "okay";
662f126890aSEmmanuel Vadot};
663f126890aSEmmanuel Vadot
664f126890aSEmmanuel Vadot&i2c8 {
665f126890aSEmmanuel Vadot	status = "okay";
666f126890aSEmmanuel Vadot
66784943d6fSEmmanuel Vadot	temperature-sensor@48 {
66884943d6fSEmmanuel Vadot		compatible = "ti,tmp112";
66984943d6fSEmmanuel Vadot		reg = <0x48>;
67084943d6fSEmmanuel Vadot	};
67184943d6fSEmmanuel Vadot
672f126890aSEmmanuel Vadot	gpio@77 {
673f126890aSEmmanuel Vadot		compatible = "nxp,pca9539";
674f126890aSEmmanuel Vadot		reg = <0x77>;
675f126890aSEmmanuel Vadot		gpio-controller;
676f126890aSEmmanuel Vadot		#address-cells = <1>;
677f126890aSEmmanuel Vadot		#size-cells = <0>;
678f126890aSEmmanuel Vadot		#gpio-cells = <2>;
679f126890aSEmmanuel Vadot
680f126890aSEmmanuel Vadot		bmc-ocp0-en-hog {
681f126890aSEmmanuel Vadot			gpio-hog;
682f126890aSEmmanuel Vadot			gpios = <7 GPIO_ACTIVE_LOW>;
683f126890aSEmmanuel Vadot			output-high;
684f126890aSEmmanuel Vadot			line-name = "bmc-ocp0-en-n";
685f126890aSEmmanuel Vadot		};
686f126890aSEmmanuel Vadot	};
687f126890aSEmmanuel Vadot};
688f126890aSEmmanuel Vadot
689f126890aSEmmanuel Vadot&i2c9 {
690f126890aSEmmanuel Vadot	status = "okay";
69184943d6fSEmmanuel Vadot	i2c-mux@70 {
69284943d6fSEmmanuel Vadot		compatible = "nxp,pca9548";
69384943d6fSEmmanuel Vadot		#address-cells = <1>;
69484943d6fSEmmanuel Vadot		#size-cells = <0>;
69584943d6fSEmmanuel Vadot		reg = <0x70>;
69684943d6fSEmmanuel Vadot		i2c-mux-idle-disconnect;
69784943d6fSEmmanuel Vadot
69884943d6fSEmmanuel Vadot		backplane_1: i2c@0 {
69984943d6fSEmmanuel Vadot			#address-cells = <1>;
70084943d6fSEmmanuel Vadot			#size-cells = <0>;
70184943d6fSEmmanuel Vadot			reg = <0x0>;
70284943d6fSEmmanuel Vadot
70384943d6fSEmmanuel Vadot			eeprom@50 {
70484943d6fSEmmanuel Vadot				compatible = "atmel,24c64";
70584943d6fSEmmanuel Vadot				reg = <0x50>;
70684943d6fSEmmanuel Vadot				pagesize = <32>;
70784943d6fSEmmanuel Vadot			};
70884943d6fSEmmanuel Vadot
70984943d6fSEmmanuel Vadot			i2c-mux@71 {
71084943d6fSEmmanuel Vadot				compatible = "nxp,pca9548";
71184943d6fSEmmanuel Vadot				#address-cells = <1>;
71284943d6fSEmmanuel Vadot				#size-cells = <0>;
71384943d6fSEmmanuel Vadot				reg = <0x71>;
71484943d6fSEmmanuel Vadot				i2c-mux-idle-disconnect;
71584943d6fSEmmanuel Vadot
71684943d6fSEmmanuel Vadot				nvmeslot_8: i2c@0 {
71784943d6fSEmmanuel Vadot					#address-cells = <1>;
71884943d6fSEmmanuel Vadot					#size-cells = <0>;
71984943d6fSEmmanuel Vadot					reg = <0x0>;
72084943d6fSEmmanuel Vadot				};
72184943d6fSEmmanuel Vadot				nvmeslot_9: i2c@1 {
72284943d6fSEmmanuel Vadot					#address-cells = <1>;
72384943d6fSEmmanuel Vadot					#size-cells = <0>;
72484943d6fSEmmanuel Vadot					reg = <0x1>;
72584943d6fSEmmanuel Vadot				};
72684943d6fSEmmanuel Vadot				nvmeslot_10: i2c@2 {
72784943d6fSEmmanuel Vadot					#address-cells = <1>;
72884943d6fSEmmanuel Vadot					#size-cells = <0>;
72984943d6fSEmmanuel Vadot					reg = <0x2>;
73084943d6fSEmmanuel Vadot				};
73184943d6fSEmmanuel Vadot				nvmeslot_11: i2c@3 {
73284943d6fSEmmanuel Vadot					#address-cells = <1>;
73384943d6fSEmmanuel Vadot					#size-cells = <0>;
73484943d6fSEmmanuel Vadot					reg = <0x3>;
73584943d6fSEmmanuel Vadot				};
73684943d6fSEmmanuel Vadot				nvmeslot_12: i2c@4 {
73784943d6fSEmmanuel Vadot					#address-cells = <1>;
73884943d6fSEmmanuel Vadot					#size-cells = <0>;
73984943d6fSEmmanuel Vadot					reg = <0x4>;
74084943d6fSEmmanuel Vadot				};
74184943d6fSEmmanuel Vadot				nvmeslot_13: i2c@5 {
74284943d6fSEmmanuel Vadot					#address-cells = <1>;
74384943d6fSEmmanuel Vadot					#size-cells = <0>;
74484943d6fSEmmanuel Vadot					reg = <0x5>;
74584943d6fSEmmanuel Vadot				};
74684943d6fSEmmanuel Vadot				nvmeslot_14: i2c@6 {
74784943d6fSEmmanuel Vadot					#address-cells = <1>;
74884943d6fSEmmanuel Vadot					#size-cells = <0>;
74984943d6fSEmmanuel Vadot					reg = <0x6>;
75084943d6fSEmmanuel Vadot				};
75184943d6fSEmmanuel Vadot				nvmeslot_15: i2c@7 {
75284943d6fSEmmanuel Vadot					#address-cells = <1>;
75384943d6fSEmmanuel Vadot					#size-cells = <0>;
75484943d6fSEmmanuel Vadot					reg = <0x7>;
75584943d6fSEmmanuel Vadot				};
75684943d6fSEmmanuel Vadot			};
75784943d6fSEmmanuel Vadot
75884943d6fSEmmanuel Vadot			tmp432@4c {
75984943d6fSEmmanuel Vadot				compatible = "ti,tmp75";
76084943d6fSEmmanuel Vadot				reg = <0x4c>;
76184943d6fSEmmanuel Vadot			};
76284943d6fSEmmanuel Vadot		};
76384943d6fSEmmanuel Vadot
76484943d6fSEmmanuel Vadot		backplane_2: i2c@2 {
76584943d6fSEmmanuel Vadot			#address-cells = <1>;
76684943d6fSEmmanuel Vadot			#size-cells = <0>;
76784943d6fSEmmanuel Vadot			reg = <0x2>;
76884943d6fSEmmanuel Vadot
76984943d6fSEmmanuel Vadot			eeprom@50 {
77084943d6fSEmmanuel Vadot				compatible = "atmel,24c64";
77184943d6fSEmmanuel Vadot				reg = <0x50>;
77284943d6fSEmmanuel Vadot				pagesize = <32>;
77384943d6fSEmmanuel Vadot			};
77484943d6fSEmmanuel Vadot
77584943d6fSEmmanuel Vadot			i2c-mux@71 {
77684943d6fSEmmanuel Vadot				compatible = "nxp,pca9548";
77784943d6fSEmmanuel Vadot				#address-cells = <1>;
77884943d6fSEmmanuel Vadot				#size-cells = <0>;
77984943d6fSEmmanuel Vadot				reg = <0x71>;
78084943d6fSEmmanuel Vadot				i2c-mux-idle-disconnect;
78184943d6fSEmmanuel Vadot
78284943d6fSEmmanuel Vadot				nvmeslot_16: i2c@0 {
78384943d6fSEmmanuel Vadot					#address-cells = <1>;
78484943d6fSEmmanuel Vadot					#size-cells = <0>;
78584943d6fSEmmanuel Vadot					reg = <0x0>;
78684943d6fSEmmanuel Vadot				};
78784943d6fSEmmanuel Vadot				nvmeslot_17: i2c@1 {
78884943d6fSEmmanuel Vadot					#address-cells = <1>;
78984943d6fSEmmanuel Vadot					#size-cells = <0>;
79084943d6fSEmmanuel Vadot					reg = <0x1>;
79184943d6fSEmmanuel Vadot				};
79284943d6fSEmmanuel Vadot				nvmeslot_18: i2c@2 {
79384943d6fSEmmanuel Vadot					#address-cells = <1>;
79484943d6fSEmmanuel Vadot					#size-cells = <0>;
79584943d6fSEmmanuel Vadot					reg = <0x2>;
79684943d6fSEmmanuel Vadot				};
79784943d6fSEmmanuel Vadot				nvmeslot_19: i2c@3 {
79884943d6fSEmmanuel Vadot					#address-cells = <1>;
79984943d6fSEmmanuel Vadot					#size-cells = <0>;
80084943d6fSEmmanuel Vadot					reg = <0x3>;
80184943d6fSEmmanuel Vadot				};
80284943d6fSEmmanuel Vadot				nvmeslot_20: i2c@4 {
80384943d6fSEmmanuel Vadot					#address-cells = <1>;
80484943d6fSEmmanuel Vadot					#size-cells = <0>;
80584943d6fSEmmanuel Vadot					reg = <0x4>;
80684943d6fSEmmanuel Vadot				};
80784943d6fSEmmanuel Vadot				nvmeslot_21: i2c@5 {
80884943d6fSEmmanuel Vadot					#address-cells = <1>;
80984943d6fSEmmanuel Vadot					#size-cells = <0>;
81084943d6fSEmmanuel Vadot					reg = <0x5>;
81184943d6fSEmmanuel Vadot				};
81284943d6fSEmmanuel Vadot				nvmeslot_22: i2c@6 {
81384943d6fSEmmanuel Vadot					#address-cells = <1>;
81484943d6fSEmmanuel Vadot					#size-cells = <0>;
81584943d6fSEmmanuel Vadot					reg = <0x6>;
81684943d6fSEmmanuel Vadot				};
81784943d6fSEmmanuel Vadot				nvmeslot_23: i2c@7 {
81884943d6fSEmmanuel Vadot					#address-cells = <1>;
81984943d6fSEmmanuel Vadot					#size-cells = <0>;
82084943d6fSEmmanuel Vadot					reg = <0x7>;
82184943d6fSEmmanuel Vadot				};
82284943d6fSEmmanuel Vadot			};
82384943d6fSEmmanuel Vadot
82484943d6fSEmmanuel Vadot			tmp432@4c {
82584943d6fSEmmanuel Vadot				compatible = "ti,tmp75";
82684943d6fSEmmanuel Vadot				reg = <0x4c>;
82784943d6fSEmmanuel Vadot			};
82884943d6fSEmmanuel Vadot		};
82984943d6fSEmmanuel Vadot
83084943d6fSEmmanuel Vadot		backplane_0: i2c@4 {
83184943d6fSEmmanuel Vadot			#address-cells = <1>;
83284943d6fSEmmanuel Vadot			#size-cells = <0>;
83384943d6fSEmmanuel Vadot			reg = <0x4>;
83484943d6fSEmmanuel Vadot
83584943d6fSEmmanuel Vadot			eeprom@50 {
83684943d6fSEmmanuel Vadot				compatible = "atmel,24c64";
83784943d6fSEmmanuel Vadot				reg = <0x50>;
83884943d6fSEmmanuel Vadot				pagesize = <32>;
83984943d6fSEmmanuel Vadot			};
84084943d6fSEmmanuel Vadot
84184943d6fSEmmanuel Vadot			i2c-mux@71 {
84284943d6fSEmmanuel Vadot				compatible = "nxp,pca9548";
84384943d6fSEmmanuel Vadot				#address-cells = <1>;
84484943d6fSEmmanuel Vadot				#size-cells = <0>;
84584943d6fSEmmanuel Vadot				reg = <0x71>;
84684943d6fSEmmanuel Vadot				i2c-mux-idle-disconnect;
84784943d6fSEmmanuel Vadot
84884943d6fSEmmanuel Vadot				nvmeslot_0: i2c@0 {
84984943d6fSEmmanuel Vadot					#address-cells = <1>;
85084943d6fSEmmanuel Vadot					#size-cells = <0>;
85184943d6fSEmmanuel Vadot					reg = <0x0>;
85284943d6fSEmmanuel Vadot				};
85384943d6fSEmmanuel Vadot				nvmeslot_1: i2c@1 {
85484943d6fSEmmanuel Vadot					#address-cells = <1>;
85584943d6fSEmmanuel Vadot					#size-cells = <0>;
85684943d6fSEmmanuel Vadot					reg = <0x1>;
85784943d6fSEmmanuel Vadot				};
85884943d6fSEmmanuel Vadot				nvmeslot_2: i2c@2 {
85984943d6fSEmmanuel Vadot					#address-cells = <1>;
86084943d6fSEmmanuel Vadot					#size-cells = <0>;
86184943d6fSEmmanuel Vadot					reg = <0x2>;
86284943d6fSEmmanuel Vadot				};
86384943d6fSEmmanuel Vadot				nvmeslot_3: i2c@3 {
86484943d6fSEmmanuel Vadot					#address-cells = <1>;
86584943d6fSEmmanuel Vadot					#size-cells = <0>;
86684943d6fSEmmanuel Vadot					reg = <0x3>;
86784943d6fSEmmanuel Vadot				};
86884943d6fSEmmanuel Vadot				nvmeslot_4: i2c@4 {
86984943d6fSEmmanuel Vadot					#address-cells = <1>;
87084943d6fSEmmanuel Vadot					#size-cells = <0>;
87184943d6fSEmmanuel Vadot					reg = <0x4>;
87284943d6fSEmmanuel Vadot				};
87384943d6fSEmmanuel Vadot				nvmeslot_5: i2c@5 {
87484943d6fSEmmanuel Vadot					#address-cells = <1>;
87584943d6fSEmmanuel Vadot					#size-cells = <0>;
87684943d6fSEmmanuel Vadot					reg = <0x5>;
87784943d6fSEmmanuel Vadot				};
87884943d6fSEmmanuel Vadot				nvmeslot_6: i2c@6 {
87984943d6fSEmmanuel Vadot					#address-cells = <1>;
88084943d6fSEmmanuel Vadot					#size-cells = <0>;
88184943d6fSEmmanuel Vadot					reg = <0x6>;
88284943d6fSEmmanuel Vadot				};
88384943d6fSEmmanuel Vadot				nvmeslot_7: i2c@7 {
88484943d6fSEmmanuel Vadot					#address-cells = <1>;
88584943d6fSEmmanuel Vadot					#size-cells = <0>;
88684943d6fSEmmanuel Vadot					reg = <0x7>;
88784943d6fSEmmanuel Vadot				};
88884943d6fSEmmanuel Vadot			};
88984943d6fSEmmanuel Vadot
89084943d6fSEmmanuel Vadot			tmp432@4c {
89184943d6fSEmmanuel Vadot				compatible = "ti,tmp75";
89284943d6fSEmmanuel Vadot				reg = <0x4c>;
89384943d6fSEmmanuel Vadot			};
89484943d6fSEmmanuel Vadot		};
89584943d6fSEmmanuel Vadot
89684943d6fSEmmanuel Vadot		i2c@7 {
89784943d6fSEmmanuel Vadot			#address-cells = <1>;
89884943d6fSEmmanuel Vadot			#size-cells = <0>;
89984943d6fSEmmanuel Vadot			reg = <0x7>;
90084943d6fSEmmanuel Vadot
90184943d6fSEmmanuel Vadot			i2c-mux@71 {
90284943d6fSEmmanuel Vadot				compatible = "nxp,pca9546";
90384943d6fSEmmanuel Vadot				#address-cells = <1>;
90484943d6fSEmmanuel Vadot				#size-cells = <0>;
90584943d6fSEmmanuel Vadot				reg = <0x71>;
90684943d6fSEmmanuel Vadot				i2c-mux-idle-disconnect;
90784943d6fSEmmanuel Vadot
90884943d6fSEmmanuel Vadot				nvme_m2_0: i2c@0 {
90984943d6fSEmmanuel Vadot					#address-cells = <1>;
91084943d6fSEmmanuel Vadot					#size-cells = <0>;
91184943d6fSEmmanuel Vadot					reg = <0x0>;
91284943d6fSEmmanuel Vadot				};
91384943d6fSEmmanuel Vadot
91484943d6fSEmmanuel Vadot				nvme_m2_1: i2c@1 {
91584943d6fSEmmanuel Vadot					#address-cells = <1>;
91684943d6fSEmmanuel Vadot					#size-cells = <0>;
91784943d6fSEmmanuel Vadot					reg = <0x1>;
91884943d6fSEmmanuel Vadot				};
91984943d6fSEmmanuel Vadot			};
92084943d6fSEmmanuel Vadot		};
92184943d6fSEmmanuel Vadot	};
922f126890aSEmmanuel Vadot};
923f126890aSEmmanuel Vadot
924*b2d2a78aSEmmanuel Vadot&i2c10 {
925*b2d2a78aSEmmanuel Vadot	status = "okay";
926*b2d2a78aSEmmanuel Vadot};
927*b2d2a78aSEmmanuel Vadot
928f126890aSEmmanuel Vadot&i2c11 {
929f126890aSEmmanuel Vadot	status = "okay";
930f126890aSEmmanuel Vadot	ssif-bmc@10 {
931f126890aSEmmanuel Vadot		compatible = "ssif-bmc";
932f126890aSEmmanuel Vadot		reg = <0x10>;
933f126890aSEmmanuel Vadot	};
934f126890aSEmmanuel Vadot};
935f126890aSEmmanuel Vadot
936f126890aSEmmanuel Vadot&i2c14 {
937f126890aSEmmanuel Vadot	status = "okay";
938f126890aSEmmanuel Vadot	eeprom@50 {
939f126890aSEmmanuel Vadot		compatible = "atmel,24c64";
940f126890aSEmmanuel Vadot		reg = <0x50>;
941f126890aSEmmanuel Vadot		pagesize = <32>;
942f126890aSEmmanuel Vadot	};
943f126890aSEmmanuel Vadot
944f126890aSEmmanuel Vadot	bmc_ast2600_cpu: temperature-sensor@35 {
945f126890aSEmmanuel Vadot		compatible = "ti,tmp175";
946f126890aSEmmanuel Vadot		reg = <0x35>;
947f126890aSEmmanuel Vadot	};
948f126890aSEmmanuel Vadot};
949f126890aSEmmanuel Vadot
950*b2d2a78aSEmmanuel Vadot&i2c15 {
951*b2d2a78aSEmmanuel Vadot	status = "okay";
952*b2d2a78aSEmmanuel Vadot	gpio_expander1: gpio-expander@22 {
953*b2d2a78aSEmmanuel Vadot		compatible = "nxp,pca9535";
954*b2d2a78aSEmmanuel Vadot		reg = <0x22>;
955*b2d2a78aSEmmanuel Vadot		gpio-controller;
956*b2d2a78aSEmmanuel Vadot		#gpio-cells = <2>;
957*b2d2a78aSEmmanuel Vadot		gpio-line-names =
958*b2d2a78aSEmmanuel Vadot			"fan-fault","psu-fault",
959*b2d2a78aSEmmanuel Vadot			"","",
960*b2d2a78aSEmmanuel Vadot			"","",
961*b2d2a78aSEmmanuel Vadot			"","",
962*b2d2a78aSEmmanuel Vadot			"","",
963*b2d2a78aSEmmanuel Vadot			"","",
964*b2d2a78aSEmmanuel Vadot			"","",
965*b2d2a78aSEmmanuel Vadot			"","";
966*b2d2a78aSEmmanuel Vadot	};
967*b2d2a78aSEmmanuel Vadot};
968*b2d2a78aSEmmanuel Vadot
969f126890aSEmmanuel Vadot&adc0 {
970f126890aSEmmanuel Vadot	status = "okay";
971f126890aSEmmanuel Vadot
972f126890aSEmmanuel Vadot	pinctrl-names = "default";
973f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
97484943d6fSEmmanuel Vadot		&pinctrl_adc2_default>;
975f126890aSEmmanuel Vadot};
976f126890aSEmmanuel Vadot
977f126890aSEmmanuel Vadot&vhub {
978f126890aSEmmanuel Vadot	status = "okay";
979f126890aSEmmanuel Vadot};
980f126890aSEmmanuel Vadot
981f126890aSEmmanuel Vadot&video {
982f126890aSEmmanuel Vadot	status = "okay";
983f126890aSEmmanuel Vadot	memory-region = <&video_engine_memory>;
984f126890aSEmmanuel Vadot};
985f126890aSEmmanuel Vadot
986f126890aSEmmanuel Vadot&gpio0 {
987f126890aSEmmanuel Vadot	gpio-line-names =
988f126890aSEmmanuel Vadot	/*A0-A7*/	"","","","","","i2c2-reset-n","i2c6-reset-n","i2c4-reset-n",
989f126890aSEmmanuel Vadot	/*B0-B7*/	"","","","","host0-sysreset-n","host0-pmin-n","","",
99084943d6fSEmmanuel Vadot	/*C0-C7*/	"s0-vrd-fault-n","s1-vrd-fault-n","bmc-debug-mode","",
991f126890aSEmmanuel Vadot			"irq-n","","vrd-sel","spd-sel",
992f126890aSEmmanuel Vadot	/*D0-D7*/	"presence-ps0","presence-ps1","hsc-12vmain-alt2-n","ext-high-temp-n",
993f126890aSEmmanuel Vadot			"","bmc-ncsi-txen","","",
99484943d6fSEmmanuel Vadot	/*E0-E7*/	"","eth-phy-int-n","clk50m-bmc-ncsi","","","","","",
995f126890aSEmmanuel Vadot	/*F0-F7*/	"s0-pcp-oc-warn-n","s1-pcp-oc-warn-n","power-chassis-control",
996f126890aSEmmanuel Vadot			"cpu-bios-recover","s0-heartbeat","hs-csout-prochot",
997f126890aSEmmanuel Vadot			"s0-vr-hot-n","s1-vr-hot-n",
998f126890aSEmmanuel Vadot	/*G0-G7*/	"","","hsc-12vmain-alt1-n","","","","","",
99984943d6fSEmmanuel Vadot	/*H0-H7*/	"jtag-program-sel","fpga-program-b","wd-disable-n",
100084943d6fSEmmanuel Vadot			"power-chassis-good","","","","",
1001f126890aSEmmanuel Vadot	/*I0-I7*/	"","","","","","adc-sw","power-button","rtc-battery-voltage-read-enable",
1002f126890aSEmmanuel Vadot	/*J0-J7*/	"","","","","","","","",
1003f126890aSEmmanuel Vadot	/*K0-K7*/	"","","","","","","","",
1004f126890aSEmmanuel Vadot	/*L0-L7*/	"","","","","","","","",
1005f126890aSEmmanuel Vadot	/*M0-M7*/	"","s0-ddr-save","soc-spi-nor-access","presence-cpu0",
1006f126890aSEmmanuel Vadot			"s0-rtc-lock","","","",
1007f126890aSEmmanuel Vadot	/*N0-N7*/	"hpm-fw-recovery","hpm-stby-rst-n","jtag-sel-s0","led-sw-hb",
1008f126890aSEmmanuel Vadot			"jtag-dbgr-prsnt-n","s1-heartbeat","","",
1009f126890aSEmmanuel Vadot	/*O0-O7*/	"","","","","","","","",
1010f126890aSEmmanuel Vadot	/*P0-P7*/	"ps0-ac-loss-n","ps1-ac-loss-n","","",
1011f126890aSEmmanuel Vadot			"led-fault","cpld-user-mode","jtag-srst-n","led-bmc-hb",
1012f126890aSEmmanuel Vadot	/*Q0-Q7*/	"","","","","","","","",
1013f126890aSEmmanuel Vadot	/*R0-R7*/	"","","","","","","","",
1014f126890aSEmmanuel Vadot	/*S0-S7*/	"","","identify-button","led-identify",
101584943d6fSEmmanuel Vadot			"s1-ddr-save","spi-nor-access","host0-ready","presence-cpu1",
1016f126890aSEmmanuel Vadot	/*T0-T7*/	"","","","","","","","",
1017f126890aSEmmanuel Vadot	/*U0-U7*/	"","","","","","","","",
1018f126890aSEmmanuel Vadot	/*V0-V7*/	"s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n",
101984943d6fSEmmanuel Vadot			"host0-reboot-ack-n","s0-fw-boot-ok","host0-shd-req-n",
1020f126890aSEmmanuel Vadot			"host0-shd-ack-n","s0-overtemp-n",
102184943d6fSEmmanuel Vadot	/*W0-W7*/	"ocp-aux-pwren","ocp-main-pwren","ocp-pgood","s1-pcp-pgood",
1022f126890aSEmmanuel Vadot			"bmc-ok","bmc-ready","spi0-program-sel","spi0-backup-sel",
1023f126890aSEmmanuel Vadot	/*X0-X7*/	"i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok",
1024f126890aSEmmanuel Vadot			"s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n",
102584943d6fSEmmanuel Vadot			"s1-overtemp-n","cpld-s1-spi-auth-fail-n",
1026f126890aSEmmanuel Vadot	/*Y0-Y7*/	"","","","","","","","host0-special-boot",
1027f126890aSEmmanuel Vadot	/*Z0-Z7*/	"reset-button","ps0-pgood","ps1-pgood","","","","","";
1028f126890aSEmmanuel Vadot
1029f126890aSEmmanuel Vadot	ocp-aux-pwren-hog {
1030f126890aSEmmanuel Vadot		gpio-hog;
1031f126890aSEmmanuel Vadot		gpios = <ASPEED_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
1032f126890aSEmmanuel Vadot		output-high;
1033f126890aSEmmanuel Vadot		line-name = "ocp-aux-pwren";
1034f126890aSEmmanuel Vadot	};
1035f126890aSEmmanuel Vadot};
1036f126890aSEmmanuel Vadot
1037f126890aSEmmanuel Vadot&gpio1 {
1038f126890aSEmmanuel Vadot	gpio-line-names =
1039f126890aSEmmanuel Vadot	/*18A0-18A7*/	"","","","","","","","",
1040f126890aSEmmanuel Vadot	/*18B0-18B7*/	"","","","","","","s0-soc-pgood","",
1041f126890aSEmmanuel Vadot	/*18C0-18C7*/	"uart1-mode0","uart1-mode1","uart2-mode0","uart2-mode1",
1042f126890aSEmmanuel Vadot			"uart3-mode0","uart3-mode1","uart4-mode0","uart4-mode1",
1043f126890aSEmmanuel Vadot	/*18D0-18D7*/	"","","","","","","","",
1044f126890aSEmmanuel Vadot	/*18E0-18E3*/	"","","","";
1045f126890aSEmmanuel Vadot};
1046