xref: /freebsd/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-facebook-harma.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1*7d0873ebSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*7d0873ebSEmmanuel Vadot// Copyright 2023 Facebook Inc.
3*7d0873ebSEmmanuel Vadot
4*7d0873ebSEmmanuel Vadot/dts-v1/;
5*7d0873ebSEmmanuel Vadot#include "aspeed-g6.dtsi"
6*7d0873ebSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h>
7*7d0873ebSEmmanuel Vadot#include <dt-bindings/i2c/i2c.h>
8*7d0873ebSEmmanuel Vadot
9*7d0873ebSEmmanuel Vadot/ {
10*7d0873ebSEmmanuel Vadot	model = "Facebook Harma";
11*7d0873ebSEmmanuel Vadot	compatible = "facebook,harma-bmc", "aspeed,ast2600";
12*7d0873ebSEmmanuel Vadot
13*7d0873ebSEmmanuel Vadot	aliases {
14*7d0873ebSEmmanuel Vadot		serial0 = &uart1;
15*7d0873ebSEmmanuel Vadot		serial1 = &uart2;
16*7d0873ebSEmmanuel Vadot		serial2 = &uart4;
17*7d0873ebSEmmanuel Vadot		serial4 = &uart5;
18*7d0873ebSEmmanuel Vadot
19*7d0873ebSEmmanuel Vadot		i2c20 = &imux20;
20*7d0873ebSEmmanuel Vadot		i2c21 = &imux21;
21*7d0873ebSEmmanuel Vadot		i2c22 = &imux22;
22*7d0873ebSEmmanuel Vadot		i2c23 = &imux23;
23*7d0873ebSEmmanuel Vadot		i2c24 = &imux24;
24*7d0873ebSEmmanuel Vadot		i2c25 = &imux25;
25*7d0873ebSEmmanuel Vadot		i2c26 = &imux26;
26*7d0873ebSEmmanuel Vadot		i2c27 = &imux27;
27*7d0873ebSEmmanuel Vadot		i2c28 = &imux28;
28*7d0873ebSEmmanuel Vadot		i2c29 = &imux29;
29*7d0873ebSEmmanuel Vadot		i2c30 = &imux30;
30*7d0873ebSEmmanuel Vadot		i2c31 = &imux31;
31*7d0873ebSEmmanuel Vadot
32*7d0873ebSEmmanuel Vadot		spi1 = &spi_gpio;
33*7d0873ebSEmmanuel Vadot	};
34*7d0873ebSEmmanuel Vadot
35*7d0873ebSEmmanuel Vadot	chosen {
36*7d0873ebSEmmanuel Vadot		stdout-path = &uart5;
37*7d0873ebSEmmanuel Vadot	};
38*7d0873ebSEmmanuel Vadot
39*7d0873ebSEmmanuel Vadot	memory@80000000 {
40*7d0873ebSEmmanuel Vadot		device_type = "memory";
41*7d0873ebSEmmanuel Vadot		reg = <0x80000000 0x80000000>;
42*7d0873ebSEmmanuel Vadot	};
43*7d0873ebSEmmanuel Vadot
44*7d0873ebSEmmanuel Vadot	iio-hwmon {
45*7d0873ebSEmmanuel Vadot		compatible = "iio-hwmon";
46*7d0873ebSEmmanuel Vadot		io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
47*7d0873ebSEmmanuel Vadot			      <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
48*7d0873ebSEmmanuel Vadot			      <&adc1 2>;
49*7d0873ebSEmmanuel Vadot	};
50*7d0873ebSEmmanuel Vadot
51*7d0873ebSEmmanuel Vadot	leds {
52*7d0873ebSEmmanuel Vadot		compatible = "gpio-leds";
53*7d0873ebSEmmanuel Vadot
54*7d0873ebSEmmanuel Vadot		led-0 {
55*7d0873ebSEmmanuel Vadot			label = "bmc_heartbeat_amber";
56*7d0873ebSEmmanuel Vadot			gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
57*7d0873ebSEmmanuel Vadot			linux,default-trigger = "heartbeat";
58*7d0873ebSEmmanuel Vadot		};
59*7d0873ebSEmmanuel Vadot
60*7d0873ebSEmmanuel Vadot		led-1 {
61*7d0873ebSEmmanuel Vadot			label = "fp_id_amber";
62*7d0873ebSEmmanuel Vadot			default-state = "off";
63*7d0873ebSEmmanuel Vadot			gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
64*7d0873ebSEmmanuel Vadot		};
65*7d0873ebSEmmanuel Vadot
66*7d0873ebSEmmanuel Vadot		led-2 {
67*7d0873ebSEmmanuel Vadot			label = "power_blue";
68*7d0873ebSEmmanuel Vadot			default-state = "off";
69*7d0873ebSEmmanuel Vadot			gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>;
70*7d0873ebSEmmanuel Vadot		};
71*7d0873ebSEmmanuel Vadot	};
72*7d0873ebSEmmanuel Vadot
73*7d0873ebSEmmanuel Vadot	spi_gpio: spi-gpio {
74*7d0873ebSEmmanuel Vadot		status = "okay";
75*7d0873ebSEmmanuel Vadot		compatible = "spi-gpio";
76*7d0873ebSEmmanuel Vadot		#address-cells = <1>;
77*7d0873ebSEmmanuel Vadot		#size-cells = <0>;
78*7d0873ebSEmmanuel Vadot
79*7d0873ebSEmmanuel Vadot		gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
80*7d0873ebSEmmanuel Vadot		gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
81*7d0873ebSEmmanuel Vadot		gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
82*7d0873ebSEmmanuel Vadot		num-chipselects = <1>;
83*7d0873ebSEmmanuel Vadot		cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
84*7d0873ebSEmmanuel Vadot
85*7d0873ebSEmmanuel Vadot		tpmdev@0 {
86*7d0873ebSEmmanuel Vadot			compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
87*7d0873ebSEmmanuel Vadot			spi-max-frequency = <33000000>;
88*7d0873ebSEmmanuel Vadot			reg = <0>;
89*7d0873ebSEmmanuel Vadot		};
90*7d0873ebSEmmanuel Vadot	};
91*7d0873ebSEmmanuel Vadot};
92*7d0873ebSEmmanuel Vadot
93*7d0873ebSEmmanuel Vadot// HOST BIOS Debug
94*7d0873ebSEmmanuel Vadot&uart1 {
95*7d0873ebSEmmanuel Vadot	status = "okay";
96*7d0873ebSEmmanuel Vadot};
97*7d0873ebSEmmanuel Vadot
98*7d0873ebSEmmanuel Vadot// SOL Host Console
99*7d0873ebSEmmanuel Vadot&uart2 {
100*7d0873ebSEmmanuel Vadot	status = "okay";
101*7d0873ebSEmmanuel Vadot	pinctrl-0 = <>;
102*7d0873ebSEmmanuel Vadot};
103*7d0873ebSEmmanuel Vadot
104*7d0873ebSEmmanuel Vadot// SOL BMC Console
105*7d0873ebSEmmanuel Vadot&uart4 {
106*7d0873ebSEmmanuel Vadot	status = "okay";
107*7d0873ebSEmmanuel Vadot	pinctrl-0 = <>;
108*7d0873ebSEmmanuel Vadot};
109*7d0873ebSEmmanuel Vadot
110*7d0873ebSEmmanuel Vadot// BMC Debug Console
111*7d0873ebSEmmanuel Vadot&uart5 {
112*7d0873ebSEmmanuel Vadot	status = "okay";
113*7d0873ebSEmmanuel Vadot};
114*7d0873ebSEmmanuel Vadot
115*7d0873ebSEmmanuel Vadot// MTIA
116*7d0873ebSEmmanuel Vadot&uart6 {
117*7d0873ebSEmmanuel Vadot	status = "okay";
118*7d0873ebSEmmanuel Vadot};
119*7d0873ebSEmmanuel Vadot
120*7d0873ebSEmmanuel Vadot&uart_routing {
121*7d0873ebSEmmanuel Vadot	status = "okay";
122*7d0873ebSEmmanuel Vadot};
123*7d0873ebSEmmanuel Vadot
124*7d0873ebSEmmanuel Vadot&wdt1 {
125*7d0873ebSEmmanuel Vadot	status = "okay";
126*7d0873ebSEmmanuel Vadot	pinctrl-names = "default";
127*7d0873ebSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdtrst1_default>;
128*7d0873ebSEmmanuel Vadot	aspeed,reset-type = "soc";
129*7d0873ebSEmmanuel Vadot	aspeed,external-signal;
130*7d0873ebSEmmanuel Vadot	aspeed,ext-push-pull;
131*7d0873ebSEmmanuel Vadot	aspeed,ext-active-high;
132*7d0873ebSEmmanuel Vadot	aspeed,ext-pulse-duration = <256>;
133*7d0873ebSEmmanuel Vadot};
134*7d0873ebSEmmanuel Vadot
135*7d0873ebSEmmanuel Vadot&mac3 {
136*7d0873ebSEmmanuel Vadot	status = "okay";
137*7d0873ebSEmmanuel Vadot	pinctrl-names = "default";
138*7d0873ebSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rmii4_default>;
139*7d0873ebSEmmanuel Vadot	use-ncsi;
140*7d0873ebSEmmanuel Vadot	mellanox,multi-host;
141*7d0873ebSEmmanuel Vadot};
142*7d0873ebSEmmanuel Vadot
143*7d0873ebSEmmanuel Vadot&rtc {
144*7d0873ebSEmmanuel Vadot	status = "okay";
145*7d0873ebSEmmanuel Vadot};
146*7d0873ebSEmmanuel Vadot
147*7d0873ebSEmmanuel Vadot&fmc {
148*7d0873ebSEmmanuel Vadot	status = "okay";
149*7d0873ebSEmmanuel Vadot
150*7d0873ebSEmmanuel Vadot	flash@0 {
151*7d0873ebSEmmanuel Vadot		status = "okay";
152*7d0873ebSEmmanuel Vadot		m25p,fast-read;
153*7d0873ebSEmmanuel Vadot		label = "bmc";
154*7d0873ebSEmmanuel Vadot		spi-max-frequency = <50000000>;
155*7d0873ebSEmmanuel Vadot#include "openbmc-flash-layout-128.dtsi"
156*7d0873ebSEmmanuel Vadot	};
157*7d0873ebSEmmanuel Vadot
158*7d0873ebSEmmanuel Vadot	flash@1 {
159*7d0873ebSEmmanuel Vadot		status = "okay";
160*7d0873ebSEmmanuel Vadot		m25p,fast-read;
161*7d0873ebSEmmanuel Vadot		label = "alt-bmc";
162*7d0873ebSEmmanuel Vadot		spi-max-frequency = <50000000>;
163*7d0873ebSEmmanuel Vadot	};
164*7d0873ebSEmmanuel Vadot};
165*7d0873ebSEmmanuel Vadot
166*7d0873ebSEmmanuel Vadot// BIOS Flash
167*7d0873ebSEmmanuel Vadot&spi2 {
168*7d0873ebSEmmanuel Vadot	status = "okay";
169*7d0873ebSEmmanuel Vadot	pinctrl-names = "default";
170*7d0873ebSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi2_default>;
171*7d0873ebSEmmanuel Vadot
172*7d0873ebSEmmanuel Vadot	flash@0 {
173*7d0873ebSEmmanuel Vadot		status = "okay";
174*7d0873ebSEmmanuel Vadot		m25p,fast-read;
175*7d0873ebSEmmanuel Vadot		label = "pnor";
176*7d0873ebSEmmanuel Vadot		spi-max-frequency = <12000000>;
177*7d0873ebSEmmanuel Vadot		spi-tx-bus-width = <2>;
178*7d0873ebSEmmanuel Vadot		spi-rx-bus-width = <2>;
179*7d0873ebSEmmanuel Vadot	};
180*7d0873ebSEmmanuel Vadot};
181*7d0873ebSEmmanuel Vadot
182*7d0873ebSEmmanuel Vadot&kcs2 {
183*7d0873ebSEmmanuel Vadot	status = "okay";
184*7d0873ebSEmmanuel Vadot	aspeed,lpc-io-reg = <0xca8>;
185*7d0873ebSEmmanuel Vadot};
186*7d0873ebSEmmanuel Vadot
187*7d0873ebSEmmanuel Vadot&kcs3 {
188*7d0873ebSEmmanuel Vadot	status = "okay";
189*7d0873ebSEmmanuel Vadot	aspeed,lpc-io-reg = <0xca2>;
190*7d0873ebSEmmanuel Vadot};
191*7d0873ebSEmmanuel Vadot
192*7d0873ebSEmmanuel Vadot&i2c0 {
193*7d0873ebSEmmanuel Vadot	status = "okay";
194*7d0873ebSEmmanuel Vadot
195*7d0873ebSEmmanuel Vadot	pwm@5e{
196*7d0873ebSEmmanuel Vadot		compatible = "max31790";
197*7d0873ebSEmmanuel Vadot		reg = <0x5e>;
198*7d0873ebSEmmanuel Vadot		#address-cells = <1>;
199*7d0873ebSEmmanuel Vadot		#size-cells = <0>;
200*7d0873ebSEmmanuel Vadot	};
201*7d0873ebSEmmanuel Vadot};
202*7d0873ebSEmmanuel Vadot
203*7d0873ebSEmmanuel Vadot&i2c1 {
204*7d0873ebSEmmanuel Vadot	status = "okay";
205*7d0873ebSEmmanuel Vadot
206*7d0873ebSEmmanuel Vadot	temperature-sensor@4b {
207*7d0873ebSEmmanuel Vadot		compatible = "ti,tmp75";
208*7d0873ebSEmmanuel Vadot		reg = <0x4b>;
209*7d0873ebSEmmanuel Vadot	};
210*7d0873ebSEmmanuel Vadot
211*7d0873ebSEmmanuel Vadot	// MB NIC FRU
212*7d0873ebSEmmanuel Vadot	eeprom@50 {
213*7d0873ebSEmmanuel Vadot		compatible = "atmel,24c64";
214*7d0873ebSEmmanuel Vadot		reg = <0x50>;
215*7d0873ebSEmmanuel Vadot	};
216*7d0873ebSEmmanuel Vadot};
217*7d0873ebSEmmanuel Vadot
218*7d0873ebSEmmanuel Vadot&i2c2 {
219*7d0873ebSEmmanuel Vadot	status = "okay";
220*7d0873ebSEmmanuel Vadot
221*7d0873ebSEmmanuel Vadot	pwm@5e{
222*7d0873ebSEmmanuel Vadot		compatible = "max31790";
223*7d0873ebSEmmanuel Vadot		reg = <0x5e>;
224*7d0873ebSEmmanuel Vadot		#address-cells = <1>;
225*7d0873ebSEmmanuel Vadot		#size-cells = <0>;
226*7d0873ebSEmmanuel Vadot	};
227*7d0873ebSEmmanuel Vadot};
228*7d0873ebSEmmanuel Vadot
229*7d0873ebSEmmanuel Vadot&i2c3 {
230*7d0873ebSEmmanuel Vadot	status = "okay";
231*7d0873ebSEmmanuel Vadot
232*7d0873ebSEmmanuel Vadot	i2c-mux@70 {
233*7d0873ebSEmmanuel Vadot		compatible = "nxp,pca9543";
234*7d0873ebSEmmanuel Vadot		reg = <0x70>;
235*7d0873ebSEmmanuel Vadot		#address-cells = <1>;
236*7d0873ebSEmmanuel Vadot		#size-cells = <0>;
237*7d0873ebSEmmanuel Vadot
238*7d0873ebSEmmanuel Vadot		imux20: i2c@0 {
239*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
240*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
241*7d0873ebSEmmanuel Vadot			reg = <0>;
242*7d0873ebSEmmanuel Vadot			//Retimer Flash
243*7d0873ebSEmmanuel Vadot			eeprom@50 {
244*7d0873ebSEmmanuel Vadot				compatible = "atmel,24c2048";
245*7d0873ebSEmmanuel Vadot				reg = <0x50>;
246*7d0873ebSEmmanuel Vadot				pagesize = <128>;
247*7d0873ebSEmmanuel Vadot			};
248*7d0873ebSEmmanuel Vadot		};
249*7d0873ebSEmmanuel Vadot		imux21: i2c@1 {
250*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
251*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
252*7d0873ebSEmmanuel Vadot			reg = <1>;
253*7d0873ebSEmmanuel Vadot			retimer@24 {
254*7d0873ebSEmmanuel Vadot				compatible = "asteralabs,pt5161l";
255*7d0873ebSEmmanuel Vadot				reg = <0x24>;
256*7d0873ebSEmmanuel Vadot			};
257*7d0873ebSEmmanuel Vadot		};
258*7d0873ebSEmmanuel Vadot	};
259*7d0873ebSEmmanuel Vadot};
260*7d0873ebSEmmanuel Vadot
261*7d0873ebSEmmanuel Vadot&i2c4 {
262*7d0873ebSEmmanuel Vadot	status = "okay";
263*7d0873ebSEmmanuel Vadot	// PDB FRU
264*7d0873ebSEmmanuel Vadot	eeprom@52 {
265*7d0873ebSEmmanuel Vadot		compatible = "atmel,24c64";
266*7d0873ebSEmmanuel Vadot		reg = <0x52>;
267*7d0873ebSEmmanuel Vadot	};
268*7d0873ebSEmmanuel Vadot
269*7d0873ebSEmmanuel Vadot	power-monitor@69 {
270*7d0873ebSEmmanuel Vadot		compatible = "pmbus";
271*7d0873ebSEmmanuel Vadot		reg = <0x69>;
272*7d0873ebSEmmanuel Vadot	};
273*7d0873ebSEmmanuel Vadot
274*7d0873ebSEmmanuel Vadot	temperature-sensor@49 {
275*7d0873ebSEmmanuel Vadot		compatible = "ti,tmp75";
276*7d0873ebSEmmanuel Vadot		reg = <0x49>;
277*7d0873ebSEmmanuel Vadot	};
278*7d0873ebSEmmanuel Vadot
279*7d0873ebSEmmanuel Vadot	power-monitor@22 {
280*7d0873ebSEmmanuel Vadot		compatible = "lltc,ltc4286";
281*7d0873ebSEmmanuel Vadot		reg = <0x22>;
282*7d0873ebSEmmanuel Vadot		adi,vrange-low-enable;
283*7d0873ebSEmmanuel Vadot		shunt-resistor-micro-ohms = <500>;
284*7d0873ebSEmmanuel Vadot	};
285*7d0873ebSEmmanuel Vadot};
286*7d0873ebSEmmanuel Vadot
287*7d0873ebSEmmanuel Vadot&i2c5 {
288*7d0873ebSEmmanuel Vadot	status = "okay";
289*7d0873ebSEmmanuel Vadot};
290*7d0873ebSEmmanuel Vadot
291*7d0873ebSEmmanuel Vadot&i2c6 {
292*7d0873ebSEmmanuel Vadot	status = "okay";
293*7d0873ebSEmmanuel Vadot
294*7d0873ebSEmmanuel Vadot	i2c-mux@70 {
295*7d0873ebSEmmanuel Vadot		compatible = "nxp,pca9543";
296*7d0873ebSEmmanuel Vadot		reg = <0x70>;
297*7d0873ebSEmmanuel Vadot		#address-cells = <1>;
298*7d0873ebSEmmanuel Vadot		#size-cells = <0>;
299*7d0873ebSEmmanuel Vadot
300*7d0873ebSEmmanuel Vadot		imux22: i2c@0 {
301*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
302*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
303*7d0873ebSEmmanuel Vadot			reg = <0>;
304*7d0873ebSEmmanuel Vadot		};
305*7d0873ebSEmmanuel Vadot		imux23: i2c@1 {
306*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
307*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
308*7d0873ebSEmmanuel Vadot			reg = <1>;
309*7d0873ebSEmmanuel Vadot		};
310*7d0873ebSEmmanuel Vadot	};
311*7d0873ebSEmmanuel Vadot};
312*7d0873ebSEmmanuel Vadot
313*7d0873ebSEmmanuel Vadot&i2c7 {
314*7d0873ebSEmmanuel Vadot	status = "okay";
315*7d0873ebSEmmanuel Vadot};
316*7d0873ebSEmmanuel Vadot
317*7d0873ebSEmmanuel Vadot&i2c8 {
318*7d0873ebSEmmanuel Vadot	status = "okay";
319*7d0873ebSEmmanuel Vadot};
320*7d0873ebSEmmanuel Vadot
321*7d0873ebSEmmanuel Vadot&i2c9 {
322*7d0873ebSEmmanuel Vadot	status = "okay";
323*7d0873ebSEmmanuel Vadot
324*7d0873ebSEmmanuel Vadot	gpio@30 {
325*7d0873ebSEmmanuel Vadot		compatible = "nxp,pca9555";
326*7d0873ebSEmmanuel Vadot		reg = <0x30>;
327*7d0873ebSEmmanuel Vadot		gpio-controller;
328*7d0873ebSEmmanuel Vadot		#gpio-cells = <2>;
329*7d0873ebSEmmanuel Vadot	};
330*7d0873ebSEmmanuel Vadot	gpio@31 {
331*7d0873ebSEmmanuel Vadot		compatible = "nxp,pca9555";
332*7d0873ebSEmmanuel Vadot		reg = <0x31>;
333*7d0873ebSEmmanuel Vadot		gpio-controller;
334*7d0873ebSEmmanuel Vadot		#gpio-cells = <2>;
335*7d0873ebSEmmanuel Vadot
336*7d0873ebSEmmanuel Vadot		gpio-line-names =
337*7d0873ebSEmmanuel Vadot		"","","","",
338*7d0873ebSEmmanuel Vadot		"","","presence-cmm","",
339*7d0873ebSEmmanuel Vadot		"","","","",
340*7d0873ebSEmmanuel Vadot		"","","","";
341*7d0873ebSEmmanuel Vadot	};
342*7d0873ebSEmmanuel Vadot
343*7d0873ebSEmmanuel Vadot	i2c-mux@71 {
344*7d0873ebSEmmanuel Vadot		compatible = "nxp,pca9546";
345*7d0873ebSEmmanuel Vadot		reg = <0x71>;
346*7d0873ebSEmmanuel Vadot		#address-cells = <1>;
347*7d0873ebSEmmanuel Vadot		#size-cells = <0>;
348*7d0873ebSEmmanuel Vadot
349*7d0873ebSEmmanuel Vadot		imux24: i2c@0 {
350*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
351*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
352*7d0873ebSEmmanuel Vadot			reg = <0>;
353*7d0873ebSEmmanuel Vadot		};
354*7d0873ebSEmmanuel Vadot		imux25: i2c@1 {
355*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
356*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
357*7d0873ebSEmmanuel Vadot			reg = <1>;
358*7d0873ebSEmmanuel Vadot		};
359*7d0873ebSEmmanuel Vadot		imux26: i2c@2 {
360*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
361*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
362*7d0873ebSEmmanuel Vadot			reg = <2>;
363*7d0873ebSEmmanuel Vadot		};
364*7d0873ebSEmmanuel Vadot		imux27: i2c@3 {
365*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
366*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
367*7d0873ebSEmmanuel Vadot			reg = <3>;
368*7d0873ebSEmmanuel Vadot		};
369*7d0873ebSEmmanuel Vadot	};
370*7d0873ebSEmmanuel Vadot	// PTTV FRU
371*7d0873ebSEmmanuel Vadot	eeprom@52 {
372*7d0873ebSEmmanuel Vadot		compatible = "atmel,24c64";
373*7d0873ebSEmmanuel Vadot		reg = <0x52>;
374*7d0873ebSEmmanuel Vadot	};
375*7d0873ebSEmmanuel Vadot};
376*7d0873ebSEmmanuel Vadot
377*7d0873ebSEmmanuel Vadot&i2c11 {
378*7d0873ebSEmmanuel Vadot	status = "okay";
379*7d0873ebSEmmanuel Vadot};
380*7d0873ebSEmmanuel Vadot
381*7d0873ebSEmmanuel Vadot&i2c12 {
382*7d0873ebSEmmanuel Vadot	status = "okay";
383*7d0873ebSEmmanuel Vadot	retimer@24 {
384*7d0873ebSEmmanuel Vadot		compatible = "asteralabs,pt5161l";
385*7d0873ebSEmmanuel Vadot		reg = <0x24>;
386*7d0873ebSEmmanuel Vadot	};
387*7d0873ebSEmmanuel Vadot};
388*7d0873ebSEmmanuel Vadot
389*7d0873ebSEmmanuel Vadot&i2c13 {
390*7d0873ebSEmmanuel Vadot	status = "okay";
391*7d0873ebSEmmanuel Vadot
392*7d0873ebSEmmanuel Vadot	i2c-mux@70 {
393*7d0873ebSEmmanuel Vadot		compatible = "nxp,pca9545";
394*7d0873ebSEmmanuel Vadot		reg = <0x70>;
395*7d0873ebSEmmanuel Vadot		#address-cells = <1>;
396*7d0873ebSEmmanuel Vadot		#size-cells = <0>;
397*7d0873ebSEmmanuel Vadot
398*7d0873ebSEmmanuel Vadot		imux28: i2c@0 {
399*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
400*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
401*7d0873ebSEmmanuel Vadot			reg = <0>;
402*7d0873ebSEmmanuel Vadot		};
403*7d0873ebSEmmanuel Vadot		imux29: i2c@1 {
404*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
405*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
406*7d0873ebSEmmanuel Vadot			reg = <1>;
407*7d0873ebSEmmanuel Vadot			//MB FRU
408*7d0873ebSEmmanuel Vadot			eeprom@54 {
409*7d0873ebSEmmanuel Vadot				compatible = "atmel,24c64";
410*7d0873ebSEmmanuel Vadot				reg = <0x54>;
411*7d0873ebSEmmanuel Vadot			};
412*7d0873ebSEmmanuel Vadot		};
413*7d0873ebSEmmanuel Vadot		imux30: i2c@2 {
414*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
415*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
416*7d0873ebSEmmanuel Vadot			reg = <2>;
417*7d0873ebSEmmanuel Vadot		};
418*7d0873ebSEmmanuel Vadot		imux31: i2c@3 {
419*7d0873ebSEmmanuel Vadot			#address-cells = <1>;
420*7d0873ebSEmmanuel Vadot			#size-cells = <0>;
421*7d0873ebSEmmanuel Vadot			reg = <3>;
422*7d0873ebSEmmanuel Vadot		};
423*7d0873ebSEmmanuel Vadot	};
424*7d0873ebSEmmanuel Vadot};
425*7d0873ebSEmmanuel Vadot
426*7d0873ebSEmmanuel Vadot// To Debug card
427*7d0873ebSEmmanuel Vadot&i2c14 {
428*7d0873ebSEmmanuel Vadot	status = "okay";
429*7d0873ebSEmmanuel Vadot	multi-master;
430*7d0873ebSEmmanuel Vadot
431*7d0873ebSEmmanuel Vadot	ipmb@10 {
432*7d0873ebSEmmanuel Vadot		compatible = "ipmb-dev";
433*7d0873ebSEmmanuel Vadot		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
434*7d0873ebSEmmanuel Vadot		i2c-protocol;
435*7d0873ebSEmmanuel Vadot	};
436*7d0873ebSEmmanuel Vadot};
437*7d0873ebSEmmanuel Vadot
438*7d0873ebSEmmanuel Vadot&i2c15 {
439*7d0873ebSEmmanuel Vadot	status = "okay";
440*7d0873ebSEmmanuel Vadot
441*7d0873ebSEmmanuel Vadot	// SCM FRU
442*7d0873ebSEmmanuel Vadot	eeprom@50 {
443*7d0873ebSEmmanuel Vadot		compatible = "atmel,24c64";
444*7d0873ebSEmmanuel Vadot		reg = <0x50>;
445*7d0873ebSEmmanuel Vadot	};
446*7d0873ebSEmmanuel Vadot
447*7d0873ebSEmmanuel Vadot	// BSM FRU
448*7d0873ebSEmmanuel Vadot	eeprom@56 {
449*7d0873ebSEmmanuel Vadot		compatible = "atmel,24c64";
450*7d0873ebSEmmanuel Vadot		reg = <0x56>;
451*7d0873ebSEmmanuel Vadot	};
452*7d0873ebSEmmanuel Vadot};
453*7d0873ebSEmmanuel Vadot
454*7d0873ebSEmmanuel Vadot&adc0 {
455*7d0873ebSEmmanuel Vadot	aspeed,int-vref-microvolt = <2500000>;
456*7d0873ebSEmmanuel Vadot	status = "okay";
457*7d0873ebSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
458*7d0873ebSEmmanuel Vadot		&pinctrl_adc2_default &pinctrl_adc3_default
459*7d0873ebSEmmanuel Vadot		&pinctrl_adc4_default &pinctrl_adc5_default
460*7d0873ebSEmmanuel Vadot		&pinctrl_adc6_default &pinctrl_adc7_default>;
461*7d0873ebSEmmanuel Vadot};
462*7d0873ebSEmmanuel Vadot
463*7d0873ebSEmmanuel Vadot&adc1 {
464*7d0873ebSEmmanuel Vadot	aspeed,int-vref-microvolt = <2500000>;
465*7d0873ebSEmmanuel Vadot	status = "okay";
466*7d0873ebSEmmanuel Vadot	pinctrl-names = "default";
467*7d0873ebSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc10_default>;
468*7d0873ebSEmmanuel Vadot};
469*7d0873ebSEmmanuel Vadot
470*7d0873ebSEmmanuel Vadot&ehci0 {
471*7d0873ebSEmmanuel Vadot	status = "okay";
472*7d0873ebSEmmanuel Vadot};
473*7d0873ebSEmmanuel Vadot
474*7d0873ebSEmmanuel Vadot&gpio0 {
475*7d0873ebSEmmanuel Vadot	pinctrl-names = "default";
476*7d0873ebSEmmanuel Vadot	gpio-line-names =
477*7d0873ebSEmmanuel Vadot	/*A0-A7*/	"","","","","","","","",
478*7d0873ebSEmmanuel Vadot	/*B0-B7*/	"","","","",
479*7d0873ebSEmmanuel Vadot			"bmc-spi-mux-select-0","led-identify","","",
480*7d0873ebSEmmanuel Vadot	/*C0-C7*/	"reset-cause-platrst","","","","",
481*7d0873ebSEmmanuel Vadot			"cpu0-err-alert","","",
482*7d0873ebSEmmanuel Vadot	/*D0-D7*/	"","","sol-uart-select","","","","","",
483*7d0873ebSEmmanuel Vadot	/*E0-E7*/	"","","","","","","","",
484*7d0873ebSEmmanuel Vadot	/*F0-F7*/	"","","","","","","","",
485*7d0873ebSEmmanuel Vadot	/*G0-G7*/	"","","","","","","","",
486*7d0873ebSEmmanuel Vadot	/*H0-H7*/	"","","","","","","","",
487*7d0873ebSEmmanuel Vadot	/*I0-I7*/	"","","","","","","","",
488*7d0873ebSEmmanuel Vadot	/*J0-J7*/	"","","","","","","","",
489*7d0873ebSEmmanuel Vadot	/*K0-K7*/	"","","","","","","","",
490*7d0873ebSEmmanuel Vadot	/*L0-L7*/	"","","","",
491*7d0873ebSEmmanuel Vadot			"leakage-detect-alert","","","",
492*7d0873ebSEmmanuel Vadot	/*M0-M7*/	"","","","","","","","",
493*7d0873ebSEmmanuel Vadot	/*N0-N7*/	"led-postcode-0","led-postcode-1",
494*7d0873ebSEmmanuel Vadot			"led-postcode-2","led-postcode-3",
495*7d0873ebSEmmanuel Vadot			"led-postcode-4","led-postcode-5",
496*7d0873ebSEmmanuel Vadot			"led-postcode-6","led-postcode-7",
497*7d0873ebSEmmanuel Vadot	/*O0-O7*/	"","","","","","","","",
498*7d0873ebSEmmanuel Vadot	/*P0-P7*/	"power-button","power-host-control",
499*7d0873ebSEmmanuel Vadot			"reset-button","","led-power","","","",
500*7d0873ebSEmmanuel Vadot	/*Q0-Q7*/	"","","","","","","","",
501*7d0873ebSEmmanuel Vadot	/*R0-R7*/	"","","","","","","","",
502*7d0873ebSEmmanuel Vadot	/*S0-S7*/	"","","","","","","","",
503*7d0873ebSEmmanuel Vadot	/*T0-T7*/	"","","","","","","","",
504*7d0873ebSEmmanuel Vadot	/*U0-U7*/	"","","","","","","led-identify-gate","",
505*7d0873ebSEmmanuel Vadot	/*V0-V7*/	"","","","",
506*7d0873ebSEmmanuel Vadot			"rtc-battery-voltage-read-enable","","","",
507*7d0873ebSEmmanuel Vadot	/*W0-W7*/	"","","","","","","","",
508*7d0873ebSEmmanuel Vadot	/*X0-X7*/	"","","","","","","","",
509*7d0873ebSEmmanuel Vadot	/*Y0-Y7*/	"","","","","","","","",
510*7d0873ebSEmmanuel Vadot	/*Z0-Z7*/	"","","","","","","presence-post-card","";
511*7d0873ebSEmmanuel Vadot};
512*7d0873ebSEmmanuel Vadot
513*7d0873ebSEmmanuel Vadot&gpio1 {
514*7d0873ebSEmmanuel Vadot	gpio-line-names =
515*7d0873ebSEmmanuel Vadot	/*18A0-18A7*/ "ac-power-button","","","","","","","",
516*7d0873ebSEmmanuel Vadot	/*18B0-18B7*/ "","","","","","","","",
517*7d0873ebSEmmanuel Vadot	/*18C0-18C7*/ "","","","","","","","",
518*7d0873ebSEmmanuel Vadot	/*18D0-18D7*/ "","","","","","","","",
519*7d0873ebSEmmanuel Vadot	/*18E0-18E3*/ "","","","","","","","";
520*7d0873ebSEmmanuel Vadot};
521*7d0873ebSEmmanuel Vadot
522*7d0873ebSEmmanuel Vadot&sgpiom0 {
523*7d0873ebSEmmanuel Vadot	status = "okay";
524*7d0873ebSEmmanuel Vadot	max-ngpios = <128>;
525*7d0873ebSEmmanuel Vadot	ngpios = <128>;
526*7d0873ebSEmmanuel Vadot	bus-frequency = <2000000>;
527*7d0873ebSEmmanuel Vadot	gpio-line-names =
528*7d0873ebSEmmanuel Vadot	/*in - out - in - out */
529*7d0873ebSEmmanuel Vadot	/*A0-A3 line 0-7*/
530*7d0873ebSEmmanuel Vadot	"presence-scm-cable","power-config-disable-e1s-0",
531*7d0873ebSEmmanuel Vadot	"","",
532*7d0873ebSEmmanuel Vadot	"","power-config-disable-e1s-1",
533*7d0873ebSEmmanuel Vadot	"","",
534*7d0873ebSEmmanuel Vadot	/*A4-A7 line 8-15*/
535*7d0873ebSEmmanuel Vadot	"","power-config-asic-module-enable",
536*7d0873ebSEmmanuel Vadot	"","power-config-asic-power-good",
537*7d0873ebSEmmanuel Vadot	"","power-config-pdb-power-good",
538*7d0873ebSEmmanuel Vadot	"presence-cpu","smi-control-n",
539*7d0873ebSEmmanuel Vadot	/*B0-B3 line 16-23*/
540*7d0873ebSEmmanuel Vadot	"","nmi-control-n",
541*7d0873ebSEmmanuel Vadot	"","nmi-control-sync-flood-n",
542*7d0873ebSEmmanuel Vadot	"","",
543*7d0873ebSEmmanuel Vadot	"","",
544*7d0873ebSEmmanuel Vadot	/*B4-B7 line 24-31*/
545*7d0873ebSEmmanuel Vadot	"","FM_CPU_SP5R1",
546*7d0873ebSEmmanuel Vadot	"reset-cause-rsmrst","FM_CPU_SP5R2",
547*7d0873ebSEmmanuel Vadot	"","FM_CPU_SP5R3",
548*7d0873ebSEmmanuel Vadot	"","FM_CPU_SP5R4",
549*7d0873ebSEmmanuel Vadot	/*C0-C3 line 32-39*/
550*7d0873ebSEmmanuel Vadot	"","FM_CPU0_SA0",
551*7d0873ebSEmmanuel Vadot	"","FM_CPU0_SA1",
552*7d0873ebSEmmanuel Vadot	"","rt-cpu0-p0-enable",
553*7d0873ebSEmmanuel Vadot	"","rt-cpu0-p1-enable",
554*7d0873ebSEmmanuel Vadot	/*C4-C7 line 40-47*/
555*7d0873ebSEmmanuel Vadot	"","smb-rt-rom-p0-select",
556*7d0873ebSEmmanuel Vadot	"","smb-rt-rom-p1-select",
557*7d0873ebSEmmanuel Vadot	"","i3c-cpu-mux0-oe-n",
558*7d0873ebSEmmanuel Vadot	"","i3c-cpu-mux0-select",
559*7d0873ebSEmmanuel Vadot	/*D0-D3 line 48-55*/
560*7d0873ebSEmmanuel Vadot	"","i3c-cpu-mux1-oe-n",
561*7d0873ebSEmmanuel Vadot	"","i3c-cpu-mux1-select",
562*7d0873ebSEmmanuel Vadot	"","reset-control-bmc",
563*7d0873ebSEmmanuel Vadot	"","reset-control-cpu0-p0-mux",
564*7d0873ebSEmmanuel Vadot	/*D4-D7 line 56-63*/
565*7d0873ebSEmmanuel Vadot	"","reset-control-cpu0-p1-mux",
566*7d0873ebSEmmanuel Vadot	"","reset-control-e1s-mux",
567*7d0873ebSEmmanuel Vadot	"power-host-good","reset-control-mb-mux",
568*7d0873ebSEmmanuel Vadot	"host0-ready","reset-control-smb-e1s-0",
569*7d0873ebSEmmanuel Vadot	/*E0-E3 line 64-71*/
570*7d0873ebSEmmanuel Vadot	"","reset-control-smb-e1s-1",
571*7d0873ebSEmmanuel Vadot	"post-end-n","reset-control-srst",
572*7d0873ebSEmmanuel Vadot	"presence-e1s-0","reset-control-usb-hub",
573*7d0873ebSEmmanuel Vadot	"","reset-control",
574*7d0873ebSEmmanuel Vadot	/*E4-E7 line 72-79*/
575*7d0873ebSEmmanuel Vadot	"presence-e1s-1","reset-control-cpu-kbrst",
576*7d0873ebSEmmanuel Vadot	"","reset-control-platrst",
577*7d0873ebSEmmanuel Vadot	"","bmc-jtag-mux-select-0",
578*7d0873ebSEmmanuel Vadot	"","bmc-jtag-mux-select-1",
579*7d0873ebSEmmanuel Vadot	/*F0-F3 line 80-87*/
580*7d0873ebSEmmanuel Vadot	"","bmc-jtag-select",
581*7d0873ebSEmmanuel Vadot	"","bmc-ready-n",
582*7d0873ebSEmmanuel Vadot	"","bmc-ready-sgpio",
583*7d0873ebSEmmanuel Vadot	"","rt-cpu0-p0-force-enable",
584*7d0873ebSEmmanuel Vadot	/*F4-F7 line 88-95*/
585*7d0873ebSEmmanuel Vadot	"presence-asic-modules-0","rt-cpu0-p1-force-enable",
586*7d0873ebSEmmanuel Vadot	"presence-asic-modules-1","bios-debug-msg-disable",
587*7d0873ebSEmmanuel Vadot	"","uart-control-buffer-select",
588*7d0873ebSEmmanuel Vadot	"","ac-control-n",
589*7d0873ebSEmmanuel Vadot	/*G0-G3 line 96-103*/
590*7d0873ebSEmmanuel Vadot	"FM_CPU_CORETYPE2","",
591*7d0873ebSEmmanuel Vadot	"FM_CPU_CORETYPE1","",
592*7d0873ebSEmmanuel Vadot	"FM_CPU_CORETYPE0","",
593*7d0873ebSEmmanuel Vadot	"FM_BOARD_REV_ID5","",
594*7d0873ebSEmmanuel Vadot	/*G4-G7 line 104-111*/
595*7d0873ebSEmmanuel Vadot	"FM_BOARD_REV_ID4","",
596*7d0873ebSEmmanuel Vadot	"FM_BOARD_REV_ID3","",
597*7d0873ebSEmmanuel Vadot	"FM_BOARD_REV_ID2","",
598*7d0873ebSEmmanuel Vadot	"FM_BOARD_REV_ID1","",
599*7d0873ebSEmmanuel Vadot	/*H0-H3 line 112-119*/
600*7d0873ebSEmmanuel Vadot	"FM_BOARD_REV_ID0","",
601*7d0873ebSEmmanuel Vadot	"","","","","","",
602*7d0873ebSEmmanuel Vadot	/*H4-H7 line 120-127*/
603*7d0873ebSEmmanuel Vadot	"","",
604*7d0873ebSEmmanuel Vadot	"reset-control-pcie-expansion-3","",
605*7d0873ebSEmmanuel Vadot	"reset-control-pcie-expansion-2","",
606*7d0873ebSEmmanuel Vadot	"reset-control-pcie-expansion-1","",
607*7d0873ebSEmmanuel Vadot	/*I0-I3 line 128-135*/
608*7d0873ebSEmmanuel Vadot	"reset-control-pcie-expansion-0","",
609*7d0873ebSEmmanuel Vadot	"FM_EXP_SLOT_ID1","",
610*7d0873ebSEmmanuel Vadot	"FM_EXP_SLOT_ID0","",
611*7d0873ebSEmmanuel Vadot	"","",
612*7d0873ebSEmmanuel Vadot	/*I4-I7 line 136-143*/
613*7d0873ebSEmmanuel Vadot	"","","","","","","","",
614*7d0873ebSEmmanuel Vadot	/*J0-J3 line 144-151*/
615*7d0873ebSEmmanuel Vadot	"","","","","","","","",
616*7d0873ebSEmmanuel Vadot	/*J4-J7 line 152-159*/
617*7d0873ebSEmmanuel Vadot	"SLOT_ID_BCB_0","",
618*7d0873ebSEmmanuel Vadot	"SLOT_ID_BCB_1","",
619*7d0873ebSEmmanuel Vadot	"SLOT_ID_BCB_2","",
620*7d0873ebSEmmanuel Vadot	"SLOT_ID_BCB_3","",
621*7d0873ebSEmmanuel Vadot	/*K0-K3 line 160-167*/
622*7d0873ebSEmmanuel Vadot	"","","","","","","P0_I3C_APML_ALERT_L","",
623*7d0873ebSEmmanuel Vadot	/*K4-K7 line 168-175*/
624*7d0873ebSEmmanuel Vadot	"","","","","","","irq-uv-detect-alert","",
625*7d0873ebSEmmanuel Vadot	/*L0-L3 line 176-183*/
626*7d0873ebSEmmanuel Vadot	"irq-hsc-alert","",
627*7d0873ebSEmmanuel Vadot	"cpu0-prochot-alert","",
628*7d0873ebSEmmanuel Vadot	"cpu0-thermtrip-alert","",
629*7d0873ebSEmmanuel Vadot	"reset-cause-pcie","",
630*7d0873ebSEmmanuel Vadot	/*L4-L7 line 184-191*/
631*7d0873ebSEmmanuel Vadot	"pvdd11-ocp-alert","","","","","","","",
632*7d0873ebSEmmanuel Vadot	/*M0-M3 line 192-199*/
633*7d0873ebSEmmanuel Vadot	"","","","","","","","",
634*7d0873ebSEmmanuel Vadot	/*M4-M7 line 200-207*/
635*7d0873ebSEmmanuel Vadot	"","","","","","","","",
636*7d0873ebSEmmanuel Vadot	/*N0-N3 line 208-215*/
637*7d0873ebSEmmanuel Vadot	"","","","","","","","",
638*7d0873ebSEmmanuel Vadot	/*N4-N7 line 216-223*/
639*7d0873ebSEmmanuel Vadot	"","","","","","","","",
640*7d0873ebSEmmanuel Vadot	/*O0-O3 line 224-231*/
641*7d0873ebSEmmanuel Vadot	"","","","","","","","",
642*7d0873ebSEmmanuel Vadot	/*O4-O7 line 232-239*/
643*7d0873ebSEmmanuel Vadot	"","","","","","","","",
644*7d0873ebSEmmanuel Vadot	/*P0-P3 line 240-247*/
645*7d0873ebSEmmanuel Vadot	"","","","","","","","",
646*7d0873ebSEmmanuel Vadot	/*P4-P7 line 248-255*/
647*7d0873ebSEmmanuel Vadot	"","","","","","","","";
648*7d0873ebSEmmanuel Vadot};
649