xref: /freebsd/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-ampere-mtmitchell.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot// Copyright (c) 2022, Ampere Computing LLC
3*f126890aSEmmanuel Vadot
4*f126890aSEmmanuel Vadot/dts-v1/;
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include "aspeed-g6.dtsi"
7*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h>
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	model = "Ampere Mt.Mitchell BMC";
11*f126890aSEmmanuel Vadot	compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	chosen {
14*f126890aSEmmanuel Vadot		stdout-path = &uart5;
15*f126890aSEmmanuel Vadot	};
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	memory@80000000 {
18*f126890aSEmmanuel Vadot		device_type = "memory";
19*f126890aSEmmanuel Vadot		reg = <0x80000000 0x80000000>;
20*f126890aSEmmanuel Vadot	};
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot	reserved-memory {
23*f126890aSEmmanuel Vadot		#address-cells = <1>;
24*f126890aSEmmanuel Vadot		#size-cells = <1>;
25*f126890aSEmmanuel Vadot		ranges;
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot		gfx_memory: framebuffer {
28*f126890aSEmmanuel Vadot			size = <0x01000000>;
29*f126890aSEmmanuel Vadot			alignment = <0x01000000>;
30*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
31*f126890aSEmmanuel Vadot			reusable;
32*f126890aSEmmanuel Vadot		};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot		video_engine_memory: video {
35*f126890aSEmmanuel Vadot			size = <0x04000000>;
36*f126890aSEmmanuel Vadot			alignment = <0x01000000>;
37*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
38*f126890aSEmmanuel Vadot			reusable;
39*f126890aSEmmanuel Vadot		};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot		vga_memory: region@bf000000 {
42*f126890aSEmmanuel Vadot			no-map;
43*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
44*f126890aSEmmanuel Vadot			reg = <0xbf000000 0x01000000>;  /* 16M */
45*f126890aSEmmanuel Vadot		};
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot	voltage_mon_reg: voltage-mon-regulator {
49*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
50*f126890aSEmmanuel Vadot		regulator-name = "ltc2497_reg";
51*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
52*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
53*f126890aSEmmanuel Vadot		regulator-always-on;
54*f126890aSEmmanuel Vadot	};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot	gpioI5mux: mux-controller {
57*f126890aSEmmanuel Vadot		compatible = "gpio-mux";
58*f126890aSEmmanuel Vadot		#mux-control-cells = <0>;
59*f126890aSEmmanuel Vadot		mux-gpios = <&gpio0 ASPEED_GPIO(I, 5) GPIO_ACTIVE_HIGH>;
60*f126890aSEmmanuel Vadot	};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot	adc0mux: adc0mux {
63*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
64*f126890aSEmmanuel Vadot		io-channels = <&adc0 0>;
65*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
66*f126890aSEmmanuel Vadot		io-channel-names = "parent";
67*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
68*f126890aSEmmanuel Vadot		channels = "s0", "s1";
69*f126890aSEmmanuel Vadot	};
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot	adc1mux: adc1mux {
72*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
73*f126890aSEmmanuel Vadot		io-channels = <&adc0 1>;
74*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
75*f126890aSEmmanuel Vadot		io-channel-names = "parent";
76*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
77*f126890aSEmmanuel Vadot		channels = "s0", "s1";
78*f126890aSEmmanuel Vadot	};
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot	adc2mux: adc2mux {
81*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
82*f126890aSEmmanuel Vadot		io-channels = <&adc0 2>;
83*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
84*f126890aSEmmanuel Vadot		io-channel-names = "parent";
85*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
86*f126890aSEmmanuel Vadot		channels = "s0", "s1";
87*f126890aSEmmanuel Vadot	};
88*f126890aSEmmanuel Vadot
89*f126890aSEmmanuel Vadot	adc3mux: adc3mux {
90*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
91*f126890aSEmmanuel Vadot		io-channels = <&adc0 3>;
92*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
93*f126890aSEmmanuel Vadot		io-channel-names = "parent";
94*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
95*f126890aSEmmanuel Vadot		channels = "s0", "s1";
96*f126890aSEmmanuel Vadot	};
97*f126890aSEmmanuel Vadot
98*f126890aSEmmanuel Vadot	adc4mux: adc4mux {
99*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
100*f126890aSEmmanuel Vadot		io-channels = <&adc0 4>;
101*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
102*f126890aSEmmanuel Vadot		io-channel-names = "parent";
103*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
104*f126890aSEmmanuel Vadot		channels = "s0", "s1";
105*f126890aSEmmanuel Vadot	};
106*f126890aSEmmanuel Vadot
107*f126890aSEmmanuel Vadot	adc5mux: adc5mux {
108*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
109*f126890aSEmmanuel Vadot		io-channels = <&adc0 5>;
110*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
111*f126890aSEmmanuel Vadot		io-channel-names = "parent";
112*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
113*f126890aSEmmanuel Vadot		channels = "s0", "s1";
114*f126890aSEmmanuel Vadot	};
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot	adc6mux: adc6mux {
117*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
118*f126890aSEmmanuel Vadot		io-channels = <&adc0 6>;
119*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
120*f126890aSEmmanuel Vadot		io-channel-names = "parent";
121*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
122*f126890aSEmmanuel Vadot		channels = "s0", "s1";
123*f126890aSEmmanuel Vadot	};
124*f126890aSEmmanuel Vadot
125*f126890aSEmmanuel Vadot	adc7mux: adc7mux {
126*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
127*f126890aSEmmanuel Vadot		io-channels = <&adc0 7>;
128*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
129*f126890aSEmmanuel Vadot		io-channel-names = "parent";
130*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
131*f126890aSEmmanuel Vadot		channels = "s0", "s1";
132*f126890aSEmmanuel Vadot	};
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot	adc8mux: adc8mux {
135*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
136*f126890aSEmmanuel Vadot		io-channels = <&adc1 0>;
137*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
138*f126890aSEmmanuel Vadot		io-channel-names = "parent";
139*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
140*f126890aSEmmanuel Vadot		channels = "s0", "s1";
141*f126890aSEmmanuel Vadot	};
142*f126890aSEmmanuel Vadot
143*f126890aSEmmanuel Vadot	adc9mux: adc9mux {
144*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
145*f126890aSEmmanuel Vadot		io-channels = <&adc1 1>;
146*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
147*f126890aSEmmanuel Vadot		io-channel-names = "parent";
148*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
149*f126890aSEmmanuel Vadot		channels = "s0", "s1";
150*f126890aSEmmanuel Vadot	};
151*f126890aSEmmanuel Vadot
152*f126890aSEmmanuel Vadot	adc10mux: adc10mux {
153*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
154*f126890aSEmmanuel Vadot		io-channels = <&adc1 2>;
155*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
156*f126890aSEmmanuel Vadot		io-channel-names = "parent";
157*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
158*f126890aSEmmanuel Vadot		channels = "s0", "s1";
159*f126890aSEmmanuel Vadot	};
160*f126890aSEmmanuel Vadot
161*f126890aSEmmanuel Vadot	adc11mux: adc11mux {
162*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
163*f126890aSEmmanuel Vadot		io-channels = <&adc1 3>;
164*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
165*f126890aSEmmanuel Vadot		io-channel-names = "parent";
166*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
167*f126890aSEmmanuel Vadot		channels = "s0", "s1";
168*f126890aSEmmanuel Vadot	};
169*f126890aSEmmanuel Vadot
170*f126890aSEmmanuel Vadot	adc12mux: adc12mux {
171*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
172*f126890aSEmmanuel Vadot		io-channels = <&adc1 4>;
173*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
174*f126890aSEmmanuel Vadot		io-channel-names = "parent";
175*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
176*f126890aSEmmanuel Vadot		channels = "s0", "s1";
177*f126890aSEmmanuel Vadot	};
178*f126890aSEmmanuel Vadot
179*f126890aSEmmanuel Vadot	adc13mux: adc13mux {
180*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
181*f126890aSEmmanuel Vadot		io-channels = <&adc1 5>;
182*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
183*f126890aSEmmanuel Vadot		io-channel-names = "parent";
184*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
185*f126890aSEmmanuel Vadot		channels = "s0", "s1";
186*f126890aSEmmanuel Vadot	};
187*f126890aSEmmanuel Vadot
188*f126890aSEmmanuel Vadot	adc14mux: adc14mux {
189*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
190*f126890aSEmmanuel Vadot		io-channels = <&adc1 6>;
191*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
192*f126890aSEmmanuel Vadot		io-channel-names = "parent";
193*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
194*f126890aSEmmanuel Vadot		channels = "s0", "s1";
195*f126890aSEmmanuel Vadot	};
196*f126890aSEmmanuel Vadot
197*f126890aSEmmanuel Vadot	adc15mux: adc15mux {
198*f126890aSEmmanuel Vadot		compatible = "io-channel-mux";
199*f126890aSEmmanuel Vadot		io-channels = <&adc1 7>;
200*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
201*f126890aSEmmanuel Vadot		io-channel-names = "parent";
202*f126890aSEmmanuel Vadot		mux-controls = <&gpioI5mux>;
203*f126890aSEmmanuel Vadot		channels = "s0", "s1";
204*f126890aSEmmanuel Vadot	};
205*f126890aSEmmanuel Vadot
206*f126890aSEmmanuel Vadot	iio-hwmon {
207*f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
208*f126890aSEmmanuel Vadot		io-channels = <&adc0mux 0>, <&adc0mux 1>,
209*f126890aSEmmanuel Vadot			<&adc1mux 0>, <&adc1mux 1>,
210*f126890aSEmmanuel Vadot			<&adc2mux 0>, <&adc2mux 1>,
211*f126890aSEmmanuel Vadot			<&adc3mux 0>, <&adc3mux 1>,
212*f126890aSEmmanuel Vadot			<&adc4mux 0>, <&adc4mux 1>,
213*f126890aSEmmanuel Vadot			<&adc5mux 0>, <&adc5mux 1>,
214*f126890aSEmmanuel Vadot			<&adc6mux 0>, <&adc6mux 1>,
215*f126890aSEmmanuel Vadot			<&adc7mux 0>, <&adc7mux 1>,
216*f126890aSEmmanuel Vadot			<&adc8mux 0>, <&adc8mux 1>,
217*f126890aSEmmanuel Vadot			<&adc9mux 0>, <&adc9mux 1>,
218*f126890aSEmmanuel Vadot			<&adc10mux 0>, <&adc10mux 1>,
219*f126890aSEmmanuel Vadot			<&adc11mux 0>, <&adc11mux 1>,
220*f126890aSEmmanuel Vadot			<&adc12mux 0>, <&adc12mux 1>,
221*f126890aSEmmanuel Vadot			<&adc13mux 0>, <&adc13mux 1>,
222*f126890aSEmmanuel Vadot			<&adc14mux 0>, <&adc14mux 1>,
223*f126890aSEmmanuel Vadot			<&adc15mux 0>, <&adc15mux 1>,
224*f126890aSEmmanuel Vadot			<&adc_i2c 0>, <&adc_i2c 1>,
225*f126890aSEmmanuel Vadot			<&adc_i2c 2>, <&adc_i2c 3>,
226*f126890aSEmmanuel Vadot			<&adc_i2c 4>, <&adc_i2c 5>,
227*f126890aSEmmanuel Vadot			<&adc_i2c 6>, <&adc_i2c 7>,
228*f126890aSEmmanuel Vadot			<&adc_i2c 8>, <&adc_i2c 9>,
229*f126890aSEmmanuel Vadot			<&adc_i2c 10>, <&adc_i2c 11>,
230*f126890aSEmmanuel Vadot			<&adc_i2c 12>, <&adc_i2c 13>,
231*f126890aSEmmanuel Vadot			<&adc_i2c 14>, <&adc_i2c 15>;
232*f126890aSEmmanuel Vadot	};
233*f126890aSEmmanuel Vadot};
234*f126890aSEmmanuel Vadot
235*f126890aSEmmanuel Vadot&mdio0 {
236*f126890aSEmmanuel Vadot	status = "okay";
237*f126890aSEmmanuel Vadot
238*f126890aSEmmanuel Vadot	ethphy0: ethernet-phy@0 {
239*f126890aSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
240*f126890aSEmmanuel Vadot		reg = <0>;
241*f126890aSEmmanuel Vadot	};
242*f126890aSEmmanuel Vadot};
243*f126890aSEmmanuel Vadot
244*f126890aSEmmanuel Vadot&mac0 {
245*f126890aSEmmanuel Vadot	status = "okay";
246*f126890aSEmmanuel Vadot
247*f126890aSEmmanuel Vadot	phy-mode = "rgmii";
248*f126890aSEmmanuel Vadot	phy-handle = <&ethphy0>;
249*f126890aSEmmanuel Vadot
250*f126890aSEmmanuel Vadot	pinctrl-names = "default";
251*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rgmii1_default>;
252*f126890aSEmmanuel Vadot};
253*f126890aSEmmanuel Vadot
254*f126890aSEmmanuel Vadot&mac3 {
255*f126890aSEmmanuel Vadot	status = "okay";
256*f126890aSEmmanuel Vadot	pinctrl-names = "default";
257*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rmii4_default>;
258*f126890aSEmmanuel Vadot	clock-names = "MACCLK", "RCLK";
259*f126890aSEmmanuel Vadot	use-ncsi;
260*f126890aSEmmanuel Vadot};
261*f126890aSEmmanuel Vadot
262*f126890aSEmmanuel Vadot&fmc {
263*f126890aSEmmanuel Vadot	status = "okay";
264*f126890aSEmmanuel Vadot	flash@0 {
265*f126890aSEmmanuel Vadot		status = "okay";
266*f126890aSEmmanuel Vadot		m25p,fast-read;
267*f126890aSEmmanuel Vadot		label = "bmc";
268*f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
269*f126890aSEmmanuel Vadot#include "openbmc-flash-layout-64.dtsi"
270*f126890aSEmmanuel Vadot	};
271*f126890aSEmmanuel Vadot
272*f126890aSEmmanuel Vadot	flash@1 {
273*f126890aSEmmanuel Vadot		status = "okay";
274*f126890aSEmmanuel Vadot		m25p,fast-read;
275*f126890aSEmmanuel Vadot		label = "alt-bmc";
276*f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
277*f126890aSEmmanuel Vadot#include "openbmc-flash-layout-64-alt.dtsi"
278*f126890aSEmmanuel Vadot	};
279*f126890aSEmmanuel Vadot};
280*f126890aSEmmanuel Vadot
281*f126890aSEmmanuel Vadot&spi1 {
282*f126890aSEmmanuel Vadot	status = "okay";
283*f126890aSEmmanuel Vadot	pinctrl-names = "default";
284*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi1_default>;
285*f126890aSEmmanuel Vadot
286*f126890aSEmmanuel Vadot	flash@0 {
287*f126890aSEmmanuel Vadot		status = "okay";
288*f126890aSEmmanuel Vadot		m25p,fast-read;
289*f126890aSEmmanuel Vadot		label = "pnor";
290*f126890aSEmmanuel Vadot		spi-max-frequency = <20000000>;
291*f126890aSEmmanuel Vadot	};
292*f126890aSEmmanuel Vadot};
293*f126890aSEmmanuel Vadot
294*f126890aSEmmanuel Vadot&uart1 {
295*f126890aSEmmanuel Vadot	status = "okay";
296*f126890aSEmmanuel Vadot};
297*f126890aSEmmanuel Vadot
298*f126890aSEmmanuel Vadot&uart2 {
299*f126890aSEmmanuel Vadot	status = "okay";
300*f126890aSEmmanuel Vadot};
301*f126890aSEmmanuel Vadot
302*f126890aSEmmanuel Vadot&uart3 {
303*f126890aSEmmanuel Vadot	status = "okay";
304*f126890aSEmmanuel Vadot};
305*f126890aSEmmanuel Vadot
306*f126890aSEmmanuel Vadot&uart4 {
307*f126890aSEmmanuel Vadot	status = "okay";
308*f126890aSEmmanuel Vadot};
309*f126890aSEmmanuel Vadot
310*f126890aSEmmanuel Vadot&i2c0 {
311*f126890aSEmmanuel Vadot	status = "okay";
312*f126890aSEmmanuel Vadot
313*f126890aSEmmanuel Vadot	temperature-sensor@2e {
314*f126890aSEmmanuel Vadot		compatible = "adi,adt7490";
315*f126890aSEmmanuel Vadot		reg = <0x2e>;
316*f126890aSEmmanuel Vadot	};
317*f126890aSEmmanuel Vadot};
318*f126890aSEmmanuel Vadot
319*f126890aSEmmanuel Vadot&i2c1 {
320*f126890aSEmmanuel Vadot	status = "okay";
321*f126890aSEmmanuel Vadot};
322*f126890aSEmmanuel Vadot
323*f126890aSEmmanuel Vadot&i2c2 {
324*f126890aSEmmanuel Vadot	status = "okay";
325*f126890aSEmmanuel Vadot
326*f126890aSEmmanuel Vadot	psu@58 {
327*f126890aSEmmanuel Vadot		compatible = "pmbus";
328*f126890aSEmmanuel Vadot		reg = <0x58>;
329*f126890aSEmmanuel Vadot	};
330*f126890aSEmmanuel Vadot
331*f126890aSEmmanuel Vadot	psu@59 {
332*f126890aSEmmanuel Vadot		compatible = "pmbus";
333*f126890aSEmmanuel Vadot		reg = <0x59>;
334*f126890aSEmmanuel Vadot	};
335*f126890aSEmmanuel Vadot};
336*f126890aSEmmanuel Vadot
337*f126890aSEmmanuel Vadot&i2c3 {
338*f126890aSEmmanuel Vadot	status = "okay";
339*f126890aSEmmanuel Vadot};
340*f126890aSEmmanuel Vadot
341*f126890aSEmmanuel Vadot&i2c4 {
342*f126890aSEmmanuel Vadot	status = "okay";
343*f126890aSEmmanuel Vadot
344*f126890aSEmmanuel Vadot	adc_i2c: adc@16 {
345*f126890aSEmmanuel Vadot		compatible = "lltc,ltc2497";
346*f126890aSEmmanuel Vadot		reg = <0x16>;
347*f126890aSEmmanuel Vadot		vref-supply = <&voltage_mon_reg>;
348*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
349*f126890aSEmmanuel Vadot	 };
350*f126890aSEmmanuel Vadot
351*f126890aSEmmanuel Vadot	eeprom@50 {
352*f126890aSEmmanuel Vadot		compatible = "atmel,24c64";
353*f126890aSEmmanuel Vadot		reg = <0x50>;
354*f126890aSEmmanuel Vadot		pagesize = <32>;
355*f126890aSEmmanuel Vadot	};
356*f126890aSEmmanuel Vadot
357*f126890aSEmmanuel Vadot	i2c-mux@70 {
358*f126890aSEmmanuel Vadot		compatible = "nxp,pca9545";
359*f126890aSEmmanuel Vadot		#address-cells = <1>;
360*f126890aSEmmanuel Vadot		#size-cells = <0>;
361*f126890aSEmmanuel Vadot		reg = <0x70>;
362*f126890aSEmmanuel Vadot		i2c-mux-idle-disconnect;
363*f126890aSEmmanuel Vadot
364*f126890aSEmmanuel Vadot		i2c4_bus70_chn0: i2c@0 {
365*f126890aSEmmanuel Vadot			#address-cells = <1>;
366*f126890aSEmmanuel Vadot			#size-cells = <0>;
367*f126890aSEmmanuel Vadot			reg = <0x0>;
368*f126890aSEmmanuel Vadot
369*f126890aSEmmanuel Vadot			outlet_temp1: temperature-sensor@48 {
370*f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
371*f126890aSEmmanuel Vadot				reg = <0x48>;
372*f126890aSEmmanuel Vadot			};
373*f126890aSEmmanuel Vadot			psu1_inlet_temp2: temperature-sensor@49 {
374*f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
375*f126890aSEmmanuel Vadot				reg = <0x49>;
376*f126890aSEmmanuel Vadot			};
377*f126890aSEmmanuel Vadot		};
378*f126890aSEmmanuel Vadot
379*f126890aSEmmanuel Vadot		i2c4_bus70_chn1: i2c@1 {
380*f126890aSEmmanuel Vadot			#address-cells = <1>;
381*f126890aSEmmanuel Vadot			#size-cells = <0>;
382*f126890aSEmmanuel Vadot			reg = <0x1>;
383*f126890aSEmmanuel Vadot
384*f126890aSEmmanuel Vadot			pcie_zone_temp1: temperature-sensor@48 {
385*f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
386*f126890aSEmmanuel Vadot				reg = <0x48>;
387*f126890aSEmmanuel Vadot			};
388*f126890aSEmmanuel Vadot			psu0_inlet_temp2: temperature-sensor@49 {
389*f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
390*f126890aSEmmanuel Vadot				reg = <0x49>;
391*f126890aSEmmanuel Vadot			};
392*f126890aSEmmanuel Vadot		};
393*f126890aSEmmanuel Vadot
394*f126890aSEmmanuel Vadot		i2c4_bus70_chn2: i2c@2 {
395*f126890aSEmmanuel Vadot			#address-cells = <1>;
396*f126890aSEmmanuel Vadot			#size-cells = <0>;
397*f126890aSEmmanuel Vadot			reg = <0x2>;
398*f126890aSEmmanuel Vadot
399*f126890aSEmmanuel Vadot			pcie_zone_temp2: temperature-sensor@48 {
400*f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
401*f126890aSEmmanuel Vadot				reg = <0x48>;
402*f126890aSEmmanuel Vadot			};
403*f126890aSEmmanuel Vadot			outlet_temp2: temperature-sensor@49 {
404*f126890aSEmmanuel Vadot				compatible = "ti,tmp75";
405*f126890aSEmmanuel Vadot				reg = <0x49>;
406*f126890aSEmmanuel Vadot			};
407*f126890aSEmmanuel Vadot		};
408*f126890aSEmmanuel Vadot
409*f126890aSEmmanuel Vadot		i2c4_bus70_chn3: i2c@3 {
410*f126890aSEmmanuel Vadot			#address-cells = <1>;
411*f126890aSEmmanuel Vadot			#size-cells = <0>;
412*f126890aSEmmanuel Vadot			reg = <0x3>;
413*f126890aSEmmanuel Vadot
414*f126890aSEmmanuel Vadot			mb_inlet_temp1: temperature-sensor@7c {
415*f126890aSEmmanuel Vadot				compatible = "microchip,emc1413";
416*f126890aSEmmanuel Vadot				reg = <0x7c>;
417*f126890aSEmmanuel Vadot			};
418*f126890aSEmmanuel Vadot			mb_inlet_temp2: temperature-sensor@4c {
419*f126890aSEmmanuel Vadot				compatible = "microchip,emc1413";
420*f126890aSEmmanuel Vadot				reg = <0x4c>;
421*f126890aSEmmanuel Vadot			};
422*f126890aSEmmanuel Vadot		};
423*f126890aSEmmanuel Vadot	};
424*f126890aSEmmanuel Vadot};
425*f126890aSEmmanuel Vadot
426*f126890aSEmmanuel Vadot&i2c5 {
427*f126890aSEmmanuel Vadot	status = "okay";
428*f126890aSEmmanuel Vadot
429*f126890aSEmmanuel Vadot	i2c-mux@70 {
430*f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
431*f126890aSEmmanuel Vadot		#address-cells = <1>;
432*f126890aSEmmanuel Vadot		#size-cells = <0>;
433*f126890aSEmmanuel Vadot		reg = <0x70>;
434*f126890aSEmmanuel Vadot		i2c-mux-idle-disconnect;
435*f126890aSEmmanuel Vadot	};
436*f126890aSEmmanuel Vadot};
437*f126890aSEmmanuel Vadot
438*f126890aSEmmanuel Vadot&i2c6 {
439*f126890aSEmmanuel Vadot	status = "okay";
440*f126890aSEmmanuel Vadot	rtc@51 {
441*f126890aSEmmanuel Vadot		compatible = "nxp,pcf85063a";
442*f126890aSEmmanuel Vadot		reg = <0x51>;
443*f126890aSEmmanuel Vadot	};
444*f126890aSEmmanuel Vadot};
445*f126890aSEmmanuel Vadot
446*f126890aSEmmanuel Vadot&i2c7 {
447*f126890aSEmmanuel Vadot	status = "okay";
448*f126890aSEmmanuel Vadot};
449*f126890aSEmmanuel Vadot
450*f126890aSEmmanuel Vadot&i2c8 {
451*f126890aSEmmanuel Vadot	status = "okay";
452*f126890aSEmmanuel Vadot
453*f126890aSEmmanuel Vadot	gpio@77 {
454*f126890aSEmmanuel Vadot		compatible = "nxp,pca9539";
455*f126890aSEmmanuel Vadot		reg = <0x77>;
456*f126890aSEmmanuel Vadot		gpio-controller;
457*f126890aSEmmanuel Vadot		#address-cells = <1>;
458*f126890aSEmmanuel Vadot		#size-cells = <0>;
459*f126890aSEmmanuel Vadot		#gpio-cells = <2>;
460*f126890aSEmmanuel Vadot
461*f126890aSEmmanuel Vadot		bmc-ocp0-en-hog {
462*f126890aSEmmanuel Vadot			gpio-hog;
463*f126890aSEmmanuel Vadot			gpios = <7 GPIO_ACTIVE_LOW>;
464*f126890aSEmmanuel Vadot			output-high;
465*f126890aSEmmanuel Vadot			line-name = "bmc-ocp0-en-n";
466*f126890aSEmmanuel Vadot		};
467*f126890aSEmmanuel Vadot	};
468*f126890aSEmmanuel Vadot};
469*f126890aSEmmanuel Vadot
470*f126890aSEmmanuel Vadot&i2c9 {
471*f126890aSEmmanuel Vadot	status = "okay";
472*f126890aSEmmanuel Vadot};
473*f126890aSEmmanuel Vadot
474*f126890aSEmmanuel Vadot&i2c11 {
475*f126890aSEmmanuel Vadot	status = "okay";
476*f126890aSEmmanuel Vadot	ssif-bmc@10 {
477*f126890aSEmmanuel Vadot		compatible = "ssif-bmc";
478*f126890aSEmmanuel Vadot		reg = <0x10>;
479*f126890aSEmmanuel Vadot	};
480*f126890aSEmmanuel Vadot};
481*f126890aSEmmanuel Vadot
482*f126890aSEmmanuel Vadot&i2c14 {
483*f126890aSEmmanuel Vadot	status = "okay";
484*f126890aSEmmanuel Vadot	eeprom@50 {
485*f126890aSEmmanuel Vadot		compatible = "atmel,24c64";
486*f126890aSEmmanuel Vadot		reg = <0x50>;
487*f126890aSEmmanuel Vadot		pagesize = <32>;
488*f126890aSEmmanuel Vadot	};
489*f126890aSEmmanuel Vadot
490*f126890aSEmmanuel Vadot	bmc_ast2600_cpu: temperature-sensor@35 {
491*f126890aSEmmanuel Vadot		compatible = "ti,tmp175";
492*f126890aSEmmanuel Vadot		reg = <0x35>;
493*f126890aSEmmanuel Vadot	};
494*f126890aSEmmanuel Vadot};
495*f126890aSEmmanuel Vadot
496*f126890aSEmmanuel Vadot&adc0 {
497*f126890aSEmmanuel Vadot	ref_voltage = <2500>;
498*f126890aSEmmanuel Vadot	status = "okay";
499*f126890aSEmmanuel Vadot
500*f126890aSEmmanuel Vadot	pinctrl-names = "default";
501*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
502*f126890aSEmmanuel Vadot		&pinctrl_adc2_default &pinctrl_adc3_default
503*f126890aSEmmanuel Vadot		&pinctrl_adc4_default &pinctrl_adc5_default
504*f126890aSEmmanuel Vadot		&pinctrl_adc6_default &pinctrl_adc7_default>;
505*f126890aSEmmanuel Vadot};
506*f126890aSEmmanuel Vadot
507*f126890aSEmmanuel Vadot&adc1 {
508*f126890aSEmmanuel Vadot	ref_voltage = <2500>;
509*f126890aSEmmanuel Vadot	status = "okay";
510*f126890aSEmmanuel Vadot
511*f126890aSEmmanuel Vadot	pinctrl-names = "default";
512*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
513*f126890aSEmmanuel Vadot		&pinctrl_adc10_default &pinctrl_adc11_default
514*f126890aSEmmanuel Vadot		&pinctrl_adc12_default &pinctrl_adc13_default
515*f126890aSEmmanuel Vadot		&pinctrl_adc14_default &pinctrl_adc15_default>;
516*f126890aSEmmanuel Vadot};
517*f126890aSEmmanuel Vadot
518*f126890aSEmmanuel Vadot&vhub {
519*f126890aSEmmanuel Vadot	status = "okay";
520*f126890aSEmmanuel Vadot};
521*f126890aSEmmanuel Vadot
522*f126890aSEmmanuel Vadot&video {
523*f126890aSEmmanuel Vadot	status = "okay";
524*f126890aSEmmanuel Vadot	memory-region = <&video_engine_memory>;
525*f126890aSEmmanuel Vadot};
526*f126890aSEmmanuel Vadot
527*f126890aSEmmanuel Vadot&gpio0 {
528*f126890aSEmmanuel Vadot	gpio-line-names =
529*f126890aSEmmanuel Vadot	/*A0-A7*/	"","","","","","i2c2-reset-n","i2c6-reset-n","i2c4-reset-n",
530*f126890aSEmmanuel Vadot	/*B0-B7*/	"","","","","host0-sysreset-n","host0-pmin-n","","",
531*f126890aSEmmanuel Vadot	/*C0-C7*/	"s0-vrd-fault-n","s1-vrd-fault-n","","",
532*f126890aSEmmanuel Vadot			"irq-n","","vrd-sel","spd-sel",
533*f126890aSEmmanuel Vadot	/*D0-D7*/	"presence-ps0","presence-ps1","hsc-12vmain-alt2-n","ext-high-temp-n",
534*f126890aSEmmanuel Vadot			"","bmc-ncsi-txen","","",
535*f126890aSEmmanuel Vadot	/*E0-E7*/	"","","clk50m-bmc-ncsi","","","","","",
536*f126890aSEmmanuel Vadot	/*F0-F7*/	"s0-pcp-oc-warn-n","s1-pcp-oc-warn-n","power-chassis-control",
537*f126890aSEmmanuel Vadot			"cpu-bios-recover","s0-heartbeat","hs-csout-prochot",
538*f126890aSEmmanuel Vadot			"s0-vr-hot-n","s1-vr-hot-n",
539*f126890aSEmmanuel Vadot	/*G0-G7*/	"","","hsc-12vmain-alt1-n","","","","","",
540*f126890aSEmmanuel Vadot	/*H0-H7*/	"","","wd-disable-n","power-chassis-good","","","","",
541*f126890aSEmmanuel Vadot	/*I0-I7*/	"","","","","","adc-sw","power-button","rtc-battery-voltage-read-enable",
542*f126890aSEmmanuel Vadot	/*J0-J7*/	"","","","","","","","",
543*f126890aSEmmanuel Vadot	/*K0-K7*/	"","","","","","","","",
544*f126890aSEmmanuel Vadot	/*L0-L7*/	"","","","","","","","",
545*f126890aSEmmanuel Vadot	/*M0-M7*/	"","s0-ddr-save","soc-spi-nor-access","presence-cpu0",
546*f126890aSEmmanuel Vadot			"s0-rtc-lock","","","",
547*f126890aSEmmanuel Vadot	/*N0-N7*/	"hpm-fw-recovery","hpm-stby-rst-n","jtag-sel-s0","led-sw-hb",
548*f126890aSEmmanuel Vadot			"jtag-dbgr-prsnt-n","s1-heartbeat","","",
549*f126890aSEmmanuel Vadot	/*O0-O7*/	"","","","","","","","",
550*f126890aSEmmanuel Vadot	/*P0-P7*/	"ps0-ac-loss-n","ps1-ac-loss-n","","",
551*f126890aSEmmanuel Vadot			"led-fault","cpld-user-mode","jtag-srst-n","led-bmc-hb",
552*f126890aSEmmanuel Vadot	/*Q0-Q7*/	"","","","","","","","",
553*f126890aSEmmanuel Vadot	/*R0-R7*/	"","","","","","","","",
554*f126890aSEmmanuel Vadot	/*S0-S7*/	"","","identify-button","led-identify",
555*f126890aSEmmanuel Vadot			"s1-ddr-save","spi-nor-access","sys-pgood","presence-cpu1",
556*f126890aSEmmanuel Vadot	/*T0-T7*/	"","","","","","","","",
557*f126890aSEmmanuel Vadot	/*U0-U7*/	"","","","","","","","",
558*f126890aSEmmanuel Vadot	/*V0-V7*/	"s0-hightemp-n","s0-fault-alert","s0-sys-auth-failure-n",
559*f126890aSEmmanuel Vadot			"host0-reboot-ack-n","host0-ready","host0-shd-req-n",
560*f126890aSEmmanuel Vadot			"host0-shd-ack-n","s0-overtemp-n",
561*f126890aSEmmanuel Vadot	/*W0-W7*/	"","ocp-main-pwren","ocp-pgood","",
562*f126890aSEmmanuel Vadot			"bmc-ok","bmc-ready","spi0-program-sel","spi0-backup-sel",
563*f126890aSEmmanuel Vadot	/*X0-X7*/	"i2c-backup-sel","s1-fault-alert","s1-fw-boot-ok",
564*f126890aSEmmanuel Vadot			"s1-hightemp-n","s0-spi-auth-fail-n","s1-sys-auth-failure-n",
565*f126890aSEmmanuel Vadot			"s1-overtemp-n","s1-spi-auth-fail-n",
566*f126890aSEmmanuel Vadot	/*Y0-Y7*/	"","","","","","","","host0-special-boot",
567*f126890aSEmmanuel Vadot	/*Z0-Z7*/	"reset-button","ps0-pgood","ps1-pgood","","","","","";
568*f126890aSEmmanuel Vadot
569*f126890aSEmmanuel Vadot	ocp-aux-pwren-hog {
570*f126890aSEmmanuel Vadot		gpio-hog;
571*f126890aSEmmanuel Vadot		gpios = <ASPEED_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
572*f126890aSEmmanuel Vadot		output-high;
573*f126890aSEmmanuel Vadot		line-name = "ocp-aux-pwren";
574*f126890aSEmmanuel Vadot	};
575*f126890aSEmmanuel Vadot};
576*f126890aSEmmanuel Vadot
577*f126890aSEmmanuel Vadot&gpio1 {
578*f126890aSEmmanuel Vadot	gpio-line-names =
579*f126890aSEmmanuel Vadot	/*18A0-18A7*/	"","","","","","","","",
580*f126890aSEmmanuel Vadot	/*18B0-18B7*/	"","","","","","","s0-soc-pgood","",
581*f126890aSEmmanuel Vadot	/*18C0-18C7*/	"uart1-mode0","uart1-mode1","uart2-mode0","uart2-mode1",
582*f126890aSEmmanuel Vadot			"uart3-mode0","uart3-mode1","uart4-mode0","uart4-mode1",
583*f126890aSEmmanuel Vadot	/*18D0-18D7*/	"","","","","","","","",
584*f126890aSEmmanuel Vadot	/*18E0-18E3*/	"","","","";
585*f126890aSEmmanuel Vadot};
586