xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-ibm-bonnell.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring// Copyright 2022 IBM Corp.
3*724ba675SRob Herring/dts-v1/;
4*724ba675SRob Herring
5*724ba675SRob Herring#include "aspeed-g6.dtsi"
6*724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h>
7*724ba675SRob Herring#include <dt-bindings/i2c/i2c.h>
8*724ba675SRob Herring#include <dt-bindings/leds/leds-pca955x.h>
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	model = "Bonnell";
12*724ba675SRob Herring	compatible = "ibm,bonnell-bmc", "aspeed,ast2600";
13*724ba675SRob Herring
14*724ba675SRob Herring	aliases {
15*724ba675SRob Herring		i2c100 = &cfam0_i2c0;
16*724ba675SRob Herring		i2c101 = &cfam0_i2c1;
17*724ba675SRob Herring		i2c110 = &cfam0_i2c10;
18*724ba675SRob Herring		i2c111 = &cfam0_i2c11;
19*724ba675SRob Herring		i2c112 = &cfam0_i2c12;
20*724ba675SRob Herring		i2c113 = &cfam0_i2c13;
21*724ba675SRob Herring		i2c114 = &cfam0_i2c14;
22*724ba675SRob Herring		i2c115 = &cfam0_i2c15;
23*724ba675SRob Herring		i2c202 = &cfam1_i2c2;
24*724ba675SRob Herring		i2c203 = &cfam1_i2c3;
25*724ba675SRob Herring		i2c210 = &cfam1_i2c10;
26*724ba675SRob Herring		i2c211 = &cfam1_i2c11;
27*724ba675SRob Herring		i2c214 = &cfam1_i2c14;
28*724ba675SRob Herring		i2c215 = &cfam1_i2c15;
29*724ba675SRob Herring		i2c216 = &cfam1_i2c16;
30*724ba675SRob Herring		i2c217 = &cfam1_i2c17;
31*724ba675SRob Herring
32*724ba675SRob Herring		serial4 = &uart5;
33*724ba675SRob Herring		i2c16 = &i2c11mux0chn0;
34*724ba675SRob Herring		i2c17 = &i2c11mux0chn1;
35*724ba675SRob Herring		i2c18 = &i2c11mux0chn2;
36*724ba675SRob Herring		i2c19 = &i2c11mux0chn3;
37*724ba675SRob Herring
38*724ba675SRob Herring		spi10 = &cfam0_spi0;
39*724ba675SRob Herring		spi11 = &cfam0_spi1;
40*724ba675SRob Herring		spi12 = &cfam0_spi2;
41*724ba675SRob Herring		spi13 = &cfam0_spi3;
42*724ba675SRob Herring		spi20 = &cfam1_spi0;
43*724ba675SRob Herring		spi21 = &cfam1_spi1;
44*724ba675SRob Herring		spi22 = &cfam1_spi2;
45*724ba675SRob Herring		spi23 = &cfam1_spi3;
46*724ba675SRob Herring
47*724ba675SRob Herring	};
48*724ba675SRob Herring
49*724ba675SRob Herring	chosen {
50*724ba675SRob Herring		stdout-path = &uart5;
51*724ba675SRob Herring		bootargs = "console=ttyS4,115200n8 earlycon";
52*724ba675SRob Herring	};
53*724ba675SRob Herring
54*724ba675SRob Herring	memory@80000000 {
55*724ba675SRob Herring		device_type = "memory";
56*724ba675SRob Herring		reg = <0x80000000 0x40000000>;
57*724ba675SRob Herring	};
58*724ba675SRob Herring
59*724ba675SRob Herring	reserved-memory {
60*724ba675SRob Herring		#address-cells = <1>;
61*724ba675SRob Herring		#size-cells = <1>;
62*724ba675SRob Herring		ranges;
63*724ba675SRob Herring
64*724ba675SRob Herring		ramoops@b3e00000 {
65*724ba675SRob Herring			compatible = "ramoops";
66*724ba675SRob Herring			reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
67*724ba675SRob Herring			record-size = <0x8000>;
68*724ba675SRob Herring			console-size = <0x8000>;
69*724ba675SRob Herring			ftrace-size = <0x8000>;
70*724ba675SRob Herring			pmsg-size = <0x8000>;
71*724ba675SRob Herring			max-reason = <3>; /* KMSG_DUMP_EMERG */
72*724ba675SRob Herring		};
73*724ba675SRob Herring
74*724ba675SRob Herring		/* LPC FW cycle bridge region requires natural alignment */
75*724ba675SRob Herring		flash_memory: region@b4000000 {
76*724ba675SRob Herring			no-map;
77*724ba675SRob Herring			reg = <0xb4000000 0x04000000>; /* 64M */
78*724ba675SRob Herring		};
79*724ba675SRob Herring
80*724ba675SRob Herring		/* VGA region is dictated by hardware strapping */
81*724ba675SRob Herring		vga_memory: region@bf000000 {
82*724ba675SRob Herring			no-map;
83*724ba675SRob Herring			compatible = "shared-dma-pool";
84*724ba675SRob Herring			reg = <0xbf000000 0x01000000>;  /* 16M */
85*724ba675SRob Herring		};
86*724ba675SRob Herring	};
87*724ba675SRob Herring
88*724ba675SRob Herring	leds {
89*724ba675SRob Herring		compatible = "gpio-leds";
90*724ba675SRob Herring
91*724ba675SRob Herring		fan0 {
92*724ba675SRob Herring			gpios = <&gpio0 ASPEED_GPIO(G, 0) GPIO_ACTIVE_LOW>;
93*724ba675SRob Herring		};
94*724ba675SRob Herring
95*724ba675SRob Herring		fan1 {
96*724ba675SRob Herring			gpios = <&gpio0 ASPEED_GPIO(G, 1) GPIO_ACTIVE_LOW>;
97*724ba675SRob Herring		};
98*724ba675SRob Herring
99*724ba675SRob Herring		rear-enc-id0 {
100*724ba675SRob Herring			gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
101*724ba675SRob Herring		};
102*724ba675SRob Herring
103*724ba675SRob Herring		rear-enc-fault0 {
104*724ba675SRob Herring			gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
105*724ba675SRob Herring		};
106*724ba675SRob Herring	};
107*724ba675SRob Herring
108*724ba675SRob Herring	gpio-keys-polled {
109*724ba675SRob Herring		compatible = "gpio-keys-polled";
110*724ba675SRob Herring		#address-cells = <1>;
111*724ba675SRob Herring		#size-cells = <0>;
112*724ba675SRob Herring		poll-interval = <1000>;
113*724ba675SRob Herring
114*724ba675SRob Herring		fan0-presence {
115*724ba675SRob Herring			label = "fan0-presence";
116*724ba675SRob Herring			gpios = <&gpio0 ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
117*724ba675SRob Herring			linux,code = <6>;
118*724ba675SRob Herring		};
119*724ba675SRob Herring
120*724ba675SRob Herring		fan1-presence {
121*724ba675SRob Herring			label = "fan1-presence";
122*724ba675SRob Herring			gpios = <&gpio0 ASPEED_GPIO(F, 5) GPIO_ACTIVE_LOW>;
123*724ba675SRob Herring			linux,code = <7>;
124*724ba675SRob Herring		};
125*724ba675SRob Herring	};
126*724ba675SRob Herring
127*724ba675SRob Herring	iio-hwmon {
128*724ba675SRob Herring		compatible = "iio-hwmon";
129*724ba675SRob Herring		io-channels = <&adc1 7>;
130*724ba675SRob Herring	};
131*724ba675SRob Herring};
132*724ba675SRob Herring
133*724ba675SRob Herring&adc1 {
134*724ba675SRob Herring	status = "okay";
135*724ba675SRob Herring	aspeed,int-vref-microvolt = <2500000>;
136*724ba675SRob Herring	pinctrl-names = "default";
137*724ba675SRob Herring	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
138*724ba675SRob Herring		&pinctrl_adc10_default &pinctrl_adc11_default
139*724ba675SRob Herring		&pinctrl_adc12_default &pinctrl_adc13_default
140*724ba675SRob Herring		&pinctrl_adc14_default &pinctrl_adc15_default>;
141*724ba675SRob Herring};
142*724ba675SRob Herring
143*724ba675SRob Herring&ehci1 {
144*724ba675SRob Herring	status = "okay";
145*724ba675SRob Herring};
146*724ba675SRob Herring
147*724ba675SRob Herring&uhci {
148*724ba675SRob Herring	status = "okay";
149*724ba675SRob Herring};
150*724ba675SRob Herring
151*724ba675SRob Herring&gpio0 {
152*724ba675SRob Herring	gpio-line-names =
153*724ba675SRob Herring		/*A0-A7*/	"","","","","","","","",
154*724ba675SRob Herring		/*B0-B7*/	"","","","","","","checkstop","",
155*724ba675SRob Herring		/*C0-C7*/	"","","","","","","","",
156*724ba675SRob Herring		/*D0-D7*/	"","","","","","","","",
157*724ba675SRob Herring		/*E0-E7*/	"","","","","","","","",
158*724ba675SRob Herring		/*F0-F7*/	"","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","","",
159*724ba675SRob Herring		/*G0-G7*/	"fan0","fan1","","","","","","",
160*724ba675SRob Herring		/*H0-H7*/	"","","rear-enc-id0","rear-enc-fault0","","","","",
161*724ba675SRob Herring		/*I0-I7*/	"","","","","","","bmc-secure-boot","",
162*724ba675SRob Herring		/*J0-J7*/	"","","","","","","","",
163*724ba675SRob Herring		/*K0-K7*/	"","","","","","","","",
164*724ba675SRob Herring		/*L0-L7*/	"","","","","","","","",
165*724ba675SRob Herring		/*M0-M7*/	"","","","","","","","",
166*724ba675SRob Herring		/*N0-N7*/	"","","","","","","","",
167*724ba675SRob Herring		/*O0-O7*/	"","","","usb-power","","","","",
168*724ba675SRob Herring		/*P0-P7*/	"","","","","","","","",
169*724ba675SRob Herring		/*Q0-Q7*/	"cfam-reset","","regulator-standby-faulted","","","","","",
170*724ba675SRob Herring		/*R0-R7*/	"bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","",
171*724ba675SRob Herring		/*S0-S7*/	"presence-ps0","presence-ps1","","","power-ffs-sync-history","","","",
172*724ba675SRob Herring		/*T0-T7*/	"","","","","","","","",
173*724ba675SRob Herring		/*U0-U7*/	"","","","","","","","",
174*724ba675SRob Herring		/*V0-V7*/	"","","","","","","","",
175*724ba675SRob Herring		/*W0-W7*/	"","","","","","","","",
176*724ba675SRob Herring		/*X0-X7*/	"","","","","","","","",
177*724ba675SRob Herring		/*Y0-Y7*/	"","","","","","","","",
178*724ba675SRob Herring		/*Z0-Z7*/	"","","","","","","","";
179*724ba675SRob Herring
180*724ba675SRob Herring	usb_power {
181*724ba675SRob Herring		gpio-hog;
182*724ba675SRob Herring		gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
183*724ba675SRob Herring		output-high;
184*724ba675SRob Herring	};
185*724ba675SRob Herring};
186*724ba675SRob Herring
187*724ba675SRob Herring&emmc_controller {
188*724ba675SRob Herring	status = "okay";
189*724ba675SRob Herring};
190*724ba675SRob Herring
191*724ba675SRob Herring&pinctrl_emmc_default {
192*724ba675SRob Herring	bias-disable;
193*724ba675SRob Herring};
194*724ba675SRob Herring
195*724ba675SRob Herring&emmc {
196*724ba675SRob Herring	status = "okay";
197*724ba675SRob Herring	clk-phase-mmc-hs200 = <180>, <180>;
198*724ba675SRob Herring};
199*724ba675SRob Herring
200*724ba675SRob Herring&fsim0 {
201*724ba675SRob Herring	status = "okay";
202*724ba675SRob Herring
203*724ba675SRob Herring	#address-cells = <2>;
204*724ba675SRob Herring	#size-cells = <0>;
205*724ba675SRob Herring
206*724ba675SRob Herring	cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
207*724ba675SRob Herring
208*724ba675SRob Herring	cfam@0,0 {
209*724ba675SRob Herring		reg = <0 0>;
210*724ba675SRob Herring		#address-cells = <1>;
211*724ba675SRob Herring		#size-cells = <1>;
212*724ba675SRob Herring		chip-id = <0>;
213*724ba675SRob Herring
214*724ba675SRob Herring		scom@1000 {
215*724ba675SRob Herring			compatible = "ibm,fsi2pib";
216*724ba675SRob Herring			reg = <0x1000 0x400>;
217*724ba675SRob Herring		};
218*724ba675SRob Herring
219*724ba675SRob Herring		i2c@1800 {
220*724ba675SRob Herring			compatible = "ibm,fsi-i2c-master";
221*724ba675SRob Herring			reg = <0x1800 0x400>;
222*724ba675SRob Herring			#address-cells = <1>;
223*724ba675SRob Herring			#size-cells = <0>;
224*724ba675SRob Herring
225*724ba675SRob Herring			cfam0_i2c0: i2c-bus@0 {
226*724ba675SRob Herring				reg = <0>;	/* OMI01 */
227*724ba675SRob Herring			};
228*724ba675SRob Herring
229*724ba675SRob Herring			cfam0_i2c1: i2c-bus@1 {
230*724ba675SRob Herring				reg = <1>;	/* OMI23 */
231*724ba675SRob Herring			};
232*724ba675SRob Herring
233*724ba675SRob Herring			cfam0_i2c10: i2c-bus@a {
234*724ba675SRob Herring				reg = <10>;	/* OP3A */
235*724ba675SRob Herring			};
236*724ba675SRob Herring
237*724ba675SRob Herring			cfam0_i2c11: i2c-bus@b {
238*724ba675SRob Herring				reg = <11>;	/* OP3B */
239*724ba675SRob Herring			};
240*724ba675SRob Herring
241*724ba675SRob Herring			cfam0_i2c12: i2c-bus@c {
242*724ba675SRob Herring				reg = <12>;	/* OP4A */
243*724ba675SRob Herring			};
244*724ba675SRob Herring
245*724ba675SRob Herring			cfam0_i2c13: i2c-bus@d {
246*724ba675SRob Herring				reg = <13>;	/* OP4B */
247*724ba675SRob Herring			};
248*724ba675SRob Herring
249*724ba675SRob Herring			cfam0_i2c14: i2c-bus@e {
250*724ba675SRob Herring				reg = <14>;	/* OP5A */
251*724ba675SRob Herring			};
252*724ba675SRob Herring
253*724ba675SRob Herring			cfam0_i2c15: i2c-bus@f {
254*724ba675SRob Herring				reg = <15>;	/* OP5B */
255*724ba675SRob Herring			};
256*724ba675SRob Herring		};
257*724ba675SRob Herring
258*724ba675SRob Herring		fsi2spi@1c00 {
259*724ba675SRob Herring			compatible = "ibm,fsi2spi";
260*724ba675SRob Herring			reg = <0x1c00 0x400>;
261*724ba675SRob Herring			#address-cells = <1>;
262*724ba675SRob Herring			#size-cells = <0>;
263*724ba675SRob Herring
264*724ba675SRob Herring			cfam0_spi0: spi@0 {
265*724ba675SRob Herring				reg = <0x0>;
266*724ba675SRob Herring				#address-cells = <1>;
267*724ba675SRob Herring				#size-cells = <0>;
268*724ba675SRob Herring
269*724ba675SRob Herring				eeprom@0 {
270*724ba675SRob Herring					at25,byte-len = <0x80000>;
271*724ba675SRob Herring					at25,addr-mode = <4>;
272*724ba675SRob Herring					at25,page-size = <256>;
273*724ba675SRob Herring
274*724ba675SRob Herring					compatible = "atmel,at25";
275*724ba675SRob Herring					reg = <0>;
276*724ba675SRob Herring					spi-max-frequency = <1000000>;
277*724ba675SRob Herring				};
278*724ba675SRob Herring			};
279*724ba675SRob Herring
280*724ba675SRob Herring			cfam0_spi1: spi@20 {
281*724ba675SRob Herring				reg = <0x20>;
282*724ba675SRob Herring				#address-cells = <1>;
283*724ba675SRob Herring				#size-cells = <0>;
284*724ba675SRob Herring
285*724ba675SRob Herring				eeprom@0 {
286*724ba675SRob Herring					at25,byte-len = <0x80000>;
287*724ba675SRob Herring					at25,addr-mode = <4>;
288*724ba675SRob Herring					at25,page-size = <256>;
289*724ba675SRob Herring
290*724ba675SRob Herring					compatible = "atmel,at25";
291*724ba675SRob Herring					reg = <0>;
292*724ba675SRob Herring					spi-max-frequency = <1000000>;
293*724ba675SRob Herring				};
294*724ba675SRob Herring			};
295*724ba675SRob Herring
296*724ba675SRob Herring			cfam0_spi2: spi@40 {
297*724ba675SRob Herring				reg = <0x40>;
298*724ba675SRob Herring				compatible = "ibm,fsi2spi-restricted";
299*724ba675SRob Herring				#address-cells = <1>;
300*724ba675SRob Herring				#size-cells = <0>;
301*724ba675SRob Herring
302*724ba675SRob Herring				eeprom@0 {
303*724ba675SRob Herring					at25,byte-len = <0x80000>;
304*724ba675SRob Herring					at25,addr-mode = <4>;
305*724ba675SRob Herring					at25,page-size = <256>;
306*724ba675SRob Herring
307*724ba675SRob Herring					compatible = "atmel,at25";
308*724ba675SRob Herring					reg = <0>;
309*724ba675SRob Herring					spi-max-frequency = <1000000>;
310*724ba675SRob Herring				};
311*724ba675SRob Herring			};
312*724ba675SRob Herring
313*724ba675SRob Herring			cfam0_spi3: spi@60 {
314*724ba675SRob Herring				reg = <0x60>;
315*724ba675SRob Herring				compatible = "ibm,fsi2spi-restricted";
316*724ba675SRob Herring				#address-cells = <1>;
317*724ba675SRob Herring				#size-cells = <0>;
318*724ba675SRob Herring
319*724ba675SRob Herring				eeprom@0 {
320*724ba675SRob Herring					at25,byte-len = <0x80000>;
321*724ba675SRob Herring					at25,addr-mode = <4>;
322*724ba675SRob Herring					at25,page-size = <256>;
323*724ba675SRob Herring
324*724ba675SRob Herring					compatible = "atmel,at25";
325*724ba675SRob Herring					reg = <0>;
326*724ba675SRob Herring					spi-max-frequency = <1000000>;
327*724ba675SRob Herring				};
328*724ba675SRob Herring			};
329*724ba675SRob Herring		};
330*724ba675SRob Herring
331*724ba675SRob Herring		sbefifo@2400 {
332*724ba675SRob Herring			compatible = "ibm,p9-sbefifo";
333*724ba675SRob Herring			reg = <0x2400 0x400>;
334*724ba675SRob Herring			#address-cells = <1>;
335*724ba675SRob Herring			#size-cells = <0>;
336*724ba675SRob Herring
337*724ba675SRob Herring			fsi_occ0: occ {
338*724ba675SRob Herring				compatible = "ibm,p10-occ";
339*724ba675SRob Herring
340*724ba675SRob Herring				occ-hwmon {
341*724ba675SRob Herring					compatible = "ibm,p10-occ-hwmon";
342*724ba675SRob Herring					ibm,no-poll-on-init;
343*724ba675SRob Herring				};
344*724ba675SRob Herring			};
345*724ba675SRob Herring		};
346*724ba675SRob Herring
347*724ba675SRob Herring		fsi_hub0: hub@3400 {
348*724ba675SRob Herring			compatible = "fsi-master-hub";
349*724ba675SRob Herring			reg = <0x3400 0x400>;
350*724ba675SRob Herring			#address-cells = <2>;
351*724ba675SRob Herring			#size-cells = <0>;
352*724ba675SRob Herring		};
353*724ba675SRob Herring	};
354*724ba675SRob Herring};
355*724ba675SRob Herring
356*724ba675SRob Herring&fsi_hub0 {
357*724ba675SRob Herring	cfam@1,0 {
358*724ba675SRob Herring		reg = <1 0>;
359*724ba675SRob Herring		#address-cells = <1>;
360*724ba675SRob Herring		#size-cells = <1>;
361*724ba675SRob Herring		chip-id = <1>;
362*724ba675SRob Herring
363*724ba675SRob Herring		scom@1000 {
364*724ba675SRob Herring			compatible = "ibm,fsi2pib";
365*724ba675SRob Herring			reg = <0x1000 0x400>;
366*724ba675SRob Herring		};
367*724ba675SRob Herring
368*724ba675SRob Herring		i2c@1800 {
369*724ba675SRob Herring			compatible = "ibm,fsi-i2c-master";
370*724ba675SRob Herring			reg = <0x1800 0x400>;
371*724ba675SRob Herring			#address-cells = <1>;
372*724ba675SRob Herring			#size-cells = <0>;
373*724ba675SRob Herring
374*724ba675SRob Herring			cfam1_i2c2: i2c-bus@2 {
375*724ba675SRob Herring				reg = <2>;	/* OMI45 */
376*724ba675SRob Herring			};
377*724ba675SRob Herring
378*724ba675SRob Herring			cfam1_i2c3: i2c-bus@3 {
379*724ba675SRob Herring				reg = <3>;	/* OMI67 */
380*724ba675SRob Herring			};
381*724ba675SRob Herring
382*724ba675SRob Herring			cfam1_i2c10: i2c-bus@a {
383*724ba675SRob Herring				reg = <10>;	/* OP3A */
384*724ba675SRob Herring			};
385*724ba675SRob Herring
386*724ba675SRob Herring			cfam1_i2c11: i2c-bus@b {
387*724ba675SRob Herring				reg = <11>;	/* OP3B */
388*724ba675SRob Herring			};
389*724ba675SRob Herring
390*724ba675SRob Herring			cfam1_i2c14: i2c-bus@e {
391*724ba675SRob Herring				reg = <14>;	/* OP5A */
392*724ba675SRob Herring			};
393*724ba675SRob Herring
394*724ba675SRob Herring			cfam1_i2c15: i2c-bus@f {
395*724ba675SRob Herring				reg = <15>;	/* OP5B */
396*724ba675SRob Herring			};
397*724ba675SRob Herring
398*724ba675SRob Herring			cfam1_i2c16: i2c-bus@10 {
399*724ba675SRob Herring				reg = <16>;	/* OP6A */
400*724ba675SRob Herring			};
401*724ba675SRob Herring
402*724ba675SRob Herring			cfam1_i2c17: i2c-bus@11 {
403*724ba675SRob Herring				reg = <17>;	/* OP6B */
404*724ba675SRob Herring			};
405*724ba675SRob Herring		};
406*724ba675SRob Herring
407*724ba675SRob Herring		fsi2spi@1c00 {
408*724ba675SRob Herring			compatible = "ibm,fsi2spi";
409*724ba675SRob Herring			reg = <0x1c00 0x400>;
410*724ba675SRob Herring			#address-cells = <1>;
411*724ba675SRob Herring			#size-cells = <0>;
412*724ba675SRob Herring
413*724ba675SRob Herring			cfam1_spi0: spi@0 {
414*724ba675SRob Herring				reg = <0x0>;
415*724ba675SRob Herring				#address-cells = <1>;
416*724ba675SRob Herring				#size-cells = <0>;
417*724ba675SRob Herring
418*724ba675SRob Herring				eeprom@0 {
419*724ba675SRob Herring					at25,byte-len = <0x80000>;
420*724ba675SRob Herring					at25,addr-mode = <4>;
421*724ba675SRob Herring					at25,page-size = <256>;
422*724ba675SRob Herring
423*724ba675SRob Herring					compatible = "atmel,at25";
424*724ba675SRob Herring					reg = <0>;
425*724ba675SRob Herring					spi-max-frequency = <1000000>;
426*724ba675SRob Herring				};
427*724ba675SRob Herring			};
428*724ba675SRob Herring
429*724ba675SRob Herring			cfam1_spi1: spi@20 {
430*724ba675SRob Herring				reg = <0x20>;
431*724ba675SRob Herring				#address-cells = <1>;
432*724ba675SRob Herring				#size-cells = <0>;
433*724ba675SRob Herring
434*724ba675SRob Herring				eeprom@0 {
435*724ba675SRob Herring					at25,byte-len = <0x80000>;
436*724ba675SRob Herring					at25,addr-mode = <4>;
437*724ba675SRob Herring					at25,page-size = <256>;
438*724ba675SRob Herring
439*724ba675SRob Herring					compatible = "atmel,at25";
440*724ba675SRob Herring					reg = <0>;
441*724ba675SRob Herring					spi-max-frequency = <1000000>;
442*724ba675SRob Herring				};
443*724ba675SRob Herring			};
444*724ba675SRob Herring
445*724ba675SRob Herring			cfam1_spi2: spi@40 {
446*724ba675SRob Herring				reg = <0x40>;
447*724ba675SRob Herring				compatible = "ibm,fsi2spi-restricted";
448*724ba675SRob Herring				#address-cells = <1>;
449*724ba675SRob Herring				#size-cells = <0>;
450*724ba675SRob Herring
451*724ba675SRob Herring				eeprom@0 {
452*724ba675SRob Herring					at25,byte-len = <0x80000>;
453*724ba675SRob Herring					at25,addr-mode = <4>;
454*724ba675SRob Herring					at25,page-size = <256>;
455*724ba675SRob Herring
456*724ba675SRob Herring					compatible = "atmel,at25";
457*724ba675SRob Herring					reg = <0>;
458*724ba675SRob Herring					spi-max-frequency = <1000000>;
459*724ba675SRob Herring				};
460*724ba675SRob Herring			};
461*724ba675SRob Herring
462*724ba675SRob Herring			cfam1_spi3: spi@60 {
463*724ba675SRob Herring				reg = <0x60>;
464*724ba675SRob Herring				compatible = "ibm,fsi2spi-restricted";
465*724ba675SRob Herring				#address-cells = <1>;
466*724ba675SRob Herring				#size-cells = <0>;
467*724ba675SRob Herring
468*724ba675SRob Herring				eeprom@0 {
469*724ba675SRob Herring					at25,byte-len = <0x80000>;
470*724ba675SRob Herring					at25,addr-mode = <4>;
471*724ba675SRob Herring					at25,page-size = <256>;
472*724ba675SRob Herring
473*724ba675SRob Herring					compatible = "atmel,at25";
474*724ba675SRob Herring					reg = <0>;
475*724ba675SRob Herring					spi-max-frequency = <1000000>;
476*724ba675SRob Herring				};
477*724ba675SRob Herring			};
478*724ba675SRob Herring		};
479*724ba675SRob Herring
480*724ba675SRob Herring		sbefifo@2400 {
481*724ba675SRob Herring			compatible = "ibm,p9-sbefifo";
482*724ba675SRob Herring			reg = <0x2400 0x400>;
483*724ba675SRob Herring			#address-cells = <1>;
484*724ba675SRob Herring			#size-cells = <0>;
485*724ba675SRob Herring
486*724ba675SRob Herring			fsi_occ1: occ {
487*724ba675SRob Herring				compatible = "ibm,p10-occ";
488*724ba675SRob Herring
489*724ba675SRob Herring				occ-hwmon {
490*724ba675SRob Herring					compatible = "ibm,p10-occ-hwmon";
491*724ba675SRob Herring					ibm,no-poll-on-init;
492*724ba675SRob Herring				};
493*724ba675SRob Herring			};
494*724ba675SRob Herring		};
495*724ba675SRob Herring
496*724ba675SRob Herring		fsi_hub1: hub@3400 {
497*724ba675SRob Herring			compatible = "fsi-master-hub";
498*724ba675SRob Herring			reg = <0x3400 0x400>;
499*724ba675SRob Herring			#address-cells = <2>;
500*724ba675SRob Herring			#size-cells = <0>;
501*724ba675SRob Herring
502*724ba675SRob Herring			no-scan-on-init;
503*724ba675SRob Herring		};
504*724ba675SRob Herring	};
505*724ba675SRob Herring};
506*724ba675SRob Herring
507*724ba675SRob Herring&ibt {
508*724ba675SRob Herring	status = "okay";
509*724ba675SRob Herring};
510*724ba675SRob Herring
511*724ba675SRob Herring&i2c0 {
512*724ba675SRob Herring	status = "okay";
513*724ba675SRob Herring
514*724ba675SRob Herring	eeprom@51 {
515*724ba675SRob Herring		compatible = "atmel,24c64";
516*724ba675SRob Herring		reg = <0x51>;
517*724ba675SRob Herring	};
518*724ba675SRob Herring
519*724ba675SRob Herring	tca9554@20 {
520*724ba675SRob Herring		compatible = "ti,tca9554";
521*724ba675SRob Herring		reg = <0x20>;
522*724ba675SRob Herring		#address-cells = <1>;
523*724ba675SRob Herring		#size-cells = <0>;
524*724ba675SRob Herring
525*724ba675SRob Herring		gpio-controller;
526*724ba675SRob Herring		#gpio-cells = <2>;
527*724ba675SRob Herring
528*724ba675SRob Herring		gpio-line-names = "",
529*724ba675SRob Herring			"RUSSEL_FW_I2C_ENABLE_N",
530*724ba675SRob Herring			"RUSSEL_OPPANEL_PRESENCE_N",
531*724ba675SRob Herring			"BLYTH_OPPANEL_PRESENCE_N",
532*724ba675SRob Herring			"CPU_TPM_CARD_PRESENT_N",
533*724ba675SRob Herring			"",
534*724ba675SRob Herring			"",
535*724ba675SRob Herring			"DASD_BP_PRESENT_N";
536*724ba675SRob Herring	};
537*724ba675SRob Herring};
538*724ba675SRob Herring
539*724ba675SRob Herring&i2c1 {
540*724ba675SRob Herring	status = "okay";
541*724ba675SRob Herring};
542*724ba675SRob Herring
543*724ba675SRob Herring&i2c2 {
544*724ba675SRob Herring	status = "okay";
545*724ba675SRob Herring
546*724ba675SRob Herring	ucd90160@64 {
547*724ba675SRob Herring		compatible = "ti,ucd90160";
548*724ba675SRob Herring		reg = <0x64>;
549*724ba675SRob Herring	};
550*724ba675SRob Herring};
551*724ba675SRob Herring
552*724ba675SRob Herring&i2c3 {
553*724ba675SRob Herring	status = "okay";
554*724ba675SRob Herring
555*724ba675SRob Herring	power-supply@5a {
556*724ba675SRob Herring		compatible = "acbel,fsg032";
557*724ba675SRob Herring		reg = <0x5a>;
558*724ba675SRob Herring	};
559*724ba675SRob Herring
560*724ba675SRob Herring	power-supply@5b {
561*724ba675SRob Herring		compatible = "acbel,fsg032";
562*724ba675SRob Herring		reg = <0x5b>;
563*724ba675SRob Herring	};
564*724ba675SRob Herring};
565*724ba675SRob Herring
566*724ba675SRob Herring&i2c4 {
567*724ba675SRob Herring	status = "okay";
568*724ba675SRob Herring};
569*724ba675SRob Herring
570*724ba675SRob Herring&i2c5 {
571*724ba675SRob Herring	status = "okay";
572*724ba675SRob Herring};
573*724ba675SRob Herring
574*724ba675SRob Herring&i2c6 {
575*724ba675SRob Herring	status = "okay";
576*724ba675SRob Herring};
577*724ba675SRob Herring
578*724ba675SRob Herring&i2c7 {
579*724ba675SRob Herring	multi-master;
580*724ba675SRob Herring	status = "okay";
581*724ba675SRob Herring
582*724ba675SRob Herring	si7021-a20@40 {
583*724ba675SRob Herring		compatible = "silabs,si7020";
584*724ba675SRob Herring		reg = <0x40>;
585*724ba675SRob Herring	};
586*724ba675SRob Herring
587*724ba675SRob Herring	tmp275@48 {
588*724ba675SRob Herring		compatible = "ti,tmp275";
589*724ba675SRob Herring		reg = <0x48>;
590*724ba675SRob Herring	};
591*724ba675SRob Herring
592*724ba675SRob Herring	eeprom@50 {
593*724ba675SRob Herring		compatible = "atmel,24c64";
594*724ba675SRob Herring		reg = <0x50>;
595*724ba675SRob Herring	};
596*724ba675SRob Herring
597*724ba675SRob Herring	eeprom@51 {
598*724ba675SRob Herring		compatible = "atmel,24c64";
599*724ba675SRob Herring		reg = <0x51>;
600*724ba675SRob Herring	};
601*724ba675SRob Herring
602*724ba675SRob Herring	max31785@52 {
603*724ba675SRob Herring		compatible = "maxim,max31785a";
604*724ba675SRob Herring		reg = <0x52>;
605*724ba675SRob Herring		#address-cells = <1>;
606*724ba675SRob Herring		#size-cells = <0>;
607*724ba675SRob Herring
608*724ba675SRob Herring		fan0: fan@0 {
609*724ba675SRob Herring			compatible = "pmbus-fan";
610*724ba675SRob Herring			reg = <0>;
611*724ba675SRob Herring			tach-pulses = <2>;
612*724ba675SRob Herring		};
613*724ba675SRob Herring
614*724ba675SRob Herring		fan1: fan@1 {
615*724ba675SRob Herring			compatible = "pmbus-fan";
616*724ba675SRob Herring			reg = <1>;
617*724ba675SRob Herring			tach-pulses = <2>;
618*724ba675SRob Herring		};
619*724ba675SRob Herring	};
620*724ba675SRob Herring
621*724ba675SRob Herring	pca9551@60 {
622*724ba675SRob Herring		compatible = "nxp,pca9551";
623*724ba675SRob Herring		reg = <0x60>;
624*724ba675SRob Herring		#address-cells = <1>;
625*724ba675SRob Herring		#size-cells = <0>;
626*724ba675SRob Herring
627*724ba675SRob Herring		gpio-controller;
628*724ba675SRob Herring		#gpio-cells = <2>;
629*724ba675SRob Herring
630*724ba675SRob Herring		led@0 {
631*724ba675SRob Herring			label = "front-sys-id0";
632*724ba675SRob Herring			reg = <0>;
633*724ba675SRob Herring			retain-state-shutdown;
634*724ba675SRob Herring			default-state = "keep";
635*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
636*724ba675SRob Herring		};
637*724ba675SRob Herring
638*724ba675SRob Herring		led@1 {
639*724ba675SRob Herring			label = "front-check-log0";
640*724ba675SRob Herring			reg = <1>;
641*724ba675SRob Herring			retain-state-shutdown;
642*724ba675SRob Herring			default-state = "keep";
643*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
644*724ba675SRob Herring		};
645*724ba675SRob Herring
646*724ba675SRob Herring		led@2 {
647*724ba675SRob Herring			label = "front-enc-fault1";
648*724ba675SRob Herring			reg = <2>;
649*724ba675SRob Herring			retain-state-shutdown;
650*724ba675SRob Herring			default-state = "keep";
651*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
652*724ba675SRob Herring		};
653*724ba675SRob Herring
654*724ba675SRob Herring		led@3 {
655*724ba675SRob Herring			label = "front-sys-pwron0";
656*724ba675SRob Herring			reg = <3>;
657*724ba675SRob Herring			retain-state-shutdown;
658*724ba675SRob Herring			default-state = "keep";
659*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
660*724ba675SRob Herring		};
661*724ba675SRob Herring	};
662*724ba675SRob Herring
663*724ba675SRob Herring	ibm-panel@62 {
664*724ba675SRob Herring		compatible = "ibm,op-panel";
665*724ba675SRob Herring		reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
666*724ba675SRob Herring	};
667*724ba675SRob Herring
668*724ba675SRob Herring	dps: dps310@76 {
669*724ba675SRob Herring		compatible = "infineon,dps310";
670*724ba675SRob Herring		reg = <0x76>;
671*724ba675SRob Herring		#io-channel-cells = <0>;
672*724ba675SRob Herring	};
673*724ba675SRob Herring};
674*724ba675SRob Herring
675*724ba675SRob Herring&i2c8 {
676*724ba675SRob Herring	status = "okay";
677*724ba675SRob Herring
678*724ba675SRob Herring	rtc@32 {
679*724ba675SRob Herring		compatible = "epson,rx8900";
680*724ba675SRob Herring		reg = <0x32>;
681*724ba675SRob Herring	};
682*724ba675SRob Herring
683*724ba675SRob Herring	tmp275@48 {
684*724ba675SRob Herring		compatible = "ti,tmp275";
685*724ba675SRob Herring		reg = <0x48>;
686*724ba675SRob Herring	};
687*724ba675SRob Herring
688*724ba675SRob Herring	eeprom@50 {
689*724ba675SRob Herring		compatible = "atmel,24c128";
690*724ba675SRob Herring		reg = <0x50>;
691*724ba675SRob Herring	};
692*724ba675SRob Herring
693*724ba675SRob Herring	pca9551@60 {
694*724ba675SRob Herring		compatible = "nxp,pca9551";
695*724ba675SRob Herring		reg = <0x60>;
696*724ba675SRob Herring		#address-cells = <1>;
697*724ba675SRob Herring		#size-cells = <0>;
698*724ba675SRob Herring
699*724ba675SRob Herring		gpio-controller;
700*724ba675SRob Herring		#gpio-cells = <2>;
701*724ba675SRob Herring
702*724ba675SRob Herring		gpio-line-names = "",
703*724ba675SRob Herring			"APSS_RESET_N",
704*724ba675SRob Herring			"",
705*724ba675SRob Herring			"N_MODE_CPU_N",
706*724ba675SRob Herring			"",
707*724ba675SRob Herring			"",
708*724ba675SRob Herring			"P10_DCM_PRESENT",
709*724ba675SRob Herring			"";
710*724ba675SRob Herring	};
711*724ba675SRob Herring};
712*724ba675SRob Herring
713*724ba675SRob Herring&i2c9 {
714*724ba675SRob Herring	status = "okay";
715*724ba675SRob Herring
716*724ba675SRob Herring	tmp423a@4c {
717*724ba675SRob Herring		compatible = "ti,tmp423";
718*724ba675SRob Herring		reg = <0x4c>;
719*724ba675SRob Herring	};
720*724ba675SRob Herring};
721*724ba675SRob Herring
722*724ba675SRob Herring&i2c10 {
723*724ba675SRob Herring	status = "okay";
724*724ba675SRob Herring};
725*724ba675SRob Herring
726*724ba675SRob Herring&i2c11 {
727*724ba675SRob Herring	status = "okay";
728*724ba675SRob Herring
729*724ba675SRob Herring	tca9554@20 {
730*724ba675SRob Herring		compatible = "ti,tca9554";
731*724ba675SRob Herring		reg = <0x20>;
732*724ba675SRob Herring		#address-cells = <1>;
733*724ba675SRob Herring		#size-cells = <0>;
734*724ba675SRob Herring
735*724ba675SRob Herring		gpio-controller;
736*724ba675SRob Herring		#gpio-cells = <2>;
737*724ba675SRob Herring
738*724ba675SRob Herring		gpio-line-names = "BOOT_RCVRY_TWI",
739*724ba675SRob Herring			"BOOT_RCVRY_UART",
740*724ba675SRob Herring			"",
741*724ba675SRob Herring			"",
742*724ba675SRob Herring			"",
743*724ba675SRob Herring			"",
744*724ba675SRob Herring			"",
745*724ba675SRob Herring			"PE_SWITCH_RSTB_N";
746*724ba675SRob Herring	};
747*724ba675SRob Herring
748*724ba675SRob Herring	tmp435@4c {
749*724ba675SRob Herring		compatible = "ti,tmp435";
750*724ba675SRob Herring		reg = <0x4c>;
751*724ba675SRob Herring	};
752*724ba675SRob Herring
753*724ba675SRob Herring	pca9849@75 {
754*724ba675SRob Herring		compatible = "nxp,pca9849";
755*724ba675SRob Herring		reg = <0x75>;
756*724ba675SRob Herring		#address-cells = <1>;
757*724ba675SRob Herring		#size-cells = <0>;
758*724ba675SRob Herring		status = "okay";
759*724ba675SRob Herring		i2c-mux-idle-disconnect;
760*724ba675SRob Herring
761*724ba675SRob Herring		i2c11mux0chn0: i2c@0 {
762*724ba675SRob Herring			#address-cells = <1>;
763*724ba675SRob Herring			#size-cells = <0>;
764*724ba675SRob Herring			reg = <0>;
765*724ba675SRob Herring		};
766*724ba675SRob Herring
767*724ba675SRob Herring		i2c11mux0chn1: i2c@1 {
768*724ba675SRob Herring			#address-cells = <1>;
769*724ba675SRob Herring			#size-cells = <0>;
770*724ba675SRob Herring			reg = <1>;
771*724ba675SRob Herring		};
772*724ba675SRob Herring
773*724ba675SRob Herring		i2c11mux0chn2: i2c@2 {
774*724ba675SRob Herring			#address-cells = <1>;
775*724ba675SRob Herring			#size-cells = <0>;
776*724ba675SRob Herring			reg = <2>;
777*724ba675SRob Herring		};
778*724ba675SRob Herring
779*724ba675SRob Herring		i2c11mux0chn3: i2c@3 {
780*724ba675SRob Herring			#address-cells = <1>;
781*724ba675SRob Herring			#size-cells = <0>;
782*724ba675SRob Herring			reg = <3>;
783*724ba675SRob Herring		};
784*724ba675SRob Herring	};
785*724ba675SRob Herring};
786*724ba675SRob Herring
787*724ba675SRob Herring&i2c12 {
788*724ba675SRob Herring	status = "okay";
789*724ba675SRob Herring
790*724ba675SRob Herring	tpm@2e {
791*724ba675SRob Herring		compatible = "nuvoton,npct75x";
792*724ba675SRob Herring		reg = <0x2e>;
793*724ba675SRob Herring	};
794*724ba675SRob Herring
795*724ba675SRob Herring	eeprom@50 {
796*724ba675SRob Herring		compatible = "atmel,24c64";
797*724ba675SRob Herring		reg = <0x50>;
798*724ba675SRob Herring	};
799*724ba675SRob Herring};
800*724ba675SRob Herring
801*724ba675SRob Herring&i2c13 {
802*724ba675SRob Herring	status = "okay";
803*724ba675SRob Herring
804*724ba675SRob Herring	eeprom@50 {
805*724ba675SRob Herring		compatible = "atmel,24c64";
806*724ba675SRob Herring		reg = <0x50>;
807*724ba675SRob Herring	};
808*724ba675SRob Herring
809*724ba675SRob Herring	pca9551@60 {
810*724ba675SRob Herring		compatible = "nxp,pca9551";
811*724ba675SRob Herring		reg = <0x60>;
812*724ba675SRob Herring		#address-cells = <1>;
813*724ba675SRob Herring		#size-cells = <0>;
814*724ba675SRob Herring
815*724ba675SRob Herring		gpio-controller;
816*724ba675SRob Herring		#gpio-cells = <2>;
817*724ba675SRob Herring
818*724ba675SRob Herring		led@0 {
819*724ba675SRob Herring			label = "nvme0";
820*724ba675SRob Herring			reg = <0>;
821*724ba675SRob Herring			retain-state-shutdown;
822*724ba675SRob Herring			default-state = "keep";
823*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
824*724ba675SRob Herring		};
825*724ba675SRob Herring
826*724ba675SRob Herring		led@1 {
827*724ba675SRob Herring			label = "nvme1";
828*724ba675SRob Herring			reg = <1>;
829*724ba675SRob Herring			retain-state-shutdown;
830*724ba675SRob Herring			default-state = "keep";
831*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
832*724ba675SRob Herring		};
833*724ba675SRob Herring
834*724ba675SRob Herring		led@2 {
835*724ba675SRob Herring			label = "nvme2";
836*724ba675SRob Herring			reg = <2>;
837*724ba675SRob Herring			retain-state-shutdown;
838*724ba675SRob Herring			default-state = "keep";
839*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
840*724ba675SRob Herring		};
841*724ba675SRob Herring
842*724ba675SRob Herring		led@3 {
843*724ba675SRob Herring			label = "nvme3";
844*724ba675SRob Herring			reg = <3>;
845*724ba675SRob Herring			retain-state-shutdown;
846*724ba675SRob Herring			default-state = "keep";
847*724ba675SRob Herring			type = <PCA955X_TYPE_LED>;
848*724ba675SRob Herring		};
849*724ba675SRob Herring	};
850*724ba675SRob Herring};
851*724ba675SRob Herring
852*724ba675SRob Herring&i2c14 {
853*724ba675SRob Herring	status = "okay";
854*724ba675SRob Herring};
855*724ba675SRob Herring
856*724ba675SRob Herring&i2c15 {
857*724ba675SRob Herring	status = "okay";
858*724ba675SRob Herring};
859*724ba675SRob Herring
860*724ba675SRob Herring&uart2 {
861*724ba675SRob Herring	status = "okay";
862*724ba675SRob Herring};
863*724ba675SRob Herring
864*724ba675SRob Herring&vuart1 {
865*724ba675SRob Herring	status = "okay";
866*724ba675SRob Herring};
867*724ba675SRob Herring
868*724ba675SRob Herring&vuart2 {
869*724ba675SRob Herring	status = "okay";
870*724ba675SRob Herring};
871*724ba675SRob Herring
872*724ba675SRob Herring&lpc_ctrl {
873*724ba675SRob Herring	status = "okay";
874*724ba675SRob Herring	memory-region = <&flash_memory>;
875*724ba675SRob Herring};
876*724ba675SRob Herring
877*724ba675SRob Herring&mac2 {
878*724ba675SRob Herring	status = "okay";
879*724ba675SRob Herring	pinctrl-names = "default";
880*724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii3_default>;
881*724ba675SRob Herring	clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
882*724ba675SRob Herring		 <&syscon ASPEED_CLK_MAC3RCLK>;
883*724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
884*724ba675SRob Herring	use-ncsi;
885*724ba675SRob Herring};
886*724ba675SRob Herring
887*724ba675SRob Herring&wdt1 {
888*724ba675SRob Herring	aspeed,reset-type = "none";
889*724ba675SRob Herring	aspeed,external-signal;
890*724ba675SRob Herring	aspeed,ext-push-pull;
891*724ba675SRob Herring	aspeed,ext-active-high;
892*724ba675SRob Herring
893*724ba675SRob Herring	pinctrl-names = "default";
894*724ba675SRob Herring	pinctrl-0 = <&pinctrl_wdtrst1_default>;
895*724ba675SRob Herring};
896*724ba675SRob Herring
897*724ba675SRob Herring&wdt2 {
898*724ba675SRob Herring	status = "okay";
899*724ba675SRob Herring};
900*724ba675SRob Herring
901*724ba675SRob Herring&xdma {
902*724ba675SRob Herring	status = "okay";
903*724ba675SRob Herring	memory-region = <&vga_memory>;
904*724ba675SRob Herring};
905*724ba675SRob Herring
906*724ba675SRob Herring&kcs2 {
907*724ba675SRob Herring	status = "okay";
908*724ba675SRob Herring	aspeed,lpc-io-reg = <0xca8 0xcac>;
909*724ba675SRob Herring};
910*724ba675SRob Herring
911*724ba675SRob Herring&kcs3 {
912*724ba675SRob Herring	status = "okay";
913*724ba675SRob Herring	aspeed,lpc-io-reg = <0xca2>;
914*724ba675SRob Herring	aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
915*724ba675SRob Herring};
916