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