xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-harma.dts (revision 687d7e18049e639cb3f9785b36f8cb4aa306ca22)
1bb3776e5SPeter Yin// SPDX-License-Identifier: GPL-2.0-or-later
2bb3776e5SPeter Yin// Copyright 2023 Facebook Inc.
3bb3776e5SPeter Yin
4bb3776e5SPeter Yin/dts-v1/;
5bb3776e5SPeter Yin#include "aspeed-g6.dtsi"
6bb3776e5SPeter Yin#include <dt-bindings/gpio/aspeed-gpio.h>
7bb3776e5SPeter Yin#include <dt-bindings/i2c/i2c.h>
8bb3776e5SPeter Yin
9bb3776e5SPeter Yin/ {
10bb3776e5SPeter Yin	model = "Facebook Harma";
11bb3776e5SPeter Yin	compatible = "facebook,harma-bmc", "aspeed,ast2600";
12bb3776e5SPeter Yin
13bb3776e5SPeter Yin	aliases {
14bb3776e5SPeter Yin		serial0 = &uart1;
15d965bbe6SPeter Yin		serial1 = &uart2;
16d965bbe6SPeter Yin		serial2 = &uart4;
17bb3776e5SPeter Yin		serial4 = &uart5;
18bb3776e5SPeter Yin
19bb3776e5SPeter Yin		i2c20 = &imux20;
20bb3776e5SPeter Yin		i2c21 = &imux21;
21bb3776e5SPeter Yin		i2c22 = &imux22;
22bb3776e5SPeter Yin		i2c23 = &imux23;
23bb3776e5SPeter Yin		i2c24 = &imux24;
24bb3776e5SPeter Yin		i2c25 = &imux25;
25bb3776e5SPeter Yin		i2c26 = &imux26;
26bb3776e5SPeter Yin		i2c27 = &imux27;
27bb3776e5SPeter Yin		i2c28 = &imux28;
28bb3776e5SPeter Yin		i2c29 = &imux29;
29bb3776e5SPeter Yin		i2c30 = &imux30;
30bb3776e5SPeter Yin		i2c31 = &imux31;
313042a7e5SPeter Yin
323042a7e5SPeter Yin		spi1 = &spi_gpio;
33bb3776e5SPeter Yin	};
34bb3776e5SPeter Yin
35bb3776e5SPeter Yin	chosen {
36bb3776e5SPeter Yin		stdout-path = &uart5;
37bb3776e5SPeter Yin	};
38bb3776e5SPeter Yin
39bb3776e5SPeter Yin	memory@80000000 {
40bb3776e5SPeter Yin		device_type = "memory";
41bb3776e5SPeter Yin		reg = <0x80000000 0x80000000>;
42bb3776e5SPeter Yin	};
43bb3776e5SPeter Yin
44bb3776e5SPeter Yin	iio-hwmon {
45bb3776e5SPeter Yin		compatible = "iio-hwmon";
46bb3776e5SPeter Yin		io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
47bb3776e5SPeter Yin			      <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
48bb3776e5SPeter Yin			      <&adc1 2>;
49bb3776e5SPeter Yin	};
50bb3776e5SPeter Yin
51bb3776e5SPeter Yin	leds {
52bb3776e5SPeter Yin		compatible = "gpio-leds";
53bb3776e5SPeter Yin
54bb3776e5SPeter Yin		led-0 {
55bb3776e5SPeter Yin			label = "bmc_heartbeat_amber";
56bb3776e5SPeter Yin			gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
57bb3776e5SPeter Yin			linux,default-trigger = "heartbeat";
58bb3776e5SPeter Yin		};
59bb3776e5SPeter Yin
60bb3776e5SPeter Yin		led-1 {
61bb3776e5SPeter Yin			label = "fp_id_amber";
62bb3776e5SPeter Yin			default-state = "off";
63bb3776e5SPeter Yin			gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
64bb3776e5SPeter Yin		};
65bb3776e5SPeter Yin
66bb3776e5SPeter Yin		led-2 {
67bb3776e5SPeter Yin			label = "power_blue";
68bb3776e5SPeter Yin			default-state = "off";
69bb3776e5SPeter Yin			gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>;
70bb3776e5SPeter Yin		};
71bb3776e5SPeter Yin	};
723042a7e5SPeter Yin
733042a7e5SPeter Yin	spi_gpio: spi-gpio {
743042a7e5SPeter Yin		status = "okay";
753042a7e5SPeter Yin		compatible = "spi-gpio";
763042a7e5SPeter Yin		#address-cells = <1>;
773042a7e5SPeter Yin		#size-cells = <0>;
783042a7e5SPeter Yin
793042a7e5SPeter Yin		gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
803042a7e5SPeter Yin		gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
813042a7e5SPeter Yin		gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
823042a7e5SPeter Yin		num-chipselects = <1>;
833042a7e5SPeter Yin		cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
843042a7e5SPeter Yin
853042a7e5SPeter Yin		tpmdev@0 {
863042a7e5SPeter Yin			compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
873042a7e5SPeter Yin			spi-max-frequency = <33000000>;
883042a7e5SPeter Yin			reg = <0>;
893042a7e5SPeter Yin		};
903042a7e5SPeter Yin	};
91bb3776e5SPeter Yin};
92bb3776e5SPeter Yin
93bb3776e5SPeter Yin// HOST BIOS Debug
94bb3776e5SPeter Yin&uart1 {
95bb3776e5SPeter Yin	status = "okay";
96bb3776e5SPeter Yin};
97bb3776e5SPeter Yin
98bb3776e5SPeter Yin// SOL Host Console
99bb3776e5SPeter Yin&uart2 {
100bb3776e5SPeter Yin	status = "okay";
101bb3776e5SPeter Yin	pinctrl-0 = <>;
102bb3776e5SPeter Yin};
103bb3776e5SPeter Yin
104bb3776e5SPeter Yin// SOL BMC Console
105bb3776e5SPeter Yin&uart4 {
106bb3776e5SPeter Yin	status = "okay";
107bb3776e5SPeter Yin	pinctrl-0 = <>;
108bb3776e5SPeter Yin};
109bb3776e5SPeter Yin
110bb3776e5SPeter Yin// BMC Debug Console
111bb3776e5SPeter Yin&uart5 {
112bb3776e5SPeter Yin	status = "okay";
113bb3776e5SPeter Yin};
114bb3776e5SPeter Yin
115bb3776e5SPeter Yin// MTIA
116bb3776e5SPeter Yin&uart6 {
117bb3776e5SPeter Yin	status = "okay";
118bb3776e5SPeter Yin};
119bb3776e5SPeter Yin
120bb3776e5SPeter Yin&uart_routing {
121bb3776e5SPeter Yin	status = "okay";
122bb3776e5SPeter Yin};
123bb3776e5SPeter Yin
124bb3776e5SPeter Yin&wdt1 {
125bb3776e5SPeter Yin	status = "okay";
126bb3776e5SPeter Yin	pinctrl-names = "default";
127bb3776e5SPeter Yin	pinctrl-0 = <&pinctrl_wdtrst1_default>;
128bb3776e5SPeter Yin	aspeed,reset-type = "soc";
129bb3776e5SPeter Yin	aspeed,external-signal;
130bb3776e5SPeter Yin	aspeed,ext-push-pull;
131bb3776e5SPeter Yin	aspeed,ext-active-high;
132bb3776e5SPeter Yin	aspeed,ext-pulse-duration = <256>;
133bb3776e5SPeter Yin};
134bb3776e5SPeter Yin
135bb3776e5SPeter Yin&mac3 {
136bb3776e5SPeter Yin	status = "okay";
137bb3776e5SPeter Yin	pinctrl-names = "default";
138bb3776e5SPeter Yin	pinctrl-0 = <&pinctrl_rmii4_default>;
139bb3776e5SPeter Yin	use-ncsi;
140bb3776e5SPeter Yin};
141bb3776e5SPeter Yin
142bb3776e5SPeter Yin&rtc {
143bb3776e5SPeter Yin	status = "okay";
144bb3776e5SPeter Yin};
145bb3776e5SPeter Yin
146bb3776e5SPeter Yin&fmc {
147bb3776e5SPeter Yin	status = "okay";
148bb3776e5SPeter Yin
149bb3776e5SPeter Yin	flash@0 {
150bb3776e5SPeter Yin		status = "okay";
151bb3776e5SPeter Yin		m25p,fast-read;
152bb3776e5SPeter Yin		label = "bmc";
153bb3776e5SPeter Yin		spi-max-frequency = <50000000>;
154bb3776e5SPeter Yin#include "openbmc-flash-layout-128.dtsi"
155bb3776e5SPeter Yin	};
156bb3776e5SPeter Yin
157bb3776e5SPeter Yin	flash@1 {
158bb3776e5SPeter Yin		status = "okay";
159bb3776e5SPeter Yin		m25p,fast-read;
160bb3776e5SPeter Yin		label = "alt-bmc";
161bb3776e5SPeter Yin		spi-max-frequency = <50000000>;
162bb3776e5SPeter Yin	};
163bb3776e5SPeter Yin};
164bb3776e5SPeter Yin
165bb3776e5SPeter Yin// BIOS Flash
166bb3776e5SPeter Yin&spi2 {
167bb3776e5SPeter Yin	status = "okay";
168bb3776e5SPeter Yin	pinctrl-names = "default";
169bb3776e5SPeter Yin	pinctrl-0 = <&pinctrl_spi2_default>;
170bb3776e5SPeter Yin
171bb3776e5SPeter Yin	flash@0 {
172bb3776e5SPeter Yin		status = "okay";
173bb3776e5SPeter Yin		m25p,fast-read;
174bb3776e5SPeter Yin		label = "pnor";
175bb3776e5SPeter Yin		spi-max-frequency = <12000000>;
176bb3776e5SPeter Yin		spi-tx-bus-width = <2>;
177bb3776e5SPeter Yin		spi-rx-bus-width = <2>;
178bb3776e5SPeter Yin	};
179bb3776e5SPeter Yin};
180bb3776e5SPeter Yin
181bb3776e5SPeter Yin&kcs2 {
182bb3776e5SPeter Yin	status = "okay";
183bb3776e5SPeter Yin	aspeed,lpc-io-reg = <0xca8>;
184bb3776e5SPeter Yin};
185bb3776e5SPeter Yin
186bb3776e5SPeter Yin&kcs3 {
187bb3776e5SPeter Yin	status = "okay";
188bb3776e5SPeter Yin	aspeed,lpc-io-reg = <0xca2>;
189bb3776e5SPeter Yin};
190bb3776e5SPeter Yin
191bb3776e5SPeter Yin&i2c0 {
192bb3776e5SPeter Yin	status = "okay";
193bb3776e5SPeter Yin
1944187ccb5SPeter Yin	pwm@5e{
195bb3776e5SPeter Yin		compatible = "max31790";
1967b55cf23SPeter Yin		reg = <0x5e>;
197bb3776e5SPeter Yin		#address-cells = <1>;
198bb3776e5SPeter Yin		#size-cells = <0>;
199bb3776e5SPeter Yin	};
2007d059701SPeter Yin
2017d059701SPeter Yin	power-sensor@40 {
2027d059701SPeter Yin		compatible = "ti,ina238";
2037d059701SPeter Yin		reg = <0x40>;
2047d059701SPeter Yin		shunt-resistor = <1000>;
2057d059701SPeter Yin	};
2067d059701SPeter Yin
2077d059701SPeter Yin	power-sensor@41 {
2087d059701SPeter Yin		compatible = "ti,ina238";
2097d059701SPeter Yin		reg = <0x41>;
2107d059701SPeter Yin		shunt-resistor = <1000>;
2117d059701SPeter Yin	};
2127d059701SPeter Yin
2137d059701SPeter Yin	power-sensor@44 {
2147d059701SPeter Yin		compatible = "ti,ina238";
2157d059701SPeter Yin		reg = <0x44>;
2167d059701SPeter Yin		shunt-resistor = <1000>;
2177d059701SPeter Yin	};
2187d059701SPeter Yin
2197d059701SPeter Yin	power-sensor@45 {
2207d059701SPeter Yin		compatible = "ti,ina238";
2217d059701SPeter Yin		reg = <0x45>;
2227d059701SPeter Yin		shunt-resistor = <1000>;
2237d059701SPeter Yin	};
224bb3776e5SPeter Yin};
225bb3776e5SPeter Yin
226bb3776e5SPeter Yin&i2c1 {
227bb3776e5SPeter Yin	status = "okay";
228bb3776e5SPeter Yin
229645f9eb1SPeter Yin	temperature-sensor@4b {
230bb3776e5SPeter Yin		compatible = "ti,tmp75";
231bb3776e5SPeter Yin		reg = <0x4b>;
232bb3776e5SPeter Yin	};
2330a6821e2SPeter Yin
2340a6821e2SPeter Yin	// MB NIC FRU
2350a6821e2SPeter Yin	eeprom@50 {
2360a6821e2SPeter Yin		compatible = "atmel,24c64";
2370a6821e2SPeter Yin		reg = <0x50>;
2380a6821e2SPeter Yin	};
239bb3776e5SPeter Yin};
240bb3776e5SPeter Yin
241bb3776e5SPeter Yin&i2c2 {
242bb3776e5SPeter Yin	status = "okay";
243bb3776e5SPeter Yin
2444187ccb5SPeter Yin	pwm@5e{
245bb3776e5SPeter Yin		compatible = "max31790";
2467b55cf23SPeter Yin		reg = <0x5e>;
247bb3776e5SPeter Yin		#address-cells = <1>;
248bb3776e5SPeter Yin		#size-cells = <0>;
249bb3776e5SPeter Yin	};
2507d059701SPeter Yin
2517d059701SPeter Yin	power-sensor@40 {
2527d059701SPeter Yin		compatible = "ti,ina238";
2537d059701SPeter Yin		reg = <0x40>;
2547d059701SPeter Yin		shunt-resistor = <1000>;
2557d059701SPeter Yin	};
2567d059701SPeter Yin
2577d059701SPeter Yin	power-sensor@41 {
2587d059701SPeter Yin		compatible = "ti,ina238";
2597d059701SPeter Yin		reg = <0x41>;
2607d059701SPeter Yin		shunt-resistor = <1000>;
2617d059701SPeter Yin	};
2627d059701SPeter Yin
2637d059701SPeter Yin	power-sensor@44 {
2647d059701SPeter Yin		compatible = "ti,ina238";
2657d059701SPeter Yin		reg = <0x44>;
2667d059701SPeter Yin		shunt-resistor = <1000>;
2677d059701SPeter Yin	};
2687d059701SPeter Yin
2697d059701SPeter Yin	power-sensor@45 {
2707d059701SPeter Yin		compatible = "ti,ina238";
2717d059701SPeter Yin		reg = <0x45>;
2727d059701SPeter Yin		shunt-resistor = <1000>;
2737d059701SPeter Yin	};
274bb3776e5SPeter Yin};
275bb3776e5SPeter Yin
276bb3776e5SPeter Yin&i2c3 {
277bb3776e5SPeter Yin	status = "okay";
278bb3776e5SPeter Yin
279bb3776e5SPeter Yin	i2c-mux@70 {
280bb3776e5SPeter Yin		compatible = "nxp,pca9543";
281bb3776e5SPeter Yin		reg = <0x70>;
282bb3776e5SPeter Yin		#address-cells = <1>;
283bb3776e5SPeter Yin		#size-cells = <0>;
284bb3776e5SPeter Yin
285bb3776e5SPeter Yin		imux20: i2c@0 {
286bb3776e5SPeter Yin			#address-cells = <1>;
287bb3776e5SPeter Yin			#size-cells = <0>;
288bb3776e5SPeter Yin			reg = <0>;
289bb3776e5SPeter Yin			//Retimer Flash
290bb3776e5SPeter Yin			eeprom@50 {
291bb3776e5SPeter Yin				compatible = "atmel,24c2048";
292bb3776e5SPeter Yin				reg = <0x50>;
293bb3776e5SPeter Yin				pagesize = <128>;
294bb3776e5SPeter Yin			};
295bb3776e5SPeter Yin		};
296bb3776e5SPeter Yin		imux21: i2c@1 {
297bb3776e5SPeter Yin			#address-cells = <1>;
298bb3776e5SPeter Yin			#size-cells = <0>;
299bb3776e5SPeter Yin			reg = <1>;
300287ba28aSPeter Yin			retimer@24 {
301287ba28aSPeter Yin				compatible = "asteralabs,pt5161l";
302287ba28aSPeter Yin				reg = <0x24>;
303287ba28aSPeter Yin			};
304bb3776e5SPeter Yin		};
305bb3776e5SPeter Yin	};
306bb3776e5SPeter Yin};
307bb3776e5SPeter Yin
308bb3776e5SPeter Yin&i2c4 {
309bb3776e5SPeter Yin	status = "okay";
310bb3776e5SPeter Yin	// PDB FRU
311bb3776e5SPeter Yin	eeprom@52 {
312bb3776e5SPeter Yin		compatible = "atmel,24c64";
313bb3776e5SPeter Yin		reg = <0x52>;
314bb3776e5SPeter Yin	};
315bb3776e5SPeter Yin
3164187ccb5SPeter Yin	power-monitor@69 {
317bb3776e5SPeter Yin		compatible = "pmbus";
318bb3776e5SPeter Yin		reg = <0x69>;
319bb3776e5SPeter Yin	};
320645f9eb1SPeter Yin
321645f9eb1SPeter Yin	temperature-sensor@49 {
322645f9eb1SPeter Yin		compatible = "ti,tmp75";
323645f9eb1SPeter Yin		reg = <0x49>;
324645f9eb1SPeter Yin	};
325fc2891c7SPeter Yin
32616d66710SPeter Yin	power-monitor@44 {
32716d66710SPeter Yin		compatible = "lltc,ltc4287";
32816d66710SPeter Yin		reg = <0x44>;
32916d66710SPeter Yin		shunt-resistor-micro-ohms = <250>;
330fc2891c7SPeter Yin	};
331f0ad6cc9SPeter Yin
332f0ad6cc9SPeter Yin	power-monitor@40 {
333f0ad6cc9SPeter Yin		compatible = "infineon,xdp710";
334f0ad6cc9SPeter Yin		reg = <0x40>;
335f0ad6cc9SPeter Yin	};
336bb3776e5SPeter Yin};
337bb3776e5SPeter Yin
338bb3776e5SPeter Yin&i2c5 {
339bb3776e5SPeter Yin	status = "okay";
340bb3776e5SPeter Yin};
341bb3776e5SPeter Yin
342bb3776e5SPeter Yin&i2c6 {
343bb3776e5SPeter Yin	status = "okay";
344bb3776e5SPeter Yin
345bb3776e5SPeter Yin	i2c-mux@70 {
346bb3776e5SPeter Yin		compatible = "nxp,pca9543";
347bb3776e5SPeter Yin		reg = <0x70>;
348bb3776e5SPeter Yin		#address-cells = <1>;
349bb3776e5SPeter Yin		#size-cells = <0>;
350bb3776e5SPeter Yin
351bb3776e5SPeter Yin		imux22: i2c@0 {
352bb3776e5SPeter Yin			#address-cells = <1>;
353bb3776e5SPeter Yin			#size-cells = <0>;
354bb3776e5SPeter Yin			reg = <0>;
355bb3776e5SPeter Yin		};
356bb3776e5SPeter Yin		imux23: i2c@1 {
357bb3776e5SPeter Yin			#address-cells = <1>;
358bb3776e5SPeter Yin			#size-cells = <0>;
359bb3776e5SPeter Yin			reg = <1>;
360bb3776e5SPeter Yin		};
361bb3776e5SPeter Yin	};
362bb3776e5SPeter Yin};
363bb3776e5SPeter Yin
364bb3776e5SPeter Yin&i2c7 {
365bb3776e5SPeter Yin	status = "okay";
366bb3776e5SPeter Yin};
367bb3776e5SPeter Yin
368bb3776e5SPeter Yin&i2c8 {
369bb3776e5SPeter Yin	status = "okay";
370bb3776e5SPeter Yin};
371bb3776e5SPeter Yin
372bb3776e5SPeter Yin&i2c9 {
373bb3776e5SPeter Yin	status = "okay";
374bb3776e5SPeter Yin
375bb3776e5SPeter Yin	gpio@30 {
376bb3776e5SPeter Yin		compatible = "nxp,pca9555";
377bb3776e5SPeter Yin		reg = <0x30>;
378bb3776e5SPeter Yin		gpio-controller;
379bb3776e5SPeter Yin		#gpio-cells = <2>;
380bb3776e5SPeter Yin	};
381bb3776e5SPeter Yin	gpio@31 {
382bb3776e5SPeter Yin		compatible = "nxp,pca9555";
383bb3776e5SPeter Yin		reg = <0x31>;
384bb3776e5SPeter Yin		gpio-controller;
385bb3776e5SPeter Yin		#gpio-cells = <2>;
3864424cd4dSPeter Yin
3874424cd4dSPeter Yin		gpio-line-names =
3884424cd4dSPeter Yin		"","","","",
3894424cd4dSPeter Yin		"","","presence-cmm","",
3904424cd4dSPeter Yin		"","","","",
3914424cd4dSPeter Yin		"","","","";
392bb3776e5SPeter Yin	};
393bb3776e5SPeter Yin
394bb3776e5SPeter Yin	i2c-mux@71 {
395bb3776e5SPeter Yin		compatible = "nxp,pca9546";
396bb3776e5SPeter Yin		reg = <0x71>;
397bb3776e5SPeter Yin		#address-cells = <1>;
398bb3776e5SPeter Yin		#size-cells = <0>;
399bb3776e5SPeter Yin
400bb3776e5SPeter Yin		imux24: i2c@0 {
401bb3776e5SPeter Yin			#address-cells = <1>;
402bb3776e5SPeter Yin			#size-cells = <0>;
403bb3776e5SPeter Yin			reg = <0>;
404bb3776e5SPeter Yin		};
405bb3776e5SPeter Yin		imux25: i2c@1 {
406bb3776e5SPeter Yin			#address-cells = <1>;
407bb3776e5SPeter Yin			#size-cells = <0>;
408bb3776e5SPeter Yin			reg = <1>;
409bb3776e5SPeter Yin		};
410bb3776e5SPeter Yin		imux26: i2c@2 {
411bb3776e5SPeter Yin			#address-cells = <1>;
412bb3776e5SPeter Yin			#size-cells = <0>;
413bb3776e5SPeter Yin			reg = <2>;
414bb3776e5SPeter Yin		};
415bb3776e5SPeter Yin		imux27: i2c@3 {
416bb3776e5SPeter Yin			#address-cells = <1>;
417bb3776e5SPeter Yin			#size-cells = <0>;
418bb3776e5SPeter Yin			reg = <3>;
419bb3776e5SPeter Yin		};
420bb3776e5SPeter Yin	};
421bb3776e5SPeter Yin	// PTTV FRU
422bb3776e5SPeter Yin	eeprom@52 {
423bb3776e5SPeter Yin		compatible = "atmel,24c64";
424bb3776e5SPeter Yin		reg = <0x52>;
425bb3776e5SPeter Yin	};
426bb3776e5SPeter Yin};
427bb3776e5SPeter Yin
428bb3776e5SPeter Yin&i2c11 {
429bb3776e5SPeter Yin	status = "okay";
430*687d7e18SPeter Yin
431*687d7e18SPeter Yin	gpio@30 {
432*687d7e18SPeter Yin		compatible = "nxp,pca9555";
433*687d7e18SPeter Yin		reg = <0x30>;
434*687d7e18SPeter Yin		gpio-controller;
435*687d7e18SPeter Yin		#gpio-cells = <2>;
436*687d7e18SPeter Yin	};
437*687d7e18SPeter Yin	gpio@31 {
438*687d7e18SPeter Yin		compatible = "nxp,pca9555";
439*687d7e18SPeter Yin		reg = <0x31>;
440*687d7e18SPeter Yin		gpio-controller;
441*687d7e18SPeter Yin		#gpio-cells = <2>;
442*687d7e18SPeter Yin
443*687d7e18SPeter Yin		gpio-line-names =
444*687d7e18SPeter Yin		"","","","",
445*687d7e18SPeter Yin		"","","presence-cmm","",
446*687d7e18SPeter Yin		"","","","",
447*687d7e18SPeter Yin		"","","","";
448*687d7e18SPeter Yin	};
449*687d7e18SPeter Yin
450*687d7e18SPeter Yin	// Aegis FRU
451*687d7e18SPeter Yin	eeprom@52 {
452*687d7e18SPeter Yin		compatible = "atmel,24c64";
453*687d7e18SPeter Yin		reg = <0x52>;
454*687d7e18SPeter Yin	};
455bb3776e5SPeter Yin};
456bb3776e5SPeter Yin
457bb3776e5SPeter Yin&i2c12 {
458bb3776e5SPeter Yin	status = "okay";
459287ba28aSPeter Yin	retimer@24 {
460287ba28aSPeter Yin		compatible = "asteralabs,pt5161l";
461287ba28aSPeter Yin		reg = <0x24>;
462287ba28aSPeter Yin	};
463bb3776e5SPeter Yin};
464bb3776e5SPeter Yin
465bb3776e5SPeter Yin&i2c13 {
466bb3776e5SPeter Yin	status = "okay";
467bb3776e5SPeter Yin
468bb3776e5SPeter Yin	i2c-mux@70 {
469bb3776e5SPeter Yin		compatible = "nxp,pca9545";
470bb3776e5SPeter Yin		reg = <0x70>;
471bb3776e5SPeter Yin		#address-cells = <1>;
472bb3776e5SPeter Yin		#size-cells = <0>;
473bb3776e5SPeter Yin
474bb3776e5SPeter Yin		imux28: i2c@0 {
475bb3776e5SPeter Yin			#address-cells = <1>;
476bb3776e5SPeter Yin			#size-cells = <0>;
477bb3776e5SPeter Yin			reg = <0>;
478b44b6e3fSPeter Yin			power-monitor@61 {
479b44b6e3fSPeter Yin				compatible = "isil,isl69260";
480b44b6e3fSPeter Yin				reg = <0x61>;
481b44b6e3fSPeter Yin			};
482b44b6e3fSPeter Yin			power-monitor@62 {
483b44b6e3fSPeter Yin				compatible = "isil,isl69260";
484b44b6e3fSPeter Yin				reg = <0x62>;
485b44b6e3fSPeter Yin			};
486b44b6e3fSPeter Yin			power-monitor@63 {
487b44b6e3fSPeter Yin				compatible = "isil,isl69260";
488b44b6e3fSPeter Yin				reg = <0x63>;
489b44b6e3fSPeter Yin			};
490b44b6e3fSPeter Yin			power-monitor@64 {
491b44b6e3fSPeter Yin				compatible = "infineon,xdpe152c4";
492b44b6e3fSPeter Yin				reg = <0x64>;
493b44b6e3fSPeter Yin			};
494b44b6e3fSPeter Yin			power-monitor@66 {
495b44b6e3fSPeter Yin				compatible = "infineon,xdpe152c4";
496b44b6e3fSPeter Yin				reg = <0x66>;
497b44b6e3fSPeter Yin			};
498b44b6e3fSPeter Yin			power-monitor@68 {
499b44b6e3fSPeter Yin				compatible = "infineon,xdpe152c4";
500b44b6e3fSPeter Yin				reg = <0x68>;
501b44b6e3fSPeter Yin			};
502bb3776e5SPeter Yin		};
503bb3776e5SPeter Yin		imux29: i2c@1 {
504bb3776e5SPeter Yin			#address-cells = <1>;
505bb3776e5SPeter Yin			#size-cells = <0>;
506bb3776e5SPeter Yin			reg = <1>;
507bb3776e5SPeter Yin			//MB FRU
508bb3776e5SPeter Yin			eeprom@54 {
509bb3776e5SPeter Yin				compatible = "atmel,24c64";
510bb3776e5SPeter Yin				reg = <0x54>;
511bb3776e5SPeter Yin			};
512bb3776e5SPeter Yin		};
513bb3776e5SPeter Yin		imux30: i2c@2 {
514bb3776e5SPeter Yin			#address-cells = <1>;
515bb3776e5SPeter Yin			#size-cells = <0>;
516bb3776e5SPeter Yin			reg = <2>;
517bb3776e5SPeter Yin		};
518bb3776e5SPeter Yin		imux31: i2c@3 {
519bb3776e5SPeter Yin			#address-cells = <1>;
520bb3776e5SPeter Yin			#size-cells = <0>;
521bb3776e5SPeter Yin			reg = <3>;
522bb3776e5SPeter Yin		};
523bb3776e5SPeter Yin	};
524bb3776e5SPeter Yin};
525bb3776e5SPeter Yin
526bb3776e5SPeter Yin// To Debug card
527bb3776e5SPeter Yin&i2c14 {
528bb3776e5SPeter Yin	status = "okay";
529bb3776e5SPeter Yin	multi-master;
530bb3776e5SPeter Yin
531bb3776e5SPeter Yin	ipmb@10 {
532bb3776e5SPeter Yin		compatible = "ipmb-dev";
533bb3776e5SPeter Yin		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
534bb3776e5SPeter Yin		i2c-protocol;
535bb3776e5SPeter Yin	};
536bb3776e5SPeter Yin};
537bb3776e5SPeter Yin
538bb3776e5SPeter Yin&i2c15 {
539bb3776e5SPeter Yin	status = "okay";
540bb3776e5SPeter Yin
541bb3776e5SPeter Yin	// SCM FRU
542bb3776e5SPeter Yin	eeprom@50 {
543bb3776e5SPeter Yin		compatible = "atmel,24c64";
544bb3776e5SPeter Yin		reg = <0x50>;
545bb3776e5SPeter Yin	};
546bb3776e5SPeter Yin
547bb3776e5SPeter Yin	// BSM FRU
548bb3776e5SPeter Yin	eeprom@56 {
549bb3776e5SPeter Yin		compatible = "atmel,24c64";
550bb3776e5SPeter Yin		reg = <0x56>;
551bb3776e5SPeter Yin	};
552bb3776e5SPeter Yin};
553bb3776e5SPeter Yin
554bb3776e5SPeter Yin&adc0 {
555bb3776e5SPeter Yin	aspeed,int-vref-microvolt = <2500000>;
556bb3776e5SPeter Yin	status = "okay";
557bb3776e5SPeter Yin	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
558bb3776e5SPeter Yin		&pinctrl_adc2_default &pinctrl_adc3_default
559bb3776e5SPeter Yin		&pinctrl_adc4_default &pinctrl_adc5_default
560bb3776e5SPeter Yin		&pinctrl_adc6_default &pinctrl_adc7_default>;
561bb3776e5SPeter Yin};
562bb3776e5SPeter Yin
563bb3776e5SPeter Yin&adc1 {
564bb3776e5SPeter Yin	aspeed,int-vref-microvolt = <2500000>;
565bb3776e5SPeter Yin	status = "okay";
566bb3776e5SPeter Yin	pinctrl-names = "default";
567bb3776e5SPeter Yin	pinctrl-0 = <&pinctrl_adc10_default>;
568bb3776e5SPeter Yin};
569bb3776e5SPeter Yin
570bb3776e5SPeter Yin&ehci0 {
571bb3776e5SPeter Yin	status = "okay";
572bb3776e5SPeter Yin};
573bb3776e5SPeter Yin
574bb3776e5SPeter Yin&gpio0 {
575bb3776e5SPeter Yin	pinctrl-names = "default";
576bb3776e5SPeter Yin	gpio-line-names =
577bb3776e5SPeter Yin	/*A0-A7*/	"","","","","","","","",
578bb3776e5SPeter Yin	/*B0-B7*/	"","","","",
579bb3776e5SPeter Yin			"bmc-spi-mux-select-0","led-identify","","",
5804424cd4dSPeter Yin	/*C0-C7*/	"reset-cause-platrst","","","","",
5814424cd4dSPeter Yin			"cpu0-err-alert","","",
582bb3776e5SPeter Yin	/*D0-D7*/	"","","sol-uart-select","","","","","",
583bb3776e5SPeter Yin	/*E0-E7*/	"","","","","","","","",
584bb3776e5SPeter Yin	/*F0-F7*/	"","","","","","","","",
585bb3776e5SPeter Yin	/*G0-G7*/	"","","","","","","","",
586bb3776e5SPeter Yin	/*H0-H7*/	"","","","","","","","",
587bb3776e5SPeter Yin	/*I0-I7*/	"","","","","","","","",
588bb3776e5SPeter Yin	/*J0-J7*/	"","","","","","","","",
589bb3776e5SPeter Yin	/*K0-K7*/	"","","","","","","","",
5904424cd4dSPeter Yin	/*L0-L7*/	"","","","",
5914424cd4dSPeter Yin			"leakage-detect-alert","","","",
592bb3776e5SPeter Yin	/*M0-M7*/	"","","","","","","","",
593bb3776e5SPeter Yin	/*N0-N7*/	"led-postcode-0","led-postcode-1",
594bb3776e5SPeter Yin			"led-postcode-2","led-postcode-3",
595bb3776e5SPeter Yin			"led-postcode-4","led-postcode-5",
596bb3776e5SPeter Yin			"led-postcode-6","led-postcode-7",
597bb3776e5SPeter Yin	/*O0-O7*/	"","","","","","","","",
598bb3776e5SPeter Yin	/*P0-P7*/	"power-button","power-host-control",
599bb3776e5SPeter Yin			"reset-button","","led-power","","","",
600aeebc5a4SPeter Yin	/*Q0-Q7*/	"","","","","","power-chassis-control","","",
601bb3776e5SPeter Yin	/*R0-R7*/	"","","","","","","","",
602bb3776e5SPeter Yin	/*S0-S7*/	"","","","","","","","",
603bb3776e5SPeter Yin	/*T0-T7*/	"","","","","","","","",
604bb3776e5SPeter Yin	/*U0-U7*/	"","","","","","","led-identify-gate","",
605bb3776e5SPeter Yin	/*V0-V7*/	"","","","",
606aeebc5a4SPeter Yin			"rtc-battery-voltage-read-enable","",
607aeebc5a4SPeter Yin			"power-chassis-good","",
608bb3776e5SPeter Yin	/*W0-W7*/	"","","","","","","","",
609bb3776e5SPeter Yin	/*X0-X7*/	"","","","","","","","",
610bb3776e5SPeter Yin	/*Y0-Y7*/	"","","","","","","","",
6114424cd4dSPeter Yin	/*Z0-Z7*/	"","","","","","","presence-post-card","";
6124424cd4dSPeter Yin};
6134424cd4dSPeter Yin
6144424cd4dSPeter Yin&gpio1 {
6154424cd4dSPeter Yin	gpio-line-names =
6164424cd4dSPeter Yin	/*18A0-18A7*/ "ac-power-button","","","","","","","",
6174424cd4dSPeter Yin	/*18B0-18B7*/ "","","","","","","","",
6184424cd4dSPeter Yin	/*18C0-18C7*/ "","","","","","","","",
6194424cd4dSPeter Yin	/*18D0-18D7*/ "","","","","","","","",
6204424cd4dSPeter Yin	/*18E0-18E3*/ "","","","","","","","";
621bb3776e5SPeter Yin};
622bb3776e5SPeter Yin
623bb3776e5SPeter Yin&sgpiom0 {
624bb3776e5SPeter Yin	status = "okay";
625bb3776e5SPeter Yin	max-ngpios = <128>;
626bb3776e5SPeter Yin	ngpios = <128>;
627bb3776e5SPeter Yin	bus-frequency = <2000000>;
628bb3776e5SPeter Yin	gpio-line-names =
629bb3776e5SPeter Yin	/*in - out - in - out */
630bb3776e5SPeter Yin	/*A0-A3 line 0-7*/
631bb3776e5SPeter Yin	"presence-scm-cable","power-config-disable-e1s-0",
632bb3776e5SPeter Yin	"","",
633bb3776e5SPeter Yin	"","power-config-disable-e1s-1",
634bb3776e5SPeter Yin	"","",
635bb3776e5SPeter Yin	/*A4-A7 line 8-15*/
636bb3776e5SPeter Yin	"","power-config-asic-module-enable",
637bb3776e5SPeter Yin	"","power-config-asic-power-good",
638bb3776e5SPeter Yin	"","power-config-pdb-power-good",
639bb3776e5SPeter Yin	"presence-cpu","smi-control-n",
640bb3776e5SPeter Yin	/*B0-B3 line 16-23*/
641bb3776e5SPeter Yin	"","nmi-control-n",
642bb3776e5SPeter Yin	"","nmi-control-sync-flood-n",
643bb3776e5SPeter Yin	"","",
644bb3776e5SPeter Yin	"","",
645bb3776e5SPeter Yin	/*B4-B7 line 24-31*/
646bb3776e5SPeter Yin	"","FM_CPU_SP5R1",
647bb3776e5SPeter Yin	"reset-cause-rsmrst","FM_CPU_SP5R2",
648bb3776e5SPeter Yin	"","FM_CPU_SP5R3",
649bb3776e5SPeter Yin	"","FM_CPU_SP5R4",
650bb3776e5SPeter Yin	/*C0-C3 line 32-39*/
651bb3776e5SPeter Yin	"","FM_CPU0_SA0",
652bb3776e5SPeter Yin	"","FM_CPU0_SA1",
653bb3776e5SPeter Yin	"","rt-cpu0-p0-enable",
654bb3776e5SPeter Yin	"","rt-cpu0-p1-enable",
655bb3776e5SPeter Yin	/*C4-C7 line 40-47*/
656bb3776e5SPeter Yin	"","smb-rt-rom-p0-select",
657bb3776e5SPeter Yin	"","smb-rt-rom-p1-select",
658bb3776e5SPeter Yin	"","i3c-cpu-mux0-oe-n",
659bb3776e5SPeter Yin	"","i3c-cpu-mux0-select",
660bb3776e5SPeter Yin	/*D0-D3 line 48-55*/
661bb3776e5SPeter Yin	"","i3c-cpu-mux1-oe-n",
662bb3776e5SPeter Yin	"","i3c-cpu-mux1-select",
663bb3776e5SPeter Yin	"","reset-control-bmc",
664bb3776e5SPeter Yin	"","reset-control-cpu0-p0-mux",
665bb3776e5SPeter Yin	/*D4-D7 line 56-63*/
666bb3776e5SPeter Yin	"","reset-control-cpu0-p1-mux",
667bb3776e5SPeter Yin	"","reset-control-e1s-mux",
668bb3776e5SPeter Yin	"power-host-good","reset-control-mb-mux",
6694424cd4dSPeter Yin	"host0-ready","reset-control-smb-e1s-0",
670bb3776e5SPeter Yin	/*E0-E3 line 64-71*/
671a78bfc10SPeter Yin	"","reset-control-smb-e1s-1",
6724424cd4dSPeter Yin	"post-end-n","reset-control-srst",
673bb3776e5SPeter Yin	"presence-e1s-0","reset-control-usb-hub",
674bb3776e5SPeter Yin	"","reset-control",
675bb3776e5SPeter Yin	/*E4-E7 line 72-79*/
676bb3776e5SPeter Yin	"presence-e1s-1","reset-control-cpu-kbrst",
677bb3776e5SPeter Yin	"","reset-control-platrst",
678bb3776e5SPeter Yin	"","bmc-jtag-mux-select-0",
679bb3776e5SPeter Yin	"","bmc-jtag-mux-select-1",
680bb3776e5SPeter Yin	/*F0-F3 line 80-87*/
681bb3776e5SPeter Yin	"","bmc-jtag-select",
682bb3776e5SPeter Yin	"","bmc-ready-n",
683bb3776e5SPeter Yin	"","bmc-ready-sgpio",
684bb3776e5SPeter Yin	"","rt-cpu0-p0-force-enable",
685bb3776e5SPeter Yin	/*F4-F7 line 88-95*/
686bb3776e5SPeter Yin	"presence-asic-modules-0","rt-cpu0-p1-force-enable",
687bb3776e5SPeter Yin	"presence-asic-modules-1","bios-debug-msg-disable",
688bb3776e5SPeter Yin	"","uart-control-buffer-select",
689bb3776e5SPeter Yin	"","ac-control-n",
690bb3776e5SPeter Yin	/*G0-G3 line 96-103*/
691bb3776e5SPeter Yin	"FM_CPU_CORETYPE2","",
692bb3776e5SPeter Yin	"FM_CPU_CORETYPE1","",
693bb3776e5SPeter Yin	"FM_CPU_CORETYPE0","",
694bb3776e5SPeter Yin	"FM_BOARD_REV_ID5","",
695bb3776e5SPeter Yin	/*G4-G7 line 104-111*/
696bb3776e5SPeter Yin	"FM_BOARD_REV_ID4","",
697bb3776e5SPeter Yin	"FM_BOARD_REV_ID3","",
698bb3776e5SPeter Yin	"FM_BOARD_REV_ID2","",
699bb3776e5SPeter Yin	"FM_BOARD_REV_ID1","",
700bb3776e5SPeter Yin	/*H0-H3 line 112-119*/
701bb3776e5SPeter Yin	"FM_BOARD_REV_ID0","",
702bb3776e5SPeter Yin	"","","","","","",
703bb3776e5SPeter Yin	/*H4-H7 line 120-127*/
704bb3776e5SPeter Yin	"","",
705bb3776e5SPeter Yin	"reset-control-pcie-expansion-3","",
706bb3776e5SPeter Yin	"reset-control-pcie-expansion-2","",
707bb3776e5SPeter Yin	"reset-control-pcie-expansion-1","",
708bb3776e5SPeter Yin	/*I0-I3 line 128-135*/
709bb3776e5SPeter Yin	"reset-control-pcie-expansion-0","",
710bb3776e5SPeter Yin	"FM_EXP_SLOT_ID1","",
711bb3776e5SPeter Yin	"FM_EXP_SLOT_ID0","",
712bb3776e5SPeter Yin	"","",
713bb3776e5SPeter Yin	/*I4-I7 line 136-143*/
714bb3776e5SPeter Yin	"","","","","","","","",
715bb3776e5SPeter Yin	/*J0-J3 line 144-151*/
716bb3776e5SPeter Yin	"","","","","","","","",
717bb3776e5SPeter Yin	/*J4-J7 line 152-159*/
718bb3776e5SPeter Yin	"SLOT_ID_BCB_0","",
719bb3776e5SPeter Yin	"SLOT_ID_BCB_1","",
720bb3776e5SPeter Yin	"SLOT_ID_BCB_2","",
721bb3776e5SPeter Yin	"SLOT_ID_BCB_3","",
722bb3776e5SPeter Yin	/*K0-K3 line 160-167*/
7234424cd4dSPeter Yin	"","","","","","","P0_I3C_APML_ALERT_L","",
724bb3776e5SPeter Yin	/*K4-K7 line 168-175*/
7254424cd4dSPeter Yin	"","","","","","","irq-uv-detect-alert","",
726bb3776e5SPeter Yin	/*L0-L3 line 176-183*/
7274424cd4dSPeter Yin	"irq-hsc-alert","",
7284424cd4dSPeter Yin	"cpu0-prochot-alert","",
7294424cd4dSPeter Yin	"cpu0-thermtrip-alert","",
7304424cd4dSPeter Yin	"reset-cause-pcie","",
731bb3776e5SPeter Yin	/*L4-L7 line 184-191*/
7324424cd4dSPeter Yin	"pvdd11-ocp-alert","","","","","","","",
733bb3776e5SPeter Yin	/*M0-M3 line 192-199*/
734bb3776e5SPeter Yin	"","","","","","","","",
735bb3776e5SPeter Yin	/*M4-M7 line 200-207*/
736bb3776e5SPeter Yin	"","","","","","","","",
737bb3776e5SPeter Yin	/*N0-N3 line 208-215*/
738bb3776e5SPeter Yin	"","","","","","","","",
739bb3776e5SPeter Yin	/*N4-N7 line 216-223*/
740bb3776e5SPeter Yin	"","","","","","","","",
741bb3776e5SPeter Yin	/*O0-O3 line 224-231*/
742bb3776e5SPeter Yin	"","","","","","","","",
743bb3776e5SPeter Yin	/*O4-O7 line 232-239*/
744bb3776e5SPeter Yin	"","","","","","","","",
745bb3776e5SPeter Yin	/*P0-P3 line 240-247*/
746bb3776e5SPeter Yin	"","","","","","","","",
747bb3776e5SPeter Yin	/*P4-P7 line 248-255*/
748bb3776e5SPeter Yin	"","","","","","","","";
749bb3776e5SPeter Yin};
750