xref: /freebsd-src/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-opp-witherspoon.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2*f126890aSEmmanuel Vadot/dts-v1/;
3*f126890aSEmmanuel Vadot#include "aspeed-g5.dtsi"
4*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h>
5*f126890aSEmmanuel Vadot#include <dt-bindings/leds/leds-pca955x.h>
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	model = "Witherspoon BMC";
9*f126890aSEmmanuel Vadot	compatible = "ibm,witherspoon-bmc", "aspeed,ast2500";
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot	chosen {
12*f126890aSEmmanuel Vadot		stdout-path = &uart5;
13*f126890aSEmmanuel Vadot		bootargs = "console=ttyS4,115200 earlycon";
14*f126890aSEmmanuel Vadot	};
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	memory@80000000 {
17*f126890aSEmmanuel Vadot		reg = <0x80000000 0x20000000>;
18*f126890aSEmmanuel Vadot	};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	reserved-memory {
21*f126890aSEmmanuel Vadot		#address-cells = <1>;
22*f126890aSEmmanuel Vadot		#size-cells = <1>;
23*f126890aSEmmanuel Vadot		ranges;
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot		flash_memory: region@98000000 {
26*f126890aSEmmanuel Vadot			no-map;
27*f126890aSEmmanuel Vadot			reg = <0x98000000 0x04000000>; /* 64M */
28*f126890aSEmmanuel Vadot		};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot		vga_memory: region@9f000000 {
31*f126890aSEmmanuel Vadot			no-map;
32*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
33*f126890aSEmmanuel Vadot			reg = <0x9f000000 0x01000000>; /* 16M */
34*f126890aSEmmanuel Vadot		};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot		gfx_memory: framebuffer {
37*f126890aSEmmanuel Vadot			size = <0x01000000>;
38*f126890aSEmmanuel Vadot			alignment = <0x01000000>;
39*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
40*f126890aSEmmanuel Vadot			reusable;
41*f126890aSEmmanuel Vadot		};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot		video_engine_memory: jpegbuffer {
44*f126890aSEmmanuel Vadot			size = <0x02000000>;	/* 32MM */
45*f126890aSEmmanuel Vadot			alignment = <0x01000000>;
46*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
47*f126890aSEmmanuel Vadot			reusable;
48*f126890aSEmmanuel Vadot		};
49*f126890aSEmmanuel Vadot	};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot	gpio-keys {
52*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot		event-air-water {
55*f126890aSEmmanuel Vadot			label = "air-water";
56*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
57*f126890aSEmmanuel Vadot			linux,code = <ASPEED_GPIO(B, 5)>;
58*f126890aSEmmanuel Vadot		};
59*f126890aSEmmanuel Vadot
60*f126890aSEmmanuel Vadot		event-checkstop {
61*f126890aSEmmanuel Vadot			label = "checkstop";
62*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
63*f126890aSEmmanuel Vadot			linux,code = <ASPEED_GPIO(J, 2)>;
64*f126890aSEmmanuel Vadot		};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot		event-ps0-presence {
67*f126890aSEmmanuel Vadot			label = "ps0-presence";
68*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
69*f126890aSEmmanuel Vadot			linux,code = <ASPEED_GPIO(P, 7)>;
70*f126890aSEmmanuel Vadot		};
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot		event-ps1-presence {
73*f126890aSEmmanuel Vadot			label = "ps1-presence";
74*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
75*f126890aSEmmanuel Vadot			linux,code = <ASPEED_GPIO(N, 0)>;
76*f126890aSEmmanuel Vadot		};
77*f126890aSEmmanuel Vadot	};
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot	iio-hwmon-battery {
80*f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
81*f126890aSEmmanuel Vadot		io-channels = <&adc 12>;
82*f126890aSEmmanuel Vadot	};
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot	gpio-keys-polled {
85*f126890aSEmmanuel Vadot		compatible = "gpio-keys-polled";
86*f126890aSEmmanuel Vadot		poll-interval = <1000>;
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot		event-fan0-presence {
89*f126890aSEmmanuel Vadot			label = "fan0-presence";
90*f126890aSEmmanuel Vadot			gpios = <&pca0 4 GPIO_ACTIVE_LOW>;
91*f126890aSEmmanuel Vadot			linux,code = <4>;
92*f126890aSEmmanuel Vadot		};
93*f126890aSEmmanuel Vadot
94*f126890aSEmmanuel Vadot		event-fan1-presence {
95*f126890aSEmmanuel Vadot			label = "fan1-presence";
96*f126890aSEmmanuel Vadot			gpios = <&pca0 5 GPIO_ACTIVE_LOW>;
97*f126890aSEmmanuel Vadot			linux,code = <5>;
98*f126890aSEmmanuel Vadot		};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot		event-fan2-presence {
101*f126890aSEmmanuel Vadot			label = "fan2-presence";
102*f126890aSEmmanuel Vadot			gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
103*f126890aSEmmanuel Vadot			linux,code = <6>;
104*f126890aSEmmanuel Vadot		};
105*f126890aSEmmanuel Vadot
106*f126890aSEmmanuel Vadot		event-fan3-presence {
107*f126890aSEmmanuel Vadot			label = "fan3-presence";
108*f126890aSEmmanuel Vadot			gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
109*f126890aSEmmanuel Vadot			linux,code = <7>;
110*f126890aSEmmanuel Vadot		};
111*f126890aSEmmanuel Vadot	};
112*f126890aSEmmanuel Vadot
113*f126890aSEmmanuel Vadot	leds {
114*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot		fan0 {
117*f126890aSEmmanuel Vadot			retain-state-shutdown;
118*f126890aSEmmanuel Vadot			default-state = "keep";
119*f126890aSEmmanuel Vadot			gpios = <&pca0 0 GPIO_ACTIVE_LOW>;
120*f126890aSEmmanuel Vadot		};
121*f126890aSEmmanuel Vadot
122*f126890aSEmmanuel Vadot		fan1 {
123*f126890aSEmmanuel Vadot			retain-state-shutdown;
124*f126890aSEmmanuel Vadot			default-state = "keep";
125*f126890aSEmmanuel Vadot			gpios = <&pca0 1 GPIO_ACTIVE_LOW>;
126*f126890aSEmmanuel Vadot		};
127*f126890aSEmmanuel Vadot
128*f126890aSEmmanuel Vadot		fan2 {
129*f126890aSEmmanuel Vadot			retain-state-shutdown;
130*f126890aSEmmanuel Vadot			default-state = "keep";
131*f126890aSEmmanuel Vadot			gpios = <&pca0 2 GPIO_ACTIVE_LOW>;
132*f126890aSEmmanuel Vadot		};
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot		fan3 {
135*f126890aSEmmanuel Vadot			retain-state-shutdown;
136*f126890aSEmmanuel Vadot			default-state = "keep";
137*f126890aSEmmanuel Vadot			gpios = <&pca0 3 GPIO_ACTIVE_LOW>;
138*f126890aSEmmanuel Vadot		};
139*f126890aSEmmanuel Vadot
140*f126890aSEmmanuel Vadot		front-fault {
141*f126890aSEmmanuel Vadot			retain-state-shutdown;
142*f126890aSEmmanuel Vadot			default-state = "keep";
143*f126890aSEmmanuel Vadot			gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
144*f126890aSEmmanuel Vadot		};
145*f126890aSEmmanuel Vadot
146*f126890aSEmmanuel Vadot		front-power {
147*f126890aSEmmanuel Vadot			retain-state-shutdown;
148*f126890aSEmmanuel Vadot			default-state = "keep";
149*f126890aSEmmanuel Vadot			gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
150*f126890aSEmmanuel Vadot		};
151*f126890aSEmmanuel Vadot
152*f126890aSEmmanuel Vadot		front-id {
153*f126890aSEmmanuel Vadot			retain-state-shutdown;
154*f126890aSEmmanuel Vadot			default-state = "keep";
155*f126890aSEmmanuel Vadot			gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
156*f126890aSEmmanuel Vadot		};
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot		rear-fault {
159*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
160*f126890aSEmmanuel Vadot		};
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot		rear-id {
163*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
164*f126890aSEmmanuel Vadot		};
165*f126890aSEmmanuel Vadot
166*f126890aSEmmanuel Vadot		rear-power {
167*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
168*f126890aSEmmanuel Vadot		};
169*f126890aSEmmanuel Vadot
170*f126890aSEmmanuel Vadot		power-button {
171*f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
172*f126890aSEmmanuel Vadot		};
173*f126890aSEmmanuel Vadot	};
174*f126890aSEmmanuel Vadot
175*f126890aSEmmanuel Vadot	fsi: gpio-fsi {
176*f126890aSEmmanuel Vadot		compatible = "fsi-master-gpio", "fsi-master";
177*f126890aSEmmanuel Vadot		#address-cells = <2>;
178*f126890aSEmmanuel Vadot		#size-cells = <0>;
179*f126890aSEmmanuel Vadot		no-gpio-delays;
180*f126890aSEmmanuel Vadot
181*f126890aSEmmanuel Vadot		clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
182*f126890aSEmmanuel Vadot		data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
183*f126890aSEmmanuel Vadot		mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
184*f126890aSEmmanuel Vadot		enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
185*f126890aSEmmanuel Vadot		trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
186*f126890aSEmmanuel Vadot	};
187*f126890aSEmmanuel Vadot
188*f126890aSEmmanuel Vadot	iio-hwmon-dps310 {
189*f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
190*f126890aSEmmanuel Vadot		io-channels = <&dps 0>;
191*f126890aSEmmanuel Vadot	};
192*f126890aSEmmanuel Vadot
193*f126890aSEmmanuel Vadot	iio-hwmon-bmp280 {
194*f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
195*f126890aSEmmanuel Vadot		io-channels = <&bmp 1>;
196*f126890aSEmmanuel Vadot	};
197*f126890aSEmmanuel Vadot
198*f126890aSEmmanuel Vadot};
199*f126890aSEmmanuel Vadot
200*f126890aSEmmanuel Vadot&gpio {
201*f126890aSEmmanuel Vadot	gpio-line-names =
202*f126890aSEmmanuel Vadot	/*A0-A7*/	"","cfam-reset","","","","","fsi-mux","",
203*f126890aSEmmanuel Vadot	/*B0-B7*/	"","","","","","air-water","","",
204*f126890aSEmmanuel Vadot	/*C0-C7*/	"","","","","","","","",
205*f126890aSEmmanuel Vadot	/*D0-D7*/	"fsi-enable","","","","","","","",
206*f126890aSEmmanuel Vadot	/*E0-E7*/	"fsi-data","","","","","","","",
207*f126890aSEmmanuel Vadot	/*F0-F7*/	"","","","","","","","",
208*f126890aSEmmanuel Vadot	/*G0-G7*/	"","","","","","","","",
209*f126890aSEmmanuel Vadot	/*H0-H7*/	"","","","","","","","",
210*f126890aSEmmanuel Vadot	/*I0-I7*/	"","","","","","","","",
211*f126890aSEmmanuel Vadot	/*J0-J7*/	"","","checkstop","","","","","",
212*f126890aSEmmanuel Vadot	/*K0-K7*/	"","","","","","","","",
213*f126890aSEmmanuel Vadot	/*L0-L7*/	"","","","","","","","",
214*f126890aSEmmanuel Vadot	/*M0-M7*/	"","","","","","","","",
215*f126890aSEmmanuel Vadot	/*N0-N7*/	"presence-ps1","","led-rear-fault","led-rear-power",
216*f126890aSEmmanuel Vadot		        "led-rear-id","","","",
217*f126890aSEmmanuel Vadot	/*O0-O7*/	"","","","","","","","",
218*f126890aSEmmanuel Vadot	/*P0-P7*/	"","","","","","","","presence-ps0",
219*f126890aSEmmanuel Vadot	/*Q0-Q7*/	"","","","","","","","",
220*f126890aSEmmanuel Vadot	/*R0-R7*/	"","","fsi-trans","","","power-button","","",
221*f126890aSEmmanuel Vadot	/*S0-S7*/	"","","","","","","","",
222*f126890aSEmmanuel Vadot	/*T0-T7*/	"","","","","","","","",
223*f126890aSEmmanuel Vadot	/*U0-U7*/	"","","","","","","","",
224*f126890aSEmmanuel Vadot	/*V0-V7*/	"","","","","","","","",
225*f126890aSEmmanuel Vadot	/*W0-W7*/	"","","","","","","","",
226*f126890aSEmmanuel Vadot	/*X0-X7*/	"","","","","","","","",
227*f126890aSEmmanuel Vadot	/*Y0-Y7*/	"","","","","","","","",
228*f126890aSEmmanuel Vadot	/*Z0-Z7*/	"","","","","","","","",
229*f126890aSEmmanuel Vadot	/*AA0-AA7*/	"fsi-clock","","","","","","","",
230*f126890aSEmmanuel Vadot	/*AB0-AB7*/	"","","","","","","","",
231*f126890aSEmmanuel Vadot	/*AC0-AC7*/	"","","","","","","","";
232*f126890aSEmmanuel Vadot};
233*f126890aSEmmanuel Vadot
234*f126890aSEmmanuel Vadot&fmc {
235*f126890aSEmmanuel Vadot	status = "okay";
236*f126890aSEmmanuel Vadot
237*f126890aSEmmanuel Vadot	flash@0 {
238*f126890aSEmmanuel Vadot		status = "okay";
239*f126890aSEmmanuel Vadot		label = "bmc";
240*f126890aSEmmanuel Vadot		m25p,fast-read;
241*f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
242*f126890aSEmmanuel Vadot
243*f126890aSEmmanuel Vadot		partitions {
244*f126890aSEmmanuel Vadot			#address-cells = < 1 >;
245*f126890aSEmmanuel Vadot			#size-cells = < 1 >;
246*f126890aSEmmanuel Vadot			compatible = "fixed-partitions";
247*f126890aSEmmanuel Vadot			u-boot@0 {
248*f126890aSEmmanuel Vadot				reg = < 0 0x60000 >;
249*f126890aSEmmanuel Vadot				label = "u-boot";
250*f126890aSEmmanuel Vadot			};
251*f126890aSEmmanuel Vadot			u-boot-env@60000 {
252*f126890aSEmmanuel Vadot				reg = < 0x60000 0x20000 >;
253*f126890aSEmmanuel Vadot				label = "u-boot-env";
254*f126890aSEmmanuel Vadot			};
255*f126890aSEmmanuel Vadot			obmc-ubi@80000 {
256*f126890aSEmmanuel Vadot				reg = < 0x80000 0x1F80000 >;
257*f126890aSEmmanuel Vadot				label = "obmc-ubi";
258*f126890aSEmmanuel Vadot			};
259*f126890aSEmmanuel Vadot		};
260*f126890aSEmmanuel Vadot	};
261*f126890aSEmmanuel Vadot
262*f126890aSEmmanuel Vadot	flash@1 {
263*f126890aSEmmanuel Vadot		status = "okay";
264*f126890aSEmmanuel Vadot		label = "alt-bmc";
265*f126890aSEmmanuel Vadot		m25p,fast-read;
266*f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
267*f126890aSEmmanuel Vadot
268*f126890aSEmmanuel Vadot		partitions {
269*f126890aSEmmanuel Vadot			#address-cells = < 1 >;
270*f126890aSEmmanuel Vadot			#size-cells = < 1 >;
271*f126890aSEmmanuel Vadot			compatible = "fixed-partitions";
272*f126890aSEmmanuel Vadot			u-boot@0 {
273*f126890aSEmmanuel Vadot				reg = < 0 0x60000 >;
274*f126890aSEmmanuel Vadot				label = "alt-u-boot";
275*f126890aSEmmanuel Vadot			};
276*f126890aSEmmanuel Vadot			u-boot-env@60000 {
277*f126890aSEmmanuel Vadot				reg = < 0x60000 0x20000 >;
278*f126890aSEmmanuel Vadot				label = "alt-u-boot-env";
279*f126890aSEmmanuel Vadot			};
280*f126890aSEmmanuel Vadot			obmc-ubi@80000 {
281*f126890aSEmmanuel Vadot				reg = < 0x80000 0x1F80000 >;
282*f126890aSEmmanuel Vadot				label = "alt-obmc-ubi";
283*f126890aSEmmanuel Vadot			};
284*f126890aSEmmanuel Vadot		};
285*f126890aSEmmanuel Vadot	};
286*f126890aSEmmanuel Vadot};
287*f126890aSEmmanuel Vadot
288*f126890aSEmmanuel Vadot&spi1 {
289*f126890aSEmmanuel Vadot	status = "okay";
290*f126890aSEmmanuel Vadot	pinctrl-names = "default";
291*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi1_default>;
292*f126890aSEmmanuel Vadot
293*f126890aSEmmanuel Vadot	flash@0 {
294*f126890aSEmmanuel Vadot		status = "okay";
295*f126890aSEmmanuel Vadot		label = "pnor";
296*f126890aSEmmanuel Vadot		m25p,fast-read;
297*f126890aSEmmanuel Vadot		spi-max-frequency = <100000000>;
298*f126890aSEmmanuel Vadot	};
299*f126890aSEmmanuel Vadot};
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot&uart1 {
302*f126890aSEmmanuel Vadot	/* Rear RS-232 connector */
303*f126890aSEmmanuel Vadot	status = "okay";
304*f126890aSEmmanuel Vadot	pinctrl-names = "default";
305*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_txd1_default
306*f126890aSEmmanuel Vadot			&pinctrl_rxd1_default
307*f126890aSEmmanuel Vadot			&pinctrl_nrts1_default
308*f126890aSEmmanuel Vadot			&pinctrl_ndtr1_default
309*f126890aSEmmanuel Vadot			&pinctrl_ndsr1_default
310*f126890aSEmmanuel Vadot			&pinctrl_ncts1_default
311*f126890aSEmmanuel Vadot			&pinctrl_ndcd1_default
312*f126890aSEmmanuel Vadot			&pinctrl_nri1_default>;
313*f126890aSEmmanuel Vadot};
314*f126890aSEmmanuel Vadot
315*f126890aSEmmanuel Vadot&uart2 {
316*f126890aSEmmanuel Vadot	/* APSS */
317*f126890aSEmmanuel Vadot	status = "okay";
318*f126890aSEmmanuel Vadot	pinctrl-names = "default";
319*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
320*f126890aSEmmanuel Vadot};
321*f126890aSEmmanuel Vadot
322*f126890aSEmmanuel Vadot&uart5 {
323*f126890aSEmmanuel Vadot	status = "okay";
324*f126890aSEmmanuel Vadot};
325*f126890aSEmmanuel Vadot
326*f126890aSEmmanuel Vadot&lpc_ctrl {
327*f126890aSEmmanuel Vadot	status = "okay";
328*f126890aSEmmanuel Vadot	memory-region = <&flash_memory>;
329*f126890aSEmmanuel Vadot	flash = <&spi1>;
330*f126890aSEmmanuel Vadot};
331*f126890aSEmmanuel Vadot
332*f126890aSEmmanuel Vadot&mac0 {
333*f126890aSEmmanuel Vadot	status = "okay";
334*f126890aSEmmanuel Vadot	pinctrl-names = "default";
335*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rmii1_default>;
336*f126890aSEmmanuel Vadot	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
337*f126890aSEmmanuel Vadot		 <&syscon ASPEED_CLK_MAC1RCLK>;
338*f126890aSEmmanuel Vadot	clock-names = "MACCLK", "RCLK";
339*f126890aSEmmanuel Vadot	use-ncsi;
340*f126890aSEmmanuel Vadot};
341*f126890aSEmmanuel Vadot
342*f126890aSEmmanuel Vadot&i2c2 {
343*f126890aSEmmanuel Vadot	status = "okay";
344*f126890aSEmmanuel Vadot
345*f126890aSEmmanuel Vadot	/* MUX ->
346*f126890aSEmmanuel Vadot	 *    Samtec 1
347*f126890aSEmmanuel Vadot	 *    Samtec 2
348*f126890aSEmmanuel Vadot	 */
349*f126890aSEmmanuel Vadot};
350*f126890aSEmmanuel Vadot
351*f126890aSEmmanuel Vadot&i2c3 {
352*f126890aSEmmanuel Vadot	status = "okay";
353*f126890aSEmmanuel Vadot
354*f126890aSEmmanuel Vadot	bmp: bmp280@77 {
355*f126890aSEmmanuel Vadot		compatible = "bosch,bmp280";
356*f126890aSEmmanuel Vadot		reg = <0x77>;
357*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
358*f126890aSEmmanuel Vadot	};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot	max31785@52 {
361*f126890aSEmmanuel Vadot		compatible = "maxim,max31785a";
362*f126890aSEmmanuel Vadot		reg = <0x52>;
363*f126890aSEmmanuel Vadot		#address-cells = <1>;
364*f126890aSEmmanuel Vadot		#size-cells = <0>;
365*f126890aSEmmanuel Vadot	};
366*f126890aSEmmanuel Vadot
367*f126890aSEmmanuel Vadot	dps: dps310@76 {
368*f126890aSEmmanuel Vadot		compatible = "infineon,dps310";
369*f126890aSEmmanuel Vadot		reg = <0x76>;
370*f126890aSEmmanuel Vadot		#io-channel-cells = <0>;
371*f126890aSEmmanuel Vadot	};
372*f126890aSEmmanuel Vadot
373*f126890aSEmmanuel Vadot	pca0: pca9552@60 {
374*f126890aSEmmanuel Vadot		compatible = "nxp,pca9552";
375*f126890aSEmmanuel Vadot		reg = <0x60>;
376*f126890aSEmmanuel Vadot		#address-cells = <1>;
377*f126890aSEmmanuel Vadot		#size-cells = <0>;
378*f126890aSEmmanuel Vadot
379*f126890aSEmmanuel Vadot		gpio-controller;
380*f126890aSEmmanuel Vadot		#gpio-cells = <2>;
381*f126890aSEmmanuel Vadot
382*f126890aSEmmanuel Vadot		gpio@0 {
383*f126890aSEmmanuel Vadot			reg = <0>;
384*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
385*f126890aSEmmanuel Vadot		};
386*f126890aSEmmanuel Vadot
387*f126890aSEmmanuel Vadot		gpio@1 {
388*f126890aSEmmanuel Vadot			reg = <1>;
389*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
390*f126890aSEmmanuel Vadot		};
391*f126890aSEmmanuel Vadot
392*f126890aSEmmanuel Vadot		gpio@2 {
393*f126890aSEmmanuel Vadot			reg = <2>;
394*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
395*f126890aSEmmanuel Vadot		};
396*f126890aSEmmanuel Vadot
397*f126890aSEmmanuel Vadot		gpio@3 {
398*f126890aSEmmanuel Vadot			reg = <3>;
399*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
400*f126890aSEmmanuel Vadot		};
401*f126890aSEmmanuel Vadot
402*f126890aSEmmanuel Vadot		gpio@4 {
403*f126890aSEmmanuel Vadot			reg = <4>;
404*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
405*f126890aSEmmanuel Vadot		};
406*f126890aSEmmanuel Vadot
407*f126890aSEmmanuel Vadot		gpio@5 {
408*f126890aSEmmanuel Vadot			reg = <5>;
409*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
410*f126890aSEmmanuel Vadot		};
411*f126890aSEmmanuel Vadot
412*f126890aSEmmanuel Vadot		gpio@6 {
413*f126890aSEmmanuel Vadot			reg = <6>;
414*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
415*f126890aSEmmanuel Vadot		};
416*f126890aSEmmanuel Vadot
417*f126890aSEmmanuel Vadot		gpio@7 {
418*f126890aSEmmanuel Vadot			reg = <7>;
419*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
420*f126890aSEmmanuel Vadot		};
421*f126890aSEmmanuel Vadot
422*f126890aSEmmanuel Vadot		gpio@8 {
423*f126890aSEmmanuel Vadot			reg = <8>;
424*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
425*f126890aSEmmanuel Vadot		};
426*f126890aSEmmanuel Vadot
427*f126890aSEmmanuel Vadot		gpio@9 {
428*f126890aSEmmanuel Vadot			reg = <9>;
429*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
430*f126890aSEmmanuel Vadot		};
431*f126890aSEmmanuel Vadot
432*f126890aSEmmanuel Vadot		gpio@10 {
433*f126890aSEmmanuel Vadot			reg = <10>;
434*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
435*f126890aSEmmanuel Vadot		};
436*f126890aSEmmanuel Vadot
437*f126890aSEmmanuel Vadot		gpio@11 {
438*f126890aSEmmanuel Vadot			reg = <11>;
439*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
440*f126890aSEmmanuel Vadot		};
441*f126890aSEmmanuel Vadot
442*f126890aSEmmanuel Vadot		gpio@12 {
443*f126890aSEmmanuel Vadot			reg = <12>;
444*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
445*f126890aSEmmanuel Vadot		};
446*f126890aSEmmanuel Vadot
447*f126890aSEmmanuel Vadot		gpio@13 {
448*f126890aSEmmanuel Vadot			reg = <13>;
449*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
450*f126890aSEmmanuel Vadot		};
451*f126890aSEmmanuel Vadot
452*f126890aSEmmanuel Vadot		gpio@14 {
453*f126890aSEmmanuel Vadot			reg = <14>;
454*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
455*f126890aSEmmanuel Vadot		};
456*f126890aSEmmanuel Vadot
457*f126890aSEmmanuel Vadot		gpio@15 {
458*f126890aSEmmanuel Vadot			reg = <15>;
459*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
460*f126890aSEmmanuel Vadot		};
461*f126890aSEmmanuel Vadot	};
462*f126890aSEmmanuel Vadot
463*f126890aSEmmanuel Vadot	power-supply@68 {
464*f126890aSEmmanuel Vadot		compatible = "ibm,cffps1";
465*f126890aSEmmanuel Vadot		reg = <0x68>;
466*f126890aSEmmanuel Vadot	};
467*f126890aSEmmanuel Vadot
468*f126890aSEmmanuel Vadot	power-supply@69 {
469*f126890aSEmmanuel Vadot		compatible = "ibm,cffps1";
470*f126890aSEmmanuel Vadot		reg = <0x69>;
471*f126890aSEmmanuel Vadot	};
472*f126890aSEmmanuel Vadot};
473*f126890aSEmmanuel Vadot
474*f126890aSEmmanuel Vadot&i2c4 {
475*f126890aSEmmanuel Vadot	status = "okay";
476*f126890aSEmmanuel Vadot
477*f126890aSEmmanuel Vadot	tmp423a@4c {
478*f126890aSEmmanuel Vadot		compatible = "ti,tmp423";
479*f126890aSEmmanuel Vadot		reg = <0x4c>;
480*f126890aSEmmanuel Vadot	};
481*f126890aSEmmanuel Vadot
482*f126890aSEmmanuel Vadot	ir35221@70 {
483*f126890aSEmmanuel Vadot		compatible = "infineon,ir35221";
484*f126890aSEmmanuel Vadot		reg = <0x70>;
485*f126890aSEmmanuel Vadot	};
486*f126890aSEmmanuel Vadot
487*f126890aSEmmanuel Vadot	ir35221@71 {
488*f126890aSEmmanuel Vadot		compatible = "infineon,ir35221";
489*f126890aSEmmanuel Vadot		reg = <0x71>;
490*f126890aSEmmanuel Vadot	};
491*f126890aSEmmanuel Vadot};
492*f126890aSEmmanuel Vadot
493*f126890aSEmmanuel Vadot
494*f126890aSEmmanuel Vadot&i2c5 {
495*f126890aSEmmanuel Vadot	status = "okay";
496*f126890aSEmmanuel Vadot
497*f126890aSEmmanuel Vadot	tmp423a@4c {
498*f126890aSEmmanuel Vadot		compatible = "ti,tmp423";
499*f126890aSEmmanuel Vadot		reg = <0x4c>;
500*f126890aSEmmanuel Vadot	};
501*f126890aSEmmanuel Vadot
502*f126890aSEmmanuel Vadot	ir35221@70 {
503*f126890aSEmmanuel Vadot		compatible = "infineon,ir35221";
504*f126890aSEmmanuel Vadot		reg = <0x70>;
505*f126890aSEmmanuel Vadot	};
506*f126890aSEmmanuel Vadot
507*f126890aSEmmanuel Vadot	ir35221@71 {
508*f126890aSEmmanuel Vadot		compatible = "infineon,ir35221";
509*f126890aSEmmanuel Vadot		reg = <0x71>;
510*f126890aSEmmanuel Vadot	};
511*f126890aSEmmanuel Vadot};
512*f126890aSEmmanuel Vadot
513*f126890aSEmmanuel Vadot&i2c9 {
514*f126890aSEmmanuel Vadot	status = "okay";
515*f126890aSEmmanuel Vadot
516*f126890aSEmmanuel Vadot	tmp275@4a {
517*f126890aSEmmanuel Vadot		compatible = "ti,tmp275";
518*f126890aSEmmanuel Vadot		reg = <0x4a>;
519*f126890aSEmmanuel Vadot	};
520*f126890aSEmmanuel Vadot};
521*f126890aSEmmanuel Vadot
522*f126890aSEmmanuel Vadot&i2c10 {
523*f126890aSEmmanuel Vadot	/* MUX
524*f126890aSEmmanuel Vadot	 *   -> PCIe Slot 3
525*f126890aSEmmanuel Vadot	 *   -> PCIe Slot 4
526*f126890aSEmmanuel Vadot	 */
527*f126890aSEmmanuel Vadot	status = "okay";
528*f126890aSEmmanuel Vadot};
529*f126890aSEmmanuel Vadot
530*f126890aSEmmanuel Vadot&i2c11 {
531*f126890aSEmmanuel Vadot	status = "okay";
532*f126890aSEmmanuel Vadot
533*f126890aSEmmanuel Vadot	pca9552: pca9552@60 {
534*f126890aSEmmanuel Vadot		compatible = "nxp,pca9552";
535*f126890aSEmmanuel Vadot		reg = <0x60>;
536*f126890aSEmmanuel Vadot		#address-cells = <1>;
537*f126890aSEmmanuel Vadot		#size-cells = <0>;
538*f126890aSEmmanuel Vadot		gpio-controller;
539*f126890aSEmmanuel Vadot		#gpio-cells = <2>;
540*f126890aSEmmanuel Vadot
541*f126890aSEmmanuel Vadot		gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N",
542*f126890aSEmmanuel Vadot			"GPU0_TH_OVERT_N_BUFF",	"GPU1_TH_OVERT_N_BUFF",
543*f126890aSEmmanuel Vadot			"GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF",
544*f126890aSEmmanuel Vadot			"GPU4_TH_OVERT_N_BUFF",	"GPU5_TH_OVERT_N_BUFF",
545*f126890aSEmmanuel Vadot			"GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF",
546*f126890aSEmmanuel Vadot			"GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF",
547*f126890aSEmmanuel Vadot			"GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF",
548*f126890aSEmmanuel Vadot			"12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N";
549*f126890aSEmmanuel Vadot
550*f126890aSEmmanuel Vadot		gpio@0 {
551*f126890aSEmmanuel Vadot			reg = <0>;
552*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
553*f126890aSEmmanuel Vadot		};
554*f126890aSEmmanuel Vadot
555*f126890aSEmmanuel Vadot		gpio@1 {
556*f126890aSEmmanuel Vadot			reg = <1>;
557*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
558*f126890aSEmmanuel Vadot		};
559*f126890aSEmmanuel Vadot
560*f126890aSEmmanuel Vadot		gpio@2 {
561*f126890aSEmmanuel Vadot			reg = <2>;
562*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
563*f126890aSEmmanuel Vadot		};
564*f126890aSEmmanuel Vadot
565*f126890aSEmmanuel Vadot		gpio@3 {
566*f126890aSEmmanuel Vadot			reg = <3>;
567*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
568*f126890aSEmmanuel Vadot		};
569*f126890aSEmmanuel Vadot
570*f126890aSEmmanuel Vadot		gpio@4 {
571*f126890aSEmmanuel Vadot			reg = <4>;
572*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
573*f126890aSEmmanuel Vadot		};
574*f126890aSEmmanuel Vadot
575*f126890aSEmmanuel Vadot		gpio@5 {
576*f126890aSEmmanuel Vadot			reg = <5>;
577*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
578*f126890aSEmmanuel Vadot		};
579*f126890aSEmmanuel Vadot
580*f126890aSEmmanuel Vadot		gpio@6 {
581*f126890aSEmmanuel Vadot			reg = <6>;
582*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
583*f126890aSEmmanuel Vadot		};
584*f126890aSEmmanuel Vadot
585*f126890aSEmmanuel Vadot		gpio@7 {
586*f126890aSEmmanuel Vadot			reg = <7>;
587*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
588*f126890aSEmmanuel Vadot		};
589*f126890aSEmmanuel Vadot
590*f126890aSEmmanuel Vadot		gpio@8 {
591*f126890aSEmmanuel Vadot			reg = <8>;
592*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
593*f126890aSEmmanuel Vadot		};
594*f126890aSEmmanuel Vadot
595*f126890aSEmmanuel Vadot		gpio@9 {
596*f126890aSEmmanuel Vadot			reg = <9>;
597*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
598*f126890aSEmmanuel Vadot		};
599*f126890aSEmmanuel Vadot
600*f126890aSEmmanuel Vadot		gpio@10 {
601*f126890aSEmmanuel Vadot			reg = <10>;
602*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
603*f126890aSEmmanuel Vadot		};
604*f126890aSEmmanuel Vadot
605*f126890aSEmmanuel Vadot		gpio@11 {
606*f126890aSEmmanuel Vadot			reg = <11>;
607*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
608*f126890aSEmmanuel Vadot		};
609*f126890aSEmmanuel Vadot
610*f126890aSEmmanuel Vadot		gpio@12 {
611*f126890aSEmmanuel Vadot			reg = <12>;
612*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
613*f126890aSEmmanuel Vadot		};
614*f126890aSEmmanuel Vadot
615*f126890aSEmmanuel Vadot		gpio@13 {
616*f126890aSEmmanuel Vadot			reg = <13>;
617*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
618*f126890aSEmmanuel Vadot		};
619*f126890aSEmmanuel Vadot
620*f126890aSEmmanuel Vadot		gpio@14 {
621*f126890aSEmmanuel Vadot			reg = <14>;
622*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
623*f126890aSEmmanuel Vadot		};
624*f126890aSEmmanuel Vadot
625*f126890aSEmmanuel Vadot		gpio@15 {
626*f126890aSEmmanuel Vadot			reg = <15>;
627*f126890aSEmmanuel Vadot			type = <PCA955X_TYPE_GPIO>;
628*f126890aSEmmanuel Vadot		};
629*f126890aSEmmanuel Vadot	};
630*f126890aSEmmanuel Vadot
631*f126890aSEmmanuel Vadot	rtc@32 {
632*f126890aSEmmanuel Vadot		compatible = "epson,rx8900";
633*f126890aSEmmanuel Vadot		reg = <0x32>;
634*f126890aSEmmanuel Vadot	};
635*f126890aSEmmanuel Vadot
636*f126890aSEmmanuel Vadot	eeprom@51 {
637*f126890aSEmmanuel Vadot		compatible = "atmel,24c64";
638*f126890aSEmmanuel Vadot		reg = <0x51>;
639*f126890aSEmmanuel Vadot	};
640*f126890aSEmmanuel Vadot
641*f126890aSEmmanuel Vadot	ucd90160@64 {
642*f126890aSEmmanuel Vadot		compatible = "ti,ucd90160";
643*f126890aSEmmanuel Vadot		reg = <0x64>;
644*f126890aSEmmanuel Vadot	};
645*f126890aSEmmanuel Vadot};
646*f126890aSEmmanuel Vadot
647*f126890aSEmmanuel Vadot&i2c12 {
648*f126890aSEmmanuel Vadot	status = "okay";
649*f126890aSEmmanuel Vadot};
650*f126890aSEmmanuel Vadot
651*f126890aSEmmanuel Vadot&i2c13 {
652*f126890aSEmmanuel Vadot	status = "okay";
653*f126890aSEmmanuel Vadot};
654*f126890aSEmmanuel Vadot
655*f126890aSEmmanuel Vadot&vuart {
656*f126890aSEmmanuel Vadot	status = "okay";
657*f126890aSEmmanuel Vadot};
658*f126890aSEmmanuel Vadot
659*f126890aSEmmanuel Vadot&gfx {
660*f126890aSEmmanuel Vadot	status = "okay";
661*f126890aSEmmanuel Vadot	memory-region = <&gfx_memory>;
662*f126890aSEmmanuel Vadot};
663*f126890aSEmmanuel Vadot
664*f126890aSEmmanuel Vadot&wdt1 {
665*f126890aSEmmanuel Vadot	aspeed,reset-type = "none";
666*f126890aSEmmanuel Vadot	aspeed,external-signal;
667*f126890aSEmmanuel Vadot	aspeed,ext-push-pull;
668*f126890aSEmmanuel Vadot	aspeed,ext-active-high;
669*f126890aSEmmanuel Vadot
670*f126890aSEmmanuel Vadot	pinctrl-names = "default";
671*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdtrst1_default>;
672*f126890aSEmmanuel Vadot};
673*f126890aSEmmanuel Vadot
674*f126890aSEmmanuel Vadot&wdt2 {
675*f126890aSEmmanuel Vadot	aspeed,alt-boot;
676*f126890aSEmmanuel Vadot};
677*f126890aSEmmanuel Vadot
678*f126890aSEmmanuel Vadot&ibt {
679*f126890aSEmmanuel Vadot	status = "okay";
680*f126890aSEmmanuel Vadot};
681*f126890aSEmmanuel Vadot
682*f126890aSEmmanuel Vadot&adc {
683*f126890aSEmmanuel Vadot	status = "okay";
684*f126890aSEmmanuel Vadot};
685*f126890aSEmmanuel Vadot
686*f126890aSEmmanuel Vadot&vhub {
687*f126890aSEmmanuel Vadot	status = "okay";
688*f126890aSEmmanuel Vadot};
689*f126890aSEmmanuel Vadot
690*f126890aSEmmanuel Vadot&video {
691*f126890aSEmmanuel Vadot	status = "okay";
692*f126890aSEmmanuel Vadot	memory-region = <&video_engine_memory>;
693*f126890aSEmmanuel Vadot};
694*f126890aSEmmanuel Vadot
695*f126890aSEmmanuel Vadot#include "ibm-power9-dual.dtsi"
696