xref: /freebsd-src/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-inspur-nf5280m6.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot// Copyright (c) 2021 Inspur Corporation
3f126890aSEmmanuel Vadot/dts-v1/;
4f126890aSEmmanuel Vadot
5f126890aSEmmanuel Vadot#include "aspeed-g5.dtsi"
6f126890aSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/i2c/i2c.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/leds/leds-pca955x.h>
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/ {
11f126890aSEmmanuel Vadot	model = "NF5280M6 BMC";
12f126890aSEmmanuel Vadot	compatible = "inspur,nf5280m6-bmc", "aspeed,ast2500";
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	chosen {
15f126890aSEmmanuel Vadot		stdout-path = &uart5;
16f126890aSEmmanuel Vadot		bootargs = "console=ttyS4,115200 earlycon";
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	memory@80000000 {
20f126890aSEmmanuel Vadot		reg = <0x80000000 0x40000000>;
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	reserved-memory {
24f126890aSEmmanuel Vadot		#address-cells = <1>;
25f126890aSEmmanuel Vadot		#size-cells = <1>;
26f126890aSEmmanuel Vadot		ranges;
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot		vga_memory: framebuffer@9f000000 {
29f126890aSEmmanuel Vadot			no-map;
30f126890aSEmmanuel Vadot			reg = <0x9f000000 0x01000000>; /* 16M */
31f126890aSEmmanuel Vadot		};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot		video_engine_memory: jpegbuffer {
34f126890aSEmmanuel Vadot			size = <0x02000000>;	/* 32M */
35f126890aSEmmanuel Vadot			alignment = <0x01000000>;
36f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
37f126890aSEmmanuel Vadot			reusable;
38f126890aSEmmanuel Vadot		};
39f126890aSEmmanuel Vadot	};
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot	leds {
42f126890aSEmmanuel Vadot	    compatible = "gpio-leds";
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot		bmc_alive {
45f126890aSEmmanuel Vadot			label = "bmc_alive";
46f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>;
47f126890aSEmmanuel Vadot			linux,default-trigger = "timer";
48f126890aSEmmanuel Vadot			led-pattern = <1000 1000>;
49f126890aSEmmanuel Vadot		};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		front-fan {
52f126890aSEmmanuel Vadot			label = "front-fan";
53f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(F,2) GPIO_ACTIVE_LOW>;
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot	    front-psu {
57f126890aSEmmanuel Vadot			label = "front-psu";
58f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(F,3) GPIO_ACTIVE_LOW>;
59f126890aSEmmanuel Vadot		};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot	    front-syshot {
62f126890aSEmmanuel Vadot			label = "front-syshot";
63f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>;
64f126890aSEmmanuel Vadot		};
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot		front-memory {
67f126890aSEmmanuel Vadot			label = "front-memory";
68f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(S, 7) GPIO_ACTIVE_LOW>;
69f126890aSEmmanuel Vadot		};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot		identify {
72f126890aSEmmanuel Vadot			label = "identify";
73f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
74f126890aSEmmanuel Vadot		};
75f126890aSEmmanuel Vadot	};
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot	iio-hwmon {
78f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
79f126890aSEmmanuel Vadot		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
80f126890aSEmmanuel Vadot			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
81f126890aSEmmanuel Vadot			<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
82f126890aSEmmanuel Vadot			<&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
83f126890aSEmmanuel Vadot	};
84f126890aSEmmanuel Vadot};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot&fmc {
87f126890aSEmmanuel Vadot	status = "okay";
88f126890aSEmmanuel Vadot	flash@0 {
89f126890aSEmmanuel Vadot		status = "okay";
90f126890aSEmmanuel Vadot		m25p,fast-read;
91f126890aSEmmanuel Vadot		label = "bmc";
92f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
93f126890aSEmmanuel Vadot#include "openbmc-flash-layout.dtsi"
94f126890aSEmmanuel Vadot	};
95f126890aSEmmanuel Vadot};
96f126890aSEmmanuel Vadot
97f126890aSEmmanuel Vadot&spi1 {
98f126890aSEmmanuel Vadot	status = "okay";
99f126890aSEmmanuel Vadot	pinctrl-names = "default";
100f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi1_default>;
101f126890aSEmmanuel Vadot	flash@0 {
102f126890aSEmmanuel Vadot		status = "okay";
103f126890aSEmmanuel Vadot		m25p,fast-read;
104f126890aSEmmanuel Vadot		label = "bios";
105f126890aSEmmanuel Vadot		spi-max-frequency = <100000000>;
106f126890aSEmmanuel Vadot	};
107f126890aSEmmanuel Vadot};
108f126890aSEmmanuel Vadot
109f126890aSEmmanuel Vadot&uart1 {
110f126890aSEmmanuel Vadot	status = "okay";
111f126890aSEmmanuel Vadot};
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot&uart5 {
114f126890aSEmmanuel Vadot	status = "okay";
115f126890aSEmmanuel Vadot};
116f126890aSEmmanuel Vadot
117f126890aSEmmanuel Vadot&mac0 {
118f126890aSEmmanuel Vadot	status = "okay";
119f126890aSEmmanuel Vadot
120f126890aSEmmanuel Vadot	pinctrl-names = "default";
121f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rmii1_default>;
122f126890aSEmmanuel Vadot	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
123f126890aSEmmanuel Vadot		<&syscon ASPEED_CLK_MAC1RCLK>;
124f126890aSEmmanuel Vadot	clock-names = "MACCLK", "RCLK";
125f126890aSEmmanuel Vadot	use-ncsi;
126f126890aSEmmanuel Vadot};
127f126890aSEmmanuel Vadot
128f126890aSEmmanuel Vadot&mac1 {
129f126890aSEmmanuel Vadot	status = "okay";
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot	pinctrl-names = "default";
132f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
133f126890aSEmmanuel Vadot};
134f126890aSEmmanuel Vadot
135f126890aSEmmanuel Vadot&gpio {
136f126890aSEmmanuel Vadot	status = "okay";
137f126890aSEmmanuel Vadot	/* Enable GPIOE0 and GPIOE2 pass-through by default */
138f126890aSEmmanuel Vadot	pinctrl-names = "pass-through";
139f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpie0_default
140f126890aSEmmanuel Vadot			&pinctrl_gpie2_default>;
141f126890aSEmmanuel Vadot	gpio-line-names =
142f126890aSEmmanuel Vadot	/*A0-A7*/	"","MAC2LINK","BMC_RESET_CPLD","","BMC_SCL9","","MAC2MDC_R","",
143f126890aSEmmanuel Vadot	/*B0-B7*/	"BMC_INIT_OK","FM_SKU_ID2","FM_SPD_DDRCPU_LVLSHFT_DIS_R_N",
144f126890aSEmmanuel Vadot				"FM_CPU_MSMI_CATERR_LVT3_BMC_N","","FM_CPU0_PROCHOT_LVT3_N",
145f126890aSEmmanuel Vadot				"FM_CPU_MEM_THERMTRIP_LVT3_N","BIOS_LOAD_DEFAULT_R_N",
146f126890aSEmmanuel Vadot	/*C0-C7*/	"","","","","","","","",
147f126890aSEmmanuel Vadot	/*D0-D7*/	"","BMC_SD2CMD","BMC_SD2DAT0","BMC_SD2DAT1","BMC_SD2DAT2",
148f126890aSEmmanuel Vadot				"BMC_SD2DAT3","BMC_SD2DET","BMC_SD2WPT",
149f126890aSEmmanuel Vadot	/*E0-E7*/	"FM_BOARD_ID0","FM_BOARD_ID1","FM_BOARD_ID2","FM_BOARD_ID3",
150f126890aSEmmanuel Vadot				"FM_BOARD_ID4","FM_BOARD_ID5","","",
151f126890aSEmmanuel Vadot	/*F0-F7*/	"PSU1_PRESENT_N","PSU2_PRESENT_N","FAN_FAULT_LED_N","PSU_FAULT_LED_N",
152f126890aSEmmanuel Vadot				"BIOS_DEBUG_MODE_N","FP_LCD_RESET","FAN_TYPE_SEL",
153f126890aSEmmanuel Vadot				"RST_GLB_RST_WARN_N",
154f126890aSEmmanuel Vadot	/*G0-G7*/	"IRQ_LPTM21L_ALERT_N","IRQ_PLD_ALERT_N","AC_FAIL_N","FP_LCD_PRESENT_BMC",
155f126890aSEmmanuel Vadot				"BMC_JTAG_TCK_MUX_SEL","BMC_BIOS_RESERVED","SYS_NMI_N","BMC_NMI_N",
156f126890aSEmmanuel Vadot	/*H0-H7*/	"JTAG_BMC_TDI","JTAG_BMC_TDO","JTAG_BMC_TCK","JTAG_BMC_TMS","FM_BOARD_ID6",
157f126890aSEmmanuel Vadot				"FM_SKU_ID0","IRQ_SML1_PMBUS_ALERT_N","IRQ_SML0_ALERT_MUX_N",
158f126890aSEmmanuel Vadot	/*I0-I7*/	"FM_CPU_ERR0_LVT3_BMC_N","FM_CPU_ERR1_LVT3_BMC_N","FM_BMC_PCH_SCI_LPC_N",
159f126890aSEmmanuel Vadot				"FM_SYS_THROTTLE_LVC3","SPI2_PCH_CS0_N","","","",
160f126890aSEmmanuel Vadot	/*J0-J7*/	"FM_CPU0_SKTOCC_LVT3_N","FM_CPU1_SKTOCC_LVT3_N","","SYSHOT_FAULT_LED_N",
161f126890aSEmmanuel Vadot				"VGA_HSYNC","VGA_VSYNC","","",
162f126890aSEmmanuel Vadot	/*K0-K7*/	"","","","","","","","",
163f126890aSEmmanuel Vadot	/*L0-L7*/	"","","","","","","SYS_UART_TXD1","SYS_UART_RXD1",
164f126890aSEmmanuel Vadot	/*M0-M7*/	"","","","","","","","",
165f126890aSEmmanuel Vadot	/*N0-N7*/	"","","","","","","","",
166f126890aSEmmanuel Vadot	/*O0-O7*/	"","","","","","","","",
167f126890aSEmmanuel Vadot	/*P0-P7*/	"","","","","","","","",
168f126890aSEmmanuel Vadot	/*Q0-Q7*/	"","","","","","","FM_PCH_BMC_THERMTRIP_N","INTRUDER_N",
169f126890aSEmmanuel Vadot	/*R0-R7*/	"SPI_BMC_BOOT_CS1_R_N","FM_CPU_MEMHOT_LVC3_N",
170f126890aSEmmanuel Vadot				"DBP_CPU_PREQ_N","FM_CPU_ERR2_LVT3_BMC_N",
171f126890aSEmmanuel Vadot				"RISER_NCSI_EN_N","","LOM_NCSI_EN_N","OCP_NCSI_EN_N",
172f126890aSEmmanuel Vadot	/*S0-S7*/	"BMC_XDP_PRDY_N","SIO_POWER_GOOD","BMC_PWR_DEBUG_R_N","BMC_DEBUG_EN_R_N","",
173f126890aSEmmanuel Vadot				"GPIOS5_BMC","","GPIOS7_BMC",
174f126890aSEmmanuel Vadot	/*T0-T7*/	"","","","","","","","",
175f126890aSEmmanuel Vadot	/*U0-U7*/	"","","","","","","","",
176f126890aSEmmanuel Vadot	/*V0-V7*/	"","","","","","","","",
177f126890aSEmmanuel Vadot	/*W0-W7*/	"","","","","","","","",
178f126890aSEmmanuel Vadot	/*X0-X7*/	"","","","","","","","",
179f126890aSEmmanuel Vadot	/*Y0-Y7*/	"","BMC_DET_UID_N","BMC_JTAG_SEL","SIO_ONCONTROL","","","","",
180f126890aSEmmanuel Vadot	/*Z0-Z7*/	"XDP_PRESENT_N","DBP_SYSPWROK","BMC_JTAG_SEL","FM_SMI_ACTIVE_N","",
181f126890aSEmmanuel Vadot				"GPIOZ5","","",
182f126890aSEmmanuel Vadot	/*AA0-AA7*/	"FP_BMC_SYSLED_N","PS_PWROK","RST_PLTRST_BMC_N","HDA_SDO_BMC",
183f126890aSEmmanuel Vadot				"FM_SLPS4_R_N","","POWER_BUTTON","POWER_OUT",
184f126890aSEmmanuel Vadot	/*AB0-AB7*/	"RESET_OUT","RESET_BUTTON","BIOS_REFLASH","POST_COMPLETE","","","","",
185f126890aSEmmanuel Vadot	/*AC0-AC7*/	"","","","","","","","";
186f126890aSEmmanuel Vadot};
187f126890aSEmmanuel Vadot
188f126890aSEmmanuel Vadot&i2c0 {
189f126890aSEmmanuel Vadot	/* FP_LCD */
190f126890aSEmmanuel Vadot	status = "okay";
191f126890aSEmmanuel Vadot};
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot&i2c1 {
194f126890aSEmmanuel Vadot	status = "okay";
195f126890aSEmmanuel Vadot
196f126890aSEmmanuel Vadot	eeprom@50 {
197f126890aSEmmanuel Vadot		compatible = "atmel,24c256";
198f126890aSEmmanuel Vadot		reg = <0x50>;
199f126890aSEmmanuel Vadot		label = "fru";
200f126890aSEmmanuel Vadot	};
201f126890aSEmmanuel Vadot};
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot&i2c2 {
204f126890aSEmmanuel Vadot	status = "okay";
205f126890aSEmmanuel Vadot
206f126890aSEmmanuel Vadot	tmp112@48 {
207f126890aSEmmanuel Vadot		compatible = "ti,tmp112";
208f126890aSEmmanuel Vadot		reg = <0x48>;
209f126890aSEmmanuel Vadot		label = "inlet";
210f126890aSEmmanuel Vadot	};
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot	tmp112@49 {
213f126890aSEmmanuel Vadot		compatible = "ti,tmp112";
214f126890aSEmmanuel Vadot		reg = <0x49>;
215f126890aSEmmanuel Vadot		label = "outlet";
216f126890aSEmmanuel Vadot	};
217f126890aSEmmanuel Vadot
218*aa1a8ff2SEmmanuel Vadot	i2c-mux@70 {
219f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
220f126890aSEmmanuel Vadot		reg = <0x70>;
221f126890aSEmmanuel Vadot	};
222f126890aSEmmanuel Vadot};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot&i2c3 {
225f126890aSEmmanuel Vadot	status = "okay";
226f126890aSEmmanuel Vadot
227*aa1a8ff2SEmmanuel Vadot	i2c-mux@70 {
228f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
229f126890aSEmmanuel Vadot		reg = <0x70>;
230f126890aSEmmanuel Vadot	};
231f126890aSEmmanuel Vadot
232*aa1a8ff2SEmmanuel Vadot	i2c-mux@71 {
233f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
234f126890aSEmmanuel Vadot		reg = <0x71>;
235f126890aSEmmanuel Vadot	};
236f126890aSEmmanuel Vadot
237*aa1a8ff2SEmmanuel Vadot	i2c-mux@72 {
238f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
239f126890aSEmmanuel Vadot		reg = <0x72>;
240f126890aSEmmanuel Vadot	};
241f126890aSEmmanuel Vadot};
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot&i2c4 {
244f126890aSEmmanuel Vadot	/* IPMB */
245f126890aSEmmanuel Vadot	status = "okay";
246f126890aSEmmanuel Vadot};
247f126890aSEmmanuel Vadot
248f126890aSEmmanuel Vadot&i2c5 {
249f126890aSEmmanuel Vadot	status = "okay";
250f126890aSEmmanuel Vadot
251*aa1a8ff2SEmmanuel Vadot	i2c-mux@70 {
252f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
253f126890aSEmmanuel Vadot		reg = <0x70>;
254f126890aSEmmanuel Vadot	};
255f126890aSEmmanuel Vadot};
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot&i2c6 {
258f126890aSEmmanuel Vadot	status = "okay";
259f126890aSEmmanuel Vadot
260*aa1a8ff2SEmmanuel Vadot	i2c-mux@70 {
261f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
262f126890aSEmmanuel Vadot		reg = <0x70>;
263f126890aSEmmanuel Vadot	};
264f126890aSEmmanuel Vadot};
265f126890aSEmmanuel Vadot
266f126890aSEmmanuel Vadot&i2c7 {
267f126890aSEmmanuel Vadot	status = "okay";
268f126890aSEmmanuel Vadot
269f126890aSEmmanuel Vadot	adm1278@33 {
270f126890aSEmmanuel Vadot		compatible = "adi,adm1293";
271f126890aSEmmanuel Vadot		reg = <0x33>;
272f126890aSEmmanuel Vadot	};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot	adm1278@32 {
275f126890aSEmmanuel Vadot		compatible = "adi,adm1293";
276f126890aSEmmanuel Vadot		reg = <0x32>;
277f126890aSEmmanuel Vadot	};
278f126890aSEmmanuel Vadot
279f126890aSEmmanuel Vadot	adm1278@20 {
280f126890aSEmmanuel Vadot		compatible = "adi,adm1293";
281f126890aSEmmanuel Vadot		reg = <0x20>;
282f126890aSEmmanuel Vadot	};
283f126890aSEmmanuel Vadot};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot&i2c8 {
286f126890aSEmmanuel Vadot	status = "okay";
287f126890aSEmmanuel Vadot
288f126890aSEmmanuel Vadot	pca0: pca9555@23 {
289f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
290f126890aSEmmanuel Vadot		reg = <0x23>;
291f126890aSEmmanuel Vadot		#address-cells = <1>;
292f126890aSEmmanuel Vadot		#size-cells = <0>;
293f126890aSEmmanuel Vadot
294f126890aSEmmanuel Vadot		gpio-controller;
295f126890aSEmmanuel Vadot		#gpio-cells = <2>;
296f126890aSEmmanuel Vadot
297f126890aSEmmanuel Vadot		gpio@0 {
298f126890aSEmmanuel Vadot			reg = <0>;
299f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
300f126890aSEmmanuel Vadot		};
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot		gpio@1 {
303f126890aSEmmanuel Vadot			reg = <1>;
304f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
305f126890aSEmmanuel Vadot		};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot		gpio@2 {
308f126890aSEmmanuel Vadot			reg = <2>;
309f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
310f126890aSEmmanuel Vadot		};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot		gpio@3 {
313f126890aSEmmanuel Vadot			reg = <3>;
314f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
315f126890aSEmmanuel Vadot		};
316f126890aSEmmanuel Vadot
317f126890aSEmmanuel Vadot		gpio@4 {
318f126890aSEmmanuel Vadot			reg = <4>;
319f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
320f126890aSEmmanuel Vadot		};
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot		gpio@5 {
323f126890aSEmmanuel Vadot			reg = <5>;
324f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
325f126890aSEmmanuel Vadot		};
326f126890aSEmmanuel Vadot
327f126890aSEmmanuel Vadot		gpio@6 {
328f126890aSEmmanuel Vadot			reg = <6>;
329f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
330f126890aSEmmanuel Vadot		};
331f126890aSEmmanuel Vadot	};
332f126890aSEmmanuel Vadot
333f126890aSEmmanuel Vadot	pca1: pca9555@22 {
334f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
335f126890aSEmmanuel Vadot		reg = <0x22>;
336f126890aSEmmanuel Vadot		#address-cells = <1>;
337f126890aSEmmanuel Vadot		#size-cells = <0>;
338f126890aSEmmanuel Vadot
339f126890aSEmmanuel Vadot		gpio-controller;
340f126890aSEmmanuel Vadot		#gpio-cells = <2>;
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot		gpio@0 {
343f126890aSEmmanuel Vadot			reg = <0>;
344f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
345f126890aSEmmanuel Vadot		};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot		gpio@1 {
348f126890aSEmmanuel Vadot			reg = <1>;
349f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
350f126890aSEmmanuel Vadot		};
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot		gpio@2 {
353f126890aSEmmanuel Vadot			reg = <2>;
354f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
355f126890aSEmmanuel Vadot		};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot		gpio@3 {
358f126890aSEmmanuel Vadot			reg = <3>;
359f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
360f126890aSEmmanuel Vadot		};
361f126890aSEmmanuel Vadot
362f126890aSEmmanuel Vadot		gpio@4 {
363f126890aSEmmanuel Vadot			reg = <4>;
364f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
365f126890aSEmmanuel Vadot		};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot		gpio@5 {
368f126890aSEmmanuel Vadot			reg = <5>;
369f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
370f126890aSEmmanuel Vadot		};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot		gpio@6 {
373f126890aSEmmanuel Vadot			reg = <6>;
374f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
375f126890aSEmmanuel Vadot		};
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot		gpio@7 {
378f126890aSEmmanuel Vadot			reg = <7>;
379f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
380f126890aSEmmanuel Vadot		};
381f126890aSEmmanuel Vadot	};
382f126890aSEmmanuel Vadot
383f126890aSEmmanuel Vadot	pca2: pca9555@20 {
384f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
385f126890aSEmmanuel Vadot		reg = <0x20>;
386f126890aSEmmanuel Vadot		#address-cells = <1>;
387f126890aSEmmanuel Vadot		#size-cells = <0>;
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot		gpio-controller;
390f126890aSEmmanuel Vadot		#gpio-cells = <2>;
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot		gpio@0 {
393f126890aSEmmanuel Vadot			reg = <0>;
394f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
395f126890aSEmmanuel Vadot		};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot		gpio@1 {
398f126890aSEmmanuel Vadot			reg = <1>;
399f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
400f126890aSEmmanuel Vadot		};
401f126890aSEmmanuel Vadot
402f126890aSEmmanuel Vadot		gpio@2 {
403f126890aSEmmanuel Vadot			reg = <2>;
404f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
405f126890aSEmmanuel Vadot		};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot		gpio@3 {
408f126890aSEmmanuel Vadot			reg = <3>;
409f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
410f126890aSEmmanuel Vadot		};
411f126890aSEmmanuel Vadot
412f126890aSEmmanuel Vadot		gpio@4 {
413f126890aSEmmanuel Vadot			reg = <4>;
414f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
415f126890aSEmmanuel Vadot		};
416f126890aSEmmanuel Vadot
417f126890aSEmmanuel Vadot		gpio@5 {
418f126890aSEmmanuel Vadot			reg = <5>;
419f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
420f126890aSEmmanuel Vadot		};
421f126890aSEmmanuel Vadot
422f126890aSEmmanuel Vadot		gpio@6 {
423f126890aSEmmanuel Vadot			reg = <6>;
424f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
425f126890aSEmmanuel Vadot		};
426f126890aSEmmanuel Vadot
427f126890aSEmmanuel Vadot		gpio@7 {
428f126890aSEmmanuel Vadot			reg = <7>;
429f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
430f126890aSEmmanuel Vadot		};
431f126890aSEmmanuel Vadot	};
432f126890aSEmmanuel Vadot
433f126890aSEmmanuel Vadot	pca3: pca9555@21 {
434f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
435f126890aSEmmanuel Vadot		reg = <0x21>;
436f126890aSEmmanuel Vadot		#address-cells = <1>;
437f126890aSEmmanuel Vadot		#size-cells = <0>;
438f126890aSEmmanuel Vadot
439f126890aSEmmanuel Vadot		gpio-controller;
440f126890aSEmmanuel Vadot		#gpio-cells = <2>;
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot		gpio@0 {
443f126890aSEmmanuel Vadot			reg = <0>;
444f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
445f126890aSEmmanuel Vadot		};
446f126890aSEmmanuel Vadot
447f126890aSEmmanuel Vadot		gpio@1 {
448f126890aSEmmanuel Vadot			reg = <1>;
449f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
450f126890aSEmmanuel Vadot		};
451f126890aSEmmanuel Vadot
452f126890aSEmmanuel Vadot		gpio@2 {
453f126890aSEmmanuel Vadot			reg = <2>;
454f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
455f126890aSEmmanuel Vadot		};
456f126890aSEmmanuel Vadot
457f126890aSEmmanuel Vadot		gpio@3 {
458f126890aSEmmanuel Vadot			reg = <3>;
459f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
460f126890aSEmmanuel Vadot		};
461f126890aSEmmanuel Vadot
462f126890aSEmmanuel Vadot		gpio@4 {
463f126890aSEmmanuel Vadot			reg = <4>;
464f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
465f126890aSEmmanuel Vadot		};
466f126890aSEmmanuel Vadot
467f126890aSEmmanuel Vadot		gpio@5 {
468f126890aSEmmanuel Vadot			reg = <5>;
469f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
470f126890aSEmmanuel Vadot		};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot		gpio@6 {
473f126890aSEmmanuel Vadot			reg = <6>;
474f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
475f126890aSEmmanuel Vadot		};
476f126890aSEmmanuel Vadot
477f126890aSEmmanuel Vadot		gpio@7 {
478f126890aSEmmanuel Vadot			reg = <7>;
479f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
480f126890aSEmmanuel Vadot		};
481f126890aSEmmanuel Vadot	};
482f126890aSEmmanuel Vadot};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot&i2c9 {
485f126890aSEmmanuel Vadot	/* cpld */
486f126890aSEmmanuel Vadot	status = "okay";
487f126890aSEmmanuel Vadot};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot&i2c10 {
490f126890aSEmmanuel Vadot	status = "okay";
491f126890aSEmmanuel Vadot
492f126890aSEmmanuel Vadot	pca4: pca9555@24 {
493f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
494f126890aSEmmanuel Vadot		reg = <0x24>;
495f126890aSEmmanuel Vadot		#address-cells = <1>;
496f126890aSEmmanuel Vadot		#size-cells = <0>;
497f126890aSEmmanuel Vadot
498f126890aSEmmanuel Vadot		gpio-controller;
499f126890aSEmmanuel Vadot		#gpio-cells = <2>;
500f126890aSEmmanuel Vadot
501f126890aSEmmanuel Vadot		gpio@0 {
502f126890aSEmmanuel Vadot			reg = <0>;
503f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
504f126890aSEmmanuel Vadot		};
505f126890aSEmmanuel Vadot
506f126890aSEmmanuel Vadot		gpio@1 {
507f126890aSEmmanuel Vadot			reg = <1>;
508f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
509f126890aSEmmanuel Vadot		};
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot		gpio@2 {
512f126890aSEmmanuel Vadot			reg = <2>;
513f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
514f126890aSEmmanuel Vadot		};
515f126890aSEmmanuel Vadot
516f126890aSEmmanuel Vadot		gpio@3 {
517f126890aSEmmanuel Vadot			reg = <3>;
518f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
519f126890aSEmmanuel Vadot		};
520f126890aSEmmanuel Vadot
521f126890aSEmmanuel Vadot		gpio@4 {
522f126890aSEmmanuel Vadot			reg = <4>;
523f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
524f126890aSEmmanuel Vadot		};
525f126890aSEmmanuel Vadot
526f126890aSEmmanuel Vadot		gpio@5 {
527f126890aSEmmanuel Vadot			reg = <5>;
528f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
529f126890aSEmmanuel Vadot		};
530f126890aSEmmanuel Vadot
531f126890aSEmmanuel Vadot		gpio@6 {
532f126890aSEmmanuel Vadot			reg = <6>;
533f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
534f126890aSEmmanuel Vadot		};
535f126890aSEmmanuel Vadot
536f126890aSEmmanuel Vadot		gpio@7 {
537f126890aSEmmanuel Vadot			reg = <7>;
538f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
539f126890aSEmmanuel Vadot		};
540f126890aSEmmanuel Vadot	};
541f126890aSEmmanuel Vadot
542f126890aSEmmanuel Vadot	pca5: pca9555@25 {
543f126890aSEmmanuel Vadot		compatible = "nxp,pca9555";
544f126890aSEmmanuel Vadot		reg = <0x25>;
545f126890aSEmmanuel Vadot		#address-cells = <1>;
546f126890aSEmmanuel Vadot		#size-cells = <0>;
547f126890aSEmmanuel Vadot
548f126890aSEmmanuel Vadot		gpio-controller;
549f126890aSEmmanuel Vadot		#gpio-cells = <2>;
550f126890aSEmmanuel Vadot
551f126890aSEmmanuel Vadot		gpio@0 {
552f126890aSEmmanuel Vadot			reg = <0>;
553f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
554f126890aSEmmanuel Vadot		};
555f126890aSEmmanuel Vadot
556f126890aSEmmanuel Vadot		gpio@1 {
557f126890aSEmmanuel Vadot			reg = <1>;
558f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
559f126890aSEmmanuel Vadot		};
560f126890aSEmmanuel Vadot
561f126890aSEmmanuel Vadot		gpio@2 {
562f126890aSEmmanuel Vadot			reg = <2>;
563f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
564f126890aSEmmanuel Vadot		};
565f126890aSEmmanuel Vadot
566f126890aSEmmanuel Vadot		gpio@3 {
567f126890aSEmmanuel Vadot			reg = <3>;
568f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
569f126890aSEmmanuel Vadot		};
570f126890aSEmmanuel Vadot
571f126890aSEmmanuel Vadot		gpio@4 {
572f126890aSEmmanuel Vadot			reg = <4>;
573f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
574f126890aSEmmanuel Vadot		};
575f126890aSEmmanuel Vadot
576f126890aSEmmanuel Vadot		gpio@5 {
577f126890aSEmmanuel Vadot			reg = <5>;
578f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
579f126890aSEmmanuel Vadot		};
580f126890aSEmmanuel Vadot
581f126890aSEmmanuel Vadot		gpio@6 {
582f126890aSEmmanuel Vadot			reg = <6>;
583f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
584f126890aSEmmanuel Vadot		};
585f126890aSEmmanuel Vadot	};
586f126890aSEmmanuel Vadot};
587f126890aSEmmanuel Vadot
588f126890aSEmmanuel Vadot&i2c11 {
589f126890aSEmmanuel Vadot	status = "okay";
590f126890aSEmmanuel Vadot
591f126890aSEmmanuel Vadot	power-supply@58 {
592f126890aSEmmanuel Vadot		compatible = "inspur,ipsps1";
593f126890aSEmmanuel Vadot		reg = <0x58>;
594f126890aSEmmanuel Vadot	};
595f126890aSEmmanuel Vadot
596f126890aSEmmanuel Vadot	power-supply@59 {
597f126890aSEmmanuel Vadot		compatible = "inspur,ipsps1";
598f126890aSEmmanuel Vadot		reg = <0x59>;
599f126890aSEmmanuel Vadot	};
600f126890aSEmmanuel Vadot};
601f126890aSEmmanuel Vadot
602f126890aSEmmanuel Vadot&i2c12 {
603f126890aSEmmanuel Vadot	status = "okay";
604f126890aSEmmanuel Vadot};
605f126890aSEmmanuel Vadot
606f126890aSEmmanuel Vadot&i2c13 {
607f126890aSEmmanuel Vadot	status = "okay";
608f126890aSEmmanuel Vadot};
609f126890aSEmmanuel Vadot
610f126890aSEmmanuel Vadot&pwm_tacho {
611f126890aSEmmanuel Vadot	status = "okay";
612f126890aSEmmanuel Vadot	pinctrl-names = "default";
613f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
614f126890aSEmmanuel Vadot		&pinctrl_pwm2_default &pinctrl_pwm3_default
615f126890aSEmmanuel Vadot		&pinctrl_pwm4_default &pinctrl_pwm5_default
616f126890aSEmmanuel Vadot		&pinctrl_pwm6_default &pinctrl_pwm7_default>;
617f126890aSEmmanuel Vadot
618f126890aSEmmanuel Vadot	fan@0 {
619f126890aSEmmanuel Vadot		reg = <0x00>;
620f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
621f126890aSEmmanuel Vadot	};
622f126890aSEmmanuel Vadot
623f126890aSEmmanuel Vadot	fan@1 {
624f126890aSEmmanuel Vadot		reg = <0x01>;
625f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
626f126890aSEmmanuel Vadot	};
627f126890aSEmmanuel Vadot
628f126890aSEmmanuel Vadot	fan@2 {
629f126890aSEmmanuel Vadot		reg = <0x02>;
630f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
631f126890aSEmmanuel Vadot	};
632f126890aSEmmanuel Vadot
633f126890aSEmmanuel Vadot	fan@3 {
634f126890aSEmmanuel Vadot		reg = <0x03>;
635f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
636f126890aSEmmanuel Vadot	};
637f126890aSEmmanuel Vadot
638f126890aSEmmanuel Vadot	fan@4 {
639f126890aSEmmanuel Vadot		reg = <0x04>;
640f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
641f126890aSEmmanuel Vadot	};
642f126890aSEmmanuel Vadot
643f126890aSEmmanuel Vadot	fan@5 {
644f126890aSEmmanuel Vadot		reg = <0x05>;
645f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
646f126890aSEmmanuel Vadot	};
647f126890aSEmmanuel Vadot
648f126890aSEmmanuel Vadot	fan@6 {
649f126890aSEmmanuel Vadot		reg = <0x06>;
650f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
651f126890aSEmmanuel Vadot	};
652f126890aSEmmanuel Vadot
653f126890aSEmmanuel Vadot	fan@7 {
654f126890aSEmmanuel Vadot		reg = <0x07>;
655f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
656f126890aSEmmanuel Vadot	};
657f126890aSEmmanuel Vadot};
658f126890aSEmmanuel Vadot
659f126890aSEmmanuel Vadot&kcs3 {
660f126890aSEmmanuel Vadot	status = "okay";
661f126890aSEmmanuel Vadot	aspeed,lpc-io-reg = <0xca2>;
662f126890aSEmmanuel Vadot};
663f126890aSEmmanuel Vadot
664f126890aSEmmanuel Vadot&kcs4 {
665f126890aSEmmanuel Vadot	status = "okay";
666f126890aSEmmanuel Vadot	aspeed,lpc-io-reg = <0xca4>;
667f126890aSEmmanuel Vadot};
668f126890aSEmmanuel Vadot
669f126890aSEmmanuel Vadot&adc {
670f126890aSEmmanuel Vadot	status = "okay";
671f126890aSEmmanuel Vadot	pinctrl-names = "default";
672f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
673f126890aSEmmanuel Vadot	 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
674f126890aSEmmanuel Vadot	 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
675f126890aSEmmanuel Vadot	 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
676f126890aSEmmanuel Vadot	 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
677f126890aSEmmanuel Vadot	 &pinctrl_adc14_default &pinctrl_adc15_default>;
678f126890aSEmmanuel Vadot};
679f126890aSEmmanuel Vadot
680f126890aSEmmanuel Vadot&vhub {
681f126890aSEmmanuel Vadot	status = "okay";
682f126890aSEmmanuel Vadot};
683f126890aSEmmanuel Vadot
684f126890aSEmmanuel Vadot&video {
685f126890aSEmmanuel Vadot	status = "okay";
686f126890aSEmmanuel Vadot	memory-region = <&video_engine_memory>;
687f126890aSEmmanuel Vadot};
688f126890aSEmmanuel Vadot
689f126890aSEmmanuel Vadot&vuart {
690f126890aSEmmanuel Vadot	status = "okay";
691f126890aSEmmanuel Vadot};
692