xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-inspur-fp5280g2.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+
2*724ba675SRob Herring/dts-v1/;
3*724ba675SRob Herring#include "aspeed-g5.dtsi"
4*724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h>
5*724ba675SRob Herring#include <dt-bindings/leds/leds-pca955x.h>
6*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
7*724ba675SRob Herring
8*724ba675SRob Herring/ {
9*724ba675SRob Herring	model = "FP5280G2 BMC";
10*724ba675SRob Herring	compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
11*724ba675SRob Herring
12*724ba675SRob Herring	chosen {
13*724ba675SRob Herring		stdout-path = &uart5;
14*724ba675SRob Herring		bootargs = "console=ttyS4,115200 earlycon";
15*724ba675SRob Herring	};
16*724ba675SRob Herring
17*724ba675SRob Herring	memory@80000000 {
18*724ba675SRob Herring		reg = <0x80000000 0x20000000>;
19*724ba675SRob Herring	};
20*724ba675SRob Herring
21*724ba675SRob Herring	reserved-memory {
22*724ba675SRob Herring		#address-cells = <1>;
23*724ba675SRob Herring		#size-cells = <1>;
24*724ba675SRob Herring		ranges;
25*724ba675SRob Herring
26*724ba675SRob Herring		vga_memory: framebuffer@9f000000 {
27*724ba675SRob Herring			no-map;
28*724ba675SRob Herring			reg = <0x9f000000 0x01000000>; /* 16M */
29*724ba675SRob Herring		};
30*724ba675SRob Herring
31*724ba675SRob Herring		flash_memory: region@98000000 {
32*724ba675SRob Herring			no-map;
33*724ba675SRob Herring			reg = <0x98000000 0x04000000>; /* 64M */
34*724ba675SRob Herring		};
35*724ba675SRob Herring
36*724ba675SRob Herring		coldfire_memory: codefire_memory@9ef00000 {
37*724ba675SRob Herring			reg = <0x9ef00000 0x00100000>;
38*724ba675SRob Herring			no-map;
39*724ba675SRob Herring		};
40*724ba675SRob Herring
41*724ba675SRob Herring		gfx_memory: framebuffer {
42*724ba675SRob Herring			size = <0x01000000>;
43*724ba675SRob Herring			alignment = <0x01000000>;
44*724ba675SRob Herring			compatible = "shared-dma-pool";
45*724ba675SRob Herring			reusable;
46*724ba675SRob Herring		};
47*724ba675SRob Herring
48*724ba675SRob Herring		video_engine_memory: jpegbuffer {
49*724ba675SRob Herring			size = <0x02000000>;	/* 32M */
50*724ba675SRob Herring			alignment = <0x01000000>;
51*724ba675SRob Herring			compatible = "shared-dma-pool";
52*724ba675SRob Herring			reusable;
53*724ba675SRob Herring		};
54*724ba675SRob Herring	};
55*724ba675SRob Herring
56*724ba675SRob Herring	fsi: gpio-fsi {
57*724ba675SRob Herring		compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
58*724ba675SRob Herring		#address-cells = <2>;
59*724ba675SRob Herring		#size-cells = <0>;
60*724ba675SRob Herring		no-gpio-delays;
61*724ba675SRob Herring
62*724ba675SRob Herring		memory-region = <&coldfire_memory>;
63*724ba675SRob Herring		aspeed,sram = <&sram>;
64*724ba675SRob Herring		aspeed,cvic = <&cvic>;
65*724ba675SRob Herring
66*724ba675SRob Herring		clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
67*724ba675SRob Herring		data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
68*724ba675SRob Herring		mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
69*724ba675SRob Herring		enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
70*724ba675SRob Herring		trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
71*724ba675SRob Herring	};
72*724ba675SRob Herring
73*724ba675SRob Herring	gpio-keys {
74*724ba675SRob Herring		compatible = "gpio-keys";
75*724ba675SRob Herring
76*724ba675SRob Herring		event-checkstop {
77*724ba675SRob Herring			label = "checkstop";
78*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
79*724ba675SRob Herring			linux,code = <ASPEED_GPIO(B, 3)>;
80*724ba675SRob Herring		};
81*724ba675SRob Herring
82*724ba675SRob Herring		event-ps0-presence {
83*724ba675SRob Herring			label = "ps0-presence";
84*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
85*724ba675SRob Herring			linux,code = <ASPEED_GPIO(F, 0)>;
86*724ba675SRob Herring		};
87*724ba675SRob Herring
88*724ba675SRob Herring		event-ps1-presence {
89*724ba675SRob Herring			label = "ps1-presence";
90*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
91*724ba675SRob Herring			linux,code = <ASPEED_GPIO(F, 1)>;
92*724ba675SRob Herring		};
93*724ba675SRob Herring
94*724ba675SRob Herring	};
95*724ba675SRob Herring
96*724ba675SRob Herring	gpio-keys-polled {
97*724ba675SRob Herring		compatible = "gpio-keys-polled";
98*724ba675SRob Herring		poll-interval = <1000>;
99*724ba675SRob Herring
100*724ba675SRob Herring		event-fan0-presence {
101*724ba675SRob Herring			label = "fan0-presence";
102*724ba675SRob Herring			gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
103*724ba675SRob Herring			linux,code = <1>;
104*724ba675SRob Herring		};
105*724ba675SRob Herring
106*724ba675SRob Herring		event-fan1-presence {
107*724ba675SRob Herring			label = "fan1-presence";
108*724ba675SRob Herring			gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
109*724ba675SRob Herring			linux,code = <2>;
110*724ba675SRob Herring		};
111*724ba675SRob Herring
112*724ba675SRob Herring		event-fan2-presence {
113*724ba675SRob Herring			label = "fan2-presence";
114*724ba675SRob Herring			gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
115*724ba675SRob Herring			linux,code = <3>;
116*724ba675SRob Herring		};
117*724ba675SRob Herring
118*724ba675SRob Herring		event-fan3-presence {
119*724ba675SRob Herring			label = "fan3-presence";
120*724ba675SRob Herring			gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
121*724ba675SRob Herring			linux,code = <4>;
122*724ba675SRob Herring		};
123*724ba675SRob Herring
124*724ba675SRob Herring		event-fan4-presence {
125*724ba675SRob Herring			label = "fan4-presence";
126*724ba675SRob Herring			gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
127*724ba675SRob Herring			linux,code = <5>;
128*724ba675SRob Herring		};
129*724ba675SRob Herring
130*724ba675SRob Herring		event-fan5-presence {
131*724ba675SRob Herring			label = "fan5-presence";
132*724ba675SRob Herring			gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
133*724ba675SRob Herring			linux,code = <6>;
134*724ba675SRob Herring		};
135*724ba675SRob Herring
136*724ba675SRob Herring		event-fan6-presence {
137*724ba675SRob Herring			label = "fan6-presence";
138*724ba675SRob Herring			gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
139*724ba675SRob Herring			linux,code = <7>;
140*724ba675SRob Herring		};
141*724ba675SRob Herring
142*724ba675SRob Herring		event-fan7-presence {
143*724ba675SRob Herring			label = "fan7-presence";
144*724ba675SRob Herring			gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
145*724ba675SRob Herring			linux,code = <8>;
146*724ba675SRob Herring		};
147*724ba675SRob Herring	};
148*724ba675SRob Herring
149*724ba675SRob Herring	leds {
150*724ba675SRob Herring		compatible = "gpio-leds";
151*724ba675SRob Herring
152*724ba675SRob Herring		power {
153*724ba675SRob Herring			label = "power";
154*724ba675SRob Herring			/* TODO: dummy gpio */
155*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
156*724ba675SRob Herring		};
157*724ba675SRob Herring
158*724ba675SRob Herring		init-ok {
159*724ba675SRob Herring			label = "init-ok";
160*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
161*724ba675SRob Herring		};
162*724ba675SRob Herring
163*724ba675SRob Herring		front-memory {
164*724ba675SRob Herring			label = "front-memory";
165*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
166*724ba675SRob Herring		};
167*724ba675SRob Herring
168*724ba675SRob Herring		front-syshot {
169*724ba675SRob Herring			label = "front-syshot";
170*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
171*724ba675SRob Herring		};
172*724ba675SRob Herring
173*724ba675SRob Herring		front-syshealth {
174*724ba675SRob Herring			label = "front-syshealth";
175*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
176*724ba675SRob Herring		};
177*724ba675SRob Herring
178*724ba675SRob Herring		front-fan {
179*724ba675SRob Herring			label = "front-fan";
180*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
181*724ba675SRob Herring		};
182*724ba675SRob Herring
183*724ba675SRob Herring		front-psu {
184*724ba675SRob Herring			label = "front-psu";
185*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
186*724ba675SRob Herring		};
187*724ba675SRob Herring
188*724ba675SRob Herring		identify {
189*724ba675SRob Herring			label = "identify";
190*724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
191*724ba675SRob Herring		};
192*724ba675SRob Herring	};
193*724ba675SRob Herring
194*724ba675SRob Herring	iio-hwmon-battery {
195*724ba675SRob Herring		compatible = "iio-hwmon";
196*724ba675SRob Herring		io-channels = <&adc 15>;
197*724ba675SRob Herring	};
198*724ba675SRob Herring
199*724ba675SRob Herring	iio-hwmon {
200*724ba675SRob Herring		compatible = "iio-hwmon";
201*724ba675SRob Herring		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
202*724ba675SRob Herring			<&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
203*724ba675SRob Herring			<&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>;
204*724ba675SRob Herring	};
205*724ba675SRob Herring
206*724ba675SRob Herring};
207*724ba675SRob Herring
208*724ba675SRob Herring&gpio {
209*724ba675SRob Herring	gpio-line-names =
210*724ba675SRob Herring	/*A0-A7*/	"","","","","","","","",
211*724ba675SRob Herring	/*B0-B7*/	"","","front-psu","checkstop","cfam-reset","","","init-ok",
212*724ba675SRob Herring	/*C0-C7*/	"","","","","","","","",
213*724ba675SRob Herring	/*D0-D7*/	"","","","","","","","",
214*724ba675SRob Herring	/*E0-E7*/	"","","","","","","","",
215*724ba675SRob Herring	/*F0-F7*/	"ps0-presence","ps1-presence","","","front-memory","","","",
216*724ba675SRob Herring	/*G0-G7*/	"","","","","","","","",
217*724ba675SRob Herring	/*H0-H7*/	"","","","","front-fan","","","",
218*724ba675SRob Herring	/*I0-I7*/	"front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","",
219*724ba675SRob Herring	/*J0-J7*/	"","","","","","","","",
220*724ba675SRob Herring	/*K0-K7*/	"","","","","","","","",
221*724ba675SRob Herring	/*L0-L7*/	"","","","","","","","",
222*724ba675SRob Herring	/*M0-M7*/	"","","","","","","","",
223*724ba675SRob Herring	/*N0-N7*/	"","","","","","","","",
224*724ba675SRob Herring	/*O0-O7*/	"","","","","","","","",
225*724ba675SRob Herring	/*P0-P7*/	"","","","","","","","",
226*724ba675SRob Herring	/*Q0-Q7*/	"","","","","","","","",
227*724ba675SRob Herring	/*R0-R7*/	"","power","trans-gpios","","","","","",
228*724ba675SRob Herring	/*S0-S7*/	"","","","","","","","",
229*724ba675SRob Herring	/*T0-T7*/	"","","","","","","","",
230*724ba675SRob Herring	/*U0-U7*/	"","","","","","","","",
231*724ba675SRob Herring	/*V0-V7*/	"","","","","","","","",
232*724ba675SRob Herring	/*W0-W7*/	"","","","","","","","",
233*724ba675SRob Herring	/*X0-X7*/	"","","","","","","","",
234*724ba675SRob Herring	/*Y0-Y7*/	"","","","","","","","",
235*724ba675SRob Herring	/*Z0-Z7*/	"","","","","","","","identify",
236*724ba675SRob Herring	/*AA0-AA7*/	"clock-gpios","","data-gpios","","","","","",
237*724ba675SRob Herring	/*AB0-AB7*/	"","","","","","","","",
238*724ba675SRob Herring	/*AC0-AC7*/	"","","","","","","","";
239*724ba675SRob Herring};
240*724ba675SRob Herring
241*724ba675SRob Herring&fmc {
242*724ba675SRob Herring	status = "okay";
243*724ba675SRob Herring
244*724ba675SRob Herring	flash@0 {
245*724ba675SRob Herring		status = "okay";
246*724ba675SRob Herring		label = "bmc";
247*724ba675SRob Herring		m25p,fast-read;
248*724ba675SRob Herring		spi-max-frequency = <50000000>;
249*724ba675SRob Herring#include "openbmc-flash-layout-64.dtsi"
250*724ba675SRob Herring	};
251*724ba675SRob Herring};
252*724ba675SRob Herring
253*724ba675SRob Herring&spi1 {
254*724ba675SRob Herring	status = "okay";
255*724ba675SRob Herring	pinctrl-names = "default";
256*724ba675SRob Herring	pinctrl-0 = <&pinctrl_spi1_default>;
257*724ba675SRob Herring
258*724ba675SRob Herring	flash@0 {
259*724ba675SRob Herring		status = "okay";
260*724ba675SRob Herring		label = "pnor";
261*724ba675SRob Herring		m25p,fast-read;
262*724ba675SRob Herring		spi-max-frequency = <100000000>;
263*724ba675SRob Herring	};
264*724ba675SRob Herring};
265*724ba675SRob Herring
266*724ba675SRob Herring&uart1 {
267*724ba675SRob Herring	/* Rear RS-232 connector */
268*724ba675SRob Herring	status = "okay";
269*724ba675SRob Herring	pinctrl-names = "default";
270*724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd1_default
271*724ba675SRob Herring			&pinctrl_rxd1_default
272*724ba675SRob Herring			&pinctrl_nrts1_default
273*724ba675SRob Herring			&pinctrl_ndtr1_default
274*724ba675SRob Herring			&pinctrl_ndsr1_default
275*724ba675SRob Herring			&pinctrl_ncts1_default
276*724ba675SRob Herring			&pinctrl_ndcd1_default
277*724ba675SRob Herring			&pinctrl_nri1_default>;
278*724ba675SRob Herring};
279*724ba675SRob Herring
280*724ba675SRob Herring&uart2 {
281*724ba675SRob Herring	/* Test Point */
282*724ba675SRob Herring	status = "okay";
283*724ba675SRob Herring	pinctrl-names = "default";
284*724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
285*724ba675SRob Herring};
286*724ba675SRob Herring
287*724ba675SRob Herring&uart3 {
288*724ba675SRob Herring	/* APSS */
289*724ba675SRob Herring	status = "okay";
290*724ba675SRob Herring	pinctrl-names = "default";
291*724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
292*724ba675SRob Herring};
293*724ba675SRob Herring
294*724ba675SRob Herring&uart5 {
295*724ba675SRob Herring	status = "okay";
296*724ba675SRob Herring};
297*724ba675SRob Herring
298*724ba675SRob Herring&lpc_ctrl {
299*724ba675SRob Herring	status = "okay";
300*724ba675SRob Herring	memory-region = <&flash_memory>;
301*724ba675SRob Herring	flash = <&spi1>;
302*724ba675SRob Herring};
303*724ba675SRob Herring
304*724ba675SRob Herring&mac0 {
305*724ba675SRob Herring	status = "okay";
306*724ba675SRob Herring	pinctrl-names = "default";
307*724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii1_default>;
308*724ba675SRob Herring	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
309*724ba675SRob Herring		 <&syscon ASPEED_CLK_MAC1RCLK>;
310*724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
311*724ba675SRob Herring	use-ncsi;
312*724ba675SRob Herring};
313*724ba675SRob Herring
314*724ba675SRob Herring&mac1 {
315*724ba675SRob Herring	status = "okay";
316*724ba675SRob Herring	pinctrl-names = "default";
317*724ba675SRob Herring	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
318*724ba675SRob Herring};
319*724ba675SRob Herring
320*724ba675SRob Herring&i2c0 {
321*724ba675SRob Herring	/* LCD */
322*724ba675SRob Herring	status = "okay";
323*724ba675SRob Herring};
324*724ba675SRob Herring
325*724ba675SRob Herring&i2c1 {
326*724ba675SRob Herring	status = "okay";
327*724ba675SRob Herring
328*724ba675SRob Herring	eeprom@50 {
329*724ba675SRob Herring		compatible = "atmel,24c256";
330*724ba675SRob Herring		reg = <0x50>;
331*724ba675SRob Herring		label = "fru";
332*724ba675SRob Herring	};
333*724ba675SRob Herring
334*724ba675SRob Herring};
335*724ba675SRob Herring
336*724ba675SRob Herring&i2c2 {
337*724ba675SRob Herring	status = "okay";
338*724ba675SRob Herring
339*724ba675SRob Herring	tmp112@48 {
340*724ba675SRob Herring		compatible = "ti,tmp112";
341*724ba675SRob Herring		reg = <0x48>;
342*724ba675SRob Herring		label = "inlet";
343*724ba675SRob Herring	};
344*724ba675SRob Herring
345*724ba675SRob Herring	tmp112@49 {
346*724ba675SRob Herring		compatible = "ti,tmp112";
347*724ba675SRob Herring		reg = <0x49>;
348*724ba675SRob Herring		label = "outlet";
349*724ba675SRob Herring	};
350*724ba675SRob Herring
351*724ba675SRob Herring	i2c-switch@70 {
352*724ba675SRob Herring		compatible = "nxp,pca9546";
353*724ba675SRob Herring		reg = <0x70>;
354*724ba675SRob Herring		#address-cells = <1>;
355*724ba675SRob Herring		#size-cells = <0>;
356*724ba675SRob Herring
357*724ba675SRob Herring		i2c@0 {
358*724ba675SRob Herring			#address-cells = <1>;
359*724ba675SRob Herring			#size-cells = <0>;
360*724ba675SRob Herring			reg = <0>;
361*724ba675SRob Herring
362*724ba675SRob Herring			tmp112@4a {
363*724ba675SRob Herring				compatible = "ti,tmp112";
364*724ba675SRob Herring				reg = <0x4a>;
365*724ba675SRob Herring				label = "psu_inlet";
366*724ba675SRob Herring			};
367*724ba675SRob Herring
368*724ba675SRob Herring		};
369*724ba675SRob Herring
370*724ba675SRob Herring		i2c@1 {
371*724ba675SRob Herring			#address-cells = <1>;
372*724ba675SRob Herring			#size-cells = <0>;
373*724ba675SRob Herring			reg = <1>;
374*724ba675SRob Herring
375*724ba675SRob Herring			tmp112@4a {
376*724ba675SRob Herring				compatible = "ti,tmp112";
377*724ba675SRob Herring				reg = <0x4a>;
378*724ba675SRob Herring				label = "ocp_zone";
379*724ba675SRob Herring			};
380*724ba675SRob Herring		};
381*724ba675SRob Herring
382*724ba675SRob Herring		i2c@2 {
383*724ba675SRob Herring			#address-cells = <1>;
384*724ba675SRob Herring			#size-cells = <0>;
385*724ba675SRob Herring			reg = <2>;
386*724ba675SRob Herring
387*724ba675SRob Herring			tmp112@4a {
388*724ba675SRob Herring				compatible = "ti,tmp112";
389*724ba675SRob Herring				reg = <0x4a>;
390*724ba675SRob Herring				label = "bmc_zone";
391*724ba675SRob Herring			};
392*724ba675SRob Herring		};
393*724ba675SRob Herring
394*724ba675SRob Herring		i2c@3 {
395*724ba675SRob Herring			#address-cells = <1>;
396*724ba675SRob Herring			#size-cells = <0>;
397*724ba675SRob Herring			reg = <3>;
398*724ba675SRob Herring
399*724ba675SRob Herring			tmp112@7c {
400*724ba675SRob Herring				compatible = "microchip,emc1413";
401*724ba675SRob Herring				reg = <0x7c>;
402*724ba675SRob Herring			};
403*724ba675SRob Herring		};
404*724ba675SRob Herring
405*724ba675SRob Herring	};
406*724ba675SRob Herring};
407*724ba675SRob Herring
408*724ba675SRob Herring&i2c3 {
409*724ba675SRob Herring	/* Riser Card */
410*724ba675SRob Herring	status = "okay";
411*724ba675SRob Herring};
412*724ba675SRob Herring
413*724ba675SRob Herring&i2c4 {
414*724ba675SRob Herring	status = "okay";
415*724ba675SRob Herring
416*724ba675SRob Herring	rtc@68 {
417*724ba675SRob Herring		compatible = "dallas,ds3232";
418*724ba675SRob Herring		reg = <0x68>;
419*724ba675SRob Herring	};
420*724ba675SRob Herring};
421*724ba675SRob Herring
422*724ba675SRob Herring&i2c5 {
423*724ba675SRob Herring	/* vr  */
424*724ba675SRob Herring	status = "okay";
425*724ba675SRob Herring};
426*724ba675SRob Herring
427*724ba675SRob Herring&i2c6 {
428*724ba675SRob Herring	/* bp card */
429*724ba675SRob Herring	status = "okay";
430*724ba675SRob Herring};
431*724ba675SRob Herring
432*724ba675SRob Herring&i2c7 {
433*724ba675SRob Herring	status = "okay";
434*724ba675SRob Herring
435*724ba675SRob Herring	i2c-switch@70 {
436*724ba675SRob Herring		compatible = "nxp,pca9546";
437*724ba675SRob Herring		reg = <0x70>;
438*724ba675SRob Herring		#address-cells = <1>;
439*724ba675SRob Herring		#size-cells = <0>;
440*724ba675SRob Herring
441*724ba675SRob Herring		i2c@0 {
442*724ba675SRob Herring			#address-cells = <1>;
443*724ba675SRob Herring			#size-cells = <0>;
444*724ba675SRob Herring			reg = <0>;
445*724ba675SRob Herring
446*724ba675SRob Herring			adm1278@10 {
447*724ba675SRob Herring				compatible = "adi,adm1278";
448*724ba675SRob Herring				reg = <0x10>;
449*724ba675SRob Herring			};
450*724ba675SRob Herring
451*724ba675SRob Herring			adm1278@13 {
452*724ba675SRob Herring				compatible = "adi,adm1278";
453*724ba675SRob Herring				reg = <0x13>;
454*724ba675SRob Herring			};
455*724ba675SRob Herring
456*724ba675SRob Herring			adm1278@50 {
457*724ba675SRob Herring				compatible = "adi,adm1278";
458*724ba675SRob Herring				reg = <0x50>;
459*724ba675SRob Herring			};
460*724ba675SRob Herring
461*724ba675SRob Herring			adm1278@53 {
462*724ba675SRob Herring				compatible = "adi,adm1278";
463*724ba675SRob Herring				reg = <0x53>;
464*724ba675SRob Herring			};
465*724ba675SRob Herring
466*724ba675SRob Herring		};
467*724ba675SRob Herring
468*724ba675SRob Herring		/*pcie riser*/
469*724ba675SRob Herring
470*724ba675SRob Herring	};
471*724ba675SRob Herring};
472*724ba675SRob Herring
473*724ba675SRob Herring&i2c8 {
474*724ba675SRob Herring	status = "okay";
475*724ba675SRob Herring
476*724ba675SRob Herring	pca0: pca9555@20 {
477*724ba675SRob Herring		compatible = "nxp,pca9555";
478*724ba675SRob Herring		reg = <0x20>;
479*724ba675SRob Herring		#address-cells = <1>;
480*724ba675SRob Herring		#size-cells = <0>;
481*724ba675SRob Herring
482*724ba675SRob Herring		gpio-controller;
483*724ba675SRob Herring		#gpio-cells = <2>;
484*724ba675SRob Herring
485*724ba675SRob Herring		gpio@0 {
486*724ba675SRob Herring			reg = <0>;
487*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
488*724ba675SRob Herring		};
489*724ba675SRob Herring
490*724ba675SRob Herring		gpio@1 {
491*724ba675SRob Herring			reg = <1>;
492*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
493*724ba675SRob Herring		};
494*724ba675SRob Herring
495*724ba675SRob Herring		gpio@2 {
496*724ba675SRob Herring			reg = <2>;
497*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
498*724ba675SRob Herring		};
499*724ba675SRob Herring
500*724ba675SRob Herring		gpio@3 {
501*724ba675SRob Herring			reg = <3>;
502*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
503*724ba675SRob Herring		};
504*724ba675SRob Herring
505*724ba675SRob Herring		gpio@4 {
506*724ba675SRob Herring			reg = <4>;
507*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
508*724ba675SRob Herring		};
509*724ba675SRob Herring
510*724ba675SRob Herring		gpio@5 {
511*724ba675SRob Herring			reg = <5>;
512*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
513*724ba675SRob Herring		};
514*724ba675SRob Herring
515*724ba675SRob Herring		gpio@6 {
516*724ba675SRob Herring			reg = <6>;
517*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
518*724ba675SRob Herring		};
519*724ba675SRob Herring
520*724ba675SRob Herring		gpio@7 {
521*724ba675SRob Herring			reg = <7>;
522*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
523*724ba675SRob Herring		};
524*724ba675SRob Herring
525*724ba675SRob Herring	};
526*724ba675SRob Herring
527*724ba675SRob Herring	pca1: pca9555@21 {
528*724ba675SRob Herring		compatible = "nxp,pca9555";
529*724ba675SRob Herring		reg = <0x21>;
530*724ba675SRob Herring		#address-cells = <1>;
531*724ba675SRob Herring		#size-cells = <0>;
532*724ba675SRob Herring
533*724ba675SRob Herring		gpio-controller;
534*724ba675SRob Herring		#gpio-cells = <2>;
535*724ba675SRob Herring
536*724ba675SRob Herring		gpio@0 {
537*724ba675SRob Herring			reg = <0>;
538*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
539*724ba675SRob Herring		};
540*724ba675SRob Herring
541*724ba675SRob Herring		gpio@1 {
542*724ba675SRob Herring			reg = <1>;
543*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
544*724ba675SRob Herring		};
545*724ba675SRob Herring
546*724ba675SRob Herring		gpio@2 {
547*724ba675SRob Herring			reg = <2>;
548*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
549*724ba675SRob Herring		};
550*724ba675SRob Herring
551*724ba675SRob Herring		gpio@3 {
552*724ba675SRob Herring			reg = <3>;
553*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
554*724ba675SRob Herring		};
555*724ba675SRob Herring
556*724ba675SRob Herring		gpio@4 {
557*724ba675SRob Herring			reg = <4>;
558*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
559*724ba675SRob Herring		};
560*724ba675SRob Herring
561*724ba675SRob Herring		gpio@5 {
562*724ba675SRob Herring			reg = <5>;
563*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
564*724ba675SRob Herring		};
565*724ba675SRob Herring
566*724ba675SRob Herring		gpio@6 {
567*724ba675SRob Herring			reg = <6>;
568*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
569*724ba675SRob Herring		};
570*724ba675SRob Herring
571*724ba675SRob Herring		gpio@7 {
572*724ba675SRob Herring			reg = <7>;
573*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
574*724ba675SRob Herring		};
575*724ba675SRob Herring	};
576*724ba675SRob Herring
577*724ba675SRob Herring	pca2: pca9555@22 {
578*724ba675SRob Herring		compatible = "nxp,pca9555";
579*724ba675SRob Herring		reg = <0x22>;
580*724ba675SRob Herring		#address-cells = <1>;
581*724ba675SRob Herring		#size-cells = <0>;
582*724ba675SRob Herring
583*724ba675SRob Herring		gpio-controller;
584*724ba675SRob Herring		#gpio-cells = <2>;
585*724ba675SRob Herring
586*724ba675SRob Herring		gpio@0 {
587*724ba675SRob Herring			reg = <0>;
588*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
589*724ba675SRob Herring		};
590*724ba675SRob Herring
591*724ba675SRob Herring		gpio@1 {
592*724ba675SRob Herring			reg = <1>;
593*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
594*724ba675SRob Herring		};
595*724ba675SRob Herring
596*724ba675SRob Herring		gpio@2 {
597*724ba675SRob Herring			reg = <2>;
598*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
599*724ba675SRob Herring		};
600*724ba675SRob Herring
601*724ba675SRob Herring		gpio@3 {
602*724ba675SRob Herring			reg = <3>;
603*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
604*724ba675SRob Herring		};
605*724ba675SRob Herring
606*724ba675SRob Herring		gpio@4 {
607*724ba675SRob Herring			reg = <4>;
608*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
609*724ba675SRob Herring		};
610*724ba675SRob Herring
611*724ba675SRob Herring		gpio@5 {
612*724ba675SRob Herring			reg = <5>;
613*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
614*724ba675SRob Herring		};
615*724ba675SRob Herring
616*724ba675SRob Herring		gpio@6 {
617*724ba675SRob Herring			reg = <6>;
618*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
619*724ba675SRob Herring		};
620*724ba675SRob Herring
621*724ba675SRob Herring		gpio@7 {
622*724ba675SRob Herring			reg = <7>;
623*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
624*724ba675SRob Herring		};
625*724ba675SRob Herring	};
626*724ba675SRob Herring
627*724ba675SRob Herring	pca3: pca9555@23 {
628*724ba675SRob Herring		compatible = "nxp,pca9555";
629*724ba675SRob Herring		reg = <0x23>;
630*724ba675SRob Herring		#address-cells = <1>;
631*724ba675SRob Herring		#size-cells = <0>;
632*724ba675SRob Herring
633*724ba675SRob Herring		gpio-controller;
634*724ba675SRob Herring		#gpio-cells = <2>;
635*724ba675SRob Herring
636*724ba675SRob Herring		gpio@0 {
637*724ba675SRob Herring			reg = <0>;
638*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
639*724ba675SRob Herring		};
640*724ba675SRob Herring
641*724ba675SRob Herring		gpio@1 {
642*724ba675SRob Herring			reg = <1>;
643*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
644*724ba675SRob Herring		};
645*724ba675SRob Herring
646*724ba675SRob Herring		gpio@2 {
647*724ba675SRob Herring			reg = <2>;
648*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
649*724ba675SRob Herring		};
650*724ba675SRob Herring
651*724ba675SRob Herring		gpio@3 {
652*724ba675SRob Herring			reg = <3>;
653*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
654*724ba675SRob Herring		};
655*724ba675SRob Herring
656*724ba675SRob Herring		gpio@4 {
657*724ba675SRob Herring			reg = <4>;
658*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
659*724ba675SRob Herring		};
660*724ba675SRob Herring
661*724ba675SRob Herring		gpio@5 {
662*724ba675SRob Herring			reg = <5>;
663*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
664*724ba675SRob Herring		};
665*724ba675SRob Herring
666*724ba675SRob Herring		gpio@6 {
667*724ba675SRob Herring			reg = <6>;
668*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
669*724ba675SRob Herring		};
670*724ba675SRob Herring
671*724ba675SRob Herring		gpio@7 {
672*724ba675SRob Herring			reg = <7>;
673*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
674*724ba675SRob Herring		};
675*724ba675SRob Herring	};
676*724ba675SRob Herring
677*724ba675SRob Herring	pca4: pca9555@24 {
678*724ba675SRob Herring		compatible = "nxp,pca9555";
679*724ba675SRob Herring		reg = <0x24>;
680*724ba675SRob Herring		#address-cells = <1>;
681*724ba675SRob Herring		#size-cells = <0>;
682*724ba675SRob Herring
683*724ba675SRob Herring		gpio-controller;
684*724ba675SRob Herring		#gpio-cells = <2>;
685*724ba675SRob Herring
686*724ba675SRob Herring		gpio@0 {
687*724ba675SRob Herring			reg = <0>;
688*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
689*724ba675SRob Herring		};
690*724ba675SRob Herring
691*724ba675SRob Herring		gpio@1 {
692*724ba675SRob Herring			reg = <1>;
693*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
694*724ba675SRob Herring		};
695*724ba675SRob Herring
696*724ba675SRob Herring		gpio@2 {
697*724ba675SRob Herring			reg = <2>;
698*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
699*724ba675SRob Herring		};
700*724ba675SRob Herring
701*724ba675SRob Herring		gpio@3 {
702*724ba675SRob Herring			reg = <3>;
703*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
704*724ba675SRob Herring		};
705*724ba675SRob Herring
706*724ba675SRob Herring		gpio@4 {
707*724ba675SRob Herring			reg = <4>;
708*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
709*724ba675SRob Herring		};
710*724ba675SRob Herring
711*724ba675SRob Herring		gpio@5 {
712*724ba675SRob Herring			reg = <5>;
713*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
714*724ba675SRob Herring		};
715*724ba675SRob Herring
716*724ba675SRob Herring		gpio@6 {
717*724ba675SRob Herring			reg = <6>;
718*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
719*724ba675SRob Herring		};
720*724ba675SRob Herring
721*724ba675SRob Herring		gpio@7 {
722*724ba675SRob Herring			reg = <7>;
723*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
724*724ba675SRob Herring		};
725*724ba675SRob Herring	};
726*724ba675SRob Herring
727*724ba675SRob Herring	pca5: pca9555@25 {
728*724ba675SRob Herring		compatible = "nxp,pca9555";
729*724ba675SRob Herring		reg = <0x25>;
730*724ba675SRob Herring		#address-cells = <1>;
731*724ba675SRob Herring		#size-cells = <0>;
732*724ba675SRob Herring
733*724ba675SRob Herring		gpio-controller;
734*724ba675SRob Herring		#gpio-cells = <2>;
735*724ba675SRob Herring
736*724ba675SRob Herring		gpio@0 {
737*724ba675SRob Herring			reg = <0>;
738*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
739*724ba675SRob Herring		};
740*724ba675SRob Herring
741*724ba675SRob Herring		gpio@1 {
742*724ba675SRob Herring			reg = <1>;
743*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
744*724ba675SRob Herring		};
745*724ba675SRob Herring
746*724ba675SRob Herring		gpio@2 {
747*724ba675SRob Herring			reg = <2>;
748*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
749*724ba675SRob Herring		};
750*724ba675SRob Herring
751*724ba675SRob Herring		gpio@3 {
752*724ba675SRob Herring			reg = <3>;
753*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
754*724ba675SRob Herring		};
755*724ba675SRob Herring
756*724ba675SRob Herring		gpio@4 {
757*724ba675SRob Herring			reg = <4>;
758*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
759*724ba675SRob Herring		};
760*724ba675SRob Herring
761*724ba675SRob Herring		gpio@5 {
762*724ba675SRob Herring			reg = <5>;
763*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
764*724ba675SRob Herring		};
765*724ba675SRob Herring
766*724ba675SRob Herring		gpio@6 {
767*724ba675SRob Herring			reg = <6>;
768*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
769*724ba675SRob Herring		};
770*724ba675SRob Herring
771*724ba675SRob Herring		gpio@7 {
772*724ba675SRob Herring			reg = <7>;
773*724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
774*724ba675SRob Herring		};
775*724ba675SRob Herring	};
776*724ba675SRob Herring
777*724ba675SRob Herring};
778*724ba675SRob Herring
779*724ba675SRob Herring&i2c9 {
780*724ba675SRob Herring	/* cpld */
781*724ba675SRob Herring	status = "okay";
782*724ba675SRob Herring};
783*724ba675SRob Herring
784*724ba675SRob Herring&i2c10 {
785*724ba675SRob Herring	/* hdd bp */
786*724ba675SRob Herring	status = "okay";
787*724ba675SRob Herring};
788*724ba675SRob Herring
789*724ba675SRob Herring&i2c11 {
790*724ba675SRob Herring	status = "okay";
791*724ba675SRob Herring
792*724ba675SRob Herring	power-supply@58 {
793*724ba675SRob Herring		compatible = "inspur,ipsps1";
794*724ba675SRob Herring		reg = <0x58>;
795*724ba675SRob Herring	};
796*724ba675SRob Herring
797*724ba675SRob Herring	power-supply@59 {
798*724ba675SRob Herring		compatible = "inspur,ipsps1";
799*724ba675SRob Herring		reg = <0x59>;
800*724ba675SRob Herring	};
801*724ba675SRob Herring};
802*724ba675SRob Herring
803*724ba675SRob Herring&i2c12 {
804*724ba675SRob Herring	/* odcc */
805*724ba675SRob Herring	status = "okay";
806*724ba675SRob Herring};
807*724ba675SRob Herring
808*724ba675SRob Herring&vuart {
809*724ba675SRob Herring	status = "okay";
810*724ba675SRob Herring};
811*724ba675SRob Herring
812*724ba675SRob Herring&gfx {
813*724ba675SRob Herring	status = "okay";
814*724ba675SRob Herring	memory-region = <&gfx_memory>;
815*724ba675SRob Herring};
816*724ba675SRob Herring
817*724ba675SRob Herring&pinctrl {
818*724ba675SRob Herring	aspeed,external-nodes = <&gfx &lhc>;
819*724ba675SRob Herring};
820*724ba675SRob Herring
821*724ba675SRob Herring&wdt1 {
822*724ba675SRob Herring	aspeed,reset-type = "none";
823*724ba675SRob Herring	aspeed,external-signal;
824*724ba675SRob Herring	aspeed,ext-push-pull;
825*724ba675SRob Herring	aspeed,ext-active-high;
826*724ba675SRob Herring
827*724ba675SRob Herring	pinctrl-names = "default";
828*724ba675SRob Herring	pinctrl-0 = <&pinctrl_wdtrst1_default>;
829*724ba675SRob Herring};
830*724ba675SRob Herring
831*724ba675SRob Herring&ibt {
832*724ba675SRob Herring	status = "okay";
833*724ba675SRob Herring
834*724ba675SRob Herring};
835*724ba675SRob Herring
836*724ba675SRob Herring&adc {
837*724ba675SRob Herring	status = "okay";
838*724ba675SRob Herring	pinctrl-names = "default";
839*724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
840*724ba675SRob Herring	 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
841*724ba675SRob Herring	 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
842*724ba675SRob Herring	 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
843*724ba675SRob Herring	 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
844*724ba675SRob Herring	 &pinctrl_adc14_default &pinctrl_adc15_default>;
845*724ba675SRob Herring};
846*724ba675SRob Herring
847*724ba675SRob Herring&vhub {
848*724ba675SRob Herring	status = "okay";
849*724ba675SRob Herring};
850*724ba675SRob Herring
851*724ba675SRob Herring&video {
852*724ba675SRob Herring	status = "okay";
853*724ba675SRob Herring	memory-region = <&video_engine_memory>;
854*724ba675SRob Herring};
855*724ba675SRob Herring
856*724ba675SRob Herring&pwm_tacho {
857*724ba675SRob Herring	status = "okay";
858*724ba675SRob Herring	pinctrl-names = "default";
859*724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
860*724ba675SRob Herring		&pinctrl_pwm2_default &pinctrl_pwm3_default
861*724ba675SRob Herring		&pinctrl_pwm4_default &pinctrl_pwm5_default
862*724ba675SRob Herring		&pinctrl_pwm6_default &pinctrl_pwm7_default>;
863*724ba675SRob Herring
864*724ba675SRob Herring	fan@0 {
865*724ba675SRob Herring		reg = <0x00>;
866*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
867*724ba675SRob Herring	};
868*724ba675SRob Herring
869*724ba675SRob Herring	fan@1 {
870*724ba675SRob Herring		reg = <0x01>;
871*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
872*724ba675SRob Herring	};
873*724ba675SRob Herring
874*724ba675SRob Herring	fan@2 {
875*724ba675SRob Herring		reg = <0x02>;
876*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
877*724ba675SRob Herring	};
878*724ba675SRob Herring
879*724ba675SRob Herring	fan@3 {
880*724ba675SRob Herring		reg = <0x03>;
881*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
882*724ba675SRob Herring	};
883*724ba675SRob Herring
884*724ba675SRob Herring	fan@4 {
885*724ba675SRob Herring		reg = <0x04>;
886*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
887*724ba675SRob Herring	};
888*724ba675SRob Herring
889*724ba675SRob Herring	fan@5 {
890*724ba675SRob Herring		reg = <0x05>;
891*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
892*724ba675SRob Herring	};
893*724ba675SRob Herring
894*724ba675SRob Herring	fan@6 {
895*724ba675SRob Herring		reg = <0x06>;
896*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
897*724ba675SRob Herring	};
898*724ba675SRob Herring
899*724ba675SRob Herring	fan@7 {
900*724ba675SRob Herring		reg = <0x07>;
901*724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
902*724ba675SRob Herring	};
903*724ba675SRob Herring
904*724ba675SRob Herring};
905*724ba675SRob Herring
906*724ba675SRob Herring&kcs3 {
907*724ba675SRob Herring	status = "okay";
908*724ba675SRob Herring	aspeed,lpc-io-reg = <0xca2>;
909*724ba675SRob Herring	aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
910*724ba675SRob Herring};
911*724ba675SRob Herring
912*724ba675SRob Herring#include "ibm-power9-dual.dtsi"
913