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