xref: /linux/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-zaius.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
6724ba675SRob Herring/ {
7724ba675SRob Herring	model = "Zaius BMC";
8724ba675SRob Herring	compatible = "ingrasys,zaius-bmc", "aspeed,ast2500";
9724ba675SRob Herring
10724ba675SRob Herring	aliases {
11724ba675SRob Herring		i2c15 = &i2cpcie0;
12724ba675SRob Herring		i2c16 = &i2cpcie1;
13724ba675SRob Herring		i2c17 = &i2cpcie2;
14724ba675SRob Herring		i2c19 = &i2cpcie3;
15724ba675SRob Herring		i2c20 = &i2cpcie4;
16724ba675SRob Herring	};
17724ba675SRob Herring
18724ba675SRob Herring	chosen {
19724ba675SRob Herring		stdout-path = &uart5;
20724ba675SRob Herring		bootargs = "console=ttyS4,115200 earlycon";
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	memory@80000000 {
24724ba675SRob Herring		reg = <0x80000000 0x40000000>;
25724ba675SRob Herring	};
26724ba675SRob Herring
27724ba675SRob Herring	reserved-memory {
28724ba675SRob Herring		#address-cells = <1>;
29724ba675SRob Herring		#size-cells = <1>;
30724ba675SRob Herring		ranges;
31724ba675SRob Herring
32724ba675SRob Herring		flash_memory: region@98000000 {
33724ba675SRob Herring			no-map;
34724ba675SRob Herring			reg = <0x98000000 0x04000000>; /* 64M */
35724ba675SRob Herring		};
36724ba675SRob Herring	};
37724ba675SRob Herring
38724ba675SRob Herring	onewire0 {
39724ba675SRob Herring		compatible = "w1-gpio";
40724ba675SRob Herring		gpios = <&gpio ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
41724ba675SRob Herring	};
42724ba675SRob Herring
43724ba675SRob Herring	onewire1 {
44724ba675SRob Herring		compatible = "w1-gpio";
45724ba675SRob Herring		gpios = <&gpio ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
46724ba675SRob Herring	};
47724ba675SRob Herring
48724ba675SRob Herring	onewire2 {
49724ba675SRob Herring		compatible = "w1-gpio";
50724ba675SRob Herring		gpios = <&gpio ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
51724ba675SRob Herring	};
52724ba675SRob Herring
53724ba675SRob Herring	onewire3 {
54724ba675SRob Herring		compatible = "w1-gpio";
55724ba675SRob Herring		gpios = <&gpio ASPEED_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
56724ba675SRob Herring	};
57724ba675SRob Herring
58724ba675SRob Herring	gpio-keys {
59724ba675SRob Herring		compatible = "gpio-keys";
60724ba675SRob Herring
61724ba675SRob Herring		event-checkstop {
62724ba675SRob Herring			label = "checkstop";
63724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
64724ba675SRob Herring			linux,code = <ASPEED_GPIO(F, 7)>;
65724ba675SRob Herring		};
66724ba675SRob Herring
67724ba675SRob Herring		event-pcie-e2b-present{
68724ba675SRob Herring			label = "pcie-e2b-present";
69724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
70724ba675SRob Herring			linux,code = <ASPEED_GPIO(E, 7)>;
71724ba675SRob Herring		};
72724ba675SRob Herring	};
73724ba675SRob Herring
74724ba675SRob Herring	leds {
75724ba675SRob Herring		compatible = "gpio-leds";
76724ba675SRob Herring
77724ba675SRob Herring		sys_boot_status {
78724ba675SRob Herring			label = "System boot status";
79724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(D, 5) GPIO_ACTIVE_LOW>;
80724ba675SRob Herring		};
81724ba675SRob Herring
82724ba675SRob Herring		attention {
83724ba675SRob Herring			label = "Attention";
84724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(D, 6) GPIO_ACTIVE_LOW>;
85724ba675SRob Herring		};
86724ba675SRob Herring
87724ba675SRob Herring		plt_fault {
88724ba675SRob Herring			label = "Platform fault";
89724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(D, 7) GPIO_ACTIVE_LOW>;
90724ba675SRob Herring		};
91724ba675SRob Herring
92724ba675SRob Herring		hdd_fault {
93724ba675SRob Herring			label = "Onboard drive fault";
94724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
95724ba675SRob Herring		};
96724ba675SRob Herring	};
97724ba675SRob Herring
98724ba675SRob Herring	fsi: gpio-fsi {
99724ba675SRob Herring		compatible = "fsi-master-gpio", "fsi-master";
100724ba675SRob Herring		#address-cells = <2>;
101724ba675SRob Herring		#size-cells = <0>;
102724ba675SRob Herring		no-gpio-delays;
103724ba675SRob Herring
104724ba675SRob Herring		trans-gpios = <&gpio ASPEED_GPIO(O, 6) GPIO_ACTIVE_HIGH>;
105724ba675SRob Herring		enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
106724ba675SRob Herring		clock-gpios = <&gpio ASPEED_GPIO(G, 0) GPIO_ACTIVE_HIGH>;
107724ba675SRob Herring		data-gpios = <&gpio ASPEED_GPIO(G, 1) GPIO_ACTIVE_HIGH>;
108724ba675SRob Herring		mux-gpios = <&gpio ASPEED_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
109724ba675SRob Herring	};
110724ba675SRob Herring
111724ba675SRob Herring	iio-hwmon {
112724ba675SRob Herring		compatible = "iio-hwmon";
113724ba675SRob Herring		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
114724ba675SRob Herring			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
115724ba675SRob Herring			<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
116724ba675SRob Herring			<&adc 13>, <&adc 14>, <&adc 15>;
117724ba675SRob Herring	};
118724ba675SRob Herring
119724ba675SRob Herring	iio-hwmon-battery {
120724ba675SRob Herring		compatible = "iio-hwmon";
121724ba675SRob Herring		io-channels = <&adc 12>;
122724ba675SRob Herring	};
123724ba675SRob Herring
124724ba675SRob Herring};
125724ba675SRob Herring
126724ba675SRob Herring&fmc {
127724ba675SRob Herring	status = "okay";
128724ba675SRob Herring
129724ba675SRob Herring	flash@0 {
130724ba675SRob Herring		status = "okay";
131724ba675SRob Herring		label = "bmc";
132724ba675SRob Herring		m25p,fast-read;
133724ba675SRob Herring		spi-max-frequency = <50000000>;
134724ba675SRob Herring#include "openbmc-flash-layout.dtsi"
135724ba675SRob Herring	};
136724ba675SRob Herring};
137724ba675SRob Herring
138724ba675SRob Herring&spi1 {
139724ba675SRob Herring	status = "okay";
140724ba675SRob Herring	pinctrl-names = "default";
141724ba675SRob Herring	pinctrl-0 = <&pinctrl_spi1_default>;
142724ba675SRob Herring
143724ba675SRob Herring	flash@0 {
144724ba675SRob Herring		status = "okay";
145724ba675SRob Herring		label = "pnor";
146724ba675SRob Herring		m25p,fast-read;
147724ba675SRob Herring		spi-max-frequency = <100000000>;
148724ba675SRob Herring	};
149724ba675SRob Herring};
150724ba675SRob Herring
151724ba675SRob Herring&spi2 {
152724ba675SRob Herring	status = "okay";
153724ba675SRob Herring	pinctrl-names = "default";
154724ba675SRob Herring	pinctrl-0 = <&pinctrl_spi2ck_default
155724ba675SRob Herring		     &pinctrl_spi2cs0_default
156724ba675SRob Herring		     &pinctrl_spi2cs1_default
157724ba675SRob Herring		     &pinctrl_spi2miso_default
158724ba675SRob Herring		     &pinctrl_spi2mosi_default>;
159724ba675SRob Herring
160724ba675SRob Herring	flash@0 {
161724ba675SRob Herring		status = "okay";
162724ba675SRob Herring	};
163724ba675SRob Herring};
164724ba675SRob Herring
165724ba675SRob Herring&uart1 {
166724ba675SRob Herring	status = "okay";
167724ba675SRob Herring	pinctrl-names = "default";
168724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd1_default
169724ba675SRob Herring		     &pinctrl_rxd1_default>;
170724ba675SRob Herring};
171724ba675SRob Herring
172724ba675SRob Herring&lpc_ctrl {
173724ba675SRob Herring	status = "okay";
174724ba675SRob Herring	memory-region = <&flash_memory>;
175724ba675SRob Herring	flash = <&spi1>;
176724ba675SRob Herring};
177724ba675SRob Herring
178724ba675SRob Herring&lpc_snoop {
179724ba675SRob Herring	status = "okay";
180724ba675SRob Herring	snoop-ports = <0x80>;
181724ba675SRob Herring};
182724ba675SRob Herring
183724ba675SRob Herring
184724ba675SRob Herring&uart5 {
185724ba675SRob Herring	status = "okay";
186724ba675SRob Herring};
187724ba675SRob Herring
188724ba675SRob Herring&mac0 {
189724ba675SRob Herring	status = "okay";
190724ba675SRob Herring	pinctrl-names = "default";
191724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii1_default>;
192724ba675SRob Herring	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
193724ba675SRob Herring		 <&syscon ASPEED_CLK_MAC1RCLK>;
194724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
195724ba675SRob Herring	use-ncsi;
196724ba675SRob Herring};
197724ba675SRob Herring
198724ba675SRob Herring&mac1 {
199724ba675SRob Herring	status = "okay";
200724ba675SRob Herring
201724ba675SRob Herring	pinctrl-names = "default";
202724ba675SRob Herring	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
203724ba675SRob Herring};
204724ba675SRob Herring
205724ba675SRob Herring&i2c0 {
206724ba675SRob Herring	status = "okay";
207724ba675SRob Herring
208724ba675SRob Herring	eeprom@50 {
209724ba675SRob Herring		compatible = "atmel,24c64";
210724ba675SRob Herring		reg = <0x50>;
211724ba675SRob Herring		pagesize = <32>;
212724ba675SRob Herring	};
213724ba675SRob Herring
214724ba675SRob Herring	rtc@68 {
215724ba675SRob Herring		compatible = "nxp,pcf8523";
216724ba675SRob Herring		reg = <0x68>;
217724ba675SRob Herring	};
218724ba675SRob Herring
219724ba675SRob Herring	ucd90160@64 {
220724ba675SRob Herring		compatible = "ti,ucd90160";
221724ba675SRob Herring		reg = <0x64>;
222724ba675SRob Herring	};
223724ba675SRob Herring
224724ba675SRob Herring	/* Power sequencer UCD90160 PMBUS @64h
225724ba675SRob Herring	 * FRU AT24C64D @50h
226724ba675SRob Herring	 * RTC PCF8523 @68h
227724ba675SRob Herring	 * Clock buffer 9DBL04 @6dh
228724ba675SRob Herring	 */
229724ba675SRob Herring};
230724ba675SRob Herring
231724ba675SRob Herring&i2c1 {
232724ba675SRob Herring	status = "okay";
233724ba675SRob Herring
234*4b46d86cSGeert Uytterhoeven	i2c-mux@71 {
235724ba675SRob Herring		compatible = "nxp,pca9546";
236724ba675SRob Herring		reg = <0x71>;
237724ba675SRob Herring		#address-cells = <1>;
238724ba675SRob Herring		#size-cells = <0>;
239724ba675SRob Herring
240724ba675SRob Herring		i2cpcie0: i2c@0 {
241724ba675SRob Herring			#address-cells = <1>;
242724ba675SRob Herring			#size-cells = <0>;
243724ba675SRob Herring			reg = <0>;
244724ba675SRob Herring		};
245724ba675SRob Herring		i2cpcie1: i2c@1 {
246724ba675SRob Herring			#address-cells = <1>;
247724ba675SRob Herring			#size-cells = <0>;
248724ba675SRob Herring			reg = <1>;
249724ba675SRob Herring		};
250724ba675SRob Herring		i2cpcie2: i2c@2 {
251724ba675SRob Herring			#address-cells = <1>;
252724ba675SRob Herring			#size-cells = <0>;
253724ba675SRob Herring			reg = <2>;
254724ba675SRob Herring		};
255724ba675SRob Herring		i2ctpm: i2c@3 {
256724ba675SRob Herring			#address-cells = <1>;
257724ba675SRob Herring			#size-cells = <0>;
258724ba675SRob Herring			reg = <3>;
259724ba675SRob Herring		};
260724ba675SRob Herring	};
261724ba675SRob Herring
262724ba675SRob Herring	/* MUX1 PCA9546A @71h
263724ba675SRob Herring	 *   PCIe 0
264724ba675SRob Herring	 *   PCIe 1
265724ba675SRob Herring	 *   PCIe 2
266724ba675SRob Herring	 *   TPM header
267724ba675SRob Herring	 */
268724ba675SRob Herring};
269724ba675SRob Herring
270724ba675SRob Herring&i2c2 {
271724ba675SRob Herring	status = "disabled";
272724ba675SRob Herring
273724ba675SRob Herring	/* OCP Mezz Connector A (OOB SMBUS) */
274724ba675SRob Herring};
275724ba675SRob Herring
276724ba675SRob Herring&i2c3 {
277724ba675SRob Herring	status = "disabled";
278724ba675SRob Herring
279724ba675SRob Herring	/* OCP Mezz Connector A (PCIe slot SMBUS) */
280724ba675SRob Herring};
281724ba675SRob Herring
282724ba675SRob Herring&i2c4 {
283724ba675SRob Herring	status = "okay";
284724ba675SRob Herring
285*4b46d86cSGeert Uytterhoeven	i2c-mux@71 {
286724ba675SRob Herring		compatible = "nxp,pca9546";
287724ba675SRob Herring		reg = <0x71>;
288724ba675SRob Herring		#address-cells = <1>;
289724ba675SRob Herring		#size-cells = <0>;
290724ba675SRob Herring
291724ba675SRob Herring		i2cpcie3: i2c@0 {
292724ba675SRob Herring			#address-cells = <1>;
293724ba675SRob Herring			#size-cells = <0>;
294724ba675SRob Herring			reg = <0>;
295724ba675SRob Herring		};
296724ba675SRob Herring		i2cpcie4: i2c@1 {
297724ba675SRob Herring			#address-cells = <1>;
298724ba675SRob Herring			#size-cells = <0>;
299724ba675SRob Herring			reg = <1>;
300724ba675SRob Herring		};
301724ba675SRob Herring	};
302724ba675SRob Herring
303724ba675SRob Herring	/* MUX1 PCA9546A @71h
304724ba675SRob Herring	 *   PCIe 3
305724ba675SRob Herring	 *   PCIe 4
306724ba675SRob Herring	 */
307724ba675SRob Herring};
308724ba675SRob Herring
309724ba675SRob Herring
310724ba675SRob Herring&i2c5 {
311724ba675SRob Herring	status = "disabled";
312724ba675SRob Herring
313724ba675SRob Herring	/* CPU0 PRM 0.7V */
314724ba675SRob Herring	/* CPU0 PRM 1.2V CH03 */
315724ba675SRob Herring	/* CPU0 PRM 0.8V */
316724ba675SRob Herring	/* CPU0 PRM 1.2V CH47 */
317724ba675SRob Herring};
318724ba675SRob Herring
319724ba675SRob Herring&i2c6 {
320724ba675SRob Herring	status = "disabled";
321724ba675SRob Herring
322724ba675SRob Herring	/* CPU1 PRM 0.7V */
323724ba675SRob Herring	/* CPU1 PRM 1.2V CH03 */
324724ba675SRob Herring	/* CPU1 PRM 0.8V */
325724ba675SRob Herring	/* CPU1 PRM 1.2V CH47 */
326724ba675SRob Herring};
327724ba675SRob Herring
328724ba675SRob Herring&i2c7 {
329724ba675SRob Herring	status = "okay";
330724ba675SRob Herring
331724ba675SRob Herring	pca9541a@70 {
332724ba675SRob Herring		compatible = "nxp,pca9541";
333724ba675SRob Herring		reg = <0x70>;
334724ba675SRob Herring
335724ba675SRob Herring		i2c-arb {
336724ba675SRob Herring			#address-cells = <1>;
337724ba675SRob Herring			#size-cells = <0>;
338724ba675SRob Herring
339724ba675SRob Herring			hotswap@54 {
340724ba675SRob Herring				compatible = "ti,lm5066i";
341724ba675SRob Herring				reg = <0x54>;
342724ba675SRob Herring			};
343724ba675SRob Herring		};
344724ba675SRob Herring
345724ba675SRob Herring	};
346724ba675SRob Herring
347724ba675SRob Herring	vrm@64 {
348724ba675SRob Herring		compatible = "isil,isl68137";
349724ba675SRob Herring		reg = <0x64>;
350724ba675SRob Herring	};
351724ba675SRob Herring
352724ba675SRob Herring	vrm@40 {
353724ba675SRob Herring		compatible = "isil,isl68137";
354724ba675SRob Herring		reg = <0x40>;
355724ba675SRob Herring	};
356724ba675SRob Herring
357724ba675SRob Herring	vrm@60 {
358724ba675SRob Herring		compatible = "isil,isl68137";
359724ba675SRob Herring		reg = <0x60>;
360724ba675SRob Herring	};
361724ba675SRob Herring
362724ba675SRob Herring	vrm@43 {
363724ba675SRob Herring		compatible = "infineon,ir38064";
364724ba675SRob Herring		reg = <0x43>;
365724ba675SRob Herring	};
366724ba675SRob Herring
367724ba675SRob Herring	vrm@41 {
368724ba675SRob Herring		compatible = "isil,isl68137";
369724ba675SRob Herring		reg = <0x41>;
370724ba675SRob Herring	};
371724ba675SRob Herring
372724ba675SRob Herring	/* Master selector PCA9541A @70h (other master: CPU0)
373724ba675SRob Herring	 *   LM5066I PMBUS @10h
374724ba675SRob Herring	 */
375724ba675SRob Herring
376724ba675SRob Herring	/*
377724ba675SRob Herring	 * Brick will be one of these types/addresses.  Depending
378724ba675SRob Herring	 * on the board SKU only one is actually present and will successfully
379724ba675SRob Herring	 * instantiate while the others will fail the probe operation.
380724ba675SRob Herring	 * These are the PVT (and presumably beyond) addresses:
381724ba675SRob Herring	 *    12V Quarter Brick DC/DC Converter Q54SJ12050 @6Ah
382724ba675SRob Herring	 *    12V Quarter Brick DC/DC Converter Q54SH12050 @30h
383724ba675SRob Herring	 */
384724ba675SRob Herring	power-brick@6a {
385724ba675SRob Herring		compatible = "delta,dps800";
386724ba675SRob Herring		reg = <0x6a>;
387724ba675SRob Herring	};
388724ba675SRob Herring	power-brick@30 {
389724ba675SRob Herring		compatible = "delta,dps800";
390724ba675SRob Herring		reg = <0x30>;
391724ba675SRob Herring	};
392724ba675SRob Herring
393724ba675SRob Herring	/* CPU0 VR ISL68137 0.7V, 0.96V PMBUS @64h */
394724ba675SRob Herring	/* CPU0 VR ISL68137 1.2V CH03 PMBUS @40h */
395724ba675SRob Herring	/* CPU0 VR ISL68137 0.8V PMBUS @60h */
396724ba675SRob Herring	/* CPU0 VR 1.0V IR38064 I2C @11h, PMBUS @43h */
397724ba675SRob Herring	/* CPU0 VR ISL68137 1.2V CH47 PMBUS @41h */
398724ba675SRob Herring	/* Master selector PCA9541A @70h (other master: CPU0)
399724ba675SRob Herring	 *   LM5066I PMBUS @10h
400724ba675SRob Herring	 */
401724ba675SRob Herring};
402724ba675SRob Herring
403724ba675SRob Herring&i2c8 {
404724ba675SRob Herring	status = "okay";
405724ba675SRob Herring
406724ba675SRob Herring	vrm@64 {
407724ba675SRob Herring		compatible = "isil,isl68137";
408724ba675SRob Herring		reg = <0x64>;
409724ba675SRob Herring	};
410724ba675SRob Herring
411724ba675SRob Herring	vrm@40 {
412724ba675SRob Herring		compatible = "isil,isl68137";
413724ba675SRob Herring		reg = <0x40>;
414724ba675SRob Herring	};
415724ba675SRob Herring
416724ba675SRob Herring	vrm@41 {
417724ba675SRob Herring		compatible = "isil,isl68137";
418724ba675SRob Herring		reg = <0x41>;
419724ba675SRob Herring	};
420724ba675SRob Herring
421724ba675SRob Herring	vrm@42 {
422724ba675SRob Herring		compatible = "infineon,ir38064";
423724ba675SRob Herring		reg = <0x42>;
424724ba675SRob Herring	};
425724ba675SRob Herring
426724ba675SRob Herring	vrm@60 {
427724ba675SRob Herring		compatible = "isil,isl68137";
428724ba675SRob Herring		reg = <0x60>;
429724ba675SRob Herring	};
430724ba675SRob Herring
431724ba675SRob Herring	/* CPU1 VR ISL68137 0.7V, 0.96V PMBUS @64h */
432724ba675SRob Herring	/* CPU1 VR ISL68137 1.2V CH03 PMBUS @40h */
433724ba675SRob Herring	/* CPU1 VR ISL68137 1.2V CH47 PMBUS @41h */
434724ba675SRob Herring	/* CPU1 VR 1.0V IR38064 I2C @12h, PMBUS @42h */
435724ba675SRob Herring	/* CPU1 VR ISL68137 0.8V PMBUS @60h */
436724ba675SRob Herring};
437724ba675SRob Herring
438724ba675SRob Herring
439724ba675SRob Herring&i2c9 {
440724ba675SRob Herring	status = "disabled";
441724ba675SRob Herring
442724ba675SRob Herring	/* Fan board */
443724ba675SRob Herring};
444724ba675SRob Herring
445724ba675SRob Herring&i2c10 {
446724ba675SRob Herring	status = "disabled";
447724ba675SRob Herring};
448724ba675SRob Herring
449724ba675SRob Herring&i2c11 {
450724ba675SRob Herring	status = "disabled";
451724ba675SRob Herring
452724ba675SRob Herring	/* GPU sideband */
453724ba675SRob Herring};
454724ba675SRob Herring
455724ba675SRob Herring&i2c12 {
456724ba675SRob Herring	status = "disabled";
457724ba675SRob Herring};
458724ba675SRob Herring
459724ba675SRob Herring&i2c13 {
460724ba675SRob Herring	status = "disabled";
461724ba675SRob Herring
462724ba675SRob Herring	/* MUX PI3USB102
463724ba675SRob Herring	 *   CPU0 debug
464724ba675SRob Herring	 *   CPU1 debug
465724ba675SRob Herring	 */
466724ba675SRob Herring};
467724ba675SRob Herring
468724ba675SRob Herring&pinctrl {
469724ba675SRob Herring	pinctrl_gpioh_unbiased: gpioi_unbiased {
470724ba675SRob Herring		pins = "A8", "C7", "B7", "A7", "D7", "B6", "A6", "E7";
471724ba675SRob Herring		bias-disable;
472724ba675SRob Herring	};
473724ba675SRob Herring};
474724ba675SRob Herring
475724ba675SRob Herring&gpio {
476724ba675SRob Herring	pinctrl-names = "default";
477724ba675SRob Herring	pinctrl-0 = <&pinctrl_gpioh_unbiased>;
478724ba675SRob Herring
479724ba675SRob Herring	gpio-line-names =
480724ba675SRob Herring	/*A0-A7*/	"","cfam-reset","","","","","","",
481724ba675SRob Herring	/*B0-B7*/	"","","","","","","","",
482724ba675SRob Herring	/*C0-C7*/	"","","","","","","","",
483724ba675SRob Herring	/*D0-D7*/	"fsi-enable","","","","","led-sys-boot-status","led-attention",
484724ba675SRob Herring				"led-fault",
485724ba675SRob Herring	/*E0-E7*/	"","","","","","","","presence-pcie-e2b",
486724ba675SRob Herring	/*F0-F7*/	"","","","","","","","checkstop",
487724ba675SRob Herring	/*G0-G7*/	"fsi-clock","fsi-data","","","","","","",
488724ba675SRob Herring	/*H0-H7*/	"onewire0","onewire1","onewire2","onewire3","","","","",
489724ba675SRob Herring	/*I0-I7*/	"","","","power-button","","","","",
490724ba675SRob Herring	/*J0-J7*/	"","","","","","","","",
491724ba675SRob Herring	/*K0-K7*/	"","","","","","","","",
492724ba675SRob Herring	/*L0-L7*/	"","","","","","","","",
493724ba675SRob Herring	/*M0-M7*/	"","","","","","","","",
494724ba675SRob Herring	/*N0-N7*/	"","","","","","","","",
495724ba675SRob Herring	/*O0-O7*/	"","","","","iso_u164_en","","fsi-trans","",
496724ba675SRob Herring	/*P0-P7*/	"ncsi_mux_en_n","bmc_i2c2_sw_rst_n","","bmc_i2c5_sw_rst_n","",
497724ba675SRob Herring				"","fsi-mux","",
498724ba675SRob Herring	/*Q0-Q7*/	"","","","","","","","",
499724ba675SRob Herring	/*R0-R7*/	"","","","","","","","",
500724ba675SRob Herring	/*S0-S7*/	"","","","","","","","",
501724ba675SRob Herring	/*T0-T7*/	"","","","","","","","",
502724ba675SRob Herring	/*U0-U7*/	"","","","","","","","",
503724ba675SRob Herring	/*V0-V7*/	"","","","","","","","",
504724ba675SRob Herring	/*W0-W7*/	"","","","","","","","",
505724ba675SRob Herring	/*X0-X7*/	"","","","","","","","",
506724ba675SRob Herring	/*Y0-Y7*/	"","","","","","","","",
507724ba675SRob Herring	/*Z0-Z7*/	"","","","","","","","",
508724ba675SRob Herring	/*AA0-AA7*/	"","","led-hdd-fault","","","","","",
509724ba675SRob Herring	/*AB0-AB7*/	"","","","","","","","",
510724ba675SRob Herring	/*AC0-AC7*/	"","","","","","","","";
511724ba675SRob Herring
512724ba675SRob Herring	line_iso_u146_en {
513724ba675SRob Herring		gpio-hog;
514724ba675SRob Herring		gpios = <ASPEED_GPIO(O, 4) GPIO_ACTIVE_HIGH>;
515724ba675SRob Herring		output-high;
516724ba675SRob Herring	};
517724ba675SRob Herring
518724ba675SRob Herring	ncsi_mux_en_n {
519724ba675SRob Herring		gpio-hog;
520724ba675SRob Herring		gpios = <ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
521724ba675SRob Herring		output-low;
522724ba675SRob Herring	};
523724ba675SRob Herring
524724ba675SRob Herring	line_bmc_i2c2_sw_rst_n {
525724ba675SRob Herring		gpio-hog;
526724ba675SRob Herring		gpios = <ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
527724ba675SRob Herring		output-high;
528724ba675SRob Herring	};
529724ba675SRob Herring
530724ba675SRob Herring	line_bmc_i2c5_sw_rst_n {
531724ba675SRob Herring		gpio-hog;
532724ba675SRob Herring		gpios = <ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>;
533724ba675SRob Herring		output-high;
534724ba675SRob Herring	};
535724ba675SRob Herring};
536724ba675SRob Herring
537724ba675SRob Herring&vuart {
538724ba675SRob Herring	status = "okay";
539724ba675SRob Herring};
540724ba675SRob Herring
541724ba675SRob Herring&gfx {
542724ba675SRob Herring	status = "okay";
543724ba675SRob Herring};
544724ba675SRob Herring
545724ba675SRob Herring&pwm_tacho {
546724ba675SRob Herring	status = "okay";
547724ba675SRob Herring	pinctrl-names = "default";
548724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
549724ba675SRob Herring		&pinctrl_pwm2_default &pinctrl_pwm3_default>;
550724ba675SRob Herring
551724ba675SRob Herring	fan@0 {
552724ba675SRob Herring		reg = <0x00>;
553724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x00>;
554724ba675SRob Herring	};
555724ba675SRob Herring
556724ba675SRob Herring	fan@1 {
557724ba675SRob Herring		reg = <0x01>;
558724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x01>;
559724ba675SRob Herring	};
560724ba675SRob Herring
561724ba675SRob Herring	fan@2 {
562724ba675SRob Herring		reg = <0x02>;
563724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x02>;
564724ba675SRob Herring	};
565724ba675SRob Herring
566724ba675SRob Herring	fan@3 {
567724ba675SRob Herring		reg = <0x03>;
568724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x03>;
569724ba675SRob Herring	};
570724ba675SRob Herring};
571724ba675SRob Herring
572724ba675SRob Herring&ibt {
573724ba675SRob Herring	status = "okay";
574724ba675SRob Herring};
575724ba675SRob Herring
576724ba675SRob Herring#include "ibm-power9-dual.dtsi"
577