xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-inspur-fp5280g2.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring#include "aspeed-g5.dtsi"
4724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h>
5724ba675SRob Herring#include <dt-bindings/leds/leds-pca955x.h>
6724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
7724ba675SRob Herring
8724ba675SRob Herring/ {
9724ba675SRob Herring	model = "FP5280G2 BMC";
10724ba675SRob Herring	compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
11724ba675SRob Herring
12724ba675SRob Herring	chosen {
13724ba675SRob Herring		stdout-path = &uart5;
14724ba675SRob Herring		bootargs = "console=ttyS4,115200 earlycon";
15724ba675SRob Herring	};
16724ba675SRob Herring
17724ba675SRob Herring	memory@80000000 {
18724ba675SRob Herring		reg = <0x80000000 0x20000000>;
19724ba675SRob Herring	};
20724ba675SRob Herring
21724ba675SRob Herring	reserved-memory {
22724ba675SRob Herring		#address-cells = <1>;
23724ba675SRob Herring		#size-cells = <1>;
24724ba675SRob Herring		ranges;
25724ba675SRob Herring
26724ba675SRob Herring		vga_memory: framebuffer@9f000000 {
27724ba675SRob Herring			no-map;
28724ba675SRob Herring			reg = <0x9f000000 0x01000000>; /* 16M */
29724ba675SRob Herring		};
30724ba675SRob Herring
31724ba675SRob Herring		flash_memory: region@98000000 {
32724ba675SRob Herring			no-map;
33724ba675SRob Herring			reg = <0x98000000 0x04000000>; /* 64M */
34724ba675SRob Herring		};
35724ba675SRob Herring
36724ba675SRob Herring		coldfire_memory: codefire_memory@9ef00000 {
37724ba675SRob Herring			reg = <0x9ef00000 0x00100000>;
38724ba675SRob Herring			no-map;
39724ba675SRob Herring		};
40724ba675SRob Herring
41724ba675SRob Herring		gfx_memory: framebuffer {
42724ba675SRob Herring			size = <0x01000000>;
43724ba675SRob Herring			alignment = <0x01000000>;
44724ba675SRob Herring			compatible = "shared-dma-pool";
45724ba675SRob Herring			reusable;
46724ba675SRob Herring		};
47724ba675SRob Herring
48724ba675SRob Herring		video_engine_memory: jpegbuffer {
49724ba675SRob Herring			size = <0x02000000>;	/* 32M */
50724ba675SRob Herring			alignment = <0x01000000>;
51724ba675SRob Herring			compatible = "shared-dma-pool";
52724ba675SRob Herring			reusable;
53724ba675SRob Herring		};
54724ba675SRob Herring	};
55724ba675SRob Herring
56724ba675SRob Herring	fsi: gpio-fsi {
57724ba675SRob Herring		compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
58724ba675SRob Herring		#address-cells = <2>;
59724ba675SRob Herring		#size-cells = <0>;
60724ba675SRob Herring		no-gpio-delays;
61724ba675SRob Herring
62724ba675SRob Herring		memory-region = <&coldfire_memory>;
63724ba675SRob Herring		aspeed,sram = <&sram>;
64724ba675SRob Herring		aspeed,cvic = <&cvic>;
65724ba675SRob Herring
66724ba675SRob Herring		clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
67724ba675SRob Herring		data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
68724ba675SRob Herring		mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
69724ba675SRob Herring		enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
70724ba675SRob Herring		trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
71724ba675SRob Herring	};
72724ba675SRob Herring
73724ba675SRob Herring	gpio-keys {
74724ba675SRob Herring		compatible = "gpio-keys";
75724ba675SRob Herring
76724ba675SRob Herring		event-checkstop {
77724ba675SRob Herring			label = "checkstop";
78724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
79724ba675SRob Herring			linux,code = <ASPEED_GPIO(B, 3)>;
80724ba675SRob Herring		};
81724ba675SRob Herring
82724ba675SRob Herring		event-ps0-presence {
83724ba675SRob Herring			label = "ps0-presence";
84724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
85724ba675SRob Herring			linux,code = <ASPEED_GPIO(F, 0)>;
86724ba675SRob Herring		};
87724ba675SRob Herring
88724ba675SRob Herring		event-ps1-presence {
89724ba675SRob Herring			label = "ps1-presence";
90724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
91724ba675SRob Herring			linux,code = <ASPEED_GPIO(F, 1)>;
92724ba675SRob Herring		};
93724ba675SRob Herring
94724ba675SRob Herring	};
95724ba675SRob Herring
96724ba675SRob Herring	gpio-keys-polled {
97724ba675SRob Herring		compatible = "gpio-keys-polled";
98724ba675SRob Herring		poll-interval = <1000>;
99724ba675SRob Herring
100724ba675SRob Herring		event-fan0-presence {
101724ba675SRob Herring			label = "fan0-presence";
102724ba675SRob Herring			gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
103724ba675SRob Herring			linux,code = <1>;
104724ba675SRob Herring		};
105724ba675SRob Herring
106724ba675SRob Herring		event-fan1-presence {
107724ba675SRob Herring			label = "fan1-presence";
108724ba675SRob Herring			gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
109724ba675SRob Herring			linux,code = <2>;
110724ba675SRob Herring		};
111724ba675SRob Herring
112724ba675SRob Herring		event-fan2-presence {
113724ba675SRob Herring			label = "fan2-presence";
114724ba675SRob Herring			gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
115724ba675SRob Herring			linux,code = <3>;
116724ba675SRob Herring		};
117724ba675SRob Herring
118724ba675SRob Herring		event-fan3-presence {
119724ba675SRob Herring			label = "fan3-presence";
120724ba675SRob Herring			gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
121724ba675SRob Herring			linux,code = <4>;
122724ba675SRob Herring		};
123724ba675SRob Herring
124724ba675SRob Herring		event-fan4-presence {
125724ba675SRob Herring			label = "fan4-presence";
126724ba675SRob Herring			gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
127724ba675SRob Herring			linux,code = <5>;
128724ba675SRob Herring		};
129724ba675SRob Herring
130724ba675SRob Herring		event-fan5-presence {
131724ba675SRob Herring			label = "fan5-presence";
132724ba675SRob Herring			gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
133724ba675SRob Herring			linux,code = <6>;
134724ba675SRob Herring		};
135724ba675SRob Herring
136724ba675SRob Herring		event-fan6-presence {
137724ba675SRob Herring			label = "fan6-presence";
138724ba675SRob Herring			gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
139724ba675SRob Herring			linux,code = <7>;
140724ba675SRob Herring		};
141724ba675SRob Herring
142724ba675SRob Herring		event-fan7-presence {
143724ba675SRob Herring			label = "fan7-presence";
144724ba675SRob Herring			gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
145724ba675SRob Herring			linux,code = <8>;
146724ba675SRob Herring		};
147724ba675SRob Herring	};
148724ba675SRob Herring
149724ba675SRob Herring	leds {
150724ba675SRob Herring		compatible = "gpio-leds";
151724ba675SRob Herring
152724ba675SRob Herring		power {
153724ba675SRob Herring			label = "power";
154724ba675SRob Herring			/* TODO: dummy gpio */
155724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
156724ba675SRob Herring		};
157724ba675SRob Herring
158724ba675SRob Herring		init-ok {
159724ba675SRob Herring			label = "init-ok";
160724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
161724ba675SRob Herring		};
162724ba675SRob Herring
163724ba675SRob Herring		front-memory {
164724ba675SRob Herring			label = "front-memory";
165724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
166724ba675SRob Herring		};
167724ba675SRob Herring
168724ba675SRob Herring		front-syshot {
169724ba675SRob Herring			label = "front-syshot";
170724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
171724ba675SRob Herring		};
172724ba675SRob Herring
173724ba675SRob Herring		front-syshealth {
174724ba675SRob Herring			label = "front-syshealth";
175724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
176724ba675SRob Herring		};
177724ba675SRob Herring
178724ba675SRob Herring		front-fan {
179724ba675SRob Herring			label = "front-fan";
180724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
181724ba675SRob Herring		};
182724ba675SRob Herring
183724ba675SRob Herring		front-psu {
184724ba675SRob Herring			label = "front-psu";
185724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
186724ba675SRob Herring		};
187724ba675SRob Herring
188724ba675SRob Herring		identify {
189724ba675SRob Herring			label = "identify";
190724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
191724ba675SRob Herring		};
192724ba675SRob Herring	};
193724ba675SRob Herring
194724ba675SRob Herring	iio-hwmon-battery {
195724ba675SRob Herring		compatible = "iio-hwmon";
196724ba675SRob Herring		io-channels = <&adc 15>;
197724ba675SRob Herring	};
198724ba675SRob Herring
199724ba675SRob Herring	iio-hwmon {
200724ba675SRob Herring		compatible = "iio-hwmon";
201724ba675SRob Herring		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
202724ba675SRob Herring			<&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
203724ba675SRob Herring			<&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>;
204724ba675SRob Herring	};
205724ba675SRob Herring
206724ba675SRob Herring};
207724ba675SRob Herring
208724ba675SRob Herring&gpio {
209724ba675SRob Herring	gpio-line-names =
210724ba675SRob Herring	/*A0-A7*/	"","","","","","","","",
211724ba675SRob Herring	/*B0-B7*/	"","","front-psu","checkstop","cfam-reset","","","init-ok",
212724ba675SRob Herring	/*C0-C7*/	"","","","","","","","",
213724ba675SRob Herring	/*D0-D7*/	"","","","","","","","",
214724ba675SRob Herring	/*E0-E7*/	"","","","","","","","",
215724ba675SRob Herring	/*F0-F7*/	"ps0-presence","ps1-presence","","","front-memory","","","",
216724ba675SRob Herring	/*G0-G7*/	"","","","","","","","",
217724ba675SRob Herring	/*H0-H7*/	"","","","","front-fan","","","",
218724ba675SRob Herring	/*I0-I7*/	"front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","",
219724ba675SRob Herring	/*J0-J7*/	"","","","","","","","",
220724ba675SRob Herring	/*K0-K7*/	"","","","","","","","",
221724ba675SRob Herring	/*L0-L7*/	"","","","","","","","",
222724ba675SRob Herring	/*M0-M7*/	"","","","","","","","",
223724ba675SRob Herring	/*N0-N7*/	"","","","","","","","",
224724ba675SRob Herring	/*O0-O7*/	"","","","","","","","",
225724ba675SRob Herring	/*P0-P7*/	"","","","","","","","",
226724ba675SRob Herring	/*Q0-Q7*/	"","","","","","","","",
227724ba675SRob Herring	/*R0-R7*/	"","power","trans-gpios","","","","","",
228724ba675SRob Herring	/*S0-S7*/	"","","","","","","","",
229724ba675SRob Herring	/*T0-T7*/	"","","","","","","","",
230724ba675SRob Herring	/*U0-U7*/	"","","","","","","","",
231724ba675SRob Herring	/*V0-V7*/	"","","","","","","","",
232724ba675SRob Herring	/*W0-W7*/	"","","","","","","","",
233724ba675SRob Herring	/*X0-X7*/	"","","","","","","","",
234724ba675SRob Herring	/*Y0-Y7*/	"","","","","","","","",
235724ba675SRob Herring	/*Z0-Z7*/	"","","","","","","","identify",
236724ba675SRob Herring	/*AA0-AA7*/	"clock-gpios","","data-gpios","","","","","",
237724ba675SRob Herring	/*AB0-AB7*/	"","","","","","","","",
238724ba675SRob Herring	/*AC0-AC7*/	"","","","","","","","";
239724ba675SRob Herring};
240724ba675SRob Herring
241724ba675SRob Herring&fmc {
242724ba675SRob Herring	status = "okay";
243724ba675SRob Herring
244724ba675SRob Herring	flash@0 {
245724ba675SRob Herring		status = "okay";
246724ba675SRob Herring		label = "bmc";
247724ba675SRob Herring		m25p,fast-read;
248724ba675SRob Herring		spi-max-frequency = <50000000>;
249724ba675SRob Herring#include "openbmc-flash-layout-64.dtsi"
250724ba675SRob Herring	};
251724ba675SRob Herring};
252724ba675SRob Herring
253724ba675SRob Herring&spi1 {
254724ba675SRob Herring	status = "okay";
255724ba675SRob Herring	pinctrl-names = "default";
256724ba675SRob Herring	pinctrl-0 = <&pinctrl_spi1_default>;
257724ba675SRob Herring
258724ba675SRob Herring	flash@0 {
259724ba675SRob Herring		status = "okay";
260724ba675SRob Herring		label = "pnor";
261724ba675SRob Herring		m25p,fast-read;
262724ba675SRob Herring		spi-max-frequency = <100000000>;
263724ba675SRob Herring	};
264724ba675SRob Herring};
265724ba675SRob Herring
266724ba675SRob Herring&uart1 {
267724ba675SRob Herring	/* Rear RS-232 connector */
268724ba675SRob Herring	status = "okay";
269724ba675SRob Herring	pinctrl-names = "default";
270724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd1_default
271724ba675SRob Herring			&pinctrl_rxd1_default
272724ba675SRob Herring			&pinctrl_nrts1_default
273724ba675SRob Herring			&pinctrl_ndtr1_default
274724ba675SRob Herring			&pinctrl_ndsr1_default
275724ba675SRob Herring			&pinctrl_ncts1_default
276724ba675SRob Herring			&pinctrl_ndcd1_default
277724ba675SRob Herring			&pinctrl_nri1_default>;
278724ba675SRob Herring};
279724ba675SRob Herring
280724ba675SRob Herring&uart2 {
281724ba675SRob Herring	/* Test Point */
282724ba675SRob Herring	status = "okay";
283724ba675SRob Herring	pinctrl-names = "default";
284724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
285724ba675SRob Herring};
286724ba675SRob Herring
287724ba675SRob Herring&uart3 {
288724ba675SRob Herring	/* APSS */
289724ba675SRob Herring	status = "okay";
290724ba675SRob Herring	pinctrl-names = "default";
291724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
292724ba675SRob Herring};
293724ba675SRob Herring
294724ba675SRob Herring&uart5 {
295724ba675SRob Herring	status = "okay";
296724ba675SRob Herring};
297724ba675SRob Herring
298724ba675SRob Herring&lpc_ctrl {
299724ba675SRob Herring	status = "okay";
300724ba675SRob Herring	memory-region = <&flash_memory>;
301724ba675SRob Herring	flash = <&spi1>;
302724ba675SRob Herring};
303724ba675SRob Herring
304724ba675SRob Herring&mac0 {
305724ba675SRob Herring	status = "okay";
306724ba675SRob Herring	pinctrl-names = "default";
307724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii1_default>;
308724ba675SRob Herring	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
309724ba675SRob Herring		 <&syscon ASPEED_CLK_MAC1RCLK>;
310724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
311724ba675SRob Herring	use-ncsi;
312724ba675SRob Herring};
313724ba675SRob Herring
314724ba675SRob Herring&mac1 {
315724ba675SRob Herring	status = "okay";
316724ba675SRob Herring	pinctrl-names = "default";
317724ba675SRob Herring	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
318724ba675SRob Herring};
319724ba675SRob Herring
320724ba675SRob Herring&i2c0 {
321724ba675SRob Herring	/* LCD */
322724ba675SRob Herring	status = "okay";
323724ba675SRob Herring};
324724ba675SRob Herring
325724ba675SRob Herring&i2c1 {
326724ba675SRob Herring	status = "okay";
327724ba675SRob Herring
328724ba675SRob Herring	eeprom@50 {
329724ba675SRob Herring		compatible = "atmel,24c256";
330724ba675SRob Herring		reg = <0x50>;
331724ba675SRob Herring		label = "fru";
332724ba675SRob Herring	};
333724ba675SRob Herring
334724ba675SRob Herring};
335724ba675SRob Herring
336724ba675SRob Herring&i2c2 {
337724ba675SRob Herring	status = "okay";
338724ba675SRob Herring
339724ba675SRob Herring	tmp112@48 {
340724ba675SRob Herring		compatible = "ti,tmp112";
341724ba675SRob Herring		reg = <0x48>;
342724ba675SRob Herring		label = "inlet";
343724ba675SRob Herring	};
344724ba675SRob Herring
345724ba675SRob Herring	tmp112@49 {
346724ba675SRob Herring		compatible = "ti,tmp112";
347724ba675SRob Herring		reg = <0x49>;
348724ba675SRob Herring		label = "outlet";
349724ba675SRob Herring	};
350724ba675SRob Herring
351*4b46d86cSGeert Uytterhoeven	i2c-mux@70 {
352724ba675SRob Herring		compatible = "nxp,pca9546";
353724ba675SRob Herring		reg = <0x70>;
354724ba675SRob Herring		#address-cells = <1>;
355724ba675SRob Herring		#size-cells = <0>;
356724ba675SRob Herring
357724ba675SRob Herring		i2c@0 {
358724ba675SRob Herring			#address-cells = <1>;
359724ba675SRob Herring			#size-cells = <0>;
360724ba675SRob Herring			reg = <0>;
361724ba675SRob Herring
362724ba675SRob Herring			tmp112@4a {
363724ba675SRob Herring				compatible = "ti,tmp112";
364724ba675SRob Herring				reg = <0x4a>;
365724ba675SRob Herring				label = "psu_inlet";
366724ba675SRob Herring			};
367724ba675SRob Herring
368724ba675SRob Herring		};
369724ba675SRob Herring
370724ba675SRob Herring		i2c@1 {
371724ba675SRob Herring			#address-cells = <1>;
372724ba675SRob Herring			#size-cells = <0>;
373724ba675SRob Herring			reg = <1>;
374724ba675SRob Herring
375724ba675SRob Herring			tmp112@4a {
376724ba675SRob Herring				compatible = "ti,tmp112";
377724ba675SRob Herring				reg = <0x4a>;
378724ba675SRob Herring				label = "ocp_zone";
379724ba675SRob Herring			};
380724ba675SRob Herring		};
381724ba675SRob Herring
382724ba675SRob Herring		i2c@2 {
383724ba675SRob Herring			#address-cells = <1>;
384724ba675SRob Herring			#size-cells = <0>;
385724ba675SRob Herring			reg = <2>;
386724ba675SRob Herring
387724ba675SRob Herring			tmp112@4a {
388724ba675SRob Herring				compatible = "ti,tmp112";
389724ba675SRob Herring				reg = <0x4a>;
390724ba675SRob Herring				label = "bmc_zone";
391724ba675SRob Herring			};
392724ba675SRob Herring		};
393724ba675SRob Herring
394724ba675SRob Herring		i2c@3 {
395724ba675SRob Herring			#address-cells = <1>;
396724ba675SRob Herring			#size-cells = <0>;
397724ba675SRob Herring			reg = <3>;
398724ba675SRob Herring
399724ba675SRob Herring			tmp112@7c {
400724ba675SRob Herring				compatible = "microchip,emc1413";
401724ba675SRob Herring				reg = <0x7c>;
402724ba675SRob Herring			};
403724ba675SRob Herring		};
404724ba675SRob Herring
405724ba675SRob Herring	};
406724ba675SRob Herring};
407724ba675SRob Herring
408724ba675SRob Herring&i2c3 {
409724ba675SRob Herring	/* Riser Card */
410724ba675SRob Herring	status = "okay";
411724ba675SRob Herring};
412724ba675SRob Herring
413724ba675SRob Herring&i2c4 {
414724ba675SRob Herring	status = "okay";
415724ba675SRob Herring
416724ba675SRob Herring	rtc@68 {
417724ba675SRob Herring		compatible = "dallas,ds3232";
418724ba675SRob Herring		reg = <0x68>;
419724ba675SRob Herring	};
420724ba675SRob Herring};
421724ba675SRob Herring
422724ba675SRob Herring&i2c5 {
423724ba675SRob Herring	/* vr  */
424724ba675SRob Herring	status = "okay";
425724ba675SRob Herring};
426724ba675SRob Herring
427724ba675SRob Herring&i2c6 {
428724ba675SRob Herring	/* bp card */
429724ba675SRob Herring	status = "okay";
430724ba675SRob Herring};
431724ba675SRob Herring
432724ba675SRob Herring&i2c7 {
433724ba675SRob Herring	status = "okay";
434724ba675SRob Herring
435*4b46d86cSGeert Uytterhoeven	i2c-mux@70 {
436724ba675SRob Herring		compatible = "nxp,pca9546";
437724ba675SRob Herring		reg = <0x70>;
438724ba675SRob Herring		#address-cells = <1>;
439724ba675SRob Herring		#size-cells = <0>;
440724ba675SRob Herring
441724ba675SRob Herring		i2c@0 {
442724ba675SRob Herring			#address-cells = <1>;
443724ba675SRob Herring			#size-cells = <0>;
444724ba675SRob Herring			reg = <0>;
445724ba675SRob Herring
446724ba675SRob Herring			adm1278@10 {
447724ba675SRob Herring				compatible = "adi,adm1278";
448724ba675SRob Herring				reg = <0x10>;
449724ba675SRob Herring			};
450724ba675SRob Herring
451724ba675SRob Herring			adm1278@13 {
452724ba675SRob Herring				compatible = "adi,adm1278";
453724ba675SRob Herring				reg = <0x13>;
454724ba675SRob Herring			};
455724ba675SRob Herring
456724ba675SRob Herring			adm1278@50 {
457724ba675SRob Herring				compatible = "adi,adm1278";
458724ba675SRob Herring				reg = <0x50>;
459724ba675SRob Herring			};
460724ba675SRob Herring
461724ba675SRob Herring			adm1278@53 {
462724ba675SRob Herring				compatible = "adi,adm1278";
463724ba675SRob Herring				reg = <0x53>;
464724ba675SRob Herring			};
465724ba675SRob Herring
466724ba675SRob Herring		};
467724ba675SRob Herring
468724ba675SRob Herring		/*pcie riser*/
469724ba675SRob Herring
470724ba675SRob Herring	};
471724ba675SRob Herring};
472724ba675SRob Herring
473724ba675SRob Herring&i2c8 {
474724ba675SRob Herring	status = "okay";
475724ba675SRob Herring
476724ba675SRob Herring	pca0: pca9555@20 {
477724ba675SRob Herring		compatible = "nxp,pca9555";
478724ba675SRob Herring		reg = <0x20>;
479724ba675SRob Herring		#address-cells = <1>;
480724ba675SRob Herring		#size-cells = <0>;
481724ba675SRob Herring
482724ba675SRob Herring		gpio-controller;
483724ba675SRob Herring		#gpio-cells = <2>;
484724ba675SRob Herring
485724ba675SRob Herring		gpio@0 {
486724ba675SRob Herring			reg = <0>;
487724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
488724ba675SRob Herring		};
489724ba675SRob Herring
490724ba675SRob Herring		gpio@1 {
491724ba675SRob Herring			reg = <1>;
492724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
493724ba675SRob Herring		};
494724ba675SRob Herring
495724ba675SRob Herring		gpio@2 {
496724ba675SRob Herring			reg = <2>;
497724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
498724ba675SRob Herring		};
499724ba675SRob Herring
500724ba675SRob Herring		gpio@3 {
501724ba675SRob Herring			reg = <3>;
502724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
503724ba675SRob Herring		};
504724ba675SRob Herring
505724ba675SRob Herring		gpio@4 {
506724ba675SRob Herring			reg = <4>;
507724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
508724ba675SRob Herring		};
509724ba675SRob Herring
510724ba675SRob Herring		gpio@5 {
511724ba675SRob Herring			reg = <5>;
512724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
513724ba675SRob Herring		};
514724ba675SRob Herring
515724ba675SRob Herring		gpio@6 {
516724ba675SRob Herring			reg = <6>;
517724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
518724ba675SRob Herring		};
519724ba675SRob Herring
520724ba675SRob Herring		gpio@7 {
521724ba675SRob Herring			reg = <7>;
522724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
523724ba675SRob Herring		};
524724ba675SRob Herring
525724ba675SRob Herring	};
526724ba675SRob Herring
527724ba675SRob Herring	pca1: pca9555@21 {
528724ba675SRob Herring		compatible = "nxp,pca9555";
529724ba675SRob Herring		reg = <0x21>;
530724ba675SRob Herring		#address-cells = <1>;
531724ba675SRob Herring		#size-cells = <0>;
532724ba675SRob Herring
533724ba675SRob Herring		gpio-controller;
534724ba675SRob Herring		#gpio-cells = <2>;
535724ba675SRob Herring
536724ba675SRob Herring		gpio@0 {
537724ba675SRob Herring			reg = <0>;
538724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
539724ba675SRob Herring		};
540724ba675SRob Herring
541724ba675SRob Herring		gpio@1 {
542724ba675SRob Herring			reg = <1>;
543724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
544724ba675SRob Herring		};
545724ba675SRob Herring
546724ba675SRob Herring		gpio@2 {
547724ba675SRob Herring			reg = <2>;
548724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
549724ba675SRob Herring		};
550724ba675SRob Herring
551724ba675SRob Herring		gpio@3 {
552724ba675SRob Herring			reg = <3>;
553724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
554724ba675SRob Herring		};
555724ba675SRob Herring
556724ba675SRob Herring		gpio@4 {
557724ba675SRob Herring			reg = <4>;
558724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
559724ba675SRob Herring		};
560724ba675SRob Herring
561724ba675SRob Herring		gpio@5 {
562724ba675SRob Herring			reg = <5>;
563724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
564724ba675SRob Herring		};
565724ba675SRob Herring
566724ba675SRob Herring		gpio@6 {
567724ba675SRob Herring			reg = <6>;
568724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
569724ba675SRob Herring		};
570724ba675SRob Herring
571724ba675SRob Herring		gpio@7 {
572724ba675SRob Herring			reg = <7>;
573724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
574724ba675SRob Herring		};
575724ba675SRob Herring	};
576724ba675SRob Herring
577724ba675SRob Herring	pca2: pca9555@22 {
578724ba675SRob Herring		compatible = "nxp,pca9555";
579724ba675SRob Herring		reg = <0x22>;
580724ba675SRob Herring		#address-cells = <1>;
581724ba675SRob Herring		#size-cells = <0>;
582724ba675SRob Herring
583724ba675SRob Herring		gpio-controller;
584724ba675SRob Herring		#gpio-cells = <2>;
585724ba675SRob Herring
586724ba675SRob Herring		gpio@0 {
587724ba675SRob Herring			reg = <0>;
588724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
589724ba675SRob Herring		};
590724ba675SRob Herring
591724ba675SRob Herring		gpio@1 {
592724ba675SRob Herring			reg = <1>;
593724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
594724ba675SRob Herring		};
595724ba675SRob Herring
596724ba675SRob Herring		gpio@2 {
597724ba675SRob Herring			reg = <2>;
598724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
599724ba675SRob Herring		};
600724ba675SRob Herring
601724ba675SRob Herring		gpio@3 {
602724ba675SRob Herring			reg = <3>;
603724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
604724ba675SRob Herring		};
605724ba675SRob Herring
606724ba675SRob Herring		gpio@4 {
607724ba675SRob Herring			reg = <4>;
608724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
609724ba675SRob Herring		};
610724ba675SRob Herring
611724ba675SRob Herring		gpio@5 {
612724ba675SRob Herring			reg = <5>;
613724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
614724ba675SRob Herring		};
615724ba675SRob Herring
616724ba675SRob Herring		gpio@6 {
617724ba675SRob Herring			reg = <6>;
618724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
619724ba675SRob Herring		};
620724ba675SRob Herring
621724ba675SRob Herring		gpio@7 {
622724ba675SRob Herring			reg = <7>;
623724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
624724ba675SRob Herring		};
625724ba675SRob Herring	};
626724ba675SRob Herring
627724ba675SRob Herring	pca3: pca9555@23 {
628724ba675SRob Herring		compatible = "nxp,pca9555";
629724ba675SRob Herring		reg = <0x23>;
630724ba675SRob Herring		#address-cells = <1>;
631724ba675SRob Herring		#size-cells = <0>;
632724ba675SRob Herring
633724ba675SRob Herring		gpio-controller;
634724ba675SRob Herring		#gpio-cells = <2>;
635724ba675SRob Herring
636724ba675SRob Herring		gpio@0 {
637724ba675SRob Herring			reg = <0>;
638724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
639724ba675SRob Herring		};
640724ba675SRob Herring
641724ba675SRob Herring		gpio@1 {
642724ba675SRob Herring			reg = <1>;
643724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
644724ba675SRob Herring		};
645724ba675SRob Herring
646724ba675SRob Herring		gpio@2 {
647724ba675SRob Herring			reg = <2>;
648724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
649724ba675SRob Herring		};
650724ba675SRob Herring
651724ba675SRob Herring		gpio@3 {
652724ba675SRob Herring			reg = <3>;
653724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
654724ba675SRob Herring		};
655724ba675SRob Herring
656724ba675SRob Herring		gpio@4 {
657724ba675SRob Herring			reg = <4>;
658724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
659724ba675SRob Herring		};
660724ba675SRob Herring
661724ba675SRob Herring		gpio@5 {
662724ba675SRob Herring			reg = <5>;
663724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
664724ba675SRob Herring		};
665724ba675SRob Herring
666724ba675SRob Herring		gpio@6 {
667724ba675SRob Herring			reg = <6>;
668724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
669724ba675SRob Herring		};
670724ba675SRob Herring
671724ba675SRob Herring		gpio@7 {
672724ba675SRob Herring			reg = <7>;
673724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
674724ba675SRob Herring		};
675724ba675SRob Herring	};
676724ba675SRob Herring
677724ba675SRob Herring	pca4: pca9555@24 {
678724ba675SRob Herring		compatible = "nxp,pca9555";
679724ba675SRob Herring		reg = <0x24>;
680724ba675SRob Herring		#address-cells = <1>;
681724ba675SRob Herring		#size-cells = <0>;
682724ba675SRob Herring
683724ba675SRob Herring		gpio-controller;
684724ba675SRob Herring		#gpio-cells = <2>;
685724ba675SRob Herring
686724ba675SRob Herring		gpio@0 {
687724ba675SRob Herring			reg = <0>;
688724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
689724ba675SRob Herring		};
690724ba675SRob Herring
691724ba675SRob Herring		gpio@1 {
692724ba675SRob Herring			reg = <1>;
693724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
694724ba675SRob Herring		};
695724ba675SRob Herring
696724ba675SRob Herring		gpio@2 {
697724ba675SRob Herring			reg = <2>;
698724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
699724ba675SRob Herring		};
700724ba675SRob Herring
701724ba675SRob Herring		gpio@3 {
702724ba675SRob Herring			reg = <3>;
703724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
704724ba675SRob Herring		};
705724ba675SRob Herring
706724ba675SRob Herring		gpio@4 {
707724ba675SRob Herring			reg = <4>;
708724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
709724ba675SRob Herring		};
710724ba675SRob Herring
711724ba675SRob Herring		gpio@5 {
712724ba675SRob Herring			reg = <5>;
713724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
714724ba675SRob Herring		};
715724ba675SRob Herring
716724ba675SRob Herring		gpio@6 {
717724ba675SRob Herring			reg = <6>;
718724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
719724ba675SRob Herring		};
720724ba675SRob Herring
721724ba675SRob Herring		gpio@7 {
722724ba675SRob Herring			reg = <7>;
723724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
724724ba675SRob Herring		};
725724ba675SRob Herring	};
726724ba675SRob Herring
727724ba675SRob Herring	pca5: pca9555@25 {
728724ba675SRob Herring		compatible = "nxp,pca9555";
729724ba675SRob Herring		reg = <0x25>;
730724ba675SRob Herring		#address-cells = <1>;
731724ba675SRob Herring		#size-cells = <0>;
732724ba675SRob Herring
733724ba675SRob Herring		gpio-controller;
734724ba675SRob Herring		#gpio-cells = <2>;
735724ba675SRob Herring
736724ba675SRob Herring		gpio@0 {
737724ba675SRob Herring			reg = <0>;
738724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
739724ba675SRob Herring		};
740724ba675SRob Herring
741724ba675SRob Herring		gpio@1 {
742724ba675SRob Herring			reg = <1>;
743724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
744724ba675SRob Herring		};
745724ba675SRob Herring
746724ba675SRob Herring		gpio@2 {
747724ba675SRob Herring			reg = <2>;
748724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
749724ba675SRob Herring		};
750724ba675SRob Herring
751724ba675SRob Herring		gpio@3 {
752724ba675SRob Herring			reg = <3>;
753724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
754724ba675SRob Herring		};
755724ba675SRob Herring
756724ba675SRob Herring		gpio@4 {
757724ba675SRob Herring			reg = <4>;
758724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
759724ba675SRob Herring		};
760724ba675SRob Herring
761724ba675SRob Herring		gpio@5 {
762724ba675SRob Herring			reg = <5>;
763724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
764724ba675SRob Herring		};
765724ba675SRob Herring
766724ba675SRob Herring		gpio@6 {
767724ba675SRob Herring			reg = <6>;
768724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
769724ba675SRob Herring		};
770724ba675SRob Herring
771724ba675SRob Herring		gpio@7 {
772724ba675SRob Herring			reg = <7>;
773724ba675SRob Herring			type = <PCA955X_TYPE_GPIO>;
774724ba675SRob Herring		};
775724ba675SRob Herring	};
776724ba675SRob Herring
777724ba675SRob Herring};
778724ba675SRob Herring
779724ba675SRob Herring&i2c9 {
780724ba675SRob Herring	/* cpld */
781724ba675SRob Herring	status = "okay";
782724ba675SRob Herring};
783724ba675SRob Herring
784724ba675SRob Herring&i2c10 {
785724ba675SRob Herring	/* hdd bp */
786724ba675SRob Herring	status = "okay";
787724ba675SRob Herring};
788724ba675SRob Herring
789724ba675SRob Herring&i2c11 {
790724ba675SRob Herring	status = "okay";
791724ba675SRob Herring
792724ba675SRob Herring	power-supply@58 {
793724ba675SRob Herring		compatible = "inspur,ipsps1";
794724ba675SRob Herring		reg = <0x58>;
795724ba675SRob Herring	};
796724ba675SRob Herring
797724ba675SRob Herring	power-supply@59 {
798724ba675SRob Herring		compatible = "inspur,ipsps1";
799724ba675SRob Herring		reg = <0x59>;
800724ba675SRob Herring	};
801724ba675SRob Herring};
802724ba675SRob Herring
803724ba675SRob Herring&i2c12 {
804724ba675SRob Herring	/* odcc */
805724ba675SRob Herring	status = "okay";
806724ba675SRob Herring};
807724ba675SRob Herring
808724ba675SRob Herring&vuart {
809724ba675SRob Herring	status = "okay";
810724ba675SRob Herring};
811724ba675SRob Herring
812724ba675SRob Herring&gfx {
813724ba675SRob Herring	status = "okay";
814724ba675SRob Herring	memory-region = <&gfx_memory>;
815724ba675SRob Herring};
816724ba675SRob Herring
817724ba675SRob Herring&wdt1 {
818724ba675SRob Herring	aspeed,reset-type = "none";
819724ba675SRob Herring	aspeed,external-signal;
820724ba675SRob Herring	aspeed,ext-push-pull;
821724ba675SRob Herring	aspeed,ext-active-high;
822724ba675SRob Herring
823724ba675SRob Herring	pinctrl-names = "default";
824724ba675SRob Herring	pinctrl-0 = <&pinctrl_wdtrst1_default>;
825724ba675SRob Herring};
826724ba675SRob Herring
827724ba675SRob Herring&ibt {
828724ba675SRob Herring	status = "okay";
829724ba675SRob Herring
830724ba675SRob Herring};
831724ba675SRob Herring
832724ba675SRob Herring&adc {
833724ba675SRob Herring	status = "okay";
834724ba675SRob Herring	pinctrl-names = "default";
835724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
836724ba675SRob Herring	 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
837724ba675SRob Herring	 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
838724ba675SRob Herring	 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
839724ba675SRob Herring	 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
840724ba675SRob Herring	 &pinctrl_adc14_default &pinctrl_adc15_default>;
841724ba675SRob Herring};
842724ba675SRob Herring
843724ba675SRob Herring&vhub {
844724ba675SRob Herring	status = "okay";
845724ba675SRob Herring};
846724ba675SRob Herring
847724ba675SRob Herring&video {
848724ba675SRob Herring	status = "okay";
849724ba675SRob Herring	memory-region = <&video_engine_memory>;
850724ba675SRob Herring};
851724ba675SRob Herring
852724ba675SRob Herring&pwm_tacho {
853724ba675SRob Herring	status = "okay";
854724ba675SRob Herring	pinctrl-names = "default";
855724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
856724ba675SRob Herring		&pinctrl_pwm2_default &pinctrl_pwm3_default
857724ba675SRob Herring		&pinctrl_pwm4_default &pinctrl_pwm5_default
858724ba675SRob Herring		&pinctrl_pwm6_default &pinctrl_pwm7_default>;
859724ba675SRob Herring
860724ba675SRob Herring	fan@0 {
861724ba675SRob Herring		reg = <0x00>;
862724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
863724ba675SRob Herring	};
864724ba675SRob Herring
865724ba675SRob Herring	fan@1 {
866724ba675SRob Herring		reg = <0x01>;
867724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
868724ba675SRob Herring	};
869724ba675SRob Herring
870724ba675SRob Herring	fan@2 {
871724ba675SRob Herring		reg = <0x02>;
872724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
873724ba675SRob Herring	};
874724ba675SRob Herring
875724ba675SRob Herring	fan@3 {
876724ba675SRob Herring		reg = <0x03>;
877724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
878724ba675SRob Herring	};
879724ba675SRob Herring
880724ba675SRob Herring	fan@4 {
881724ba675SRob Herring		reg = <0x04>;
882724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
883724ba675SRob Herring	};
884724ba675SRob Herring
885724ba675SRob Herring	fan@5 {
886724ba675SRob Herring		reg = <0x05>;
887724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
888724ba675SRob Herring	};
889724ba675SRob Herring
890724ba675SRob Herring	fan@6 {
891724ba675SRob Herring		reg = <0x06>;
892724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
893724ba675SRob Herring	};
894724ba675SRob Herring
895724ba675SRob Herring	fan@7 {
896724ba675SRob Herring		reg = <0x07>;
897724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
898724ba675SRob Herring	};
899724ba675SRob Herring
900724ba675SRob Herring};
901724ba675SRob Herring
902724ba675SRob Herring&kcs3 {
903724ba675SRob Herring	status = "okay";
904724ba675SRob Herring	aspeed,lpc-io-reg = <0xca2>;
905724ba675SRob Herring	aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
906724ba675SRob Herring};
907724ba675SRob Herring
908724ba675SRob Herring#include "ibm-power9-dual.dtsi"
909