xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-minerva.dts (revision 629e75e5dc88d8236027604b750fa4ed75d24ee9)
16ee9b939SYang Chen// SPDX-License-Identifier: GPL-2.0+
26ee9b939SYang Chen// Copyright (c) 2023 Facebook Inc.
36ee9b939SYang Chen/dts-v1/;
46ee9b939SYang Chen
56ee9b939SYang Chen#include "aspeed-g6.dtsi"
66ee9b939SYang Chen#include <dt-bindings/gpio/aspeed-gpio.h>
76ee9b939SYang Chen#include <dt-bindings/i2c/i2c.h>
86ee9b939SYang Chen
96ee9b939SYang Chen/ {
106ee9b939SYang Chen	model = "Facebook Minerva CMM";
116ee9b939SYang Chen	compatible = "facebook,minerva-cmc", "aspeed,ast2600";
126ee9b939SYang Chen
136ee9b939SYang Chen	aliases {
14606fe7e5SYang Chen		serial4 = &uart5;
15606fe7e5SYang Chen		serial5 = &uart6;
16b2daa191SYang Chen		/*
17b2daa191SYang Chen		 * PCA9548 (2-0077) provides 8 channels connecting to
18b2daa191SYang Chen		 * 6 pcs of FCB (Fan Controller Board).
19b2daa191SYang Chen		 */
20b2daa191SYang Chen		i2c16 = &imux16;
21b2daa191SYang Chen		i2c17 = &imux17;
22b2daa191SYang Chen		i2c18 = &imux18;
23b2daa191SYang Chen		i2c19 = &imux19;
24b2daa191SYang Chen		i2c20 = &imux20;
25b2daa191SYang Chen		i2c21 = &imux21;
266ee9b939SYang Chen	};
276ee9b939SYang Chen
286ee9b939SYang Chen	chosen {
296ee9b939SYang Chen		stdout-path = "serial5:57600n8";
306ee9b939SYang Chen	};
316ee9b939SYang Chen
326ee9b939SYang Chen	memory@80000000 {
336ee9b939SYang Chen		device_type = "memory";
346ee9b939SYang Chen		reg = <0x80000000 0x80000000>;
356ee9b939SYang Chen	};
366ee9b939SYang Chen
376ee9b939SYang Chen	iio-hwmon {
386ee9b939SYang Chen		compatible = "iio-hwmon";
396ee9b939SYang Chen		io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
406ee9b939SYang Chen			<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
416ee9b939SYang Chen			<&adc1 2>;
426ee9b939SYang Chen	};
43bb4d3038SYang Chen
44bb4d3038SYang Chen	leds {
45bb4d3038SYang Chen		compatible = "gpio-leds";
46bb4d3038SYang Chen
4790098bb3SYang Chen		led-0 {
4890098bb3SYang Chen			label = "bmc_heartbeat_amber";
4990098bb3SYang Chen			gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
5090098bb3SYang Chen			linux,default-trigger = "heartbeat";
5190098bb3SYang Chen		};
5290098bb3SYang Chen
5390098bb3SYang Chen		led-1 {
5490098bb3SYang Chen			label = "fp_id_amber";
5590098bb3SYang Chen			default-state = "off";
5690098bb3SYang Chen			gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
5790098bb3SYang Chen		};
5890098bb3SYang Chen
5990098bb3SYang Chen		led-2 {
6090098bb3SYang Chen			label = "power_blue";
6190098bb3SYang Chen			default-state = "off";
6290098bb3SYang Chen			gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
6390098bb3SYang Chen		};
6490098bb3SYang Chen
6590098bb3SYang Chen		led-3 {
6690098bb3SYang Chen			label = "fan_status_led";
67bb4d3038SYang Chen			gpios = <&leds_gpio 9 GPIO_ACTIVE_HIGH>;
68bb4d3038SYang Chen			default-state = "off";
69bb4d3038SYang Chen		};
7090098bb3SYang Chen
7190098bb3SYang Chen		led-4 {
7290098bb3SYang Chen			label = "fan_fault_led_n";
7390098bb3SYang Chen			gpios = <&leds_gpio 10 GPIO_ACTIVE_LOW>;
7490098bb3SYang Chen			default-state = "off";
7590098bb3SYang Chen		};
76bb4d3038SYang Chen	};
776ee9b939SYang Chen};
786ee9b939SYang Chen
796ee9b939SYang Chen&uart6 {
806ee9b939SYang Chen	status = "okay";
816ee9b939SYang Chen};
826ee9b939SYang Chen
836ee9b939SYang Chen&wdt1 {
846ee9b939SYang Chen	status = "okay";
856ee9b939SYang Chen	pinctrl-names = "default";
866ee9b939SYang Chen	pinctrl-0 = <&pinctrl_wdtrst1_default>;
876ee9b939SYang Chen	aspeed,reset-type = "soc";
886ee9b939SYang Chen	aspeed,external-signal;
896ee9b939SYang Chen	aspeed,ext-push-pull;
906ee9b939SYang Chen	aspeed,ext-active-high;
916ee9b939SYang Chen	aspeed,ext-pulse-duration = <256>;
926ee9b939SYang Chen};
936ee9b939SYang Chen
946ee9b939SYang Chen&mac3 {
956ee9b939SYang Chen	status = "okay";
96cb188e3fSYang Chen	phy-mode = "rmii";
976ee9b939SYang Chen	pinctrl-names = "default";
986ee9b939SYang Chen	pinctrl-0 = <&pinctrl_rmii4_default>;
99cb188e3fSYang Chen	fixed-link {
100cb188e3fSYang Chen		speed = <100>;
101cb188e3fSYang Chen		full-duplex;
102cb188e3fSYang Chen	};
1036ee9b939SYang Chen};
1046ee9b939SYang Chen
105183d8a59SYang Chen&mdio3 {
106183d8a59SYang Chen	status = "okay";
107183d8a59SYang Chen};
108183d8a59SYang Chen
1096ee9b939SYang Chen&fmc {
1106ee9b939SYang Chen	status = "okay";
1116ee9b939SYang Chen	flash@0 {
1126ee9b939SYang Chen		status = "okay";
1136ee9b939SYang Chen		m25p,fast-read;
1146ee9b939SYang Chen		label = "bmc";
1156ee9b939SYang Chen		spi-max-frequency = <50000000>;
1166ee9b939SYang Chen#include "openbmc-flash-layout-128.dtsi"
1176ee9b939SYang Chen	};
1186ee9b939SYang Chen	flash@1 {
1196ee9b939SYang Chen		status = "okay";
1206ee9b939SYang Chen		m25p,fast-read;
1216ee9b939SYang Chen		label = "alt-bmc";
1226ee9b939SYang Chen		spi-max-frequency = <50000000>;
1236ee9b939SYang Chen	};
1246ee9b939SYang Chen};
1256ee9b939SYang Chen
1268061d80dSYang Chen&sgpiom0 {
1276ee9b939SYang Chen	status = "okay";
1286ee9b939SYang Chen	ngpios = <128>;
1296ee9b939SYang Chen	bus-frequency = <2000000>;
1306ee9b939SYang Chen};
1316ee9b939SYang Chen
1326ee9b939SYang Chen&i2c0 {
1336ee9b939SYang Chen	status = "okay";
134331dfa00SYang Chen
135331dfa00SYang Chen	power-monitor@40 {
136331dfa00SYang Chen		compatible = "ti,ina230";
137331dfa00SYang Chen		reg = <0x40>;
138331dfa00SYang Chen		shunt-resistor = <1000>;
139331dfa00SYang Chen	};
140331dfa00SYang Chen
141331dfa00SYang Chen	power-monitor@41 {
142331dfa00SYang Chen		compatible = "ti,ina230";
143331dfa00SYang Chen		reg = <0x41>;
144331dfa00SYang Chen		shunt-resistor = <1000>;
145331dfa00SYang Chen	};
146331dfa00SYang Chen
147331dfa00SYang Chen	power-monitor@67 {
148331dfa00SYang Chen		compatible = "adi,ltc2945";
149331dfa00SYang Chen		reg = <0x67>;
150331dfa00SYang Chen	};
151331dfa00SYang Chen
152331dfa00SYang Chen	power-monitor@68 {
153331dfa00SYang Chen		compatible = "adi,ltc2945";
154331dfa00SYang Chen		reg = <0x68>;
155331dfa00SYang Chen	};
156bb4d3038SYang Chen
157bb4d3038SYang Chen	leds_gpio: gpio@19 {
158bb4d3038SYang Chen		compatible = "nxp,pca9555";
159bb4d3038SYang Chen		reg = <0x19>;
160bb4d3038SYang Chen		gpio-controller;
161bb4d3038SYang Chen		#gpio-cells = <2>;
162bb4d3038SYang Chen	};
1636ee9b939SYang Chen};
1646ee9b939SYang Chen
1656ee9b939SYang Chen&i2c1 {
1666ee9b939SYang Chen	status = "okay";
1676ee9b939SYang Chen
1686ee9b939SYang Chen	temperature-sensor@4b {
1696ee9b939SYang Chen		compatible = "ti,tmp75";
170feab10dfSYang Chen		reg = <0x4b>;
171feab10dfSYang Chen	};
172feab10dfSYang Chen
173931f1333SYang Chen	temperature-sensor@4f {
174feab10dfSYang Chen		compatible = "ti,tmp75";
175931f1333SYang Chen		reg = <0x4f>;
1766ee9b939SYang Chen	};
1776ee9b939SYang Chen
17837f295a2SYang Chen	eeprom@54 {
1796ee9b939SYang Chen		compatible = "atmel,24c128";
18037f295a2SYang Chen		reg = <0x54>;
1816ee9b939SYang Chen	};
1826ee9b939SYang Chen};
1836ee9b939SYang Chen
1846ee9b939SYang Chen&i2c2 {
1856ee9b939SYang Chen	status = "okay";
1866ee9b939SYang Chen
1876ee9b939SYang Chen	i2c-mux@77 {
1886ee9b939SYang Chen		compatible = "nxp,pca9548";
1896ee9b939SYang Chen		reg = <0x77>;
1906ee9b939SYang Chen		#address-cells = <1>;
1916ee9b939SYang Chen		#size-cells = <0>;
1926ee9b939SYang Chen		i2c-mux-idle-disconnect;
1936ee9b939SYang Chen
194b2daa191SYang Chen		imux16: i2c@0 {
1956ee9b939SYang Chen			#address-cells = <1>;
1966ee9b939SYang Chen			#size-cells = <0>;
1976ee9b939SYang Chen			reg = <0>;
1986ee9b939SYang Chen
1996ee9b939SYang Chen			eeprom@50 {
2006ee9b939SYang Chen				compatible = "atmel,24c128";
2016ee9b939SYang Chen				reg = <0x50>;
2026ee9b939SYang Chen			};
2032dcb5ca7SYang Chen
2042dcb5ca7SYang Chen			pwm@5e{
2052dcb5ca7SYang Chen				compatible = "max31790";
2062dcb5ca7SYang Chen				reg = <0x5e>;
2072dcb5ca7SYang Chen				#address-cells = <1>;
2082dcb5ca7SYang Chen				#size-cells = <0>;
2092dcb5ca7SYang Chen			};
210c0bb01e2SYang Chen
211c0bb01e2SYang Chen			power-sensor@40 {
212c0bb01e2SYang Chen				compatible = "ti,ina238";
213c0bb01e2SYang Chen				reg = <0x40>;
214c0bb01e2SYang Chen				shunt-resistor = <1000>;
215c0bb01e2SYang Chen			};
216c0bb01e2SYang Chen
217c0bb01e2SYang Chen			power-sensor@41 {
218c0bb01e2SYang Chen				compatible = "ti,ina238";
219c0bb01e2SYang Chen				reg = <0x41>;
220c0bb01e2SYang Chen				shunt-resistor = <1000>;
221c0bb01e2SYang Chen			};
222c0bb01e2SYang Chen
223c0bb01e2SYang Chen			power-sensor@44 {
224c0bb01e2SYang Chen				compatible = "ti,ina238";
225c0bb01e2SYang Chen				reg = <0x44>;
226c0bb01e2SYang Chen				shunt-resistor = <1000>;
227c0bb01e2SYang Chen			};
228c0bb01e2SYang Chen
229c0bb01e2SYang Chen			power-sensor@45 {
230c0bb01e2SYang Chen				compatible = "ti,ina238";
231c0bb01e2SYang Chen				reg = <0x45>;
232c0bb01e2SYang Chen				shunt-resistor = <1000>;
233c0bb01e2SYang Chen			};
234*629e75e5SYang Chen
235*629e75e5SYang Chen			temperature-sensor@4b {
236*629e75e5SYang Chen				compatible = "ti,tmp75";
237*629e75e5SYang Chen				reg = <0x4b>;
238*629e75e5SYang Chen			};
2396ee9b939SYang Chen		};
2406ee9b939SYang Chen
241b2daa191SYang Chen		imux17: i2c@1 {
2426ee9b939SYang Chen			#address-cells = <1>;
2436ee9b939SYang Chen			#size-cells = <0>;
2446ee9b939SYang Chen			reg = <1>;
2456ee9b939SYang Chen
2466ee9b939SYang Chen			eeprom@50 {
2476ee9b939SYang Chen				compatible = "atmel,24c128";
2486ee9b939SYang Chen				reg = <0x50>;
2496ee9b939SYang Chen			};
2502dcb5ca7SYang Chen
2512dcb5ca7SYang Chen			pwm@5e{
2522dcb5ca7SYang Chen				compatible = "max31790";
2532dcb5ca7SYang Chen				reg = <0x5e>;
2542dcb5ca7SYang Chen				#address-cells = <1>;
2552dcb5ca7SYang Chen				#size-cells = <0>;
2562dcb5ca7SYang Chen			};
257c0bb01e2SYang Chen
258c0bb01e2SYang Chen			power-sensor@40 {
259c0bb01e2SYang Chen				compatible = "ti,ina238";
260c0bb01e2SYang Chen				reg = <0x40>;
261c0bb01e2SYang Chen				shunt-resistor = <1000>;
262c0bb01e2SYang Chen			};
263c0bb01e2SYang Chen
264c0bb01e2SYang Chen			power-sensor@41 {
265c0bb01e2SYang Chen				compatible = "ti,ina238";
266c0bb01e2SYang Chen				reg = <0x41>;
267c0bb01e2SYang Chen				shunt-resistor = <1000>;
268c0bb01e2SYang Chen			};
269c0bb01e2SYang Chen
270c0bb01e2SYang Chen			power-sensor@44 {
271c0bb01e2SYang Chen				compatible = "ti,ina238";
272c0bb01e2SYang Chen				reg = <0x44>;
273c0bb01e2SYang Chen				shunt-resistor = <1000>;
274c0bb01e2SYang Chen			};
275c0bb01e2SYang Chen
276c0bb01e2SYang Chen			power-sensor@45 {
277c0bb01e2SYang Chen				compatible = "ti,ina238";
278c0bb01e2SYang Chen				reg = <0x45>;
279c0bb01e2SYang Chen				shunt-resistor = <1000>;
280c0bb01e2SYang Chen			};
281*629e75e5SYang Chen
282*629e75e5SYang Chen			temperature-sensor@4b {
283*629e75e5SYang Chen				compatible = "ti,tmp75";
284*629e75e5SYang Chen				reg = <0x4b>;
285*629e75e5SYang Chen			};
2866ee9b939SYang Chen		};
2876ee9b939SYang Chen
288b2daa191SYang Chen		imux18: i2c@2 {
2896ee9b939SYang Chen			#address-cells = <1>;
2906ee9b939SYang Chen			#size-cells = <0>;
2916ee9b939SYang Chen			reg = <2>;
2926ee9b939SYang Chen
2936ee9b939SYang Chen			eeprom@50 {
2946ee9b939SYang Chen				compatible = "atmel,24c128";
2956ee9b939SYang Chen				reg = <0x50>;
2966ee9b939SYang Chen			};
2972dcb5ca7SYang Chen
2982dcb5ca7SYang Chen			pwm@5e{
2992dcb5ca7SYang Chen				compatible = "max31790";
3002dcb5ca7SYang Chen				reg = <0x5e>;
3012dcb5ca7SYang Chen				#address-cells = <1>;
3022dcb5ca7SYang Chen				#size-cells = <0>;
3032dcb5ca7SYang Chen			};
304c0bb01e2SYang Chen
305c0bb01e2SYang Chen			power-sensor@40 {
306c0bb01e2SYang Chen				compatible = "ti,ina238";
307c0bb01e2SYang Chen				reg = <0x40>;
308c0bb01e2SYang Chen				shunt-resistor = <1000>;
309c0bb01e2SYang Chen			};
310c0bb01e2SYang Chen
311c0bb01e2SYang Chen			power-sensor@41 {
312c0bb01e2SYang Chen				compatible = "ti,ina238";
313c0bb01e2SYang Chen				reg = <0x41>;
314c0bb01e2SYang Chen				shunt-resistor = <1000>;
315c0bb01e2SYang Chen			};
316c0bb01e2SYang Chen
317c0bb01e2SYang Chen			power-sensor@44 {
318c0bb01e2SYang Chen				compatible = "ti,ina238";
319c0bb01e2SYang Chen				reg = <0x44>;
320c0bb01e2SYang Chen				shunt-resistor = <1000>;
321c0bb01e2SYang Chen			};
322c0bb01e2SYang Chen
323c0bb01e2SYang Chen			power-sensor@45 {
324c0bb01e2SYang Chen				compatible = "ti,ina238";
325c0bb01e2SYang Chen				reg = <0x45>;
326c0bb01e2SYang Chen				shunt-resistor = <1000>;
327c0bb01e2SYang Chen			};
328*629e75e5SYang Chen
329*629e75e5SYang Chen			temperature-sensor@4b {
330*629e75e5SYang Chen				compatible = "ti,tmp75";
331*629e75e5SYang Chen				reg = <0x4b>;
332*629e75e5SYang Chen			};
3336ee9b939SYang Chen		};
3346ee9b939SYang Chen
335b2daa191SYang Chen		imux19: i2c@3 {
3366ee9b939SYang Chen			#address-cells = <1>;
3376ee9b939SYang Chen			#size-cells = <0>;
3386ee9b939SYang Chen			reg = <3>;
3396ee9b939SYang Chen
3406ee9b939SYang Chen			eeprom@50 {
3416ee9b939SYang Chen				compatible = "atmel,24c128";
3426ee9b939SYang Chen				reg = <0x50>;
3436ee9b939SYang Chen			};
3442dcb5ca7SYang Chen
3452dcb5ca7SYang Chen			pwm@5e{
3462dcb5ca7SYang Chen				compatible = "max31790";
3472dcb5ca7SYang Chen				reg = <0x5e>;
3482dcb5ca7SYang Chen				#address-cells = <1>;
3492dcb5ca7SYang Chen				#size-cells = <0>;
3502dcb5ca7SYang Chen			};
351c0bb01e2SYang Chen
352c0bb01e2SYang Chen			power-sensor@40 {
353c0bb01e2SYang Chen				compatible = "ti,ina238";
354c0bb01e2SYang Chen				reg = <0x40>;
355c0bb01e2SYang Chen				shunt-resistor = <1000>;
356c0bb01e2SYang Chen			};
357c0bb01e2SYang Chen
358c0bb01e2SYang Chen			power-sensor@41 {
359c0bb01e2SYang Chen				compatible = "ti,ina238";
360c0bb01e2SYang Chen				reg = <0x41>;
361c0bb01e2SYang Chen				shunt-resistor = <1000>;
362c0bb01e2SYang Chen			};
363c0bb01e2SYang Chen
364c0bb01e2SYang Chen			power-sensor@44 {
365c0bb01e2SYang Chen				compatible = "ti,ina238";
366c0bb01e2SYang Chen				reg = <0x44>;
367c0bb01e2SYang Chen				shunt-resistor = <1000>;
368c0bb01e2SYang Chen			};
369c0bb01e2SYang Chen
370c0bb01e2SYang Chen			power-sensor@45 {
371c0bb01e2SYang Chen				compatible = "ti,ina238";
372c0bb01e2SYang Chen				reg = <0x45>;
373c0bb01e2SYang Chen				shunt-resistor = <1000>;
374c0bb01e2SYang Chen			};
375*629e75e5SYang Chen
376*629e75e5SYang Chen			temperature-sensor@4b {
377*629e75e5SYang Chen				compatible = "ti,tmp75";
378*629e75e5SYang Chen				reg = <0x4b>;
379*629e75e5SYang Chen			};
3806ee9b939SYang Chen		};
3816ee9b939SYang Chen
382b2daa191SYang Chen		imux20: i2c@4 {
3836ee9b939SYang Chen			#address-cells = <1>;
3846ee9b939SYang Chen			#size-cells = <0>;
3856ee9b939SYang Chen			reg = <4>;
3866ee9b939SYang Chen
3876ee9b939SYang Chen			eeprom@50 {
3886ee9b939SYang Chen				compatible = "atmel,24c128";
3896ee9b939SYang Chen				reg = <0x50>;
3906ee9b939SYang Chen			};
3912dcb5ca7SYang Chen
3922dcb5ca7SYang Chen			pwm@5e{
3932dcb5ca7SYang Chen				compatible = "max31790";
3942dcb5ca7SYang Chen				reg = <0x5e>;
3952dcb5ca7SYang Chen				#address-cells = <1>;
3962dcb5ca7SYang Chen				#size-cells = <0>;
3972dcb5ca7SYang Chen			};
398c0bb01e2SYang Chen
399c0bb01e2SYang Chen			power-sensor@40 {
400c0bb01e2SYang Chen				compatible = "ti,ina238";
401c0bb01e2SYang Chen				reg = <0x40>;
402c0bb01e2SYang Chen				shunt-resistor = <1000>;
403c0bb01e2SYang Chen			};
404c0bb01e2SYang Chen
405c0bb01e2SYang Chen			power-sensor@41 {
406c0bb01e2SYang Chen				compatible = "ti,ina238";
407c0bb01e2SYang Chen				reg = <0x41>;
408c0bb01e2SYang Chen				shunt-resistor = <1000>;
409c0bb01e2SYang Chen			};
410c0bb01e2SYang Chen
411c0bb01e2SYang Chen			power-sensor@44 {
412c0bb01e2SYang Chen				compatible = "ti,ina238";
413c0bb01e2SYang Chen				reg = <0x44>;
414c0bb01e2SYang Chen				shunt-resistor = <1000>;
415c0bb01e2SYang Chen			};
416c0bb01e2SYang Chen
417c0bb01e2SYang Chen			power-sensor@45 {
418c0bb01e2SYang Chen				compatible = "ti,ina238";
419c0bb01e2SYang Chen				reg = <0x45>;
420c0bb01e2SYang Chen				shunt-resistor = <1000>;
421c0bb01e2SYang Chen			};
422*629e75e5SYang Chen			temperature-sensor@4b {
423*629e75e5SYang Chen				compatible = "ti,tmp75";
424*629e75e5SYang Chen				reg = <0x4b>;
425*629e75e5SYang Chen			};
4266ee9b939SYang Chen		};
4276ee9b939SYang Chen
428b2daa191SYang Chen		imux21: i2c@5 {
4296ee9b939SYang Chen			#address-cells = <1>;
4306ee9b939SYang Chen			#size-cells = <0>;
4316ee9b939SYang Chen			reg = <5>;
4326ee9b939SYang Chen
4336ee9b939SYang Chen			eeprom@50 {
4346ee9b939SYang Chen				compatible = "atmel,24c128";
4356ee9b939SYang Chen				reg = <0x50>;
4366ee9b939SYang Chen			};
4372dcb5ca7SYang Chen
4382dcb5ca7SYang Chen			pwm@5e{
4392dcb5ca7SYang Chen				compatible = "max31790";
4402dcb5ca7SYang Chen				reg = <0x5e>;
4412dcb5ca7SYang Chen				#address-cells = <1>;
4422dcb5ca7SYang Chen				#size-cells = <0>;
4432dcb5ca7SYang Chen			};
444c0bb01e2SYang Chen
445c0bb01e2SYang Chen			power-sensor@40 {
446c0bb01e2SYang Chen				compatible = "ti,ina238";
447c0bb01e2SYang Chen				reg = <0x40>;
448c0bb01e2SYang Chen				shunt-resistor = <1000>;
449c0bb01e2SYang Chen			};
450c0bb01e2SYang Chen
451c0bb01e2SYang Chen			power-sensor@41 {
452c0bb01e2SYang Chen				compatible = "ti,ina238";
453c0bb01e2SYang Chen				reg = <0x41>;
454c0bb01e2SYang Chen				shunt-resistor = <1000>;
455c0bb01e2SYang Chen			};
456c0bb01e2SYang Chen
457c0bb01e2SYang Chen			power-sensor@44 {
458c0bb01e2SYang Chen				compatible = "ti,ina238";
459c0bb01e2SYang Chen				reg = <0x44>;
460c0bb01e2SYang Chen				shunt-resistor = <1000>;
461c0bb01e2SYang Chen			};
462c0bb01e2SYang Chen
463c0bb01e2SYang Chen			power-sensor@45 {
464c0bb01e2SYang Chen				compatible = "ti,ina238";
465c0bb01e2SYang Chen				reg = <0x45>;
466c0bb01e2SYang Chen				shunt-resistor = <1000>;
467c0bb01e2SYang Chen			};
468*629e75e5SYang Chen			temperature-sensor@4b {
469*629e75e5SYang Chen				compatible = "ti,tmp75";
470*629e75e5SYang Chen				reg = <0x4b>;
471*629e75e5SYang Chen			};
4726ee9b939SYang Chen		};
4736ee9b939SYang Chen	};
4746ee9b939SYang Chen};
4756ee9b939SYang Chen
4766ee9b939SYang Chen&i2c3 {
4776ee9b939SYang Chen	status = "okay";
4786ee9b939SYang Chen};
4796ee9b939SYang Chen
4806ee9b939SYang Chen&i2c4 {
4816ee9b939SYang Chen	status = "okay";
4826ee9b939SYang Chen};
4836ee9b939SYang Chen
4846ee9b939SYang Chen&i2c5 {
4856ee9b939SYang Chen	status = "okay";
4866ee9b939SYang Chen};
4876ee9b939SYang Chen
4886ee9b939SYang Chen&i2c6 {
4896ee9b939SYang Chen	status = "okay";
4906ee9b939SYang Chen};
4916ee9b939SYang Chen
4926ee9b939SYang Chen&i2c7 {
4936ee9b939SYang Chen	status = "okay";
4946ee9b939SYang Chen};
4956ee9b939SYang Chen
4966ee9b939SYang Chen&i2c8 {
4976ee9b939SYang Chen	status = "okay";
4986ee9b939SYang Chen};
4996ee9b939SYang Chen
5006ee9b939SYang Chen&i2c9 {
5016ee9b939SYang Chen	status = "okay";
502adb385a3SYang Chen
503adb385a3SYang Chen	eeprom@50 {
504adb385a3SYang Chen		compatible = "atmel,24c64";
505adb385a3SYang Chen		reg = <0x50>;
506adb385a3SYang Chen	};
507fff89fbaSYang Chen
508fff89fbaSYang Chen	rtc@51 {
509fff89fbaSYang Chen		compatible = "nxp,pcf8563";
510fff89fbaSYang Chen		reg = <0x51>;
511fff89fbaSYang Chen	};
5126ee9b939SYang Chen};
5136ee9b939SYang Chen
5146ee9b939SYang Chen&i2c12 {
5156ee9b939SYang Chen	status = "okay";
5166ee9b939SYang Chen};
5176ee9b939SYang Chen
5186ee9b939SYang Chen&i2c13 {
5196ee9b939SYang Chen	status = "okay";
5206ee9b939SYang Chen};
5216ee9b939SYang Chen
5226ee9b939SYang Chen&i2c14 {
5236ee9b939SYang Chen	status = "okay";
5246ee9b939SYang Chen	multi-master;
5256ee9b939SYang Chen
5266ee9b939SYang Chen	ipmb@10 {
5276ee9b939SYang Chen		compatible = "ipmb-dev";
5286ee9b939SYang Chen		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
5296ee9b939SYang Chen		i2c-protocol;
5306ee9b939SYang Chen	};
5316ee9b939SYang Chen};
5326ee9b939SYang Chen
5336ee9b939SYang Chen&i2c15 {
5346ee9b939SYang Chen	status = "okay";
5356ee9b939SYang Chen
5366ee9b939SYang Chen	eeprom@50 {
5376ee9b939SYang Chen		compatible = "atmel,24c128";
5386ee9b939SYang Chen		reg = <0x50>;
5396ee9b939SYang Chen	};
540adb385a3SYang Chen
541adb385a3SYang Chen	eeprom@56 {
542adb385a3SYang Chen		compatible = "atmel,24c64";
543adb385a3SYang Chen		reg = <0x56>;
544adb385a3SYang Chen	};
5456ee9b939SYang Chen};
5466ee9b939SYang Chen
5476ee9b939SYang Chen&adc0 {
5486ee9b939SYang Chen	aspeed,int-vref-microvolt = <2500000>;
5496ee9b939SYang Chen	status = "okay";
5506ee9b939SYang Chen	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
5516ee9b939SYang Chen		&pinctrl_adc2_default &pinctrl_adc3_default
5526ee9b939SYang Chen		&pinctrl_adc4_default &pinctrl_adc5_default
5536ee9b939SYang Chen		&pinctrl_adc6_default &pinctrl_adc7_default>;
5546ee9b939SYang Chen};
5556ee9b939SYang Chen
5566ee9b939SYang Chen&adc1 {
5576ee9b939SYang Chen	aspeed,int-vref-microvolt = <2500000>;
5586ee9b939SYang Chen	status = "okay";
5596ee9b939SYang Chen	pinctrl-0 = <&pinctrl_adc10_default>;
5606ee9b939SYang Chen};
5616ee9b939SYang Chen
562469e35ccSYang Chen&ehci0 {
563469e35ccSYang Chen	status = "okay";
564469e35ccSYang Chen};
565469e35ccSYang Chen
5666ee9b939SYang Chen&ehci1 {
5676ee9b939SYang Chen	status = "okay";
5686ee9b939SYang Chen};
5696ee9b939SYang Chen
5706ee9b939SYang Chen&uhci {
5716ee9b939SYang Chen	status = "okay";
5726ee9b939SYang Chen};
57325a56a92SYang Chen
57425a56a92SYang Chen&gpio0 {
57525a56a92SYang Chen	gpio-line-names =
57625a56a92SYang Chen	/*A0-A7*/	"","","","","","","","",
57725a56a92SYang Chen	/*B0-B7*/	"","","","","","","","",
57825a56a92SYang Chen	/*C0-C7*/	"","","","","BLADE_UART_SEL2","","","",
57925a56a92SYang Chen	/*D0-D7*/	"","","","","","","","",
58025a56a92SYang Chen	/*E0-E7*/	"","","","","","","","",
58125a56a92SYang Chen	/*F0-F7*/	"","","","","","","","",
58225a56a92SYang Chen	/*G0-G7*/	"","","","","","","","",
58325a56a92SYang Chen	/*H0-H7*/	"","","","","","","","",
58425a56a92SYang Chen	/*I0-I7*/	"","","","","","","","",
58525a56a92SYang Chen	/*J0-J7*/	"","","","","","","","",
58625a56a92SYang Chen	/*K0-K7*/	"","","","","","","","",
58725a56a92SYang Chen	/*L0-L7*/	"","","","","BLADE_UART_SEL0","","","",
58825a56a92SYang Chen	/*M0-M7*/	"","","","","","BLADE_UART_SEL1","","",
58925a56a92SYang Chen	/*N0-N7*/	"","","","","","","","",
59025a56a92SYang Chen	/*O0-O7*/	"","","","","","","","",
59125a56a92SYang Chen	/*P0-P7*/	"","","","","","","","",
5926fcb6ad6SYang Chen	/*Q0-Q7*/	"","","","","","power-chassis-control","","",
59325a56a92SYang Chen	/*R0-R7*/	"","","","","","","","",
59425a56a92SYang Chen	/*S0-S7*/	"","","","","","","","",
59525a56a92SYang Chen	/*T0-T7*/	"","","","","","","","",
59625a56a92SYang Chen	/*U0-U7*/	"","","","","","","","",
5976fcb6ad6SYang Chen	/*V0-V7*/	"","","","","BAT_DETECT","","power-chassis-good","",
59825a56a92SYang Chen	/*W0-W7*/	"","","","","","","","",
59925a56a92SYang Chen	/*X0-X7*/	"","","BLADE_UART_SEL3","","","","","",
60025a56a92SYang Chen	/*Y0-Y7*/	"","","","","","","","",
60125a56a92SYang Chen	/*Z0-Z7*/	"","","","","","","","";
60225a56a92SYang Chen};
60351493f0fSYang Chen
60451493f0fSYang Chen&sgpiom0 {
60551493f0fSYang Chen	gpio-line-names =
60651493f0fSYang Chen	/*"input pin","output pin"*/
60751493f0fSYang Chen	/*A0 - A7*/
60851493f0fSYang Chen	"PRSNT_MTIA_BLADE0_N","PWREN_MTIA_BLADE0_EN",
60951493f0fSYang Chen	"PRSNT_MTIA_BLADE1_N","PWREN_MTIA_BLADE1_EN",
61051493f0fSYang Chen	"PRSNT_MTIA_BLADE2_N","PWREN_MTIA_BLADE2_EN",
61151493f0fSYang Chen	"PRSNT_MTIA_BLADE3_N","PWREN_MTIA_BLADE3_EN",
61251493f0fSYang Chen	"PRSNT_MTIA_BLADE4_N","PWREN_MTIA_BLADE4_EN",
61351493f0fSYang Chen	"PRSNT_MTIA_BLADE5_N","PWREN_MTIA_BLADE5_EN",
61451493f0fSYang Chen	"PRSNT_MTIA_BLADE6_N","PWREN_MTIA_BLADE6_EN",
61551493f0fSYang Chen	"PRSNT_MTIA_BLADE7_N","PWREN_MTIA_BLADE7_EN",
61651493f0fSYang Chen	/*B0 - B7*/
61751493f0fSYang Chen	"PRSNT_MTIA_BLADE8_N","PWREN_MTIA_BLADE8_EN",
61851493f0fSYang Chen	"PRSNT_MTIA_BLADE9_N","PWREN_MTIA_BLADE9_EN",
61951493f0fSYang Chen	"PRSNT_MTIA_BLADE10_N","PWREN_MTIA_BLADE10_EN",
62051493f0fSYang Chen	"PRSNT_MTIA_BLADE11_N","PWREN_MTIA_BLADE11_EN",
62151493f0fSYang Chen	"PRSNT_MTIA_BLADE12_N","PWREN_MTIA_BLADE12_EN",
62251493f0fSYang Chen	"PRSNT_MTIA_BLADE13_N","PWREN_MTIA_BLADE13_EN",
62351493f0fSYang Chen	"PRSNT_MTIA_BLADE14_N","PWREN_MTIA_BLADE14_EN",
62451493f0fSYang Chen	"PRSNT_MTIA_BLADE15_N","PWREN_MTIA_BLADE15_EN",
62551493f0fSYang Chen	/*C0 - C7*/
62651493f0fSYang Chen	"PRSNT_NW_BLADE0_N","PWREN_NW_BLADE0_EN",
62751493f0fSYang Chen	"PRSNT_NW_BLADE1_N","PWREN_NW_BLADE1_EN",
62851493f0fSYang Chen	"PRSNT_NW_BLADE2_N","PWREN_NW_BLADE2_EN",
62951493f0fSYang Chen	"PRSNT_NW_BLADE3_N","PWREN_NW_BLADE3_EN",
63051493f0fSYang Chen	"PRSNT_NW_BLADE4_N","PWREN_NW_BLADE4_EN",
63151493f0fSYang Chen	"PRSNT_NW_BLADE5_N","PWREN_NW_BLADE5_EN",
63251493f0fSYang Chen	"PRSNT_FCB_TOP_0_N","PWREN_MTIA_BLADE0_HSC_EN",
63351493f0fSYang Chen	"PRSNT_FCB_TOP_1_N","PWREN_MTIA_BLADE1_HSC_EN",
63451493f0fSYang Chen	/*D0 - D7*/
63551493f0fSYang Chen	"PRSNT_FCB_MIDDLE_0_N","PWREN_MTIA_BLADE2_HSC_EN",
63651493f0fSYang Chen	"PRSNT_FCB_MIDDLE_1_N","PWREN_MTIA_BLADE3_HSC_EN",
63751493f0fSYang Chen	"PRSNT_FCB_BOTTOM_0_N","PWREN_MTIA_BLADE4_HSC_EN",
63851493f0fSYang Chen	"PRSNT_FCB_BOTTOM_1_N","PWREN_MTIA_BLADE5_HSC_EN",
63951493f0fSYang Chen	"PWRGD_MTIA_BLADE0_PWROK_L_BUF","PWREN_MTIA_BLADE6_HSC_EN",
64051493f0fSYang Chen	"PWRGD_MTIA_BLADE1_PWROK_L_BUF","PWREN_MTIA_BLADE7_HSC_EN",
64151493f0fSYang Chen	"PWRGD_MTIA_BLADE2_PWROK_L_BUF","PWREN_MTIA_BLADE8_HSC_EN",
64251493f0fSYang Chen	"PWRGD_MTIA_BLADE3_PWROK_L_BUF","PWREN_MTIA_BLADE9_HSC_EN",
64351493f0fSYang Chen	/*E0 - E7*/
64451493f0fSYang Chen	"PWRGD_MTIA_BLADE4_PWROK_L_BUF","PWREN_MTIA_BLADE10_HSC_EN",
64551493f0fSYang Chen	"PWRGD_MTIA_BLADE5_PWROK_L_BUF","PWREN_MTIA_BLADE11_HSC_EN",
64651493f0fSYang Chen	"PWRGD_MTIA_BLADE6_PWROK_L_BUF","PWREN_MTIA_BLADE12_HSC_EN",
64751493f0fSYang Chen	"PWRGD_MTIA_BLADE7_PWROK_L_BUF","PWREN_MTIA_BLADE13_HSC_EN",
64851493f0fSYang Chen	"PWRGD_MTIA_BLADE8_PWROK_L_BUF","PWREN_MTIA_BLADE14_HSC_EN",
64951493f0fSYang Chen	"PWRGD_MTIA_BLADE9_PWROK_L_BUF","PWREN_MTIA_BLADE15_HSC_EN",
65051493f0fSYang Chen	"PWRGD_MTIA_BLADE10_PWROK_L_BUF","PWREN_NW_BLADE0_HSC_EN",
65151493f0fSYang Chen	"PWRGD_MTIA_BLADE11_PWROK_L_BUF","PWREN_NW_BLADE1_HSC_EN",
65251493f0fSYang Chen	/*F0 - F7*/
65351493f0fSYang Chen	"PWRGD_MTIA_BLADE12_PWROK_L_BUF","PWREN_NW_BLADE2_HSC_EN",
65451493f0fSYang Chen	"PWRGD_MTIA_BLADE13_PWROK_L_BUF","PWREN_NW_BLADE3_HSC_EN",
65551493f0fSYang Chen	"PWRGD_MTIA_BLADE14_PWROK_L_BUF","PWREN_NW_BLADE4_HSC_EN",
65651493f0fSYang Chen	"PWRGD_MTIA_BLADE15_PWROK_L_BUF","PWREN_NW_BLADE5_HSC_EN",
65751493f0fSYang Chen	"PWRGD_NW_BLADE0_PWROK_L_BUF","PWREN_FCB_TOP_L_EN",
65851493f0fSYang Chen	"PWRGD_NW_BLADE1_PWROK_L_BUF","PWREN_FCB_TOP_R_EN",
65951493f0fSYang Chen	"PWRGD_NW_BLADE2_PWROK_L_BUF","PWREN_FCB_MIDDLE_L_EN",
66051493f0fSYang Chen	"PWRGD_NW_BLADE3_PWROK_L_BUF","PWREN_FCB_MIDDLE_R_EN",
66151493f0fSYang Chen	/*G0 - G7*/
66251493f0fSYang Chen	"PWRGD_NW_BLADE4_PWROK_L_BUF","PWREN_FCB_BOTTOM_L_EN",
66351493f0fSYang Chen	"PWRGD_NW_BLADE5_PWROK_L_BUF","PWREN_FCB_BOTTOM_R_EN",
66451493f0fSYang Chen	"PWRGD_FCB_TOP_0_PWROK_L_BUF","FM_CMM_AC_CYCLE_N",
66551493f0fSYang Chen	"PWRGD_FCB_TOP_1_PWROK_L_BUF","MGMT_SFP_TX_DIS",
66651493f0fSYang Chen	"PWRGD_FCB_MIDDLE_0_PWROK_L_BUF","",
66751493f0fSYang Chen	"PWRGD_FCB_MIDDLE_1_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE0_1_N",
66851493f0fSYang Chen	"PWRGD_FCB_BOTTOM_0_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE2_3_N",
66951493f0fSYang Chen	"PWRGD_FCB_BOTTOM_1_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE4_5_N",
67051493f0fSYang Chen	/*H0 - H7*/
67151493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE0_N_BUF","RST_I2CRST_MTIA_BLADE6_7_N",
67251493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE1_N_BUF","RST_I2CRST_MTIA_BLADE8_9_N",
67351493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE2_N_BUF","RST_I2CRST_MTIA_BLADE10_11_N",
67451493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE3_N_BUF","RST_I2CRST_MTIA_BLADE12_13_N",
67551493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE4_N_BUF","RST_I2CRST_MTIA_BLADE14_15_N",
67651493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE5_N_BUF","RST_I2CRST_NW_BLADE0_1_2_N",
67751493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE6_N_BUF","RST_I2CRST_NW_BLADE3_4_5_N",
67851493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE7_N_BUF","RST_I2CRST_FCB_N",
67951493f0fSYang Chen	/*I0 - I7*/
68051493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE8_N_BUF","RST_I2CRST_FCB_B_L_N",
68151493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE9_N_BUF","RST_I2CRST_FCB_B_R_N",
68251493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE10_N_BUF","RST_I2CRST_FCB_M_L_N",
68351493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE11_N_BUF","RST_I2CRST_FCB_M_R_N",
68451493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE12_N_BUF","RST_I2CRST_FCB_T_L_N",
68551493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE13_N_BUF","RST_I2CRST_FCB_T_R_N",
68651493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE14_N_BUF","BMC_READY",
68751493f0fSYang Chen	"LEAK_DETECT_MTIA_BLADE15_N_BUF","wFM_88E6393X_BIN_UPDATE_EN_N",
68851493f0fSYang Chen	/*J0 - J7*/
68951493f0fSYang Chen	"LEAK_DETECT_NW_BLADE0_N_BUF","WATER_VALVE_CLOSED_N",
69051493f0fSYang Chen	"LEAK_DETECT_NW_BLADE1_N_BUF","",
69151493f0fSYang Chen	"LEAK_DETECT_NW_BLADE2_N_BUF","",
69251493f0fSYang Chen	"LEAK_DETECT_NW_BLADE3_N_BUF","",
69351493f0fSYang Chen	"LEAK_DETECT_NW_BLADE4_N_BUF","",
69451493f0fSYang Chen	"LEAK_DETECT_NW_BLADE5_N_BUF","",
69551493f0fSYang Chen	"MTIA_BLADE0_STATUS_LED","",
69651493f0fSYang Chen	"MTIA_BLADE1_STATUS_LED","",
69751493f0fSYang Chen	/*K0 - K7*/
69851493f0fSYang Chen	"MTIA_BLADE2_STATUS_LED","",
69951493f0fSYang Chen	"MTIA_BLADE3_STATUS_LED","",
70051493f0fSYang Chen	"MTIA_BLADE4_STATUS_LED","",
70151493f0fSYang Chen	"MTIA_BLADE5_STATUS_LED","",
70251493f0fSYang Chen	"MTIA_BLADE6_STATUS_LED","",
70351493f0fSYang Chen	"MTIA_BLADE7_STATUS_LED","",
70451493f0fSYang Chen	"MTIA_BLADE8_STATUS_LED","",
70551493f0fSYang Chen	"MTIA_BLADE9_STATUS_LED","",
70651493f0fSYang Chen	/*L0 - L7*/
70751493f0fSYang Chen	"MTIA_BLADE10_STATUS_LED","",
70851493f0fSYang Chen	"MTIA_BLADE11_STATUS_LED","",
70951493f0fSYang Chen	"MTIA_BLADE12_STATUS_LED","",
71051493f0fSYang Chen	"MTIA_BLADE13_STATUS_LED","",
71151493f0fSYang Chen	"MTIA_BLADE14_STATUS_LED","",
71251493f0fSYang Chen	"MTIA_BLADE15_STATUS_LED","",
71351493f0fSYang Chen	"NW_BLADE0_STATUS_LED","",
71451493f0fSYang Chen	"NW_BLADE1_STATUS_LED","",
71551493f0fSYang Chen	/*M0 - M7*/
71651493f0fSYang Chen	"NW_BLADE2_STATUS_LED","",
71751493f0fSYang Chen	"NW_BLADE3_STATUS_LED","",
71851493f0fSYang Chen	"NW_BLADE4_STATUS_LED","",
71951493f0fSYang Chen	"NW_BLADE5_STATUS_LED","",
72051493f0fSYang Chen	"RPU_READY","",
72151493f0fSYang Chen	"IT_GEAR_RPU_LINK_N","",
72251493f0fSYang Chen	"IT_GEAR_LEAK","",
72351493f0fSYang Chen	"WATER_VALVE_CLOSED_N","",
72451493f0fSYang Chen	/*N0 - N7*/
72551493f0fSYang Chen	"VALVE_STS0","",
72651493f0fSYang Chen	"VALVE_STS1","",
72751493f0fSYang Chen	"VALVE_STS2","",
72851493f0fSYang Chen	"VALVE_STS3","",
72951493f0fSYang Chen	"CR_TOGGLE_BOOT_BUF_N","",
73051493f0fSYang Chen	"CMM_LC_RDY_LED_N","",
73151493f0fSYang Chen	"CMM_LC_UNRDY_LED_N","",
73251493f0fSYang Chen	"CMM_CABLE_CARTRIDGE_PRSNT_BOT_N","",
73351493f0fSYang Chen	/*O0 - O7*/
73451493f0fSYang Chen	"CMM_CABLE_CARTRIDGE_PRSNT_TOP_N","",
73551493f0fSYang Chen	"BOT_BCB_CABLE_PRSNT_N","",
73651493f0fSYang Chen	"TOP_BCB_CABLE_PRSNT_N","",
73751493f0fSYang Chen	"CHASSIS0_LEAK_Q_N","",
73851493f0fSYang Chen	"CHASSIS1_LEAK_Q_N","",
73951493f0fSYang Chen	"LEAK0_DETECT","",
74051493f0fSYang Chen	"LEAK1_DETECT","",
74151493f0fSYang Chen	"MGMT_SFP_PRSNT_N","",
74251493f0fSYang Chen	/*P0 - P7*/
74351493f0fSYang Chen	"MGMT_SFP_TX_FAULT","",
74451493f0fSYang Chen	"MGMT_SFP_RX_LOS","",
74551493f0fSYang Chen	"","",
74651493f0fSYang Chen	"","",
74751493f0fSYang Chen	"","",
74851493f0fSYang Chen	"","",
74951493f0fSYang Chen	"","",
75051493f0fSYang Chen	"","";
75151493f0fSYang Chen};
752