xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-ampere-mtmitchell.dts (revision e998856086a41dc4a76c35aae33a6ac6e455061b)
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"
7962047a3SChanh Nguyen#include <dt-bindings/i2c/i2c.h>
8724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h>
9724ba675SRob Herring
10724ba675SRob Herring/ {
11724ba675SRob Herring	model = "Ampere Mt.Mitchell BMC";
12724ba675SRob Herring	compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
13724ba675SRob Herring
14d50b1bafSChanh Nguyen	aliases {
15d50b1bafSChanh Nguyen		serial7 = &uart8;
16d50b1bafSChanh Nguyen		serial8 = &uart9;
17d50b1bafSChanh Nguyen	};
18d50b1bafSChanh Nguyen
19724ba675SRob Herring	chosen {
20724ba675SRob Herring		stdout-path = &uart5;
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	memory@80000000 {
24724ba675SRob Herring		device_type = "memory";
25724ba675SRob Herring		reg = <0x80000000 0x80000000>;
26724ba675SRob Herring	};
27724ba675SRob Herring
28724ba675SRob Herring	reserved-memory {
29724ba675SRob Herring		#address-cells = <1>;
30724ba675SRob Herring		#size-cells = <1>;
31724ba675SRob Herring		ranges;
32724ba675SRob Herring
33724ba675SRob Herring		gfx_memory: framebuffer {
34724ba675SRob Herring			size = <0x01000000>;
35724ba675SRob Herring			alignment = <0x01000000>;
36724ba675SRob Herring			compatible = "shared-dma-pool";
37724ba675SRob Herring			reusable;
38724ba675SRob Herring		};
39724ba675SRob Herring
40724ba675SRob Herring		video_engine_memory: video {
41724ba675SRob Herring			size = <0x04000000>;
42724ba675SRob Herring			alignment = <0x01000000>;
43724ba675SRob Herring			compatible = "shared-dma-pool";
44724ba675SRob Herring			reusable;
45724ba675SRob Herring		};
46724ba675SRob Herring
47724ba675SRob Herring		vga_memory: region@bf000000 {
48724ba675SRob Herring			no-map;
49724ba675SRob Herring			compatible = "shared-dma-pool";
50724ba675SRob Herring			reg = <0xbf000000 0x01000000>;  /* 16M */
51724ba675SRob Herring		};
52724ba675SRob Herring	};
53724ba675SRob Herring
54724ba675SRob Herring	voltage_mon_reg: voltage-mon-regulator {
55724ba675SRob Herring		compatible = "regulator-fixed";
56724ba675SRob Herring		regulator-name = "ltc2497_reg";
57724ba675SRob Herring		regulator-min-microvolt = <3300000>;
58724ba675SRob Herring		regulator-max-microvolt = <3300000>;
59724ba675SRob Herring		regulator-always-on;
60724ba675SRob Herring	};
61724ba675SRob Herring
62724ba675SRob Herring	gpioI5mux: mux-controller {
63724ba675SRob Herring		compatible = "gpio-mux";
64724ba675SRob Herring		#mux-control-cells = <0>;
65724ba675SRob Herring		mux-gpios = <&gpio0 ASPEED_GPIO(I, 5) GPIO_ACTIVE_HIGH>;
66724ba675SRob Herring	};
67724ba675SRob Herring
68724ba675SRob Herring	adc0mux: adc0mux {
69724ba675SRob Herring		compatible = "io-channel-mux";
70acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 0>;
71724ba675SRob Herring		#io-channel-cells = <1>;
72724ba675SRob Herring		io-channel-names = "parent";
73724ba675SRob Herring		mux-controls = <&gpioI5mux>;
74acde9078SChanh Nguyen		settle-time-us = <10000>;
75724ba675SRob Herring		channels = "s0", "s1";
76724ba675SRob Herring	};
77724ba675SRob Herring
78724ba675SRob Herring	adc1mux: adc1mux {
79724ba675SRob Herring		compatible = "io-channel-mux";
80acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 1>;
81724ba675SRob Herring		#io-channel-cells = <1>;
82724ba675SRob Herring		io-channel-names = "parent";
83724ba675SRob Herring		mux-controls = <&gpioI5mux>;
84acde9078SChanh Nguyen		settle-time-us = <10000>;
85724ba675SRob Herring		channels = "s0", "s1";
86724ba675SRob Herring	};
87724ba675SRob Herring
88724ba675SRob Herring	adc2mux: adc2mux {
89724ba675SRob Herring		compatible = "io-channel-mux";
90acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 2>;
91724ba675SRob Herring		#io-channel-cells = <1>;
92724ba675SRob Herring		io-channel-names = "parent";
93724ba675SRob Herring		mux-controls = <&gpioI5mux>;
94acde9078SChanh Nguyen		settle-time-us = <10000>;
95724ba675SRob Herring		channels = "s0", "s1";
96724ba675SRob Herring	};
97724ba675SRob Herring
98724ba675SRob Herring	adc3mux: adc3mux {
99724ba675SRob Herring		compatible = "io-channel-mux";
100acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 3>;
101724ba675SRob Herring		#io-channel-cells = <1>;
102724ba675SRob Herring		io-channel-names = "parent";
103724ba675SRob Herring		mux-controls = <&gpioI5mux>;
104acde9078SChanh Nguyen		settle-time-us = <10000>;
105724ba675SRob Herring		channels = "s0", "s1";
106724ba675SRob Herring	};
107724ba675SRob Herring
108724ba675SRob Herring	adc4mux: adc4mux {
109724ba675SRob Herring		compatible = "io-channel-mux";
110acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 4>;
111724ba675SRob Herring		#io-channel-cells = <1>;
112724ba675SRob Herring		io-channel-names = "parent";
113724ba675SRob Herring		mux-controls = <&gpioI5mux>;
114acde9078SChanh Nguyen		settle-time-us = <10000>;
115724ba675SRob Herring		channels = "s0", "s1";
116724ba675SRob Herring	};
117724ba675SRob Herring
118724ba675SRob Herring	adc5mux: adc5mux {
119724ba675SRob Herring		compatible = "io-channel-mux";
120acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 5>;
121724ba675SRob Herring		#io-channel-cells = <1>;
122724ba675SRob Herring		io-channel-names = "parent";
123724ba675SRob Herring		mux-controls = <&gpioI5mux>;
124acde9078SChanh Nguyen		settle-time-us = <10000>;
125724ba675SRob Herring		channels = "s0", "s1";
126724ba675SRob Herring	};
127724ba675SRob Herring
128724ba675SRob Herring	adc6mux: adc6mux {
129724ba675SRob Herring		compatible = "io-channel-mux";
130acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 6>;
131724ba675SRob Herring		#io-channel-cells = <1>;
132724ba675SRob Herring		io-channel-names = "parent";
133724ba675SRob Herring		mux-controls = <&gpioI5mux>;
134acde9078SChanh Nguyen		settle-time-us = <10000>;
135724ba675SRob Herring		channels = "s0", "s1";
136724ba675SRob Herring	};
137724ba675SRob Herring
138724ba675SRob Herring	adc7mux: adc7mux {
139724ba675SRob Herring		compatible = "io-channel-mux";
140acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 7>;
141724ba675SRob Herring		#io-channel-cells = <1>;
142724ba675SRob Herring		io-channel-names = "parent";
143724ba675SRob Herring		mux-controls = <&gpioI5mux>;
144acde9078SChanh Nguyen		settle-time-us = <10000>;
145724ba675SRob Herring		channels = "s0", "s1";
146724ba675SRob Herring	};
147724ba675SRob Herring
148724ba675SRob Herring	adc8mux: adc8mux {
149724ba675SRob Herring		compatible = "io-channel-mux";
150acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 8>;
151724ba675SRob Herring		#io-channel-cells = <1>;
152724ba675SRob Herring		io-channel-names = "parent";
153724ba675SRob Herring		mux-controls = <&gpioI5mux>;
154acde9078SChanh Nguyen		settle-time-us = <10000>;
155724ba675SRob Herring		channels = "s0", "s1";
156724ba675SRob Herring	};
157724ba675SRob Herring
158724ba675SRob Herring	adc9mux: adc9mux {
159724ba675SRob Herring		compatible = "io-channel-mux";
160acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 9>;
161724ba675SRob Herring		#io-channel-cells = <1>;
162724ba675SRob Herring		io-channel-names = "parent";
163724ba675SRob Herring		mux-controls = <&gpioI5mux>;
164acde9078SChanh Nguyen		settle-time-us = <10000>;
165724ba675SRob Herring		channels = "s0", "s1";
166724ba675SRob Herring	};
167724ba675SRob Herring
168724ba675SRob Herring	adc10mux: adc10mux {
169724ba675SRob Herring		compatible = "io-channel-mux";
170acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 10>;
171724ba675SRob Herring		#io-channel-cells = <1>;
172724ba675SRob Herring		io-channel-names = "parent";
173724ba675SRob Herring		mux-controls = <&gpioI5mux>;
174acde9078SChanh Nguyen		settle-time-us = <10000>;
175724ba675SRob Herring		channels = "s0", "s1";
176724ba675SRob Herring	};
177724ba675SRob Herring
178724ba675SRob Herring	adc11mux: adc11mux {
179724ba675SRob Herring		compatible = "io-channel-mux";
180acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 11>;
181724ba675SRob Herring		#io-channel-cells = <1>;
182724ba675SRob Herring		io-channel-names = "parent";
183724ba675SRob Herring		mux-controls = <&gpioI5mux>;
184acde9078SChanh Nguyen		settle-time-us = <10000>;
185724ba675SRob Herring		channels = "s0", "s1";
186724ba675SRob Herring	};
187724ba675SRob Herring
188724ba675SRob Herring	adc12mux: adc12mux {
189724ba675SRob Herring		compatible = "io-channel-mux";
190acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 12>;
191724ba675SRob Herring		#io-channel-cells = <1>;
192724ba675SRob Herring		io-channel-names = "parent";
193724ba675SRob Herring		mux-controls = <&gpioI5mux>;
194acde9078SChanh Nguyen		settle-time-us = <10000>;
195724ba675SRob Herring		channels = "s0", "s1";
196724ba675SRob Herring	};
197724ba675SRob Herring
198724ba675SRob Herring	adc13mux: adc13mux {
199724ba675SRob Herring		compatible = "io-channel-mux";
200acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 13>;
201724ba675SRob Herring		#io-channel-cells = <1>;
202724ba675SRob Herring		io-channel-names = "parent";
203724ba675SRob Herring		mux-controls = <&gpioI5mux>;
204acde9078SChanh Nguyen		settle-time-us = <10000>;
205724ba675SRob Herring		channels = "s0", "s1";
206724ba675SRob Herring	};
207724ba675SRob Herring
208724ba675SRob Herring	adc14mux: adc14mux {
209724ba675SRob Herring		compatible = "io-channel-mux";
210acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 14>;
211724ba675SRob Herring		#io-channel-cells = <1>;
212724ba675SRob Herring		io-channel-names = "parent";
213724ba675SRob Herring		mux-controls = <&gpioI5mux>;
214acde9078SChanh Nguyen		settle-time-us = <10000>;
215724ba675SRob Herring		channels = "s0", "s1";
216724ba675SRob Herring	};
217724ba675SRob Herring
218724ba675SRob Herring	adc15mux: adc15mux {
219724ba675SRob Herring		compatible = "io-channel-mux";
220acde9078SChanh Nguyen		io-channels = <&adc_i2c_0 15>;
221724ba675SRob Herring		#io-channel-cells = <1>;
222724ba675SRob Herring		io-channel-names = "parent";
223724ba675SRob Herring		mux-controls = <&gpioI5mux>;
224acde9078SChanh Nguyen		settle-time-us = <10000>;
225724ba675SRob Herring		channels = "s0", "s1";
226724ba675SRob Herring	};
227724ba675SRob Herring
228724ba675SRob Herring	iio-hwmon {
229724ba675SRob Herring		compatible = "iio-hwmon";
230724ba675SRob Herring		io-channels =	<&adc0mux 0>, <&adc0mux 1>,
231724ba675SRob Herring				<&adc1mux 0>, <&adc1mux 1>,
232724ba675SRob Herring				<&adc2mux 0>, <&adc2mux 1>,
233724ba675SRob Herring				<&adc3mux 0>, <&adc3mux 1>,
234724ba675SRob Herring				<&adc4mux 0>, <&adc4mux 1>,
235724ba675SRob Herring				<&adc5mux 0>, <&adc5mux 1>,
236724ba675SRob Herring				<&adc6mux 0>, <&adc6mux 1>,
237724ba675SRob Herring				<&adc7mux 0>, <&adc7mux 1>,
238724ba675SRob Herring				<&adc8mux 0>, <&adc8mux 1>,
239724ba675SRob Herring				<&adc9mux 0>, <&adc9mux 1>,
240724ba675SRob Herring				<&adc10mux 0>, <&adc10mux 1>,
241724ba675SRob Herring				<&adc11mux 0>, <&adc11mux 1>,
242724ba675SRob Herring				<&adc12mux 0>, <&adc12mux 1>,
243724ba675SRob Herring				<&adc13mux 0>, <&adc13mux 1>,
244724ba675SRob Herring				<&adc14mux 0>, <&adc14mux 1>,
245724ba675SRob Herring				<&adc15mux 0>, <&adc15mux 1>,
246acde9078SChanh Nguyen				<&adc_i2c_1 0>, <&adc_i2c_1 1>,
247acde9078SChanh Nguyen				<&adc_i2c_1 2>, <&adc_i2c_1 3>,
248acde9078SChanh Nguyen				<&adc_i2c_1 4>, <&adc_i2c_1 5>,
249acde9078SChanh Nguyen				<&adc_i2c_1 6>, <&adc_i2c_1 7>,
250acde9078SChanh Nguyen				<&adc_i2c_1 8>, <&adc_i2c_1 9>,
251acde9078SChanh Nguyen				<&adc_i2c_1 10>, <&adc_i2c_1 11>,
252acde9078SChanh Nguyen				<&adc_i2c_1 12>, <&adc_i2c_1 13>,
253acde9078SChanh Nguyen				<&adc_i2c_1 14>, <&adc_i2c_1 15>,
254acde9078SChanh Nguyen				<&adc0 0>, <&adc0 1>,
255acde9078SChanh Nguyen				<&adc0 2>;
256724ba675SRob Herring	};
257724ba675SRob Herring};
258724ba675SRob Herring
259724ba675SRob Herring&mdio0 {
260724ba675SRob Herring	status = "okay";
261724ba675SRob Herring
262724ba675SRob Herring	ethphy0: ethernet-phy@0 {
263724ba675SRob Herring		compatible = "ethernet-phy-ieee802.3-c22";
264724ba675SRob Herring		reg = <0>;
265724ba675SRob Herring	};
266724ba675SRob Herring};
267724ba675SRob Herring
268724ba675SRob Herring&mac0 {
269724ba675SRob Herring	status = "okay";
270724ba675SRob Herring
271724ba675SRob Herring	phy-mode = "rgmii";
272724ba675SRob Herring	phy-handle = <&ethphy0>;
273724ba675SRob Herring
274724ba675SRob Herring	pinctrl-names = "default";
275724ba675SRob Herring	pinctrl-0 = <&pinctrl_rgmii1_default>;
276724ba675SRob Herring};
277724ba675SRob Herring
278724ba675SRob Herring&mac3 {
279724ba675SRob Herring	status = "okay";
280724ba675SRob Herring	pinctrl-names = "default";
281724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii4_default>;
282724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
283724ba675SRob Herring	use-ncsi;
284724ba675SRob Herring};
285724ba675SRob Herring
286724ba675SRob Herring&fmc {
287724ba675SRob Herring	status = "okay";
288724ba675SRob Herring	flash@0 {
289724ba675SRob Herring		status = "okay";
290724ba675SRob Herring		m25p,fast-read;
291724ba675SRob Herring		label = "bmc";
292724ba675SRob Herring		spi-max-frequency = <50000000>;
293724ba675SRob Herring#include "openbmc-flash-layout-64.dtsi"
294724ba675SRob Herring	};
295724ba675SRob Herring
296724ba675SRob Herring	flash@1 {
297724ba675SRob Herring		status = "okay";
298724ba675SRob Herring		m25p,fast-read;
299724ba675SRob Herring		label = "alt-bmc";
300724ba675SRob Herring		spi-max-frequency = <50000000>;
301724ba675SRob Herring#include "openbmc-flash-layout-64-alt.dtsi"
302724ba675SRob Herring	};
303724ba675SRob Herring};
304724ba675SRob Herring
305724ba675SRob Herring&spi1 {
306724ba675SRob Herring	status = "okay";
307724ba675SRob Herring	pinctrl-names = "default";
308724ba675SRob Herring	pinctrl-0 = <&pinctrl_spi1_default>;
309724ba675SRob Herring
310724ba675SRob Herring	flash@0 {
311724ba675SRob Herring		status = "okay";
312724ba675SRob Herring		m25p,fast-read;
313724ba675SRob Herring		label = "pnor";
314724ba675SRob Herring		spi-max-frequency = <20000000>;
315724ba675SRob Herring	};
316724ba675SRob Herring};
317724ba675SRob Herring
318724ba675SRob Herring&uart1 {
319724ba675SRob Herring	status = "okay";
320724ba675SRob Herring};
321724ba675SRob Herring
322724ba675SRob Herring&uart2 {
323724ba675SRob Herring	status = "okay";
324724ba675SRob Herring};
325724ba675SRob Herring
326724ba675SRob Herring&uart3 {
327724ba675SRob Herring	status = "okay";
328724ba675SRob Herring};
329724ba675SRob Herring
330724ba675SRob Herring&uart4 {
331724ba675SRob Herring	status = "okay";
332724ba675SRob Herring};
333724ba675SRob Herring
334d50b1bafSChanh Nguyen&uart8 {
335d50b1bafSChanh Nguyen	status = "okay";
336d50b1bafSChanh Nguyen};
337d50b1bafSChanh Nguyen
338d50b1bafSChanh Nguyen&uart9 {
339d50b1bafSChanh Nguyen	status = "okay";
340d50b1bafSChanh Nguyen};
341d50b1bafSChanh Nguyen
342724ba675SRob Herring&i2c0 {
343724ba675SRob Herring	status = "okay";
344724ba675SRob Herring
345724ba675SRob Herring	temperature-sensor@2e {
346724ba675SRob Herring		compatible = "adi,adt7490";
347724ba675SRob Herring		reg = <0x2e>;
348724ba675SRob Herring	};
349724ba675SRob Herring};
350724ba675SRob Herring
351724ba675SRob Herring&i2c1 {
352724ba675SRob Herring	status = "okay";
353724ba675SRob Herring};
354724ba675SRob Herring
355724ba675SRob Herring&i2c2 {
356724ba675SRob Herring	status = "okay";
357724ba675SRob Herring
358724ba675SRob Herring	psu@58 {
359724ba675SRob Herring		compatible = "pmbus";
360724ba675SRob Herring		reg = <0x58>;
361724ba675SRob Herring	};
362724ba675SRob Herring
363724ba675SRob Herring	psu@59 {
364724ba675SRob Herring		compatible = "pmbus";
365724ba675SRob Herring		reg = <0x59>;
366724ba675SRob Herring	};
367724ba675SRob Herring};
368724ba675SRob Herring
369724ba675SRob Herring&i2c3 {
370724ba675SRob Herring	status = "okay";
371962047a3SChanh Nguyen	bus-frequency = <1000000>;
372962047a3SChanh Nguyen	multi-master;
373962047a3SChanh Nguyen	mctp-controller;
374962047a3SChanh Nguyen
375962047a3SChanh Nguyen	mctp@10 {
376962047a3SChanh Nguyen		compatible = "mctp-i2c-controller";
377962047a3SChanh Nguyen		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
378962047a3SChanh Nguyen	};
379724ba675SRob Herring};
380724ba675SRob Herring
381724ba675SRob Herring&i2c4 {
382724ba675SRob Herring	status = "okay";
383724ba675SRob Herring
384acde9078SChanh Nguyen	adc_i2c_0: adc@14 {
385acde9078SChanh Nguyen		compatible = "lltc,ltc2497";
386acde9078SChanh Nguyen		reg = <0x14>;
387acde9078SChanh Nguyen		vref-supply = <&voltage_mon_reg>;
388acde9078SChanh Nguyen		#io-channel-cells = <1>;
389acde9078SChanh Nguyen	 };
390acde9078SChanh Nguyen
391acde9078SChanh Nguyen	adc_i2c_1: adc@16 {
392724ba675SRob Herring		compatible = "lltc,ltc2497";
393724ba675SRob Herring		reg = <0x16>;
394724ba675SRob Herring		vref-supply = <&voltage_mon_reg>;
395724ba675SRob Herring		#io-channel-cells = <1>;
396724ba675SRob Herring	 };
397724ba675SRob Herring
398724ba675SRob Herring	eeprom@50 {
399724ba675SRob Herring		compatible = "atmel,24c64";
400724ba675SRob Herring		reg = <0x50>;
401724ba675SRob Herring		pagesize = <32>;
402724ba675SRob Herring	};
403724ba675SRob Herring
404724ba675SRob Herring	i2c-mux@70 {
405724ba675SRob Herring		compatible = "nxp,pca9545";
406724ba675SRob Herring		#address-cells = <1>;
407724ba675SRob Herring		#size-cells = <0>;
408724ba675SRob Herring		reg = <0x70>;
409724ba675SRob Herring		i2c-mux-idle-disconnect;
410724ba675SRob Herring
411724ba675SRob Herring		i2c4_bus70_chn0: i2c@0 {
412724ba675SRob Herring			#address-cells = <1>;
413724ba675SRob Herring			#size-cells = <0>;
414724ba675SRob Herring			reg = <0x0>;
415724ba675SRob Herring
416724ba675SRob Herring			outlet_temp1: temperature-sensor@48 {
417724ba675SRob Herring				compatible = "ti,tmp75";
418724ba675SRob Herring				reg = <0x48>;
419724ba675SRob Herring			};
420724ba675SRob Herring			psu1_inlet_temp2: temperature-sensor@49 {
421724ba675SRob Herring				compatible = "ti,tmp75";
422724ba675SRob Herring				reg = <0x49>;
423724ba675SRob Herring			};
424724ba675SRob Herring		};
425724ba675SRob Herring
426724ba675SRob Herring		i2c4_bus70_chn1: i2c@1 {
427724ba675SRob Herring			#address-cells = <1>;
428724ba675SRob Herring			#size-cells = <0>;
429724ba675SRob Herring			reg = <0x1>;
430724ba675SRob Herring
431724ba675SRob Herring			pcie_zone_temp1: temperature-sensor@48 {
432724ba675SRob Herring				compatible = "ti,tmp75";
433724ba675SRob Herring				reg = <0x48>;
434724ba675SRob Herring			};
435724ba675SRob Herring			psu0_inlet_temp2: temperature-sensor@49 {
436724ba675SRob Herring				compatible = "ti,tmp75";
437724ba675SRob Herring				reg = <0x49>;
438724ba675SRob Herring			};
439724ba675SRob Herring		};
440724ba675SRob Herring
441724ba675SRob Herring		i2c4_bus70_chn2: i2c@2 {
442724ba675SRob Herring			#address-cells = <1>;
443724ba675SRob Herring			#size-cells = <0>;
444724ba675SRob Herring			reg = <0x2>;
445724ba675SRob Herring
446724ba675SRob Herring			pcie_zone_temp2: temperature-sensor@48 {
447724ba675SRob Herring				compatible = "ti,tmp75";
448724ba675SRob Herring				reg = <0x48>;
449724ba675SRob Herring			};
450724ba675SRob Herring			outlet_temp2: temperature-sensor@49 {
451724ba675SRob Herring				compatible = "ti,tmp75";
452724ba675SRob Herring				reg = <0x49>;
453724ba675SRob Herring			};
454724ba675SRob Herring		};
455724ba675SRob Herring
456724ba675SRob Herring		i2c4_bus70_chn3: i2c@3 {
457724ba675SRob Herring			#address-cells = <1>;
458724ba675SRob Herring			#size-cells = <0>;
459724ba675SRob Herring			reg = <0x3>;
460724ba675SRob Herring
461724ba675SRob Herring			mb_inlet_temp1: temperature-sensor@7c {
462724ba675SRob Herring				compatible = "microchip,emc1413";
463724ba675SRob Herring				reg = <0x7c>;
464724ba675SRob Herring			};
465724ba675SRob Herring			mb_inlet_temp2: temperature-sensor@4c {
466724ba675SRob Herring				compatible = "microchip,emc1413";
467724ba675SRob Herring				reg = <0x4c>;
468724ba675SRob Herring			};
469724ba675SRob Herring		};
470724ba675SRob Herring	};
471724ba675SRob Herring};
472724ba675SRob Herring
473724ba675SRob Herring&i2c5 {
474724ba675SRob Herring	status = "okay";
475724ba675SRob Herring
476724ba675SRob Herring	i2c-mux@70 {
477724ba675SRob Herring		compatible = "nxp,pca9548";
478724ba675SRob Herring		#address-cells = <1>;
479724ba675SRob Herring		#size-cells = <0>;
480724ba675SRob Herring		reg = <0x70>;
481724ba675SRob Herring		i2c-mux-idle-disconnect;
482724ba675SRob Herring	};
483724ba675SRob Herring};
484724ba675SRob Herring
485724ba675SRob Herring&i2c6 {
486724ba675SRob Herring	status = "okay";
487724ba675SRob Herring	rtc@51 {
488724ba675SRob Herring		compatible = "nxp,pcf85063a";
489724ba675SRob Herring		reg = <0x51>;
490724ba675SRob Herring	};
491724ba675SRob Herring};
492724ba675SRob Herring
493724ba675SRob Herring&i2c7 {
494724ba675SRob Herring	status = "okay";
495724ba675SRob Herring};
496724ba675SRob Herring
497724ba675SRob Herring&i2c8 {
498724ba675SRob Herring	status = "okay";
499724ba675SRob Herring
500*e9988560SChanh Nguyen	temperature-sensor@48 {
501*e9988560SChanh Nguyen		compatible = "ti,tmp112";
502*e9988560SChanh Nguyen		reg = <0x48>;
503*e9988560SChanh Nguyen	};
504*e9988560SChanh Nguyen
505724ba675SRob Herring	gpio@77 {
506724ba675SRob Herring		compatible = "nxp,pca9539";
507724ba675SRob Herring		reg = <0x77>;
508724ba675SRob Herring		gpio-controller;
509724ba675SRob Herring		#address-cells = <1>;
510724ba675SRob Herring		#size-cells = <0>;
511724ba675SRob Herring		#gpio-cells = <2>;
512724ba675SRob Herring
513724ba675SRob Herring		bmc-ocp0-en-hog {
514724ba675SRob Herring			gpio-hog;
515724ba675SRob Herring			gpios = <7 GPIO_ACTIVE_LOW>;
516724ba675SRob Herring			output-high;
517724ba675SRob Herring			line-name = "bmc-ocp0-en-n";
518724ba675SRob Herring		};
519724ba675SRob Herring	};
520724ba675SRob Herring};
521724ba675SRob Herring
522724ba675SRob Herring&i2c9 {
523724ba675SRob Herring	status = "okay";
524724ba675SRob Herring};
525724ba675SRob Herring
526724ba675SRob Herring&i2c11 {
527724ba675SRob Herring	status = "okay";
528724ba675SRob Herring	ssif-bmc@10 {
529724ba675SRob Herring		compatible = "ssif-bmc";
530724ba675SRob Herring		reg = <0x10>;
531724ba675SRob Herring	};
532724ba675SRob Herring};
533724ba675SRob Herring
534724ba675SRob Herring&i2c14 {
535724ba675SRob Herring	status = "okay";
536724ba675SRob Herring	eeprom@50 {
537724ba675SRob Herring		compatible = "atmel,24c64";
538724ba675SRob Herring		reg = <0x50>;
539724ba675SRob Herring		pagesize = <32>;
540724ba675SRob Herring	};
541724ba675SRob Herring
542724ba675SRob Herring	bmc_ast2600_cpu: temperature-sensor@35 {
543724ba675SRob Herring		compatible = "ti,tmp175";
544724ba675SRob Herring		reg = <0x35>;
545724ba675SRob Herring	};
546724ba675SRob Herring};
547724ba675SRob Herring
548724ba675SRob Herring&adc0 {
549724ba675SRob Herring	ref_voltage = <2500>;
550724ba675SRob Herring	status = "okay";
551724ba675SRob Herring
552724ba675SRob Herring	pinctrl-names = "default";
553724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
554724ba675SRob Herring		&pinctrl_adc2_default &pinctrl_adc3_default
555724ba675SRob Herring		&pinctrl_adc4_default &pinctrl_adc5_default
556724ba675SRob Herring		&pinctrl_adc6_default &pinctrl_adc7_default>;
557724ba675SRob Herring};
558724ba675SRob Herring
559724ba675SRob Herring&adc1 {
560724ba675SRob Herring	ref_voltage = <2500>;
561724ba675SRob Herring	status = "okay";
562724ba675SRob Herring
563724ba675SRob Herring	pinctrl-names = "default";
564724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
565724ba675SRob Herring		&pinctrl_adc10_default &pinctrl_adc11_default
566724ba675SRob Herring		&pinctrl_adc12_default &pinctrl_adc13_default
567724ba675SRob Herring		&pinctrl_adc14_default &pinctrl_adc15_default>;
568724ba675SRob Herring};
569724ba675SRob Herring
570724ba675SRob Herring&vhub {
571724ba675SRob Herring	status = "okay";
572724ba675SRob Herring};
573724ba675SRob Herring
574724ba675SRob Herring&video {
575724ba675SRob Herring	status = "okay";
576724ba675SRob Herring	memory-region = <&video_engine_memory>;
577724ba675SRob Herring};
578724ba675SRob Herring
579724ba675SRob Herring&gpio0 {
580724ba675SRob Herring	gpio-line-names =
581724ba675SRob Herring	/*A0-A7*/	"","","","","","i2c2-reset-n","i2c6-reset-n","i2c4-reset-n",
582724ba675SRob Herring	/*B0-B7*/	"","","","","host0-sysreset-n","host0-pmin-n","","",
583e71d1a92SChanh Nguyen	/*C0-C7*/	"s0-vrd-fault-n","s1-vrd-fault-n","bmc-debug-mode","",
584724ba675SRob Herring			"irq-n","","vrd-sel","spd-sel",
585724ba675SRob Herring	/*D0-D7*/	"presence-ps0","presence-ps1","hsc-12vmain-alt2-n","ext-high-temp-n",
586724ba675SRob Herring			"","bmc-ncsi-txen","","",
587e71d1a92SChanh Nguyen	/*E0-E7*/	"","eth-phy-int-n","clk50m-bmc-ncsi","","","","","",
588724ba675SRob Herring	/*F0-F7*/	"s0-pcp-oc-warn-n","s1-pcp-oc-warn-n","power-chassis-control",
589724ba675SRob Herring			"cpu-bios-recover","s0-heartbeat","hs-csout-prochot",
590724ba675SRob Herring			"s0-vr-hot-n","s1-vr-hot-n",
591724ba675SRob Herring	/*G0-G7*/	"","","hsc-12vmain-alt1-n","","","","","",
592e71d1a92SChanh Nguyen	/*H0-H7*/	"jtag-program-sel","fpga-program-b","wd-disable-n",
593e71d1a92SChanh Nguyen			"power-chassis-good","","","","",
594724ba675SRob Herring	/*I0-I7*/	"","","","","","adc-sw","power-button","rtc-battery-voltage-read-enable",
595724ba675SRob Herring	/*J0-J7*/	"","","","","","","","",
596724ba675SRob Herring	/*K0-K7*/	"","","","","","","","",
597724ba675SRob Herring	/*L0-L7*/	"","","","","","","","",
598724ba675SRob Herring	/*M0-M7*/	"","s0-ddr-save","soc-spi-nor-access","presence-cpu0",
599724ba675SRob Herring			"s0-rtc-lock","","","",
600724ba675SRob Herring	/*N0-N7*/	"hpm-fw-recovery","hpm-stby-rst-n","jtag-sel-s0","led-sw-hb",
601724ba675SRob Herring			"jtag-dbgr-prsnt-n","s1-heartbeat","","",
602724ba675SRob Herring	/*O0-O7*/	"","","","","","","","",
603724ba675SRob Herring	/*P0-P7*/	"ps0-ac-loss-n","ps1-ac-loss-n","","",
604724ba675SRob Herring			"led-fault","cpld-user-mode","jtag-srst-n","led-bmc-hb",
605724ba675SRob Herring	/*Q0-Q7*/	"","","","","","","","",
606724ba675SRob Herring	/*R0-R7*/	"","","","","","","","",
607724ba675SRob Herring	/*S0-S7*/	"","","identify-button","led-identify",
608081404feSChanh Nguyen			"s1-ddr-save","spi-nor-access","host0-ready","presence-cpu1",
609724ba675SRob Herring	/*T0-T7*/	"","","","","","","","",
610724ba675SRob Herring	/*U0-U7*/	"","","","","","","","",
611724ba675SRob Herring	/*V0-V7*/	"s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n",
612081404feSChanh Nguyen			"host0-reboot-ack-n","s0-fw-boot-ok","host0-shd-req-n",
613724ba675SRob Herring			"host0-shd-ack-n","s0-overtemp-n",
614e71d1a92SChanh Nguyen	/*W0-W7*/	"ocp-aux-pwren","ocp-main-pwren","ocp-pgood","s1-pcp-pgood",
615724ba675SRob Herring			"bmc-ok","bmc-ready","spi0-program-sel","spi0-backup-sel",
616724ba675SRob Herring	/*X0-X7*/	"i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok",
617724ba675SRob Herring			"s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n",
618081404feSChanh Nguyen			"s1-overtemp-n","cpld-s1-spi-auth-fail-n",
619724ba675SRob Herring	/*Y0-Y7*/	"","","","","","","","host0-special-boot",
620724ba675SRob Herring	/*Z0-Z7*/	"reset-button","ps0-pgood","ps1-pgood","","","","","";
621724ba675SRob Herring
622724ba675SRob Herring	ocp-aux-pwren-hog {
623724ba675SRob Herring		gpio-hog;
624724ba675SRob Herring		gpios = <ASPEED_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
625724ba675SRob Herring		output-high;
626724ba675SRob Herring		line-name = "ocp-aux-pwren";
627724ba675SRob Herring	};
628724ba675SRob Herring};
629724ba675SRob Herring
630724ba675SRob Herring&gpio1 {
631724ba675SRob Herring	gpio-line-names =
632724ba675SRob Herring	/*18A0-18A7*/	"","","","","","","","",
633724ba675SRob Herring	/*18B0-18B7*/	"","","","","","","s0-soc-pgood","",
634724ba675SRob Herring	/*18C0-18C7*/	"uart1-mode0","uart1-mode1","uart2-mode0","uart2-mode1",
635724ba675SRob Herring			"uart3-mode0","uart3-mode1","uart4-mode0","uart4-mode1",
636724ba675SRob Herring	/*18D0-18D7*/	"","","","","","","","",
637724ba675SRob Herring	/*18E0-18E3*/	"","","","";
638724ba675SRob Herring};
639