xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-lenovo-hr855xg2.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+
2724ba675SRob Herring/*
3724ba675SRob Herring * Device Tree file for Lenovo Hr855xg2 platform
4724ba675SRob Herring *
5724ba675SRob Herring * Copyright (C) 2019-present Lenovo
6724ba675SRob Herring */
7724ba675SRob Herring
8724ba675SRob Herring/dts-v1/;
9724ba675SRob Herring
10724ba675SRob Herring#include "aspeed-g5.dtsi"
11724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h>
12724ba675SRob Herring
13724ba675SRob Herring/ {
14724ba675SRob Herring	model = "HR855XG2 BMC";
15724ba675SRob Herring	compatible = "lenovo,hr855xg2-bmc", "aspeed,ast2500";
16724ba675SRob Herring
17724ba675SRob Herring	aliases {
18724ba675SRob Herring		i2c14 = &i2c_riser1;
19724ba675SRob Herring		i2c15 = &i2c_riser2;
20724ba675SRob Herring		i2c16 = &i2c_riser3;
21724ba675SRob Herring		i2c17 = &i2c_M2;
22724ba675SRob Herring		i2c18 = &channel_0;
23724ba675SRob Herring		i2c19 = &channel_1;
24724ba675SRob Herring		i2c20 = &channel_2;
25724ba675SRob Herring		i2c21 = &channel_3;
26724ba675SRob Herring	};
27724ba675SRob Herring
28724ba675SRob Herring	chosen {
29724ba675SRob Herring		stdout-path = &uart5;
30724ba675SRob Herring		bootargs = "console=tty0 console=ttyS4,115200 earlycon";
31724ba675SRob Herring	};
32724ba675SRob Herring
33724ba675SRob Herring	memory@80000000 {
34724ba675SRob Herring		device_type = "memory";
35724ba675SRob Herring		reg = <0x80000000 0x20000000>;
36724ba675SRob Herring	};
37724ba675SRob Herring
38724ba675SRob Herring	reserved-memory {
39724ba675SRob Herring		#address-cells = <1>;
40724ba675SRob Herring		#size-cells = <1>;
41724ba675SRob Herring		ranges;
42724ba675SRob Herring
43724ba675SRob Herring		flash_memory: region@98000000 {
44724ba675SRob Herring			no-map;
45724ba675SRob Herring			reg = <0x98000000 0x00100000>; /* 1M */
46724ba675SRob Herring		};
47724ba675SRob Herring
48724ba675SRob Herring		gfx_memory: framebuffer {
49724ba675SRob Herring			size = <0x01000000>;
50724ba675SRob Herring			alignment = <0x01000000>;
51724ba675SRob Herring			compatible = "shared-dma-pool";
52724ba675SRob Herring			reusable;
53724ba675SRob Herring		};
54724ba675SRob Herring	};
55724ba675SRob Herring
56724ba675SRob Herring	leds {
57724ba675SRob Herring		compatible = "gpio-leds";
58724ba675SRob Herring
59724ba675SRob Herring		heartbeat {
60724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(C, 7) GPIO_ACTIVE_LOW>;
61724ba675SRob Herring		};
62724ba675SRob Herring
63724ba675SRob Herring		fault {
64724ba675SRob Herring			gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>;
65724ba675SRob Herring		};
66724ba675SRob Herring	};
67724ba675SRob Herring
68724ba675SRob Herring	iio-hwmon {
69724ba675SRob Herring		compatible = "iio-hwmon";
70724ba675SRob Herring		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
71724ba675SRob Herring		<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
72724ba675SRob Herring		<&adc 8>, <&adc 9>, <&adc 10>,<&adc 11>,
73724ba675SRob Herring		<&adc 12>,<&adc 13>,<&adc 14>;
74724ba675SRob Herring	};
75724ba675SRob Herring
76724ba675SRob Herring	iio-hwmon-battery {
77724ba675SRob Herring		compatible = "iio-hwmon";
78724ba675SRob Herring		io-channels = <&adc 15>;
79724ba675SRob Herring	};
80724ba675SRob Herring
81724ba675SRob Herring};
82724ba675SRob Herring
83724ba675SRob Herring&fmc {
84724ba675SRob Herring	status = "okay";
85724ba675SRob Herring	flash@0 {
86724ba675SRob Herring		status = "okay";
87724ba675SRob Herring		m25p,fast-read;
88724ba675SRob Herring		label = "bmc";
89724ba675SRob Herring		spi-max-frequency = <50000000>;
90724ba675SRob Herring#include "openbmc-flash-layout.dtsi"
91724ba675SRob Herring	};
92724ba675SRob Herring};
93724ba675SRob Herring
94724ba675SRob Herring&lpc_ctrl {
95724ba675SRob Herring	status = "okay";
96724ba675SRob Herring	memory-region = <&flash_memory>;
97724ba675SRob Herring	flash = <&spi1>;
98724ba675SRob Herring};
99724ba675SRob Herring
100724ba675SRob Herring&lpc_snoop {
101724ba675SRob Herring	status = "okay";
102724ba675SRob Herring	snoop-ports = <0x80>;
103724ba675SRob Herring};
104724ba675SRob Herring
105724ba675SRob Herring&uart1 {
106724ba675SRob Herring	status = "okay";
107724ba675SRob Herring	pinctrl-names = "default";
108724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd1_default
109724ba675SRob Herring			&pinctrl_rxd1_default>;
110724ba675SRob Herring};
111724ba675SRob Herring
112724ba675SRob Herring&uart2 {
113724ba675SRob Herring	/* Rear RS-232 connector */
114724ba675SRob Herring	status = "okay";
115724ba675SRob Herring	pinctrl-names = "default";
116724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd2_default
117724ba675SRob Herring			&pinctrl_rxd2_default
118724ba675SRob Herring			&pinctrl_nrts2_default
119724ba675SRob Herring			&pinctrl_ndtr2_default
120724ba675SRob Herring			&pinctrl_ndsr2_default
121724ba675SRob Herring			&pinctrl_ncts2_default
122724ba675SRob Herring			&pinctrl_ndcd2_default
123724ba675SRob Herring			&pinctrl_nri2_default>;
124724ba675SRob Herring};
125724ba675SRob Herring
126724ba675SRob Herring&uart3 {
127724ba675SRob Herring	status = "okay";
128724ba675SRob Herring};
129724ba675SRob Herring
130724ba675SRob Herring&uart5 {
131724ba675SRob Herring	status = "okay";
132724ba675SRob Herring};
133724ba675SRob Herring
134724ba675SRob Herring&ibt {
135724ba675SRob Herring	status = "okay";
136724ba675SRob Herring};
137724ba675SRob Herring
138724ba675SRob Herring&mac0 {
139724ba675SRob Herring	status = "okay";
140724ba675SRob Herring	pinctrl-names = "default";
141724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii1_default>;
142724ba675SRob Herring	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
143724ba675SRob Herring		 <&syscon ASPEED_CLK_MAC1RCLK>;
144724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
145724ba675SRob Herring	use-ncsi;
146724ba675SRob Herring};
147724ba675SRob Herring
148724ba675SRob Herring&mac1 {
149724ba675SRob Herring	status = "okay";
150724ba675SRob Herring	pinctrl-names = "default";
151724ba675SRob Herring	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
152724ba675SRob Herring};
153724ba675SRob Herring
154724ba675SRob Herring&adc{
155724ba675SRob Herring	status = "okay";
156724ba675SRob Herring	pinctrl-names = "default";
157724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc0_default
158724ba675SRob Herring			&pinctrl_adc1_default
159724ba675SRob Herring			&pinctrl_adc2_default
160724ba675SRob Herring			&pinctrl_adc3_default
161724ba675SRob Herring			&pinctrl_adc4_default
162724ba675SRob Herring			&pinctrl_adc5_default
163724ba675SRob Herring			&pinctrl_adc6_default
164724ba675SRob Herring			&pinctrl_adc7_default
165724ba675SRob Herring			&pinctrl_adc8_default
166724ba675SRob Herring			&pinctrl_adc9_default
167724ba675SRob Herring			&pinctrl_adc10_default
168724ba675SRob Herring			&pinctrl_adc11_default
169724ba675SRob Herring			&pinctrl_adc12_default
170724ba675SRob Herring			&pinctrl_adc13_default
171724ba675SRob Herring			&pinctrl_adc14_default
172724ba675SRob Herring			&pinctrl_adc15_default>;
173724ba675SRob Herring};
174724ba675SRob Herring
175724ba675SRob Herring&i2c0 {
176724ba675SRob Herring	status = "okay";
177724ba675SRob Herring
178*4b46d86cSGeert Uytterhoeven	i2c-mux@70 {
179724ba675SRob Herring		compatible = "nxp,pca9545";
180724ba675SRob Herring		reg = <0x70>;
181724ba675SRob Herring		#address-cells = <1>;
182724ba675SRob Herring		#size-cells = <0>;
183724ba675SRob Herring
184724ba675SRob Herring		i2c_riser1: i2c@0 {
185724ba675SRob Herring			#address-cells = <1>;
186724ba675SRob Herring			#size-cells = <0>;
187724ba675SRob Herring			reg = <0>;
188724ba675SRob Herring		};
189724ba675SRob Herring
190724ba675SRob Herring		i2c_riser2: i2c@1 {
191724ba675SRob Herring			#address-cells = <1>;
192724ba675SRob Herring			#size-cells = <0>;
193724ba675SRob Herring			reg = <1>;
194724ba675SRob Herring		};
195724ba675SRob Herring
196724ba675SRob Herring		i2c_riser3: i2c@2 {
197724ba675SRob Herring			#address-cells = <1>;
198724ba675SRob Herring			#size-cells = <0>;
199724ba675SRob Herring			reg = <2>;
200724ba675SRob Herring		};
201724ba675SRob Herring
202724ba675SRob Herring		i2c_M2: i2c@3 {
203724ba675SRob Herring			#address-cells = <1>;
204724ba675SRob Herring			#size-cells = <0>;
205724ba675SRob Herring			reg = <3>;
206724ba675SRob Herring		};
207724ba675SRob Herring	};
208724ba675SRob Herring};
209724ba675SRob Herring
210724ba675SRob Herring&i2c1 {
211724ba675SRob Herring	status = "okay";
212724ba675SRob Herring	bus-frequency = <90000>;
213724ba675SRob Herring	HotSwap@10 {
214724ba675SRob Herring		compatible = "adm1272";
215724ba675SRob Herring		reg = <0x10>;
216724ba675SRob Herring	};
217724ba675SRob Herring
218724ba675SRob Herring	VR@45 {
219724ba675SRob Herring		compatible = "pmbus";
220724ba675SRob Herring		reg = <0x45>;
221724ba675SRob Herring	};
222724ba675SRob Herring};
223724ba675SRob Herring
224724ba675SRob Herring&i2c2 {
225724ba675SRob Herring	status = "okay";
226724ba675SRob Herring};
227724ba675SRob Herring
228724ba675SRob Herring&i2c3 {
229724ba675SRob Herring	status = "okay";
230*4b46d86cSGeert Uytterhoeven	i2c-mux@70 {
231724ba675SRob Herring		compatible = "nxp,pca9546";
232724ba675SRob Herring		reg = <0x70>;
233724ba675SRob Herring		#address-cells = <1>;
234724ba675SRob Herring		#size-cells = <0>;
235724ba675SRob Herring
236724ba675SRob Herring		channel_0: i2c@0 {
237724ba675SRob Herring			#address-cells = <1>;
238724ba675SRob Herring			#size-cells = <0>;
239724ba675SRob Herring			reg = <0>;
240724ba675SRob Herring		};
241724ba675SRob Herring
242724ba675SRob Herring		channel_1: i2c@1 {
243724ba675SRob Herring			#address-cells = <1>;
244724ba675SRob Herring			#size-cells = <0>;
245724ba675SRob Herring			reg = <1>;
246724ba675SRob Herring		};
247724ba675SRob Herring
248724ba675SRob Herring		channel_2: i2c@2 {
249724ba675SRob Herring			#address-cells = <1>;
250724ba675SRob Herring			#size-cells = <0>;
251724ba675SRob Herring			reg = <2>;
252724ba675SRob Herring		};
253724ba675SRob Herring
254724ba675SRob Herring		channel_3: i2c@3 {
255724ba675SRob Herring			#address-cells = <1>;
256724ba675SRob Herring			#size-cells = <0>;
257724ba675SRob Herring			reg = <3>;
258724ba675SRob Herring		};
259724ba675SRob Herring	};
260724ba675SRob Herring};
261724ba675SRob Herring
262724ba675SRob Herring&i2c4 {
263724ba675SRob Herring	status = "okay";
264724ba675SRob Herring};
265724ba675SRob Herring
266724ba675SRob Herring&i2c5 {
267724ba675SRob Herring	status = "okay";
268724ba675SRob Herring};
269724ba675SRob Herring
270724ba675SRob Herring&i2c6 {
271724ba675SRob Herring	status = "okay";
272724ba675SRob Herring	/* temp1 */
273724ba675SRob Herring	tmp75@49 {
274724ba675SRob Herring		compatible = "national,lm75";
275724ba675SRob Herring		reg = <0x49>;
276724ba675SRob Herring	};
277724ba675SRob Herring
278724ba675SRob Herring	/* temp2 */
279724ba675SRob Herring	tmp75@4d {
280724ba675SRob Herring		compatible = "national,lm75";
281724ba675SRob Herring		reg = <0x4d>;
282724ba675SRob Herring	};
283724ba675SRob Herring
284724ba675SRob Herring	eeprom@54 {
285724ba675SRob Herring		compatible = "atmel,24c256";
286724ba675SRob Herring		reg = <0x54>;
287724ba675SRob Herring		pagesize = <16>;
288724ba675SRob Herring	};
289724ba675SRob Herring};
290724ba675SRob Herring
291724ba675SRob Herring&i2c7 {
292724ba675SRob Herring	status = "okay";
293724ba675SRob Herring};
294724ba675SRob Herring
295724ba675SRob Herring&i2c8 {
296724ba675SRob Herring	status = "okay";
297724ba675SRob Herring};
298724ba675SRob Herring
299724ba675SRob Herring&i2c9 {
300724ba675SRob Herring	status = "okay";
301724ba675SRob Herring};
302724ba675SRob Herring
303724ba675SRob Herring&i2c10 {
304724ba675SRob Herring	status = "okay";
305724ba675SRob Herring};
306724ba675SRob Herring
307724ba675SRob Herring&i2c11 {
308724ba675SRob Herring	status = "okay";
309724ba675SRob Herring};
310724ba675SRob Herring
311724ba675SRob Herring&i2c13 {
312724ba675SRob Herring	status = "okay";
313724ba675SRob Herring};
314724ba675SRob Herring
315724ba675SRob Herring&ehci1 {
316724ba675SRob Herring	status = "okay";
317724ba675SRob Herring};
318724ba675SRob Herring
319724ba675SRob Herring&uhci {
320724ba675SRob Herring	status = "okay";
321724ba675SRob Herring};
322724ba675SRob Herring
323724ba675SRob Herring&gfx {
324724ba675SRob Herring	status = "okay";
325724ba675SRob Herring	memory-region = <&gfx_memory>;
326724ba675SRob Herring};
327724ba675SRob Herring
328724ba675SRob Herring&pwm_tacho {
329724ba675SRob Herring	status = "okay";
330724ba675SRob Herring	pinctrl-names = "default";
331724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm0_default
332724ba675SRob Herring	&pinctrl_pwm1_default
333724ba675SRob Herring	&pinctrl_pwm2_default
334724ba675SRob Herring	&pinctrl_pwm3_default
335724ba675SRob Herring	&pinctrl_pwm4_default
336724ba675SRob Herring	&pinctrl_pwm5_default
337724ba675SRob Herring	&pinctrl_pwm6_default
338724ba675SRob Herring	&pinctrl_pwm7_default>;
339724ba675SRob Herring
340724ba675SRob Herring	fan@0 {
341724ba675SRob Herring		reg = <0x00>;
342724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x00>;
343724ba675SRob Herring	};
344724ba675SRob Herring
345724ba675SRob Herring	fan@1 {
346724ba675SRob Herring		reg = <0x00>;
347724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x01>;
348724ba675SRob Herring	};
349724ba675SRob Herring
350724ba675SRob Herring	fan@2 {
351724ba675SRob Herring		reg = <0x01>;
352724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x02>;
353724ba675SRob Herring	};
354724ba675SRob Herring
355724ba675SRob Herring	fan@3 {
356724ba675SRob Herring		reg = <0x01>;
357724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x03>;
358724ba675SRob Herring	};
359724ba675SRob Herring
360724ba675SRob Herring	fan@4 {
361724ba675SRob Herring		reg = <0x02>;
362724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x04>;
363724ba675SRob Herring	};
364724ba675SRob Herring
365724ba675SRob Herring	fan@5 {
366724ba675SRob Herring		reg = <0x02>;
367724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x05>;
368724ba675SRob Herring	};
369724ba675SRob Herring
370724ba675SRob Herring	fan@6 {
371724ba675SRob Herring		reg = <0x03>;
372724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x06>;
373724ba675SRob Herring	};
374724ba675SRob Herring
375724ba675SRob Herring	fan@7 {
376724ba675SRob Herring		reg = <0x03>;
377724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x07>;
378724ba675SRob Herring	};
379724ba675SRob Herring
380724ba675SRob Herring	fan@8 {
381724ba675SRob Herring		reg = <0x04>;
382724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x08>;
383724ba675SRob Herring	};
384724ba675SRob Herring
385724ba675SRob Herring	fan@9 {
386724ba675SRob Herring		reg = <0x04>;
387724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x09>;
388724ba675SRob Herring	};
389724ba675SRob Herring
390724ba675SRob Herring	fan@10 {
391724ba675SRob Herring		reg = <0x05>;
392724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
393724ba675SRob Herring	};
394724ba675SRob Herring
395724ba675SRob Herring	fan@11 {
396724ba675SRob Herring		reg = <0x05>;
397724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
398724ba675SRob Herring	};
399724ba675SRob Herring
400724ba675SRob Herring	fan@12 {
401724ba675SRob Herring		reg = <0x06>;
402724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0c>;
403724ba675SRob Herring	};
404724ba675SRob Herring
405724ba675SRob Herring	fan@13 {
406724ba675SRob Herring		reg = <0x06>;
407724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0d>;
408724ba675SRob Herring	};
409724ba675SRob Herring
410724ba675SRob Herring	fan@14 {
411724ba675SRob Herring		reg = <0x07>;
412724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0e>;
413724ba675SRob Herring	};
414724ba675SRob Herring
415724ba675SRob Herring	fan@15 {
416724ba675SRob Herring		reg = <0x07>;
417724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0f>;
418724ba675SRob Herring	};
419724ba675SRob Herring
420724ba675SRob Herring	fan@16 {
421724ba675SRob Herring		reg = <0x07>;
422724ba675SRob Herring		aspeed,fan-tach-ch = /bits/ 8 <0x0f>;
423724ba675SRob Herring	};
424724ba675SRob Herring};
425724ba675SRob Herring
426724ba675SRob Herring&gpio {
427724ba675SRob Herring
428724ba675SRob Herring	pin_gpio_a1 {
429724ba675SRob Herring		gpio-hog;
430724ba675SRob Herring		gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_LOW>;
431724ba675SRob Herring		output-high;
432724ba675SRob Herring		line-name = "BMC_EMMC_RST_N";
433724ba675SRob Herring	};
434724ba675SRob Herring
435724ba675SRob Herring	pin_gpio_a3 {
436724ba675SRob Herring		gpio-hog;
437724ba675SRob Herring		gpios = <ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>;
438724ba675SRob Herring		output-high;
439724ba675SRob Herring		line-name = "PCH_PWROK_BMC_FPGA";
440724ba675SRob Herring	};
441724ba675SRob Herring
442724ba675SRob Herring	pin_gpio_b5 {
443724ba675SRob Herring		gpio-hog;
444724ba675SRob Herring		gpios = <ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
445724ba675SRob Herring		output-high;
446724ba675SRob Herring		line-name = "IRQ_BMC_PCH_SMI_LPC_N";
447724ba675SRob Herring	};
448724ba675SRob Herring
449724ba675SRob Herring	pin_gpio_b7 {
450724ba675SRob Herring		gpio-hog;
451724ba675SRob Herring		gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
452724ba675SRob Herring		output-low;
453724ba675SRob Herring		line-name = "CPU_SM_WP";
454724ba675SRob Herring	};
455724ba675SRob Herring
456724ba675SRob Herring	pin_gpio_e0 {
457724ba675SRob Herring		gpio-hog;
458724ba675SRob Herring		gpios = <ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
459724ba675SRob Herring		input;
460724ba675SRob Herring		line-name = "PDB_PSU_SEL";
461724ba675SRob Herring	};
462724ba675SRob Herring
463724ba675SRob Herring	pin_gpio_e2 {
464724ba675SRob Herring		gpio-hog;
465724ba675SRob Herring		gpios = <ASPEED_GPIO(E, 2) GPIO_ACTIVE_HIGH>;
466724ba675SRob Herring		output-high;
467724ba675SRob Herring		line-name = "LOCATOR_LED_N";
468724ba675SRob Herring	};
469724ba675SRob Herring
470724ba675SRob Herring	pin_gpio_e5 {
471724ba675SRob Herring		gpio-hog;
472724ba675SRob Herring		gpios = <ASPEED_GPIO(E, 5) GPIO_ACTIVE_HIGH>;
473724ba675SRob Herring		output-high;
474724ba675SRob Herring		line-name = "FM_BMC_DBP_PRESENT_R1_N";
475724ba675SRob Herring	};
476724ba675SRob Herring
477724ba675SRob Herring	pin_gpio_e6 {
478724ba675SRob Herring		gpio-hog;
479724ba675SRob Herring		gpios = <ASPEED_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
480724ba675SRob Herring		output-high;
481724ba675SRob Herring		line-name = "BMC_ME_SECURITY_OVERRIDE_N";
482724ba675SRob Herring	};
483724ba675SRob Herring
484724ba675SRob Herring	pin_gpio_f0 {
485724ba675SRob Herring		gpio-hog;
486724ba675SRob Herring		gpios = <ASPEED_GPIO(F, 0) GPIO_ACTIVE_HIGH>;
487724ba675SRob Herring		output-high;
488724ba675SRob Herring		line-name = "IRQ_BMC_PCH_NMI_R";
489724ba675SRob Herring	};
490724ba675SRob Herring
491724ba675SRob Herring	pin_gpio_f1 {
492724ba675SRob Herring		gpio-hog;
493724ba675SRob Herring		gpios = <ASPEED_GPIO(F, 1) GPIO_ACTIVE_HIGH>;
494724ba675SRob Herring		input;
495724ba675SRob Herring		line-name = "CPU2_PROCDIS_BMC_N";
496724ba675SRob Herring	};
497724ba675SRob Herring
498724ba675SRob Herring	pin_gpio_f2 {
499724ba675SRob Herring		gpio-hog;
500724ba675SRob Herring		gpios = <ASPEED_GPIO(F, 2) GPIO_ACTIVE_HIGH>;
501724ba675SRob Herring		output-high;
502724ba675SRob Herring		line-name = "RM_THROTTLE_EN_N";
503724ba675SRob Herring	};
504724ba675SRob Herring
505724ba675SRob Herring	pin_gpio_f3 {
506724ba675SRob Herring		gpio-hog;
507724ba675SRob Herring		gpios = <ASPEED_GPIO(F, 3) GPIO_ACTIVE_HIGH>;
508724ba675SRob Herring		output-low;
509724ba675SRob Herring		line-name = "FM_PMBUS_ALERT_B_EN";
510724ba675SRob Herring	};
511724ba675SRob Herring
512724ba675SRob Herring	pin_gpio_f4 {
513724ba675SRob Herring		gpio-hog;
514724ba675SRob Herring		gpios = <ASPEED_GPIO(F, 4) GPIO_ACTIVE_HIGH>;
515724ba675SRob Herring		output-high;
516724ba675SRob Herring		line-name = "BMC_FORCE_NM_THROTTLE_N";
517724ba675SRob Herring	};
518724ba675SRob Herring
519724ba675SRob Herring	pin_gpio_f6 {
520724ba675SRob Herring		gpio-hog;
521724ba675SRob Herring		gpios = <ASPEED_GPIO(F, 6) GPIO_ACTIVE_HIGH>;
522724ba675SRob Herring		output-high;
523724ba675SRob Herring		line-name = "FM_BMC_CPU_PWR_DEBUG_N";
524724ba675SRob Herring	};
525724ba675SRob Herring
526724ba675SRob Herring	pin_gpio_g7 {
527724ba675SRob Herring		gpio-hog;
528724ba675SRob Herring		gpios = <ASPEED_GPIO(G, 7) GPIO_ACTIVE_HIGH>;
529724ba675SRob Herring		output-high;
530724ba675SRob Herring		line-name = "BMC_PCIE_I2C_MUX_RST_N";
531724ba675SRob Herring	};
532724ba675SRob Herring
533724ba675SRob Herring	pin_gpio_h6 {
534724ba675SRob Herring		gpio-hog;
535724ba675SRob Herring		gpios = <ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
536724ba675SRob Herring		output-high;
537724ba675SRob Herring		line-name = "FM_BMC_DBP_PRESENT_R2_N";
538724ba675SRob Herring	};
539724ba675SRob Herring
540724ba675SRob Herring	pin_gpio_i3 {
541724ba675SRob Herring		gpio-hog;
542724ba675SRob Herring		gpios = <ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
543724ba675SRob Herring		output-high;
544724ba675SRob Herring		line-name = "SPI_BMC_BIOS_WP_N";
545724ba675SRob Herring	};
546724ba675SRob Herring
547724ba675SRob Herring	pin_gpio_j1 {
548724ba675SRob Herring		gpio-hog;
549724ba675SRob Herring		gpios = <ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>;
550724ba675SRob Herring		output-high;
551724ba675SRob Herring		line-name = "BMC_USB_SEL";
552724ba675SRob Herring	};
553724ba675SRob Herring
554724ba675SRob Herring	pin_gpio_j2 {
555724ba675SRob Herring		gpio-hog;
556724ba675SRob Herring		gpios = <ASPEED_GPIO(J, 2) GPIO_ACTIVE_HIGH>;
557724ba675SRob Herring		output-high;
558724ba675SRob Herring		line-name = "PDB_SMB_RST_N";
559724ba675SRob Herring	};
560724ba675SRob Herring
561724ba675SRob Herring	pin_gpio_j3 {
562724ba675SRob Herring		gpio-hog;
563724ba675SRob Herring		gpios = <ASPEED_GPIO(J, 3) GPIO_ACTIVE_HIGH>;
564724ba675SRob Herring		output-high;
565724ba675SRob Herring		line-name = "SPI_BMC_BIOS_HOLD_N";
566724ba675SRob Herring	};
567724ba675SRob Herring
568724ba675SRob Herring	pin_gpio_l0 {
569724ba675SRob Herring		gpio-hog;
570724ba675SRob Herring		gpios = <ASPEED_GPIO(L, 0) GPIO_ACTIVE_HIGH>;
571724ba675SRob Herring		output-high;
572724ba675SRob Herring		line-name = "PDB_FAN_TACH_SEL";
573724ba675SRob Herring	};
574724ba675SRob Herring
575724ba675SRob Herring	pin_gpio_l1 {
576724ba675SRob Herring		gpio-hog;
577724ba675SRob Herring		gpios = <ASPEED_GPIO(L, 1) GPIO_ACTIVE_HIGH>;
578724ba675SRob Herring		output-high;
579724ba675SRob Herring		line-name = "SYS_RESET_BMC_FPGA_N";
580724ba675SRob Herring	};
581724ba675SRob Herring
582724ba675SRob Herring	pin_gpio_l4 {
583724ba675SRob Herring		gpio-hog;
584724ba675SRob Herring		gpios = <ASPEED_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
585724ba675SRob Herring		output-high;
586724ba675SRob Herring		line-name = "FM_EFUSE_FAN_G1_EN";
587724ba675SRob Herring	};
588724ba675SRob Herring
589724ba675SRob Herring	pin_gpio_l5 {
590724ba675SRob Herring		gpio-hog;
591724ba675SRob Herring		gpios = <ASPEED_GPIO(L, 5) GPIO_ACTIVE_HIGH>;
592724ba675SRob Herring		output-high;
593724ba675SRob Herring		line-name = "FM_EFUSE_FAN_G2_EN";
594724ba675SRob Herring	};
595724ba675SRob Herring
596724ba675SRob Herring	pin_gpio_r6 {
597724ba675SRob Herring		gpio-hog;
598724ba675SRob Herring		gpios = <ASPEED_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
599724ba675SRob Herring		input;
600724ba675SRob Herring		line-name = "CPU3_PROCDIS_BMC_N";
601724ba675SRob Herring	};
602724ba675SRob Herring
603724ba675SRob Herring	pin_gpio_r7 {
604724ba675SRob Herring		gpio-hog;
605724ba675SRob Herring		gpios = <ASPEED_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
606724ba675SRob Herring		input;
607724ba675SRob Herring		line-name = "CPU4_PROCDIS_BMC_N";
608724ba675SRob Herring	};
609724ba675SRob Herring
610724ba675SRob Herring	pin_gpio_s1 {
611724ba675SRob Herring		gpio-hog;
612724ba675SRob Herring		gpios = <ASPEED_GPIO(S, 1) GPIO_ACTIVE_HIGH>;
613724ba675SRob Herring		output-low;
614724ba675SRob Herring		line-name = "DBP_SYSPWROK_BMC";
615724ba675SRob Herring	};
616724ba675SRob Herring
617724ba675SRob Herring	pin_gpio_s2 {
618724ba675SRob Herring		gpio-hog;
619724ba675SRob Herring		gpios = <ASPEED_GPIO(S, 2) GPIO_ACTIVE_HIGH>;
620724ba675SRob Herring		output-high;
621724ba675SRob Herring		line-name = "PCH_RST_RSMRST_N";
622724ba675SRob Herring	};
623724ba675SRob Herring
624724ba675SRob Herring	pin_gpio_s6 {
625724ba675SRob Herring		gpio-hog;
626724ba675SRob Herring		gpios = <ASPEED_GPIO(S, 6) GPIO_ACTIVE_HIGH>;
627724ba675SRob Herring		output-high;
628724ba675SRob Herring		line-name = "BMC_HW_STRAP_5";
629724ba675SRob Herring	};
630724ba675SRob Herring
631724ba675SRob Herring	pin_gpio_z3 {
632724ba675SRob Herring		gpio-hog;
633724ba675SRob Herring		gpios = <ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
634724ba675SRob Herring		output-high;
635724ba675SRob Herring		line-name = "FM_BMC_PCH_SCI_LPC_N";
636724ba675SRob Herring	};
637724ba675SRob Herring
638724ba675SRob Herring	pin_gpio_aa0 {
639724ba675SRob Herring		gpio-hog;
640724ba675SRob Herring		gpios = <ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
641724ba675SRob Herring		output-low;
642724ba675SRob Herring		line-name = "FW_PSU_ALERT_EN_N";
643724ba675SRob Herring	};
644724ba675SRob Herring
645724ba675SRob Herring	pin_gpio_aa4 {
646724ba675SRob Herring		gpio-hog;
647724ba675SRob Herring		gpios = <ASPEED_GPIO(AA, 4) GPIO_ACTIVE_HIGH>;
648724ba675SRob Herring		output-high;
649724ba675SRob Herring		line-name = "DBP_CPU_PREQ_N";
650724ba675SRob Herring	};
651724ba675SRob Herring
652724ba675SRob Herring	pin_gpio_ab3 {
653724ba675SRob Herring		gpio-hog;
654724ba675SRob Herring		gpios = <ASPEED_GPIO(AB, 3) GPIO_ACTIVE_HIGH>;
655724ba675SRob Herring		output-low;
656724ba675SRob Herring		line-name = "BMC_WDTRST";
657724ba675SRob Herring	};
658724ba675SRob Herring
659724ba675SRob Herring	pin_gpio_ac6 {
660724ba675SRob Herring		gpio-hog;
661724ba675SRob Herring		gpios = <ASPEED_GPIO(AC, 6) GPIO_ACTIVE_HIGH>;
662724ba675SRob Herring		output-high;
663724ba675SRob Herring		line-name = "ESPI_BMC_ALERT_N";
664724ba675SRob Herring	};
665724ba675SRob Herring
666724ba675SRob Herring};
667