xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-catalina.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1ac552a63SPotin Lai// SPDX-License-Identifier: GPL-2.0+
2ac552a63SPotin Lai// Copyright (c) 2021 Facebook Inc.
3ac552a63SPotin Lai/dts-v1/;
4ac552a63SPotin Lai
5ac552a63SPotin Lai#include "aspeed-g6.dtsi"
6ac552a63SPotin Lai#include <dt-bindings/gpio/aspeed-gpio.h>
7ac552a63SPotin Lai#include <dt-bindings/usb/pd.h>
8ac552a63SPotin Lai#include <dt-bindings/leds/leds-pca955x.h>
9ac552a63SPotin Lai#include <dt-bindings/interrupt-controller/irq.h>
10ac552a63SPotin Lai#include <dt-bindings/i2c/i2c.h>
11ac552a63SPotin Lai
12ac552a63SPotin Lai/ {
13ac552a63SPotin Lai	model = "Facebook Catalina BMC";
14ac552a63SPotin Lai	compatible = "facebook,catalina-bmc", "aspeed,ast2600";
15ac552a63SPotin Lai
16ac552a63SPotin Lai	aliases {
17ac552a63SPotin Lai		serial0 = &uart1;
18ac552a63SPotin Lai		serial2 = &uart3;
19ac552a63SPotin Lai		serial3 = &uart4;
20ac552a63SPotin Lai		serial4 = &uart5;
21ac552a63SPotin Lai		i2c16 = &i2c1mux0ch0;
22ac552a63SPotin Lai		i2c17 = &i2c1mux0ch1;
23ac552a63SPotin Lai		i2c18 = &i2c1mux0ch2;
24ac552a63SPotin Lai		i2c19 = &i2c1mux0ch3;
25ac552a63SPotin Lai		i2c20 = &i2c1mux0ch4;
26ac552a63SPotin Lai		i2c21 = &i2c1mux0ch5;
27ac552a63SPotin Lai		i2c22 = &i2c1mux0ch6;
28ac552a63SPotin Lai		i2c23 = &i2c1mux0ch7;
29ac552a63SPotin Lai		i2c24 = &i2c0mux0ch0;
30ac552a63SPotin Lai		i2c25 = &i2c0mux0ch1;
31ac552a63SPotin Lai		i2c26 = &i2c0mux0ch2;
32ac552a63SPotin Lai		i2c27 = &i2c0mux0ch3;
33ac552a63SPotin Lai		i2c28 = &i2c0mux1ch0;
34ac552a63SPotin Lai		i2c29 = &i2c0mux1ch1;
35ac552a63SPotin Lai		i2c30 = &i2c0mux1ch2;
36ac552a63SPotin Lai		i2c31 = &i2c0mux1ch3;
37ac552a63SPotin Lai		i2c32 = &i2c0mux2ch0;
38ac552a63SPotin Lai		i2c33 = &i2c0mux2ch1;
39ac552a63SPotin Lai		i2c34 = &i2c0mux2ch2;
40ac552a63SPotin Lai		i2c35 = &i2c0mux2ch3;
41ac552a63SPotin Lai		i2c36 = &i2c0mux3ch0;
42ac552a63SPotin Lai		i2c37 = &i2c0mux3ch1;
43ac552a63SPotin Lai		i2c38 = &i2c0mux3ch2;
44ac552a63SPotin Lai		i2c39 = &i2c0mux3ch3;
45ac552a63SPotin Lai		i2c40 = &i2c0mux4ch0;
46ac552a63SPotin Lai		i2c41 = &i2c0mux4ch1;
47ac552a63SPotin Lai		i2c42 = &i2c0mux4ch2;
48ac552a63SPotin Lai		i2c43 = &i2c0mux4ch3;
49ac552a63SPotin Lai		i2c44 = &i2c0mux5ch0;
50ac552a63SPotin Lai		i2c45 = &i2c0mux5ch1;
51ac552a63SPotin Lai		i2c46 = &i2c0mux5ch2;
52ac552a63SPotin Lai		i2c47 = &i2c0mux5ch3;
53ac552a63SPotin Lai		i2c48 = &i2c30mux0ch0;
54ac552a63SPotin Lai		i2c49 = &i2c30mux0ch1;
55ac552a63SPotin Lai		i2c50 = &i2c30mux0ch2;
56ac552a63SPotin Lai		i2c51 = &i2c30mux0ch3;
57ac552a63SPotin Lai		i2c52 = &i2c30mux0ch4;
58ac552a63SPotin Lai		i2c53 = &i2c30mux0ch5;
59ac552a63SPotin Lai		i2c54 = &i2c30mux0ch6;
60ac552a63SPotin Lai		i2c55 = &i2c30mux0ch7;
61ac552a63SPotin Lai	};
62ac552a63SPotin Lai
63ac552a63SPotin Lai	chosen {
64ac552a63SPotin Lai		stdout-path = "serial4:57600n8";
65ac552a63SPotin Lai	};
66ac552a63SPotin Lai
67ac552a63SPotin Lai	memory@80000000 {
68ac552a63SPotin Lai		device_type = "memory";
69ac552a63SPotin Lai		reg = <0x80000000 0x80000000>;
70ac552a63SPotin Lai	};
71ac552a63SPotin Lai
72ac552a63SPotin Lai	iio-hwmon {
73ac552a63SPotin Lai		compatible = "iio-hwmon";
74ac552a63SPotin Lai		io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
75ac552a63SPotin Lai			      <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
76ac552a63SPotin Lai			      <&adc1 2>;
77ac552a63SPotin Lai	};
78ac552a63SPotin Lai
79ac552a63SPotin Lai	spi1_gpio: spi {
80ac552a63SPotin Lai		compatible = "spi-gpio";
81ac552a63SPotin Lai		#address-cells = <1>;
82ac552a63SPotin Lai		#size-cells = <0>;
83ac552a63SPotin Lai
84ac552a63SPotin Lai		sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
85ac552a63SPotin Lai		mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
86ac552a63SPotin Lai		miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
87ac552a63SPotin Lai		cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
88ac552a63SPotin Lai		num-chipselects = <1>;
89ac552a63SPotin Lai
90ac552a63SPotin Lai		tpm@0 {
91ac552a63SPotin Lai			compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
92ac552a63SPotin Lai			spi-max-frequency = <33000000>;
93ac552a63SPotin Lai			reg = <0>;
94ac552a63SPotin Lai		};
95ac552a63SPotin Lai	};
96ac552a63SPotin Lai
97ac552a63SPotin Lai	leds {
98ac552a63SPotin Lai		compatible = "gpio-leds";
99ac552a63SPotin Lai
100ac552a63SPotin Lai		led-0 {
101ac552a63SPotin Lai			label = "bmc_heartbeat_amber";
102ac552a63SPotin Lai			gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
103ac552a63SPotin Lai			linux,default-trigger = "heartbeat";
104ac552a63SPotin Lai		};
105ac552a63SPotin Lai
106ac552a63SPotin Lai		led-1 {
107ac552a63SPotin Lai			label = "fp_id_amber";
108ac552a63SPotin Lai			default-state = "off";
109ac552a63SPotin Lai			gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
110ac552a63SPotin Lai		};
111ac552a63SPotin Lai
112ac552a63SPotin Lai		led-2 {
113ac552a63SPotin Lai			label = "bmc_ready_noled";
114ac552a63SPotin Lai			gpios = <&gpio0 ASPEED_GPIO(B, 3) (GPIO_ACTIVE_HIGH|GPIO_TRANSITORY)>;
115ac552a63SPotin Lai		};
116ac552a63SPotin Lai
117ac552a63SPotin Lai		led-3 {
118ac552a63SPotin Lai			label = "bmc_ready_cpld_noled";
119ac552a63SPotin Lai			gpios = <&gpio0 ASPEED_GPIO(P, 5) (GPIO_ACTIVE_HIGH|GPIO_TRANSITORY)>;
120ac552a63SPotin Lai		};
121ac552a63SPotin Lai	};
122ac552a63SPotin Lai
123ac552a63SPotin Lai	p1v8_bmc_aux: regulator-p1v8-bmc-aux {
124ac552a63SPotin Lai		compatible = "regulator-fixed";
125ac552a63SPotin Lai		regulator-name = "p1v8_bmc_aux";
126ac552a63SPotin Lai		regulator-min-microvolt = <1800000>;
127ac552a63SPotin Lai		regulator-max-microvolt = <1800000>;
128ac552a63SPotin Lai		regulator-always-on;
129ac552a63SPotin Lai	};
130ac552a63SPotin Lai
131ac552a63SPotin Lai	p2v5_bmc_aux: regulator-p2v5-bmc-aux {
132ac552a63SPotin Lai		compatible = "regulator-fixed";
133ac552a63SPotin Lai		regulator-name = "p2v5_bmc_aux";
134ac552a63SPotin Lai		regulator-min-microvolt = <2500000>;
135ac552a63SPotin Lai		regulator-max-microvolt = <2500000>;
136ac552a63SPotin Lai		regulator-always-on;
137ac552a63SPotin Lai	};
138ac552a63SPotin Lai};
139ac552a63SPotin Lai
140ac552a63SPotin Lai&uart1 {
141ac552a63SPotin Lai	status = "okay";
142ac552a63SPotin Lai};
143ac552a63SPotin Lai
144ac552a63SPotin Lai&uart3 {
145ac552a63SPotin Lai	status = "okay";
146ac552a63SPotin Lai};
147ac552a63SPotin Lai
148ac552a63SPotin Lai&uart4 {
149ac552a63SPotin Lai	status = "okay";
150ac552a63SPotin Lai};
151ac552a63SPotin Lai
152ac552a63SPotin Lai&uart5 {
153ac552a63SPotin Lai	status = "okay";
154ac552a63SPotin Lai};
155ac552a63SPotin Lai
156ac552a63SPotin Lai&mac3 {
157ac552a63SPotin Lai	status = "okay";
158ac552a63SPotin Lai	pinctrl-names = "default";
159ac552a63SPotin Lai	pinctrl-0 = <&pinctrl_ncsi4_default>;
160ac552a63SPotin Lai	use-ncsi;
161ac552a63SPotin Lai};
162ac552a63SPotin Lai
163ac552a63SPotin Lai&fmc {
164ac552a63SPotin Lai	status = "okay";
165ac552a63SPotin Lai	flash@0 {
166ac552a63SPotin Lai		status = "okay";
167ac552a63SPotin Lai		m25p,fast-read;
168ac552a63SPotin Lai		label = "bmc";
169ac552a63SPotin Lai		spi-max-frequency = <50000000>;
170ac552a63SPotin Lai#include "openbmc-flash-layout-128.dtsi"
171ac552a63SPotin Lai	};
172ac552a63SPotin Lai	flash@1 {
173ac552a63SPotin Lai		status = "okay";
174ac552a63SPotin Lai		m25p,fast-read;
175ac552a63SPotin Lai		label = "alt-bmc";
176ac552a63SPotin Lai		spi-max-frequency = <50000000>;
177ac552a63SPotin Lai	};
178ac552a63SPotin Lai};
179ac552a63SPotin Lai
180ac552a63SPotin Lai&i2c0 {
181ac552a63SPotin Lai	status = "okay";
182ac552a63SPotin Lai
183ac552a63SPotin Lai	i2c-mux@71 {
184ac552a63SPotin Lai		compatible = "nxp,pca9546";
185ac552a63SPotin Lai		reg = <0x71>;
186ac552a63SPotin Lai		#address-cells = <1>;
187ac552a63SPotin Lai		#size-cells = <0>;
188ac552a63SPotin Lai
189ac552a63SPotin Lai		i2c0mux0ch0: i2c@0 {
190ac552a63SPotin Lai			#address-cells = <1>;
191ac552a63SPotin Lai			#size-cells = <0>;
192ac552a63SPotin Lai			reg = <0>;
193ac552a63SPotin Lai		};
194ac552a63SPotin Lai		i2c0mux0ch1: i2c@1 {
195ac552a63SPotin Lai			#address-cells = <1>;
196ac552a63SPotin Lai			#size-cells = <0>;
197ac552a63SPotin Lai			reg = <1>;
198ac552a63SPotin Lai		};
199ac552a63SPotin Lai		i2c0mux0ch2: i2c@2 {
200ac552a63SPotin Lai			#address-cells = <1>;
201ac552a63SPotin Lai			#size-cells = <0>;
202ac552a63SPotin Lai			reg = <2>;
203ac552a63SPotin Lai		};
204ac552a63SPotin Lai		i2c0mux0ch3: i2c@3 {
205ac552a63SPotin Lai			#address-cells = <1>;
206ac552a63SPotin Lai			#size-cells = <0>;
207ac552a63SPotin Lai			reg = <3>;
208ac552a63SPotin Lai		};
209ac552a63SPotin Lai	};
210ac552a63SPotin Lai
211ac552a63SPotin Lai	i2c-mux@72 {
212ac552a63SPotin Lai		compatible = "nxp,pca9546";
213ac552a63SPotin Lai		reg = <0x72>;
214ac552a63SPotin Lai		#address-cells = <1>;
215ac552a63SPotin Lai		#size-cells = <0>;
216ac552a63SPotin Lai
217ac552a63SPotin Lai		i2c0mux1ch0: i2c@0 {
218ac552a63SPotin Lai			#address-cells = <1>;
219ac552a63SPotin Lai			#size-cells = <0>;
220ac552a63SPotin Lai			reg = <0>;
221ac552a63SPotin Lai		};
222ac552a63SPotin Lai		i2c0mux1ch1: i2c@1 {
223ac552a63SPotin Lai			#address-cells = <1>;
224ac552a63SPotin Lai			#size-cells = <0>;
225ac552a63SPotin Lai			reg = <1>;
226ac552a63SPotin Lai
227ac552a63SPotin Lai			// IO Mezz 0 IOEXP
228ac552a63SPotin Lai			io_expander7: gpio@20 {
229ac552a63SPotin Lai				compatible = "nxp,pca9535";
230ac552a63SPotin Lai				reg = <0x20>;
231ac552a63SPotin Lai				gpio-controller;
232ac552a63SPotin Lai				#gpio-cells = <2>;
233ac552a63SPotin Lai			};
234ac552a63SPotin Lai
235ac552a63SPotin Lai			// IO Mezz 0 FRU EEPROM
236ac552a63SPotin Lai			eeprom@50 {
237ac552a63SPotin Lai				compatible = "atmel,24c64";
238ac552a63SPotin Lai				reg = <0x50>;
239ac552a63SPotin Lai			};
240ac552a63SPotin Lai		};
241ac552a63SPotin Lai		i2c0mux1ch2: i2c@2 {
242ac552a63SPotin Lai			#address-cells = <1>;
243ac552a63SPotin Lai			#size-cells = <0>;
244ac552a63SPotin Lai			reg = <2>;
245ac552a63SPotin Lai			i2c-mux@70 {
246ac552a63SPotin Lai				compatible = "nxp,pca9548";
247ac552a63SPotin Lai				reg = <0x70>;
248ac552a63SPotin Lai				#address-cells = <1>;
249ac552a63SPotin Lai				#size-cells = <0>;
250ac552a63SPotin Lai
251ac552a63SPotin Lai				i2c30mux0ch0: i2c@0 {
252ac552a63SPotin Lai					#address-cells = <1>;
253ac552a63SPotin Lai					#size-cells = <0>;
254ac552a63SPotin Lai					reg = <0>;
255ac552a63SPotin Lai				};
256ac552a63SPotin Lai				i2c30mux0ch1: i2c@1 {
257ac552a63SPotin Lai					#address-cells = <1>;
258ac552a63SPotin Lai					#size-cells = <0>;
259ac552a63SPotin Lai					reg = <1>;
260ac552a63SPotin Lai				};
261ac552a63SPotin Lai				i2c30mux0ch2: i2c@2 {
262ac552a63SPotin Lai					#address-cells = <1>;
263ac552a63SPotin Lai					#size-cells = <0>;
264ac552a63SPotin Lai					reg = <2>;
265ac552a63SPotin Lai				};
266ac552a63SPotin Lai				i2c30mux0ch3: i2c@3 {
267ac552a63SPotin Lai					#address-cells = <1>;
268ac552a63SPotin Lai					#size-cells = <0>;
269ac552a63SPotin Lai					reg = <3>;
270ac552a63SPotin Lai				};
271ac552a63SPotin Lai				i2c30mux0ch4: i2c@4 {
272ac552a63SPotin Lai					#address-cells = <1>;
273ac552a63SPotin Lai					#size-cells = <0>;
274ac552a63SPotin Lai					reg = <4>;
275ac552a63SPotin Lai				};
276ac552a63SPotin Lai				i2c30mux0ch5: i2c@5 {
277ac552a63SPotin Lai					#address-cells = <1>;
278ac552a63SPotin Lai					#size-cells = <0>;
279ac552a63SPotin Lai					reg = <5>;
280ac552a63SPotin Lai				};
281ac552a63SPotin Lai				i2c30mux0ch6: i2c@6 {
282ac552a63SPotin Lai					#address-cells = <1>;
283ac552a63SPotin Lai					#size-cells = <0>;
284ac552a63SPotin Lai					reg = <6>;
285ac552a63SPotin Lai					// HDD FRU EEPROM
286ac552a63SPotin Lai					eeprom@52 {
287ac552a63SPotin Lai						compatible = "atmel,24c64";
288ac552a63SPotin Lai						reg = <0x52>;
289ac552a63SPotin Lai					};
290ac552a63SPotin Lai				};
291ac552a63SPotin Lai				i2c30mux0ch7: i2c@7 {
292ac552a63SPotin Lai					#address-cells = <1>;
293ac552a63SPotin Lai					#size-cells = <0>;
294ac552a63SPotin Lai					reg = <7>;
295ac552a63SPotin Lai
296ac552a63SPotin Lai					power-sensor@40 {
297ac552a63SPotin Lai						compatible = "ti,ina230";
298ac552a63SPotin Lai						reg = <0x40>;
299ac552a63SPotin Lai						shunt-resistor = <2000>;
300ac552a63SPotin Lai					};
301ac552a63SPotin Lai					power-sensor@41 {
302ac552a63SPotin Lai						compatible = "ti,ina230";
303ac552a63SPotin Lai						reg = <0x41>;
304ac552a63SPotin Lai						shunt-resistor = <2000>;
305ac552a63SPotin Lai					};
306ac552a63SPotin Lai					power-sensor@44 {
307ac552a63SPotin Lai						compatible = "ti,ina230";
308ac552a63SPotin Lai						reg = <0x44>;
309ac552a63SPotin Lai						shunt-resistor = <2000>;
310ac552a63SPotin Lai					};
311ac552a63SPotin Lai					power-sensor@45 {
312ac552a63SPotin Lai						compatible = "ti,ina230";
313ac552a63SPotin Lai						reg = <0x45>;
314ac552a63SPotin Lai						shunt-resistor = <2000>;
315ac552a63SPotin Lai					};
316ac552a63SPotin Lai				};
317ac552a63SPotin Lai			};
318ac552a63SPotin Lai		};
319ac552a63SPotin Lai		i2c0mux1ch3: i2c@3 {
320ac552a63SPotin Lai			#address-cells = <1>;
321ac552a63SPotin Lai			#size-cells = <0>;
322ac552a63SPotin Lai			reg = <3>;
323ac552a63SPotin Lai		};
324ac552a63SPotin Lai	};
325ac552a63SPotin Lai
326ac552a63SPotin Lai	i2c-mux@73 {
327ac552a63SPotin Lai		compatible = "nxp,pca9546";
328ac552a63SPotin Lai		reg = <0x73>;
329ac552a63SPotin Lai		#address-cells = <1>;
330ac552a63SPotin Lai		#size-cells = <0>;
331ac552a63SPotin Lai
332ac552a63SPotin Lai		i2c0mux2ch0: i2c@0 {
333ac552a63SPotin Lai			#address-cells = <1>;
334ac552a63SPotin Lai			#size-cells = <0>;
335ac552a63SPotin Lai			reg = <0>;
336ac552a63SPotin Lai		};
337ac552a63SPotin Lai		i2c0mux2ch1: i2c@1 {
338ac552a63SPotin Lai			#address-cells = <1>;
339ac552a63SPotin Lai			#size-cells = <0>;
340ac552a63SPotin Lai			reg = <1>;
341ac552a63SPotin Lai		};
342ac552a63SPotin Lai		i2c0mux2ch2: i2c@2 {
343ac552a63SPotin Lai			#address-cells = <1>;
344ac552a63SPotin Lai			#size-cells = <0>;
345ac552a63SPotin Lai			reg = <2>;
346ac552a63SPotin Lai		};
347ac552a63SPotin Lai		i2c0mux2ch3: i2c@3 {
348ac552a63SPotin Lai			#address-cells = <1>;
349ac552a63SPotin Lai			#size-cells = <0>;
350ac552a63SPotin Lai			reg = <3>;
351ac552a63SPotin Lai		};
352ac552a63SPotin Lai	};
353ac552a63SPotin Lai
354ac552a63SPotin Lai	i2c-mux@75 {
355ac552a63SPotin Lai		compatible = "nxp,pca9546";
356ac552a63SPotin Lai		reg = <0x75>;
357ac552a63SPotin Lai		#address-cells = <1>;
358ac552a63SPotin Lai		#size-cells = <0>;
359ac552a63SPotin Lai
360ac552a63SPotin Lai		i2c0mux3ch0: i2c@0 {
361ac552a63SPotin Lai			#address-cells = <1>;
362ac552a63SPotin Lai			#size-cells = <0>;
363ac552a63SPotin Lai			reg = <0>;
364ac552a63SPotin Lai		};
365ac552a63SPotin Lai		i2c0mux3ch1: i2c@1 {
366ac552a63SPotin Lai			#address-cells = <1>;
367ac552a63SPotin Lai			#size-cells = <0>;
368ac552a63SPotin Lai			reg = <1>;
369ac552a63SPotin Lai		};
370ac552a63SPotin Lai		i2c0mux3ch2: i2c@2 {
371ac552a63SPotin Lai			#address-cells = <1>;
372ac552a63SPotin Lai			#size-cells = <0>;
373ac552a63SPotin Lai			reg = <2>;
374ac552a63SPotin Lai		};
375ac552a63SPotin Lai		i2c0mux3ch3: i2c@3 {
376ac552a63SPotin Lai			#address-cells = <1>;
377ac552a63SPotin Lai			#size-cells = <0>;
378ac552a63SPotin Lai			reg = <3>;
379ac552a63SPotin Lai		};
380ac552a63SPotin Lai	};
381ac552a63SPotin Lai
382ac552a63SPotin Lai	i2c-mux@76 {
383ac552a63SPotin Lai		compatible = "nxp,pca9546";
384ac552a63SPotin Lai		reg = <0x76>;
385ac552a63SPotin Lai		#address-cells = <1>;
386ac552a63SPotin Lai		#size-cells = <0>;
387ac552a63SPotin Lai
388ac552a63SPotin Lai		i2c0mux4ch0: i2c@0 {
389ac552a63SPotin Lai			#address-cells = <1>;
390ac552a63SPotin Lai			#size-cells = <0>;
391ac552a63SPotin Lai			reg = <0>;
392ac552a63SPotin Lai		};
393ac552a63SPotin Lai		i2c0mux4ch1: i2c@1 {
394ac552a63SPotin Lai			#address-cells = <1>;
395ac552a63SPotin Lai			#size-cells = <0>;
396ac552a63SPotin Lai			reg = <1>;
397ac552a63SPotin Lai
398ac552a63SPotin Lai			// IO Mezz 1 IOEXP
399ac552a63SPotin Lai			io_expander8: gpio@21 {
400ac552a63SPotin Lai				compatible = "nxp,pca9535";
401ac552a63SPotin Lai				reg = <0x21>;
402ac552a63SPotin Lai				gpio-controller;
403ac552a63SPotin Lai				#gpio-cells = <2>;
404ac552a63SPotin Lai			};
405ac552a63SPotin Lai
406ac552a63SPotin Lai			// IO Mezz 1 FRU EEPROM
407ac552a63SPotin Lai			eeprom@50 {
408ac552a63SPotin Lai				compatible = "atmel,24c64";
409ac552a63SPotin Lai				reg = <0x50>;
410ac552a63SPotin Lai			};
411ac552a63SPotin Lai		};
412ac552a63SPotin Lai		i2c0mux4ch2: i2c@2 {
413ac552a63SPotin Lai			#address-cells = <1>;
414ac552a63SPotin Lai			#size-cells = <0>;
415ac552a63SPotin Lai			reg = <2>;
416ac552a63SPotin Lai		};
417ac552a63SPotin Lai		i2c0mux4ch3: i2c@3 {
418ac552a63SPotin Lai			#address-cells = <1>;
419ac552a63SPotin Lai			#size-cells = <0>;
420ac552a63SPotin Lai			reg = <3>;
421ac552a63SPotin Lai		};
422ac552a63SPotin Lai	};
423ac552a63SPotin Lai
424ac552a63SPotin Lai	i2c-mux@77 {
425ac552a63SPotin Lai		compatible = "nxp,pca9546";
426ac552a63SPotin Lai		reg = <0x77>;
427ac552a63SPotin Lai		#address-cells = <1>;
428ac552a63SPotin Lai		#size-cells = <0>;
429ac552a63SPotin Lai
430ac552a63SPotin Lai		i2c0mux5ch0: i2c@0 {
431ac552a63SPotin Lai			#address-cells = <1>;
432ac552a63SPotin Lai			#size-cells = <0>;
433ac552a63SPotin Lai			reg = <0>;
434ac552a63SPotin Lai		};
435ac552a63SPotin Lai		i2c0mux5ch1: i2c@1 {
436ac552a63SPotin Lai			#address-cells = <1>;
437ac552a63SPotin Lai			#size-cells = <0>;
438ac552a63SPotin Lai			reg = <1>;
439ac552a63SPotin Lai		};
440ac552a63SPotin Lai		i2c0mux5ch2: i2c@2 {
441ac552a63SPotin Lai			#address-cells = <1>;
442ac552a63SPotin Lai			#size-cells = <0>;
443ac552a63SPotin Lai			reg = <2>;
444ac552a63SPotin Lai		};
445ac552a63SPotin Lai		i2c0mux5ch3: i2c@3 {
446ac552a63SPotin Lai			#address-cells = <1>;
447ac552a63SPotin Lai			#size-cells = <0>;
448ac552a63SPotin Lai			reg = <3>;
449ac552a63SPotin Lai		};
450ac552a63SPotin Lai	};
451ac552a63SPotin Lai};
452ac552a63SPotin Lai
453ac552a63SPotin Lai&i2c1 {
454ac552a63SPotin Lai	status = "okay";
455ac552a63SPotin Lai	i2c-mux@70 {
456ac552a63SPotin Lai		compatible = "nxp,pca9548";
457ac552a63SPotin Lai		#address-cells = <1>;
458ac552a63SPotin Lai		#size-cells = <0>;
459ac552a63SPotin Lai		reg = <0x70>;
460ac552a63SPotin Lai		i2c-mux-idle-disconnect;
461ac552a63SPotin Lai
462ac552a63SPotin Lai		i2c1mux0ch0: i2c@0 {
463ac552a63SPotin Lai			#address-cells = <1>;
464ac552a63SPotin Lai			#size-cells = <0>;
465ac552a63SPotin Lai			reg = <0x0>;
466ac552a63SPotin Lai
467ac552a63SPotin Lai			power-sensor@41 {
468ac552a63SPotin Lai				compatible = "ti,ina238";
469ac552a63SPotin Lai				reg = <0x41>;
470ac552a63SPotin Lai				shunt-resistor = <500>;
471ac552a63SPotin Lai			};
472ac552a63SPotin Lai			power-sensor@42 {
473ac552a63SPotin Lai				compatible = "ti,ina238";
474ac552a63SPotin Lai				reg = <0x42>;
475ac552a63SPotin Lai				shunt-resistor = <500>;
476ac552a63SPotin Lai			};
477ac552a63SPotin Lai			power-sensor@44 {
478ac552a63SPotin Lai				compatible = "ti,ina238";
479ac552a63SPotin Lai				reg = <0x44>;
480ac552a63SPotin Lai				shunt-resistor = <500>;
481ac552a63SPotin Lai			};
482ac552a63SPotin Lai		};
483ac552a63SPotin Lai		i2c1mux0ch1: i2c@1 {
484ac552a63SPotin Lai			#address-cells = <1>;
485ac552a63SPotin Lai			#size-cells = <0>;
486ac552a63SPotin Lai			reg = <0x1>;
487ac552a63SPotin Lai
488ac552a63SPotin Lai			power-sensor@41 {
489ac552a63SPotin Lai				compatible = "ti,ina238";
490ac552a63SPotin Lai				reg = <0x41>;
491ac552a63SPotin Lai			};
492ac552a63SPotin Lai			power-sensor@43 {
493ac552a63SPotin Lai				compatible = "ti,ina238";
494ac552a63SPotin Lai				reg = <0x43>;
495ac552a63SPotin Lai			};
496ac552a63SPotin Lai		};
497ac552a63SPotin Lai		i2c1mux0ch2: i2c@2 {
498ac552a63SPotin Lai			#address-cells = <1>;
499ac552a63SPotin Lai			#size-cells = <0>;
500ac552a63SPotin Lai			reg = <0x2>;
501ac552a63SPotin Lai		};
502ac552a63SPotin Lai		i2c1mux0ch3: i2c@3 {
503ac552a63SPotin Lai			#address-cells = <1>;
504ac552a63SPotin Lai			#size-cells = <0>;
505ac552a63SPotin Lai			reg = <0x3>;
506ac552a63SPotin Lai		};
507ac552a63SPotin Lai		i2c1mux0ch4: i2c@4 {
508ac552a63SPotin Lai			#address-cells = <1>;
509ac552a63SPotin Lai			#size-cells = <0>;
510ac552a63SPotin Lai			reg = <0x4>;
511ac552a63SPotin Lai
512ac552a63SPotin Lai			power-monitor@42 {
513ac552a63SPotin Lai				compatible = "lltc,ltc4287";
514ac552a63SPotin Lai				reg = <0x42>;
515ac552a63SPotin Lai				shunt-resistor-micro-ohms = <200>;
516ac552a63SPotin Lai			};
517ac552a63SPotin Lai			power-monitor@43 {
518ac552a63SPotin Lai				compatible = "lltc,ltc4287";
519ac552a63SPotin Lai				reg = <0x43>;
520ac552a63SPotin Lai				shunt-resistor-micro-ohms = <200>;
521ac552a63SPotin Lai			};
522ac552a63SPotin Lai		};
523ac552a63SPotin Lai		i2c1mux0ch5: i2c@5 {
524ac552a63SPotin Lai			#address-cells = <1>;
525ac552a63SPotin Lai			#size-cells = <0>;
526ac552a63SPotin Lai			reg = <0x5>;
527ac552a63SPotin Lai
528ac552a63SPotin Lai			// PDB FRU EEPROM
529ac552a63SPotin Lai			eeprom@54 {
530ac552a63SPotin Lai				compatible = "atmel,24c64";
531ac552a63SPotin Lai				reg = <0x54>;
532ac552a63SPotin Lai			};
533ac552a63SPotin Lai
534ac552a63SPotin Lai			// PDB TEMP SENSOR
535ac552a63SPotin Lai			temperature-sensor@4f {
536ac552a63SPotin Lai				compatible = "ti,tmp75";
537ac552a63SPotin Lai				reg = <0x4f>;
538ac552a63SPotin Lai			};
539ac552a63SPotin Lai		};
540ac552a63SPotin Lai		i2c1mux0ch6: i2c@6 {
541ac552a63SPotin Lai			#address-cells = <1>;
542ac552a63SPotin Lai			#size-cells = <0>;
543ac552a63SPotin Lai			reg = <0x6>;
544ac552a63SPotin Lai
545ac552a63SPotin Lai			// PDB IOEXP
546ac552a63SPotin Lai			io_expander5: gpio@27 {
547ac552a63SPotin Lai				compatible = "nxp,pca9554";
548ac552a63SPotin Lai				reg = <0x27>;
549ac552a63SPotin Lai				gpio-controller;
550ac552a63SPotin Lai				#gpio-cells = <2>;
551ac552a63SPotin Lai			};
552ac552a63SPotin Lai
553ac552a63SPotin Lai			// OSFP IOEXP
554ac552a63SPotin Lai			io_expander6: gpio@25 {
555ac552a63SPotin Lai				compatible = "nxp,pca9555";
556ac552a63SPotin Lai				reg = <0x25>;
557ac552a63SPotin Lai				gpio-controller;
558ac552a63SPotin Lai				#gpio-cells = <2>;
559ac552a63SPotin Lai			};
560ac552a63SPotin Lai
561ac552a63SPotin Lai			// OSFP FRU EEPROM
562ac552a63SPotin Lai			eeprom@51 {
563ac552a63SPotin Lai				compatible = "atmel,24c64";
564ac552a63SPotin Lai				reg = <0x51>;
565ac552a63SPotin Lai			};
566ac552a63SPotin Lai		};
567ac552a63SPotin Lai		i2c1mux0ch7: i2c@7 {
568ac552a63SPotin Lai			#address-cells = <1>;
569ac552a63SPotin Lai			#size-cells = <0>;
570ac552a63SPotin Lai			reg = <0x7>;
571ac552a63SPotin Lai
572ac552a63SPotin Lai			// FIO FRU EEPROM
573ac552a63SPotin Lai			eeprom@53 {
574ac552a63SPotin Lai				compatible = "atmel,24c64";
575ac552a63SPotin Lai				reg = <0x53>;
576ac552a63SPotin Lai			};
577ac552a63SPotin Lai
578ac552a63SPotin Lai			// FIO TEMP SENSOR
579ac552a63SPotin Lai			temperature-sensor@4b {
580ac552a63SPotin Lai				compatible = "ti,tmp75";
581ac552a63SPotin Lai				reg = <0x4b>;
582ac552a63SPotin Lai			};
583ac552a63SPotin Lai		};
584ac552a63SPotin Lai	};
585ac552a63SPotin Lai};
586ac552a63SPotin Lai
587ac552a63SPotin Lai&i2c2 {
588ac552a63SPotin Lai	status = "okay";
589ac552a63SPotin Lai
590ac552a63SPotin Lai	// Module 0 IOEXP
591ac552a63SPotin Lai	io_expander0: gpio@20 {
592ac552a63SPotin Lai		compatible = "nxp,pca9555";
593ac552a63SPotin Lai		reg = <0x20>;
594ac552a63SPotin Lai		gpio-controller;
595ac552a63SPotin Lai		#gpio-cells = <2>;
596ac552a63SPotin Lai		interrupt-parent = <&gpio0>;
597ac552a63SPotin Lai		interrupts = <ASPEED_GPIO(B, 4) IRQ_TYPE_LEVEL_LOW>;
598ac552a63SPotin Lai	};
599ac552a63SPotin Lai
600ac552a63SPotin Lai	// Module 1 IOEXP
601ac552a63SPotin Lai	io_expander1: gpio@21 {
602ac552a63SPotin Lai		compatible = "nxp,pca9555";
603ac552a63SPotin Lai		reg = <0x21>;
604ac552a63SPotin Lai		gpio-controller;
605ac552a63SPotin Lai		#gpio-cells = <2>;
606ac552a63SPotin Lai		interrupt-parent = <&gpio0>;
607ac552a63SPotin Lai		interrupts = <ASPEED_GPIO(B, 4) IRQ_TYPE_LEVEL_LOW>;
608ac552a63SPotin Lai	};
609ac552a63SPotin Lai
610ac552a63SPotin Lai	// HMC IOEXP
611ac552a63SPotin Lai	io_expander2: gpio@27 {
612ac552a63SPotin Lai		compatible = "nxp,pca9555";
613ac552a63SPotin Lai		reg = <0x27>;
614ac552a63SPotin Lai		gpio-controller;
615ac552a63SPotin Lai		#gpio-cells = <2>;
616ac552a63SPotin Lai		interrupt-parent = <&gpio0>;
617ac552a63SPotin Lai		interrupts = <ASPEED_GPIO(B, 4) IRQ_TYPE_LEVEL_LOW>;
618ac552a63SPotin Lai	};
619ac552a63SPotin Lai
620ac552a63SPotin Lai	// Module 0 EEPROM
621ac552a63SPotin Lai	eeprom@50 {
622ac552a63SPotin Lai		compatible = "atmel,24c64";
623ac552a63SPotin Lai		reg = <0x50>;
624ac552a63SPotin Lai	};
625ac552a63SPotin Lai
626ac552a63SPotin Lai	// Module 1 EEPROM
627ac552a63SPotin Lai	eeprom@51 {
628ac552a63SPotin Lai		compatible = "atmel,24c64";
629ac552a63SPotin Lai		reg = <0x51>;
630ac552a63SPotin Lai	};
631ac552a63SPotin Lai};
632ac552a63SPotin Lai
633ac552a63SPotin Lai&i2c3 {
634ac552a63SPotin Lai	status = "okay";
635ac552a63SPotin Lai};
636ac552a63SPotin Lai
637ac552a63SPotin Lai&i2c4 {
638ac552a63SPotin Lai	status = "okay";
639ac552a63SPotin Lai};
640ac552a63SPotin Lai
641ac552a63SPotin Lai&i2c5 {
642ac552a63SPotin Lai	status = "okay";
643ac552a63SPotin Lai};
644ac552a63SPotin Lai
645ac552a63SPotin Lai&i2c6 {
646ac552a63SPotin Lai	status = "okay";
647ac552a63SPotin Lai
648ac552a63SPotin Lai	// BMC IOEXP on Module 0
649ac552a63SPotin Lai	io_expander3: gpio@21 {
650ac552a63SPotin Lai		compatible = "nxp,pca9555";
651ac552a63SPotin Lai		reg = <0x21>;
652ac552a63SPotin Lai		gpio-controller;
653ac552a63SPotin Lai		#gpio-cells = <2>;
654ac552a63SPotin Lai	};
655ac552a63SPotin Lai
656ac552a63SPotin Lai	rtc@6f {
657ac552a63SPotin Lai		compatible = "nuvoton,nct3018y";
658ac552a63SPotin Lai		reg = <0x6f>;
659ac552a63SPotin Lai	};
660ac552a63SPotin Lai};
661ac552a63SPotin Lai
662ac552a63SPotin Lai&i2c7 {
663ac552a63SPotin Lai	status = "okay";
664ac552a63SPotin Lai};
665ac552a63SPotin Lai
666ac552a63SPotin Lai&i2c8 {
667ac552a63SPotin Lai	status = "okay";
668ac552a63SPotin Lai};
669ac552a63SPotin Lai
670ac552a63SPotin Lai&i2c9 {
671ac552a63SPotin Lai	status = "okay";
672ac552a63SPotin Lai
673ac552a63SPotin Lai	// SCM CPLD IOEXP
674ac552a63SPotin Lai	io_expander4: gpio@4f {
675ac552a63SPotin Lai		compatible = "nxp,pca9555";
676ac552a63SPotin Lai		reg = <0x4f>;
677ac552a63SPotin Lai		gpio-controller;
678ac552a63SPotin Lai		#gpio-cells = <2>;
679ac552a63SPotin Lai	};
680ac552a63SPotin Lai
681ac552a63SPotin Lai	// SCM TEMP SENSOR
682ac552a63SPotin Lai	temperature-sensor@4b {
683ac552a63SPotin Lai		compatible = "ti,tmp75";
684ac552a63SPotin Lai		reg = <0x4b>;
685ac552a63SPotin Lai	};
686ac552a63SPotin Lai
687ac552a63SPotin Lai	// SCM FRU EEPROM
688ac552a63SPotin Lai	eeprom@50 {
689ac552a63SPotin Lai		compatible = "atmel,24c64";
690ac552a63SPotin Lai		reg = <0x50>;
691ac552a63SPotin Lai	};
692ac552a63SPotin Lai
693ac552a63SPotin Lai	// BSM FRU EEPROM
694ac552a63SPotin Lai	eeprom@56 {
695ac552a63SPotin Lai		compatible = "atmel,24c64";
696ac552a63SPotin Lai		reg = <0x56>;
697ac552a63SPotin Lai	};
698ac552a63SPotin Lai};
699ac552a63SPotin Lai
700ac552a63SPotin Lai&i2c10 {
701ac552a63SPotin Lai	status = "okay";
702ac552a63SPotin Lai
703ac552a63SPotin Lai	// OCP NIC0 TEMP
704ac552a63SPotin Lai	temperature-sensor@1f {
705ac552a63SPotin Lai		compatible = "ti,tmp421";
706ac552a63SPotin Lai		reg = <0x1f>;
707ac552a63SPotin Lai	};
708ac552a63SPotin Lai
709ac552a63SPotin Lai	// OCP NIC0 FRU EEPROM
710ac552a63SPotin Lai	eeprom@50 {
711ac552a63SPotin Lai		compatible = "atmel,24c64";
712ac552a63SPotin Lai		reg = <0x50>;
713ac552a63SPotin Lai	};
714ac552a63SPotin Lai};
715ac552a63SPotin Lai
716ac552a63SPotin Lai&i2c11 {
717ac552a63SPotin Lai	status = "okay";
718ac552a63SPotin Lai
719ac552a63SPotin Lai	ssif-bmc@10 {
720ac552a63SPotin Lai		compatible = "ssif-bmc";
721ac552a63SPotin Lai		reg = <0x10>;
722ac552a63SPotin Lai	};
723ac552a63SPotin Lai};
724ac552a63SPotin Lai
725ac552a63SPotin Lai&i2c12 {
726ac552a63SPotin Lai	status = "okay";
727ac552a63SPotin Lai
728ac552a63SPotin Lai	// Module 1 FRU EEPROM
729ac552a63SPotin Lai	eeprom@50 {
730ac552a63SPotin Lai		compatible = "atmel,24c64";
731ac552a63SPotin Lai		reg = <0x50>;
732ac552a63SPotin Lai	};
733ac552a63SPotin Lai};
734ac552a63SPotin Lai
735ac552a63SPotin Lai&i2c13 {
736ac552a63SPotin Lai	status = "okay";
737ac552a63SPotin Lai
738ac552a63SPotin Lai	// Module 0 FRU EEPROM
739ac552a63SPotin Lai	eeprom@50 {
740ac552a63SPotin Lai		compatible = "atmel,24c64";
741ac552a63SPotin Lai		reg = <0x50>;
742ac552a63SPotin Lai	};
743ac552a63SPotin Lai
744ac552a63SPotin Lai	// Left CBC FRU EEPROM
745ac552a63SPotin Lai	eeprom@54 {
746ac552a63SPotin Lai		compatible = "atmel,24c02";
747ac552a63SPotin Lai		reg = <0x54>;
748ac552a63SPotin Lai	};
749ac552a63SPotin Lai
750ac552a63SPotin Lai	// Right CBC FRU EEPROM
751ac552a63SPotin Lai	eeprom@55 {
752ac552a63SPotin Lai		compatible = "atmel,24c02";
753ac552a63SPotin Lai		reg = <0x55>;
754ac552a63SPotin Lai	};
755ac552a63SPotin Lai
756ac552a63SPotin Lai	// HMC FRU EEPROM
757ac552a63SPotin Lai	eeprom@57 {
758ac552a63SPotin Lai		compatible = "atmel,24c02";
759ac552a63SPotin Lai		reg = <0x57>;
760ac552a63SPotin Lai	};
761ac552a63SPotin Lai};
762ac552a63SPotin Lai
763ac552a63SPotin Lai&i2c14 {
764ac552a63SPotin Lai	status = "okay";
7650bba315eSPotin Lai
7660bba315eSPotin Lai	// PDB CPLD IOEXP 0x10
7670bba315eSPotin Lai	io_expander9: gpio@10 {
7680bba315eSPotin Lai		compatible = "nxp,pca9555";
7690bba315eSPotin Lai		interrupt-parent = <&gpio0>;
7700bba315eSPotin Lai		interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
7710bba315eSPotin Lai		reg = <0x10>;
7720bba315eSPotin Lai		gpio-controller;
7730bba315eSPotin Lai		#gpio-cells = <2>;
7740bba315eSPotin Lai	};
7750bba315eSPotin Lai
7760bba315eSPotin Lai	// PDB CPLD IOEXP 0x11
7770bba315eSPotin Lai	io_expander10: gpio@11 {
7780bba315eSPotin Lai		compatible = "nxp,pca9555";
7790bba315eSPotin Lai		interrupt-parent = <&gpio0>;
7800bba315eSPotin Lai		interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
7810bba315eSPotin Lai		reg = <0x11>;
7820bba315eSPotin Lai		gpio-controller;
7830bba315eSPotin Lai		#gpio-cells = <2>;
7840bba315eSPotin Lai	};
7850bba315eSPotin Lai
7860bba315eSPotin Lai	// PDB CPLD IOEXP 0x12
7870bba315eSPotin Lai	io_expander11: gpio@12 {
7880bba315eSPotin Lai		compatible = "nxp,pca9555";
7890bba315eSPotin Lai		interrupt-parent = <&gpio0>;
7900bba315eSPotin Lai		interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
7910bba315eSPotin Lai		reg = <0x12>;
7920bba315eSPotin Lai		gpio-controller;
7930bba315eSPotin Lai		#gpio-cells = <2>;
7940bba315eSPotin Lai	};
7950bba315eSPotin Lai
7960bba315eSPotin Lai	// PDB CPLD IOEXP 0x13
7970bba315eSPotin Lai	io_expander12: gpio@13 {
7980bba315eSPotin Lai		compatible = "nxp,pca9555";
7990bba315eSPotin Lai		interrupt-parent = <&gpio0>;
8000bba315eSPotin Lai		interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
8010bba315eSPotin Lai		reg = <0x13>;
8020bba315eSPotin Lai		gpio-controller;
8030bba315eSPotin Lai		#gpio-cells = <2>;
8040bba315eSPotin Lai	};
8050bba315eSPotin Lai
8060bba315eSPotin Lai	// PDB CPLD IOEXP 0x14
8070bba315eSPotin Lai	io_expander13: gpio@14 {
8080bba315eSPotin Lai		compatible = "nxp,pca9555";
8090bba315eSPotin Lai		interrupt-parent = <&gpio0>;
8100bba315eSPotin Lai		interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
8110bba315eSPotin Lai		reg = <0x14>;
8120bba315eSPotin Lai		gpio-controller;
8130bba315eSPotin Lai		#gpio-cells = <2>;
8140bba315eSPotin Lai	};
8150bba315eSPotin Lai
8160bba315eSPotin Lai	// PDB CPLD IOEXP 0x15
8170bba315eSPotin Lai	io_expander14: gpio@15 {
8180bba315eSPotin Lai		compatible = "nxp,pca9555";
8190bba315eSPotin Lai		interrupt-parent = <&gpio0>;
8200bba315eSPotin Lai		interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
8210bba315eSPotin Lai		reg = <0x15>;
8220bba315eSPotin Lai		gpio-controller;
8230bba315eSPotin Lai		#gpio-cells = <2>;
8240bba315eSPotin Lai	};
825ac552a63SPotin Lai};
826ac552a63SPotin Lai
827ac552a63SPotin Lai&i2c15 {
828ac552a63SPotin Lai	status = "okay";
829ac552a63SPotin Lai
830ac552a63SPotin Lai	// OCP NIC1 TEMP
831ac552a63SPotin Lai	temperature-sensor@1f {
832ac552a63SPotin Lai		compatible = "ti,tmp421";
833ac552a63SPotin Lai		reg = <0x1f>;
834ac552a63SPotin Lai	};
835ac552a63SPotin Lai
836ac552a63SPotin Lai	// OCP NIC1 FRU EEPROM
837ac552a63SPotin Lai	eeprom@50 {
838ac552a63SPotin Lai		compatible = "atmel,24c64";
839ac552a63SPotin Lai		reg = <0x50>;
840ac552a63SPotin Lai	};
841ac552a63SPotin Lai};
842ac552a63SPotin Lai
843ac552a63SPotin Lai&adc0 {
844ac552a63SPotin Lai	vref-supply = <&p1v8_bmc_aux>;
845ac552a63SPotin Lai	status = "okay";
846ac552a63SPotin Lai
847ac552a63SPotin Lai	pinctrl-names = "default";
848ac552a63SPotin Lai	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
849ac552a63SPotin Lai		&pinctrl_adc2_default &pinctrl_adc3_default
850ac552a63SPotin Lai		&pinctrl_adc4_default &pinctrl_adc5_default
851ac552a63SPotin Lai		&pinctrl_adc6_default &pinctrl_adc7_default>;
852ac552a63SPotin Lai};
853ac552a63SPotin Lai
854ac552a63SPotin Lai&adc1 {
855ac552a63SPotin Lai	vref-supply = <&p2v5_bmc_aux>;
856ac552a63SPotin Lai	status = "okay";
857ac552a63SPotin Lai
858ac552a63SPotin Lai	pinctrl-names = "default";
859ac552a63SPotin Lai	pinctrl-0 = <&pinctrl_adc10_default>;
860ac552a63SPotin Lai};
861ac552a63SPotin Lai
862ac552a63SPotin Lai&ehci0 {
863ac552a63SPotin Lai	status = "okay";
864ac552a63SPotin Lai};
865ac552a63SPotin Lai
866ac552a63SPotin Lai&wdt1 {
867ac552a63SPotin Lai	status = "okay";
868ac552a63SPotin Lai	pinctrl-names = "default";
869ac552a63SPotin Lai	pinctrl-0 = <&pinctrl_wdtrst1_default>;
870ac552a63SPotin Lai	aspeed,reset-type = "soc";
871ac552a63SPotin Lai	aspeed,external-signal;
872ac552a63SPotin Lai	aspeed,ext-push-pull;
873ac552a63SPotin Lai	aspeed,ext-active-high;
874ac552a63SPotin Lai	aspeed,ext-pulse-duration = <256>;
875ac552a63SPotin Lai};
876ac552a63SPotin Lai
877ac552a63SPotin Lai&pinctrl {
878ac552a63SPotin Lai	pinctrl_ncsi3_default: ncsi3_default {
879ac552a63SPotin Lai		function = "RMII3";
880ac552a63SPotin Lai		groups = "NCSI3";
881ac552a63SPotin Lai	};
882ac552a63SPotin Lai
883ac552a63SPotin Lai	pinctrl_ncsi4_default: ncsi4_default {
884ac552a63SPotin Lai		function = "RMII4";
885ac552a63SPotin Lai		groups = "NCSI4";
886ac552a63SPotin Lai	};
887ac552a63SPotin Lai};
888ac552a63SPotin Lai
889ac552a63SPotin Lai&gpio0 {
890ac552a63SPotin Lai	gpio-line-names =
891ac552a63SPotin Lai	/*A0-A7*/	"","","","","","","","",
892ac552a63SPotin Lai	/*B0-B7*/	"BATTERY_DETECT","PRSNT1_HPM_SCM_N",
893ac552a63SPotin Lai			"BMC_I2C1_FPGA_ALERT_L","BMC_READY",
894ac552a63SPotin Lai			"IOEXP_INT_L","FM_ID_LED",
895ac552a63SPotin Lai			"","",
896ac552a63SPotin Lai	/*C0-C7*/	"","","","",
897ac552a63SPotin Lai			"PMBUS_REQ_N","PSU_FW_UPDATE_REQ_N",
898ac552a63SPotin Lai			"","BMC_I2C_SSIF_ALERT_L",
899ac552a63SPotin Lai	/*D0-D7*/	"","","","","","","","",
900ac552a63SPotin Lai	/*E0-E7*/	"","","","","","","","",
901ac552a63SPotin Lai	/*F0-F7*/	"","","","","","","","",
902ac552a63SPotin Lai	/*G0-G7*/	"","","","","","",
903ac552a63SPotin Lai			"FM_DEBUG_PORT_PRSNT_N","FM_BMC_DBP_PRESENT_N",
904ac552a63SPotin Lai	/*H0-H7*/	"PWR_BRAKE_L","RUN_POWER_EN",
905ac552a63SPotin Lai			"SHDN_FORCE_L","SHDN_REQ_L",
906ac552a63SPotin Lai			"","","","",
907ac552a63SPotin Lai	/*I0-I7*/	"","","","",
908ac552a63SPotin Lai			"","FLASH_WP_STATUS",
909ac552a63SPotin Lai			"FM_PDB_HEALTH_N","RUN_POWER_PG",
910ac552a63SPotin Lai	/*J0-J7*/	"","","","","","","","",
911ac552a63SPotin Lai	/*K0-K7*/	"","","","","","","","",
912ac552a63SPotin Lai	/*L0-L7*/	"","","","","","","","",
913ac552a63SPotin Lai	/*M0-M7*/	"PCIE_EP_RST_EN","BMC_FRU_WP",
914ac552a63SPotin Lai			"SCM_HPM_STBY_RST_N","SCM_HPM_STBY_EN",
915ac552a63SPotin Lai			"STBY_POWER_PG_3V3","TH500_SHDN_OK_L","","",
916ac552a63SPotin Lai	/*N0-N7*/	"LED_POSTCODE_0","LED_POSTCODE_1",
917ac552a63SPotin Lai			"LED_POSTCODE_2","LED_POSTCODE_3",
918ac552a63SPotin Lai			"LED_POSTCODE_4","LED_POSTCODE_5",
919ac552a63SPotin Lai			"LED_POSTCODE_6","LED_POSTCODE_7",
920ac552a63SPotin Lai	/*O0-O7*/	"HMC_I2C3_FPGA_ALERT_L","FPGA_READY_HMC",
921ac552a63SPotin Lai			"CHASSIS_AC_LOSS_L","BSM_PRSNT_R_N",
922ac552a63SPotin Lai			"PSU_SMB_ALERT_L","FM_TPM_PRSNT_0_N",
923ac552a63SPotin Lai			"","USBDBG_IPMI_EN_L",
924ac552a63SPotin Lai	/*P0-P7*/	"PWR_BTN_BMC_N","IPEX_CABLE_PRSNT_L",
925ac552a63SPotin Lai			"ID_RST_BTN_BMC_N","RST_BMC_RSTBTN_OUT_N",
926ac552a63SPotin Lai			"host0-ready","BMC_READY_CPLD","","BMC_HEARTBEAT_N",
927ac552a63SPotin Lai	/*Q0-Q7*/	"IRQ_PCH_TPM_SPI_N","USB_OC0_REAR_R_N",
928ac552a63SPotin Lai			"UART_MUX_SEL","I2C_MUX_RESET_L",
929ac552a63SPotin Lai			"RSVD_NV_PLT_DETECT","SPI_TPM_INT_L",
930ac552a63SPotin Lai			"CPU_JTAG_MUX_SELECT","THERM_BB_OVERT_L",
931ac552a63SPotin Lai	/*R0-R7*/	"THERM_BB_WARN_L","SPI_BMC_FPGA_INT_L",
932ac552a63SPotin Lai			"CPU_BOOT_DONE","PMBUS_GNT_L",
933ac552a63SPotin Lai			"CHASSIS_PWR_BRK_L","PCIE_WAKE_L",
934ac552a63SPotin Lai			"PDB_THERM_OVERT_L","HMC_I2C2_FPGA_ALERT_L",
935ac552a63SPotin Lai	/*S0-S7*/	"","","SYS_BMC_PWRBTN_R_N","FM_TPM_PRSNT_1_N",
936ac552a63SPotin Lai			"FM_BMC_DEBUG_SW_N","UID_LED_N",
937ac552a63SPotin Lai			"SYS_FAULT_LED_N","RUN_POWER_FAULT_L",
938ac552a63SPotin Lai	/*T0-T7*/	"","","","","","","","",
939ac552a63SPotin Lai	/*U0-U7*/	"","","","","","","","",
940ac552a63SPotin Lai	/*V0-V7*/	"L2_RST_REQ_OUT_L","L0L1_RST_REQ_OUT_L",
941ac552a63SPotin Lai			"BMC_ID_BEEP_SEL","BMC_I2C0_FPGA_ALERT_L",
942ac552a63SPotin Lai			"SMB_BMC_TMP_ALERT","PWR_LED_N",
943ac552a63SPotin Lai			"SYS_RST_OUT_L","IRQ_TPM_SPI_N",
944ac552a63SPotin Lai	/*W0-W7*/	"","","","","","","","",
945ac552a63SPotin Lai	/*X0-X7*/	"","","","","","","","",
946ac552a63SPotin Lai	/*Y0-Y7*/	"","RST_BMC_SELF_HW",
947ac552a63SPotin Lai			"FM_FLASH_LATCH_N","BMC_EMMC_RST_N",
948ac552a63SPotin Lai			"","","","",
949ac552a63SPotin Lai	/*Z0-Z7*/	"","","","","","","","";
950ac552a63SPotin Lai};
951ac552a63SPotin Lai
952ac552a63SPotin Lai&io_expander0 {
953ac552a63SPotin Lai	gpio-line-names =
954ac552a63SPotin Lai		"FPGA_THERM_OVERT_L","FPGA_READY_BMC",
955ac552a63SPotin Lai		"HMC_BMC_DETECT","HMC_PGOOD",
956ac552a63SPotin Lai		"","BMC_SELF_PWR_CYCLE",
957ac552a63SPotin Lai		"FPGA_EROT_FATAL_ERROR_L","WP_HW_EXT_CTRL_L",
958ac552a63SPotin Lai		"EROT_FPGA_RST_L","FPGA_EROT_RECOVERY_L",
959ac552a63SPotin Lai		"BMC_EROT_FPGA_SPI_MUX_SEL","USB2_HUB_RESET_L",
960ac552a63SPotin Lai		"NCSI_CS1_SEL","SGPIO_EN_L",
961ac552a63SPotin Lai		"B2B_IOEXP_INT_L","I2C_BUS_MUX_RESET_L";
962ac552a63SPotin Lai};
963ac552a63SPotin Lai
964ac552a63SPotin Lai&io_expander1 {
965ac552a63SPotin Lai	gpio-line-names =
966ac552a63SPotin Lai		"SEC_FPGA_THERM_OVERT_L","SEC_FPGA_READY_BMC",
967ac552a63SPotin Lai		"","",
968ac552a63SPotin Lai		"","",
969ac552a63SPotin Lai		"SEC_FPGA_EROT_FATAL_ERROR_L","SEC_WP_HW_EXT_CTRL_L",
970ac552a63SPotin Lai		"SEC_EROT_FPGA_RST_L","SEC_FPGA_EROT_RECOVERY_L",
971ac552a63SPotin Lai		"SEC_BMC_EROT_FPGA_SPI_MUX_SEL","",
972ac552a63SPotin Lai		"","",
973ac552a63SPotin Lai		"","SEC_I2C_BUS_MUX_RESET_L";
974ac552a63SPotin Lai};
975ac552a63SPotin Lai
976ac552a63SPotin Lai&io_expander2 {
977ac552a63SPotin Lai	gpio-line-names =
978ac552a63SPotin Lai		"HMC_PRSNT_L","HMC_READY",
979ac552a63SPotin Lai		"HMC_EROT_FATAL_ERROR_L","I2C_MUX_SEL",
980ac552a63SPotin Lai		"HMC_EROT_SPI_MUX_SEL","HMC_EROT_RECOVERY_L",
981ac552a63SPotin Lai		"HMC_EROT_RST_L","GLOBAL_WP_HMC",
982ac552a63SPotin Lai		"FPGA_RST_L","USB2_HUB_RST",
983ac552a63SPotin Lai		"CPU_UART_MUX_SEL","",
984ac552a63SPotin Lai		"","","","";
985ac552a63SPotin Lai};
986ac552a63SPotin Lai
987ac552a63SPotin Lai&io_expander3 {
988ac552a63SPotin Lai	gpio-line-names =
989ac552a63SPotin Lai		"RTC_MUX_SEL","PCI_MUX_SEL","TPM_MUX_SEL","FAN_MUX-SEL",
990ac552a63SPotin Lai		"SGMII_MUX_SEL","DP_MUX_SEL","UPHY3_USB_SEL","NCSI_MUX_SEL",
991ac552a63SPotin Lai		"BMC_PHY_RST","RTC_CLR_L","BMC_12V_CTRL","PS_RUN_IO0_PG",
992ac552a63SPotin Lai		"","","","";
993ac552a63SPotin Lai};
994ac552a63SPotin Lai
995ac552a63SPotin Lai&io_expander4 {
996ac552a63SPotin Lai	gpio-line-names =
997ac552a63SPotin Lai		"stby_power_en_cpld","stby_power_gd_cpld","","",
998ac552a63SPotin Lai		"","","","",
999ac552a63SPotin Lai		"","","","",
1000ac552a63SPotin Lai		"","","","";
1001ac552a63SPotin Lai};
1002ac552a63SPotin Lai
1003ac552a63SPotin Lai&io_expander5 {
1004ac552a63SPotin Lai	gpio-line-names =
1005ac552a63SPotin Lai		"JTAG_MUX_SEL","IOX_BMC_RESET","","",
1006ac552a63SPotin Lai		"","","","";
1007ac552a63SPotin Lai};
1008ac552a63SPotin Lai
1009ac552a63SPotin Lai&io_expander6 {
1010ac552a63SPotin Lai	gpio-line-names =
1011ac552a63SPotin Lai		"OSFP_PHASE_ID0","OSFP_PHASE_ID1",
1012ac552a63SPotin Lai		"OSFP_PHASE_ID2","OSFP_PHASE_ID3",
1013ac552a63SPotin Lai		"","","","",
1014ac552a63SPotin Lai		"OSFP_BOARD_ID0","OSFP_BOARD_ID1",
1015ac552a63SPotin Lai		"OSFP_BOARD_ID2","PWRGD_P3V3_N1",
1016ac552a63SPotin Lai		"PWRGD_P3V3_N2","","","";
1017ac552a63SPotin Lai};
1018ac552a63SPotin Lai
1019ac552a63SPotin Lai&io_expander7 {
1020ac552a63SPotin Lai	gpio-line-names =
1021ac552a63SPotin Lai		"RST_CX7_0","RST_CX7_1",
1022ac552a63SPotin Lai		"CX0_SSD0_PRSNT_L","CX1_SSD1_PRSNT_L",
1023ac552a63SPotin Lai		"CX_BOOT_CMPLT_CX0","CX_BOOT_CMPLT_CX1",
1024ac552a63SPotin Lai		"CX_TWARN_CX0_L","CX_TWARN_CX1_L",
1025ac552a63SPotin Lai		"CX_OVT_SHDN_CX0","CX_OVT_SHDN_CX1",
1026ac552a63SPotin Lai		"FNP_L_CX0","FNP_L_CX1",
1027*b4c322c2SPotin Lai		"","MCU_GPIO","MCU_RST_N","MCU_RECOVERY_N";
1028ac552a63SPotin Lai};
1029ac552a63SPotin Lai
1030ac552a63SPotin Lai&io_expander8 {
1031ac552a63SPotin Lai	gpio-line-names =
1032ac552a63SPotin Lai		"SEC_RST_CX7_0","SEC_RST_CX7_1",
1033ac552a63SPotin Lai		"SEC_CX0_SSD0_PRSNT_L","SEC_CX1_SSD1_PRSNT_L",
1034ac552a63SPotin Lai		"SEC_CX_BOOT_CMPLT_CX0","SEC_CX_BOOT_CMPLT_CX1",
1035ac552a63SPotin Lai		"SEC_CX_TWARN_CX0_L","SEC_CX_TWARN_CX1_L",
1036ac552a63SPotin Lai		"SEC_CX_OVT_SHDN_CX0","SEC_CX_OVT_SHDN_CX1",
1037ac552a63SPotin Lai		"SEC_FNP_L_CX0","SEC_FNP_L_CX1",
1038*b4c322c2SPotin Lai		"","SEC_MCU_GPIO","SEC_MCU_RST_N","SEC_MCU_RECOVERY_N";
1039ac552a63SPotin Lai};
10400bba315eSPotin Lai
10410bba315eSPotin Lai&io_expander9 {
10420bba315eSPotin Lai	gpio-line-names =
10430bba315eSPotin Lai		"LEAK3_DETECT_R","LEAK1_DETECT_R",
10440bba315eSPotin Lai		"LEAK2_DETECT_R","LEAK0_DETECT_R",
10450bba315eSPotin Lai		"CHASSIS3_LEAK_Q_N_PLD","CHASSIS1_LEAK_Q_N_PLD",
10460bba315eSPotin Lai		"CHASSIS2_LEAK_Q_N_PLD","CHASSIS0_LEAK_Q_N_PLD",
10470bba315eSPotin Lai		"P12V_AUX_FAN_ALERT_PLD_N","P12V_AUX_FAN_OC_PLD_N",
10480bba315eSPotin Lai		"P12V_AUX_FAN_FAULT_PLD_N","LEAK_DETECT_RMC_N_R",
10490bba315eSPotin Lai		"RSVD_RMC_GPIO3_R","SMB_RJ45_FIO_TMP_ALERT",
10500bba315eSPotin Lai		"","";
10510bba315eSPotin Lai};
10520bba315eSPotin Lai
10530bba315eSPotin Lai&io_expander10 {
10540bba315eSPotin Lai	gpio-line-names =
10550bba315eSPotin Lai		"FM_P12V_NIC1_FLTB_R_N","FM_P3V3_NIC1_FAULT_R_N",
10560bba315eSPotin Lai		"OCP_V3_2_PWRBRK_FROM_HOST_ISO_PLD_N",
10570bba315eSPotin Lai		"P12V_AUX_NIC1_SENSE_ALERT_R_N",
10580bba315eSPotin Lai		"FM_P12V_NIC0_FLTB_R_N","FM_P3V3_NIC0_FAULT_R_N",
10590bba315eSPotin Lai		"OCP_SFF_PWRBRK_FROM_HOST_ISO_PLD_N",
10600bba315eSPotin Lai		"P12V_AUX_NIC0_SENSE_ALERT_R_N",
10610bba315eSPotin Lai		"P12V_AUX_PSU_SMB_ALERT_R_L","P12V_SCM_SENSE_ALERT_R_N",
10620bba315eSPotin Lai		"NODEB_PSU_SMB_ALERT_R_L","NODEA_PSU_SMB_ALERT_R_L",
10630bba315eSPotin Lai		"P52V_SENSE_ALERT_PLD_N","P48V_HS2_FAULT_N_PLD",
10640bba315eSPotin Lai		"P48V_HS1_FAULT_N_PLD","";
10650bba315eSPotin Lai};
10660bba315eSPotin Lai
10670bba315eSPotin Lai&io_expander11 {
10680bba315eSPotin Lai	gpio-line-names =
10690bba315eSPotin Lai		"FAN_7_PRESENT_N","FAN_6_PRESENT_N",
10700bba315eSPotin Lai		"FAN_5_PRESENT_N","FAN_4_PRESENT_N",
10710bba315eSPotin Lai		"FAN_3_PRESENT_N","FAN_2_PRESENT_N",
10720bba315eSPotin Lai		"FAN_1_PRESENT_N","FAN_0_PRESENT_N",
10730bba315eSPotin Lai		"PRSNT_CHASSIS3_LEAK_CABLE_R_N","PRSNT_CHASSIS1_LEAK_CABLE_R_N",
10740bba315eSPotin Lai		"PRSNT_CHASSIS2_LEAK_CABLE_R_N","PRSNT_CHASSIS0_LEAK_CABLE_R_N",
10750bba315eSPotin Lai		"PRSNT_RJ45_FIO_N_R","PRSNT_HDDBD_POWER_CABLE_N",
10760bba315eSPotin Lai		"PRSNT_OSFP_POWER_CABLE_N","";
10770bba315eSPotin Lai};
10780bba315eSPotin Lai
10790bba315eSPotin Lai&io_expander12 {
10800bba315eSPotin Lai	gpio-line-names =
10810bba315eSPotin Lai		"RST_OCP_V3_1_R_N","NIC0_PERST_N",
10820bba315eSPotin Lai		"OCP_SFF_PERST_FROM_HOST_ISO_PLD_N","OCP_SFF_MAIN_PWR_EN",
10830bba315eSPotin Lai		"FM_OCP_SFF_PWR_GOOD_PLD","OCP_SFF_AUX_PWR_PLD_EN_R",
10840bba315eSPotin Lai		"HP_LVC3_OCP_V3_1_PWRGD_PLD","HP_OCP_V3_1_HSC_PWRGD_PLD_R",
10850bba315eSPotin Lai		"RST_OCP_V3_2_R_N","NIC1_PERST_N",
10860bba315eSPotin Lai		"OCP_V3_2_PERST_FROM_HOST_ISO_PLD_N","OCP_V3_2_MAIN_PWR_EN",
10870bba315eSPotin Lai		"FM_OCP_V3_2_PWR_GOOD_PLD","OCP_V3_2_AUX_PWR_PLD_EN_R",
10880bba315eSPotin Lai		"HP_LVC3_OCP_V3_2_PWRGD_PLD","HP_OCP_V3_2_HSC_PWRGD_PLD_R";
10890bba315eSPotin Lai};
10900bba315eSPotin Lai
10910bba315eSPotin Lai&io_expander13 {
10920bba315eSPotin Lai	gpio-line-names =
10930bba315eSPotin Lai		"NODEA_NODEB_PWOK_PLD_ISO_R","PWR_EN_NICS",
10940bba315eSPotin Lai		"PWRGD_P12V_AUX_FAN_PLD","P12V_AUX_FAN_EN_PLD",
10950bba315eSPotin Lai		"PWRGD_P3V3_AUX_PLD","PWRGD_P12V_AUX_PLD_ISO_R",
10960bba315eSPotin Lai		"FM_MAIN_PWREN_FROM_RMC_R","FM_MAIN_PWREN_RMC_EN_ISO_R",
10970bba315eSPotin Lai		"PWRGD_RMC_R","PWRGD_P12V_AUX_FAN_PLD",
10980bba315eSPotin Lai		"P12V_AUX_FAN_EN_PLD","FM_SYS_THROTTLE_N",
10990bba315eSPotin Lai		"HP_LVC3_OCP_V3_2_PRSNT2_PLD_N","HP_LVC3_OCP_V3_1_PRSNT2_PLD_N",
11000bba315eSPotin Lai		"","";
11010bba315eSPotin Lai};
11020bba315eSPotin Lai
11030bba315eSPotin Lai&io_expander14 {
11040bba315eSPotin Lai	gpio-line-names =
11050bba315eSPotin Lai		"","","","","","","","",
11060bba315eSPotin Lai		"FM_BOARD_BMC_SKU_ID3","FM_BOARD_BMC_SKU_ID2",
11070bba315eSPotin Lai		"FM_BOARD_BMC_SKU_ID1","FM_BOARD_BMC_SKU_ID0",
11080bba315eSPotin Lai		"FAB_BMC_REV_ID2","FAB_BMC_REV_ID1",
11090bba315eSPotin Lai		"FAB_BMC_REV_ID0","";
11100bba315eSPotin Lai};
1111