xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-ampere-mtmitchell.dts (revision d50b1baf4f68cbb4326709361475391a4e550499)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2724ba675SRob Herring// Copyright (c) 2022, Ampere Computing LLC
3724ba675SRob Herring
4724ba675SRob Herring/dts-v1/;
5724ba675SRob Herring
6724ba675SRob Herring#include "aspeed-g6.dtsi"
7724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h>
8724ba675SRob Herring
9724ba675SRob Herring/ {
10724ba675SRob Herring	model = "Ampere Mt.Mitchell BMC";
11724ba675SRob Herring	compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
12724ba675SRob Herring
13*d50b1bafSChanh Nguyen	aliases {
14*d50b1bafSChanh Nguyen		serial7 = &uart8;
15*d50b1bafSChanh Nguyen		serial8 = &uart9;
16*d50b1bafSChanh Nguyen	};
17*d50b1bafSChanh Nguyen
18724ba675SRob Herring	chosen {
19724ba675SRob Herring		stdout-path = &uart5;
20724ba675SRob Herring	};
21724ba675SRob Herring
22724ba675SRob Herring	memory@80000000 {
23724ba675SRob Herring		device_type = "memory";
24724ba675SRob Herring		reg = <0x80000000 0x80000000>;
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		gfx_memory: framebuffer {
33724ba675SRob Herring			size = <0x01000000>;
34724ba675SRob Herring			alignment = <0x01000000>;
35724ba675SRob Herring			compatible = "shared-dma-pool";
36724ba675SRob Herring			reusable;
37724ba675SRob Herring		};
38724ba675SRob Herring
39724ba675SRob Herring		video_engine_memory: video {
40724ba675SRob Herring			size = <0x04000000>;
41724ba675SRob Herring			alignment = <0x01000000>;
42724ba675SRob Herring			compatible = "shared-dma-pool";
43724ba675SRob Herring			reusable;
44724ba675SRob Herring		};
45724ba675SRob Herring
46724ba675SRob Herring		vga_memory: region@bf000000 {
47724ba675SRob Herring			no-map;
48724ba675SRob Herring			compatible = "shared-dma-pool";
49724ba675SRob Herring			reg = <0xbf000000 0x01000000>;  /* 16M */
50724ba675SRob Herring		};
51724ba675SRob Herring	};
52724ba675SRob Herring
53724ba675SRob Herring	voltage_mon_reg: voltage-mon-regulator {
54724ba675SRob Herring		compatible = "regulator-fixed";
55724ba675SRob Herring		regulator-name = "ltc2497_reg";
56724ba675SRob Herring		regulator-min-microvolt = <3300000>;
57724ba675SRob Herring		regulator-max-microvolt = <3300000>;
58724ba675SRob Herring		regulator-always-on;
59724ba675SRob Herring	};
60724ba675SRob Herring
61724ba675SRob Herring	gpioI5mux: mux-controller {
62724ba675SRob Herring		compatible = "gpio-mux";
63724ba675SRob Herring		#mux-control-cells = <0>;
64724ba675SRob Herring		mux-gpios = <&gpio0 ASPEED_GPIO(I, 5) GPIO_ACTIVE_HIGH>;
65724ba675SRob Herring	};
66724ba675SRob Herring
67724ba675SRob Herring	adc0mux: adc0mux {
68724ba675SRob Herring		compatible = "io-channel-mux";
69724ba675SRob Herring		io-channels = <&adc0 0>;
70724ba675SRob Herring		#io-channel-cells = <1>;
71724ba675SRob Herring		io-channel-names = "parent";
72724ba675SRob Herring		mux-controls = <&gpioI5mux>;
73724ba675SRob Herring		channels = "s0", "s1";
74724ba675SRob Herring	};
75724ba675SRob Herring
76724ba675SRob Herring	adc1mux: adc1mux {
77724ba675SRob Herring		compatible = "io-channel-mux";
78724ba675SRob Herring		io-channels = <&adc0 1>;
79724ba675SRob Herring		#io-channel-cells = <1>;
80724ba675SRob Herring		io-channel-names = "parent";
81724ba675SRob Herring		mux-controls = <&gpioI5mux>;
82724ba675SRob Herring		channels = "s0", "s1";
83724ba675SRob Herring	};
84724ba675SRob Herring
85724ba675SRob Herring	adc2mux: adc2mux {
86724ba675SRob Herring		compatible = "io-channel-mux";
87724ba675SRob Herring		io-channels = <&adc0 2>;
88724ba675SRob Herring		#io-channel-cells = <1>;
89724ba675SRob Herring		io-channel-names = "parent";
90724ba675SRob Herring		mux-controls = <&gpioI5mux>;
91724ba675SRob Herring		channels = "s0", "s1";
92724ba675SRob Herring	};
93724ba675SRob Herring
94724ba675SRob Herring	adc3mux: adc3mux {
95724ba675SRob Herring		compatible = "io-channel-mux";
96724ba675SRob Herring		io-channels = <&adc0 3>;
97724ba675SRob Herring		#io-channel-cells = <1>;
98724ba675SRob Herring		io-channel-names = "parent";
99724ba675SRob Herring		mux-controls = <&gpioI5mux>;
100724ba675SRob Herring		channels = "s0", "s1";
101724ba675SRob Herring	};
102724ba675SRob Herring
103724ba675SRob Herring	adc4mux: adc4mux {
104724ba675SRob Herring		compatible = "io-channel-mux";
105724ba675SRob Herring		io-channels = <&adc0 4>;
106724ba675SRob Herring		#io-channel-cells = <1>;
107724ba675SRob Herring		io-channel-names = "parent";
108724ba675SRob Herring		mux-controls = <&gpioI5mux>;
109724ba675SRob Herring		channels = "s0", "s1";
110724ba675SRob Herring	};
111724ba675SRob Herring
112724ba675SRob Herring	adc5mux: adc5mux {
113724ba675SRob Herring		compatible = "io-channel-mux";
114724ba675SRob Herring		io-channels = <&adc0 5>;
115724ba675SRob Herring		#io-channel-cells = <1>;
116724ba675SRob Herring		io-channel-names = "parent";
117724ba675SRob Herring		mux-controls = <&gpioI5mux>;
118724ba675SRob Herring		channels = "s0", "s1";
119724ba675SRob Herring	};
120724ba675SRob Herring
121724ba675SRob Herring	adc6mux: adc6mux {
122724ba675SRob Herring		compatible = "io-channel-mux";
123724ba675SRob Herring		io-channels = <&adc0 6>;
124724ba675SRob Herring		#io-channel-cells = <1>;
125724ba675SRob Herring		io-channel-names = "parent";
126724ba675SRob Herring		mux-controls = <&gpioI5mux>;
127724ba675SRob Herring		channels = "s0", "s1";
128724ba675SRob Herring	};
129724ba675SRob Herring
130724ba675SRob Herring	adc7mux: adc7mux {
131724ba675SRob Herring		compatible = "io-channel-mux";
132724ba675SRob Herring		io-channels = <&adc0 7>;
133724ba675SRob Herring		#io-channel-cells = <1>;
134724ba675SRob Herring		io-channel-names = "parent";
135724ba675SRob Herring		mux-controls = <&gpioI5mux>;
136724ba675SRob Herring		channels = "s0", "s1";
137724ba675SRob Herring	};
138724ba675SRob Herring
139724ba675SRob Herring	adc8mux: adc8mux {
140724ba675SRob Herring		compatible = "io-channel-mux";
141724ba675SRob Herring		io-channels = <&adc1 0>;
142724ba675SRob Herring		#io-channel-cells = <1>;
143724ba675SRob Herring		io-channel-names = "parent";
144724ba675SRob Herring		mux-controls = <&gpioI5mux>;
145724ba675SRob Herring		channels = "s0", "s1";
146724ba675SRob Herring	};
147724ba675SRob Herring
148724ba675SRob Herring	adc9mux: adc9mux {
149724ba675SRob Herring		compatible = "io-channel-mux";
150724ba675SRob Herring		io-channels = <&adc1 1>;
151724ba675SRob Herring		#io-channel-cells = <1>;
152724ba675SRob Herring		io-channel-names = "parent";
153724ba675SRob Herring		mux-controls = <&gpioI5mux>;
154724ba675SRob Herring		channels = "s0", "s1";
155724ba675SRob Herring	};
156724ba675SRob Herring
157724ba675SRob Herring	adc10mux: adc10mux {
158724ba675SRob Herring		compatible = "io-channel-mux";
159724ba675SRob Herring		io-channels = <&adc1 2>;
160724ba675SRob Herring		#io-channel-cells = <1>;
161724ba675SRob Herring		io-channel-names = "parent";
162724ba675SRob Herring		mux-controls = <&gpioI5mux>;
163724ba675SRob Herring		channels = "s0", "s1";
164724ba675SRob Herring	};
165724ba675SRob Herring
166724ba675SRob Herring	adc11mux: adc11mux {
167724ba675SRob Herring		compatible = "io-channel-mux";
168724ba675SRob Herring		io-channels = <&adc1 3>;
169724ba675SRob Herring		#io-channel-cells = <1>;
170724ba675SRob Herring		io-channel-names = "parent";
171724ba675SRob Herring		mux-controls = <&gpioI5mux>;
172724ba675SRob Herring		channels = "s0", "s1";
173724ba675SRob Herring	};
174724ba675SRob Herring
175724ba675SRob Herring	adc12mux: adc12mux {
176724ba675SRob Herring		compatible = "io-channel-mux";
177724ba675SRob Herring		io-channels = <&adc1 4>;
178724ba675SRob Herring		#io-channel-cells = <1>;
179724ba675SRob Herring		io-channel-names = "parent";
180724ba675SRob Herring		mux-controls = <&gpioI5mux>;
181724ba675SRob Herring		channels = "s0", "s1";
182724ba675SRob Herring	};
183724ba675SRob Herring
184724ba675SRob Herring	adc13mux: adc13mux {
185724ba675SRob Herring		compatible = "io-channel-mux";
186724ba675SRob Herring		io-channels = <&adc1 5>;
187724ba675SRob Herring		#io-channel-cells = <1>;
188724ba675SRob Herring		io-channel-names = "parent";
189724ba675SRob Herring		mux-controls = <&gpioI5mux>;
190724ba675SRob Herring		channels = "s0", "s1";
191724ba675SRob Herring	};
192724ba675SRob Herring
193724ba675SRob Herring	adc14mux: adc14mux {
194724ba675SRob Herring		compatible = "io-channel-mux";
195724ba675SRob Herring		io-channels = <&adc1 6>;
196724ba675SRob Herring		#io-channel-cells = <1>;
197724ba675SRob Herring		io-channel-names = "parent";
198724ba675SRob Herring		mux-controls = <&gpioI5mux>;
199724ba675SRob Herring		channels = "s0", "s1";
200724ba675SRob Herring	};
201724ba675SRob Herring
202724ba675SRob Herring	adc15mux: adc15mux {
203724ba675SRob Herring		compatible = "io-channel-mux";
204724ba675SRob Herring		io-channels = <&adc1 7>;
205724ba675SRob Herring		#io-channel-cells = <1>;
206724ba675SRob Herring		io-channel-names = "parent";
207724ba675SRob Herring		mux-controls = <&gpioI5mux>;
208724ba675SRob Herring		channels = "s0", "s1";
209724ba675SRob Herring	};
210724ba675SRob Herring
211724ba675SRob Herring	iio-hwmon {
212724ba675SRob Herring		compatible = "iio-hwmon";
213724ba675SRob Herring		io-channels = <&adc0mux 0>, <&adc0mux 1>,
214724ba675SRob Herring			<&adc1mux 0>, <&adc1mux 1>,
215724ba675SRob Herring			<&adc2mux 0>, <&adc2mux 1>,
216724ba675SRob Herring			<&adc3mux 0>, <&adc3mux 1>,
217724ba675SRob Herring			<&adc4mux 0>, <&adc4mux 1>,
218724ba675SRob Herring			<&adc5mux 0>, <&adc5mux 1>,
219724ba675SRob Herring			<&adc6mux 0>, <&adc6mux 1>,
220724ba675SRob Herring			<&adc7mux 0>, <&adc7mux 1>,
221724ba675SRob Herring			<&adc8mux 0>, <&adc8mux 1>,
222724ba675SRob Herring			<&adc9mux 0>, <&adc9mux 1>,
223724ba675SRob Herring			<&adc10mux 0>, <&adc10mux 1>,
224724ba675SRob Herring			<&adc11mux 0>, <&adc11mux 1>,
225724ba675SRob Herring			<&adc12mux 0>, <&adc12mux 1>,
226724ba675SRob Herring			<&adc13mux 0>, <&adc13mux 1>,
227724ba675SRob Herring			<&adc14mux 0>, <&adc14mux 1>,
228724ba675SRob Herring			<&adc15mux 0>, <&adc15mux 1>,
229724ba675SRob Herring			<&adc_i2c 0>, <&adc_i2c 1>,
230724ba675SRob Herring			<&adc_i2c 2>, <&adc_i2c 3>,
231724ba675SRob Herring			<&adc_i2c 4>, <&adc_i2c 5>,
232724ba675SRob Herring			<&adc_i2c 6>, <&adc_i2c 7>,
233724ba675SRob Herring			<&adc_i2c 8>, <&adc_i2c 9>,
234724ba675SRob Herring			<&adc_i2c 10>, <&adc_i2c 11>,
235724ba675SRob Herring			<&adc_i2c 12>, <&adc_i2c 13>,
236724ba675SRob Herring			<&adc_i2c 14>, <&adc_i2c 15>;
237724ba675SRob Herring	};
238724ba675SRob Herring};
239724ba675SRob Herring
240724ba675SRob Herring&mdio0 {
241724ba675SRob Herring	status = "okay";
242724ba675SRob Herring
243724ba675SRob Herring	ethphy0: ethernet-phy@0 {
244724ba675SRob Herring		compatible = "ethernet-phy-ieee802.3-c22";
245724ba675SRob Herring		reg = <0>;
246724ba675SRob Herring	};
247724ba675SRob Herring};
248724ba675SRob Herring
249724ba675SRob Herring&mac0 {
250724ba675SRob Herring	status = "okay";
251724ba675SRob Herring
252724ba675SRob Herring	phy-mode = "rgmii";
253724ba675SRob Herring	phy-handle = <&ethphy0>;
254724ba675SRob Herring
255724ba675SRob Herring	pinctrl-names = "default";
256724ba675SRob Herring	pinctrl-0 = <&pinctrl_rgmii1_default>;
257724ba675SRob Herring};
258724ba675SRob Herring
259724ba675SRob Herring&mac3 {
260724ba675SRob Herring	status = "okay";
261724ba675SRob Herring	pinctrl-names = "default";
262724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii4_default>;
263724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
264724ba675SRob Herring	use-ncsi;
265724ba675SRob Herring};
266724ba675SRob Herring
267724ba675SRob Herring&fmc {
268724ba675SRob Herring	status = "okay";
269724ba675SRob Herring	flash@0 {
270724ba675SRob Herring		status = "okay";
271724ba675SRob Herring		m25p,fast-read;
272724ba675SRob Herring		label = "bmc";
273724ba675SRob Herring		spi-max-frequency = <50000000>;
274724ba675SRob Herring#include "openbmc-flash-layout-64.dtsi"
275724ba675SRob Herring	};
276724ba675SRob Herring
277724ba675SRob Herring	flash@1 {
278724ba675SRob Herring		status = "okay";
279724ba675SRob Herring		m25p,fast-read;
280724ba675SRob Herring		label = "alt-bmc";
281724ba675SRob Herring		spi-max-frequency = <50000000>;
282724ba675SRob Herring#include "openbmc-flash-layout-64-alt.dtsi"
283724ba675SRob Herring	};
284724ba675SRob Herring};
285724ba675SRob Herring
286724ba675SRob Herring&spi1 {
287724ba675SRob Herring	status = "okay";
288724ba675SRob Herring	pinctrl-names = "default";
289724ba675SRob Herring	pinctrl-0 = <&pinctrl_spi1_default>;
290724ba675SRob Herring
291724ba675SRob Herring	flash@0 {
292724ba675SRob Herring		status = "okay";
293724ba675SRob Herring		m25p,fast-read;
294724ba675SRob Herring		label = "pnor";
295724ba675SRob Herring		spi-max-frequency = <20000000>;
296724ba675SRob Herring	};
297724ba675SRob Herring};
298724ba675SRob Herring
299724ba675SRob Herring&uart1 {
300724ba675SRob Herring	status = "okay";
301724ba675SRob Herring};
302724ba675SRob Herring
303724ba675SRob Herring&uart2 {
304724ba675SRob Herring	status = "okay";
305724ba675SRob Herring};
306724ba675SRob Herring
307724ba675SRob Herring&uart3 {
308724ba675SRob Herring	status = "okay";
309724ba675SRob Herring};
310724ba675SRob Herring
311724ba675SRob Herring&uart4 {
312724ba675SRob Herring	status = "okay";
313724ba675SRob Herring};
314724ba675SRob Herring
315*d50b1bafSChanh Nguyen&uart8 {
316*d50b1bafSChanh Nguyen	status = "okay";
317*d50b1bafSChanh Nguyen};
318*d50b1bafSChanh Nguyen
319*d50b1bafSChanh Nguyen&uart9 {
320*d50b1bafSChanh Nguyen	status = "okay";
321*d50b1bafSChanh Nguyen};
322*d50b1bafSChanh Nguyen
323724ba675SRob Herring&i2c0 {
324724ba675SRob Herring	status = "okay";
325724ba675SRob Herring
326724ba675SRob Herring	temperature-sensor@2e {
327724ba675SRob Herring		compatible = "adi,adt7490";
328724ba675SRob Herring		reg = <0x2e>;
329724ba675SRob Herring	};
330724ba675SRob Herring};
331724ba675SRob Herring
332724ba675SRob Herring&i2c1 {
333724ba675SRob Herring	status = "okay";
334724ba675SRob Herring};
335724ba675SRob Herring
336724ba675SRob Herring&i2c2 {
337724ba675SRob Herring	status = "okay";
338724ba675SRob Herring
339724ba675SRob Herring	psu@58 {
340724ba675SRob Herring		compatible = "pmbus";
341724ba675SRob Herring		reg = <0x58>;
342724ba675SRob Herring	};
343724ba675SRob Herring
344724ba675SRob Herring	psu@59 {
345724ba675SRob Herring		compatible = "pmbus";
346724ba675SRob Herring		reg = <0x59>;
347724ba675SRob Herring	};
348724ba675SRob Herring};
349724ba675SRob Herring
350724ba675SRob Herring&i2c3 {
351724ba675SRob Herring	status = "okay";
352724ba675SRob Herring};
353724ba675SRob Herring
354724ba675SRob Herring&i2c4 {
355724ba675SRob Herring	status = "okay";
356724ba675SRob Herring
357724ba675SRob Herring	adc_i2c: adc@16 {
358724ba675SRob Herring		compatible = "lltc,ltc2497";
359724ba675SRob Herring		reg = <0x16>;
360724ba675SRob Herring		vref-supply = <&voltage_mon_reg>;
361724ba675SRob Herring		#io-channel-cells = <1>;
362724ba675SRob Herring	 };
363724ba675SRob Herring
364724ba675SRob Herring	eeprom@50 {
365724ba675SRob Herring		compatible = "atmel,24c64";
366724ba675SRob Herring		reg = <0x50>;
367724ba675SRob Herring		pagesize = <32>;
368724ba675SRob Herring	};
369724ba675SRob Herring
370724ba675SRob Herring	i2c-mux@70 {
371724ba675SRob Herring		compatible = "nxp,pca9545";
372724ba675SRob Herring		#address-cells = <1>;
373724ba675SRob Herring		#size-cells = <0>;
374724ba675SRob Herring		reg = <0x70>;
375724ba675SRob Herring		i2c-mux-idle-disconnect;
376724ba675SRob Herring
377724ba675SRob Herring		i2c4_bus70_chn0: i2c@0 {
378724ba675SRob Herring			#address-cells = <1>;
379724ba675SRob Herring			#size-cells = <0>;
380724ba675SRob Herring			reg = <0x0>;
381724ba675SRob Herring
382724ba675SRob Herring			outlet_temp1: temperature-sensor@48 {
383724ba675SRob Herring				compatible = "ti,tmp75";
384724ba675SRob Herring				reg = <0x48>;
385724ba675SRob Herring			};
386724ba675SRob Herring			psu1_inlet_temp2: temperature-sensor@49 {
387724ba675SRob Herring				compatible = "ti,tmp75";
388724ba675SRob Herring				reg = <0x49>;
389724ba675SRob Herring			};
390724ba675SRob Herring		};
391724ba675SRob Herring
392724ba675SRob Herring		i2c4_bus70_chn1: i2c@1 {
393724ba675SRob Herring			#address-cells = <1>;
394724ba675SRob Herring			#size-cells = <0>;
395724ba675SRob Herring			reg = <0x1>;
396724ba675SRob Herring
397724ba675SRob Herring			pcie_zone_temp1: temperature-sensor@48 {
398724ba675SRob Herring				compatible = "ti,tmp75";
399724ba675SRob Herring				reg = <0x48>;
400724ba675SRob Herring			};
401724ba675SRob Herring			psu0_inlet_temp2: temperature-sensor@49 {
402724ba675SRob Herring				compatible = "ti,tmp75";
403724ba675SRob Herring				reg = <0x49>;
404724ba675SRob Herring			};
405724ba675SRob Herring		};
406724ba675SRob Herring
407724ba675SRob Herring		i2c4_bus70_chn2: i2c@2 {
408724ba675SRob Herring			#address-cells = <1>;
409724ba675SRob Herring			#size-cells = <0>;
410724ba675SRob Herring			reg = <0x2>;
411724ba675SRob Herring
412724ba675SRob Herring			pcie_zone_temp2: temperature-sensor@48 {
413724ba675SRob Herring				compatible = "ti,tmp75";
414724ba675SRob Herring				reg = <0x48>;
415724ba675SRob Herring			};
416724ba675SRob Herring			outlet_temp2: temperature-sensor@49 {
417724ba675SRob Herring				compatible = "ti,tmp75";
418724ba675SRob Herring				reg = <0x49>;
419724ba675SRob Herring			};
420724ba675SRob Herring		};
421724ba675SRob Herring
422724ba675SRob Herring		i2c4_bus70_chn3: i2c@3 {
423724ba675SRob Herring			#address-cells = <1>;
424724ba675SRob Herring			#size-cells = <0>;
425724ba675SRob Herring			reg = <0x3>;
426724ba675SRob Herring
427724ba675SRob Herring			mb_inlet_temp1: temperature-sensor@7c {
428724ba675SRob Herring				compatible = "microchip,emc1413";
429724ba675SRob Herring				reg = <0x7c>;
430724ba675SRob Herring			};
431724ba675SRob Herring			mb_inlet_temp2: temperature-sensor@4c {
432724ba675SRob Herring				compatible = "microchip,emc1413";
433724ba675SRob Herring				reg = <0x4c>;
434724ba675SRob Herring			};
435724ba675SRob Herring		};
436724ba675SRob Herring	};
437724ba675SRob Herring};
438724ba675SRob Herring
439724ba675SRob Herring&i2c5 {
440724ba675SRob Herring	status = "okay";
441724ba675SRob Herring
442724ba675SRob Herring	i2c-mux@70 {
443724ba675SRob Herring		compatible = "nxp,pca9548";
444724ba675SRob Herring		#address-cells = <1>;
445724ba675SRob Herring		#size-cells = <0>;
446724ba675SRob Herring		reg = <0x70>;
447724ba675SRob Herring		i2c-mux-idle-disconnect;
448724ba675SRob Herring	};
449724ba675SRob Herring};
450724ba675SRob Herring
451724ba675SRob Herring&i2c6 {
452724ba675SRob Herring	status = "okay";
453724ba675SRob Herring	rtc@51 {
454724ba675SRob Herring		compatible = "nxp,pcf85063a";
455724ba675SRob Herring		reg = <0x51>;
456724ba675SRob Herring	};
457724ba675SRob Herring};
458724ba675SRob Herring
459724ba675SRob Herring&i2c7 {
460724ba675SRob Herring	status = "okay";
461724ba675SRob Herring};
462724ba675SRob Herring
463724ba675SRob Herring&i2c8 {
464724ba675SRob Herring	status = "okay";
465724ba675SRob Herring
466724ba675SRob Herring	gpio@77 {
467724ba675SRob Herring		compatible = "nxp,pca9539";
468724ba675SRob Herring		reg = <0x77>;
469724ba675SRob Herring		gpio-controller;
470724ba675SRob Herring		#address-cells = <1>;
471724ba675SRob Herring		#size-cells = <0>;
472724ba675SRob Herring		#gpio-cells = <2>;
473724ba675SRob Herring
474724ba675SRob Herring		bmc-ocp0-en-hog {
475724ba675SRob Herring			gpio-hog;
476724ba675SRob Herring			gpios = <7 GPIO_ACTIVE_LOW>;
477724ba675SRob Herring			output-high;
478724ba675SRob Herring			line-name = "bmc-ocp0-en-n";
479724ba675SRob Herring		};
480724ba675SRob Herring	};
481724ba675SRob Herring};
482724ba675SRob Herring
483724ba675SRob Herring&i2c9 {
484724ba675SRob Herring	status = "okay";
485724ba675SRob Herring};
486724ba675SRob Herring
487724ba675SRob Herring&i2c11 {
488724ba675SRob Herring	status = "okay";
489724ba675SRob Herring	ssif-bmc@10 {
490724ba675SRob Herring		compatible = "ssif-bmc";
491724ba675SRob Herring		reg = <0x10>;
492724ba675SRob Herring	};
493724ba675SRob Herring};
494724ba675SRob Herring
495724ba675SRob Herring&i2c14 {
496724ba675SRob Herring	status = "okay";
497724ba675SRob Herring	eeprom@50 {
498724ba675SRob Herring		compatible = "atmel,24c64";
499724ba675SRob Herring		reg = <0x50>;
500724ba675SRob Herring		pagesize = <32>;
501724ba675SRob Herring	};
502724ba675SRob Herring
503724ba675SRob Herring	bmc_ast2600_cpu: temperature-sensor@35 {
504724ba675SRob Herring		compatible = "ti,tmp175";
505724ba675SRob Herring		reg = <0x35>;
506724ba675SRob Herring	};
507724ba675SRob Herring};
508724ba675SRob Herring
509724ba675SRob Herring&adc0 {
510724ba675SRob Herring	ref_voltage = <2500>;
511724ba675SRob Herring	status = "okay";
512724ba675SRob Herring
513724ba675SRob Herring	pinctrl-names = "default";
514724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
515724ba675SRob Herring		&pinctrl_adc2_default &pinctrl_adc3_default
516724ba675SRob Herring		&pinctrl_adc4_default &pinctrl_adc5_default
517724ba675SRob Herring		&pinctrl_adc6_default &pinctrl_adc7_default>;
518724ba675SRob Herring};
519724ba675SRob Herring
520724ba675SRob Herring&adc1 {
521724ba675SRob Herring	ref_voltage = <2500>;
522724ba675SRob Herring	status = "okay";
523724ba675SRob Herring
524724ba675SRob Herring	pinctrl-names = "default";
525724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
526724ba675SRob Herring		&pinctrl_adc10_default &pinctrl_adc11_default
527724ba675SRob Herring		&pinctrl_adc12_default &pinctrl_adc13_default
528724ba675SRob Herring		&pinctrl_adc14_default &pinctrl_adc15_default>;
529724ba675SRob Herring};
530724ba675SRob Herring
531724ba675SRob Herring&vhub {
532724ba675SRob Herring	status = "okay";
533724ba675SRob Herring};
534724ba675SRob Herring
535724ba675SRob Herring&video {
536724ba675SRob Herring	status = "okay";
537724ba675SRob Herring	memory-region = <&video_engine_memory>;
538724ba675SRob Herring};
539724ba675SRob Herring
540724ba675SRob Herring&gpio0 {
541724ba675SRob Herring	gpio-line-names =
542724ba675SRob Herring	/*A0-A7*/	"","","","","","i2c2-reset-n","i2c6-reset-n","i2c4-reset-n",
543724ba675SRob Herring	/*B0-B7*/	"","","","","host0-sysreset-n","host0-pmin-n","","",
544724ba675SRob Herring	/*C0-C7*/	"s0-vrd-fault-n","s1-vrd-fault-n","","",
545724ba675SRob Herring			"irq-n","","vrd-sel","spd-sel",
546724ba675SRob Herring	/*D0-D7*/	"presence-ps0","presence-ps1","hsc-12vmain-alt2-n","ext-high-temp-n",
547724ba675SRob Herring			"","bmc-ncsi-txen","","",
548724ba675SRob Herring	/*E0-E7*/	"","","clk50m-bmc-ncsi","","","","","",
549724ba675SRob Herring	/*F0-F7*/	"s0-pcp-oc-warn-n","s1-pcp-oc-warn-n","power-chassis-control",
550724ba675SRob Herring			"cpu-bios-recover","s0-heartbeat","hs-csout-prochot",
551724ba675SRob Herring			"s0-vr-hot-n","s1-vr-hot-n",
552724ba675SRob Herring	/*G0-G7*/	"","","hsc-12vmain-alt1-n","","","","","",
553724ba675SRob Herring	/*H0-H7*/	"","","wd-disable-n","power-chassis-good","","","","",
554724ba675SRob Herring	/*I0-I7*/	"","","","","","adc-sw","power-button","rtc-battery-voltage-read-enable",
555724ba675SRob Herring	/*J0-J7*/	"","","","","","","","",
556724ba675SRob Herring	/*K0-K7*/	"","","","","","","","",
557724ba675SRob Herring	/*L0-L7*/	"","","","","","","","",
558724ba675SRob Herring	/*M0-M7*/	"","s0-ddr-save","soc-spi-nor-access","presence-cpu0",
559724ba675SRob Herring			"s0-rtc-lock","","","",
560724ba675SRob Herring	/*N0-N7*/	"hpm-fw-recovery","hpm-stby-rst-n","jtag-sel-s0","led-sw-hb",
561724ba675SRob Herring			"jtag-dbgr-prsnt-n","s1-heartbeat","","",
562724ba675SRob Herring	/*O0-O7*/	"","","","","","","","",
563724ba675SRob Herring	/*P0-P7*/	"ps0-ac-loss-n","ps1-ac-loss-n","","",
564724ba675SRob Herring			"led-fault","cpld-user-mode","jtag-srst-n","led-bmc-hb",
565724ba675SRob Herring	/*Q0-Q7*/	"","","","","","","","",
566724ba675SRob Herring	/*R0-R7*/	"","","","","","","","",
567724ba675SRob Herring	/*S0-S7*/	"","","identify-button","led-identify",
568724ba675SRob Herring			"s1-ddr-save","spi-nor-access","sys-pgood","presence-cpu1",
569724ba675SRob Herring	/*T0-T7*/	"","","","","","","","",
570724ba675SRob Herring	/*U0-U7*/	"","","","","","","","",
571724ba675SRob Herring	/*V0-V7*/	"s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n",
572724ba675SRob Herring			"host0-reboot-ack-n","host0-ready","host0-shd-req-n",
573724ba675SRob Herring			"host0-shd-ack-n","s0-overtemp-n",
574724ba675SRob Herring	/*W0-W7*/	"","ocp-main-pwren","ocp-pgood","",
575724ba675SRob Herring			"bmc-ok","bmc-ready","spi0-program-sel","spi0-backup-sel",
576724ba675SRob Herring	/*X0-X7*/	"i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok",
577724ba675SRob Herring			"s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n",
578724ba675SRob Herring			"s1-overtemp-n","s1-spi-auth-fail-n",
579724ba675SRob Herring	/*Y0-Y7*/	"","","","","","","","host0-special-boot",
580724ba675SRob Herring	/*Z0-Z7*/	"reset-button","ps0-pgood","ps1-pgood","","","","","";
581724ba675SRob Herring
582724ba675SRob Herring	ocp-aux-pwren-hog {
583724ba675SRob Herring		gpio-hog;
584724ba675SRob Herring		gpios = <ASPEED_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
585724ba675SRob Herring		output-high;
586724ba675SRob Herring		line-name = "ocp-aux-pwren";
587724ba675SRob Herring	};
588724ba675SRob Herring};
589724ba675SRob Herring
590724ba675SRob Herring&gpio1 {
591724ba675SRob Herring	gpio-line-names =
592724ba675SRob Herring	/*18A0-18A7*/	"","","","","","","","",
593724ba675SRob Herring	/*18B0-18B7*/	"","","","","","","s0-soc-pgood","",
594724ba675SRob Herring	/*18C0-18C7*/	"uart1-mode0","uart1-mode1","uart2-mode0","uart2-mode1",
595724ba675SRob Herring			"uart3-mode0","uart3-mode1","uart4-mode0","uart4-mode1",
596724ba675SRob Herring	/*18D0-18D7*/	"","","","","","","","",
597724ba675SRob Herring	/*18E0-18E3*/	"","","","";
598724ba675SRob Herring};
599