xref: /linux/scripts/dtc/include-prefixes/arm/nuvoton/nuvoton-npcm730-kudo.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring// Copyright (c) 2020 Fii USA Inc.
3*724ba675SRob Herring
4*724ba675SRob Herring/dts-v1/;
5*724ba675SRob Herring#include "nuvoton-npcm730.dtsi"
6*724ba675SRob Herring
7*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	model = "Fii Kudo Board";
11*724ba675SRob Herring	compatible = "fii,kudo", "nuvoton,npcm730";
12*724ba675SRob Herring
13*724ba675SRob Herring	aliases {
14*724ba675SRob Herring		ethernet1 = &gmac0;
15*724ba675SRob Herring		serial0 = &serial0;
16*724ba675SRob Herring		serial1 = &serial1;
17*724ba675SRob Herring		serial2 = &serial2;
18*724ba675SRob Herring		serial3 = &serial3;
19*724ba675SRob Herring		i2c1 = &i2c1;
20*724ba675SRob Herring		i2c2 = &i2c2;
21*724ba675SRob Herring		i2c3 = &i2c3;
22*724ba675SRob Herring		i2c4 = &i2c4;
23*724ba675SRob Herring		i2c5 = &i2c5;
24*724ba675SRob Herring		i2c6 = &i2c6;
25*724ba675SRob Herring		i2c7 = &i2c7;
26*724ba675SRob Herring		i2c8 = &i2c8;
27*724ba675SRob Herring		i2c9 = &i2c9;
28*724ba675SRob Herring		i2c10 = &i2c10;
29*724ba675SRob Herring		i2c11 = &i2c11;
30*724ba675SRob Herring		i2c12 = &i2c12;
31*724ba675SRob Herring		i2c13 = &i2c13;
32*724ba675SRob Herring		i2c14 = &i2c14;
33*724ba675SRob Herring		i2c15 = &i2c15;
34*724ba675SRob Herring		spi0 = &spi0;
35*724ba675SRob Herring		spi1 = &spi1;
36*724ba675SRob Herring		fiu0 = &fiu0;
37*724ba675SRob Herring		fiu1 = &fiu3;
38*724ba675SRob Herring	};
39*724ba675SRob Herring
40*724ba675SRob Herring	chosen {
41*724ba675SRob Herring		stdout-path = &serial3;
42*724ba675SRob Herring	};
43*724ba675SRob Herring
44*724ba675SRob Herring	memory {
45*724ba675SRob Herring		reg = <0 0x40000000>;
46*724ba675SRob Herring	};
47*724ba675SRob Herring
48*724ba675SRob Herring	iio-hwmon {
49*724ba675SRob Herring		compatible = "iio-hwmon";
50*724ba675SRob Herring		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
51*724ba675SRob Herring			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
52*724ba675SRob Herring	};
53*724ba675SRob Herring
54*724ba675SRob Herring	jtag_master {
55*724ba675SRob Herring		compatible = "nuvoton,npcm750-jtag-master";
56*724ba675SRob Herring		#address-cells = <1>;
57*724ba675SRob Herring		#size-cells = <1>;
58*724ba675SRob Herring
59*724ba675SRob Herring		// dev/jtag0
60*724ba675SRob Herring		dev-num = <0>;
61*724ba675SRob Herring		// pspi or gpio
62*724ba675SRob Herring		mode = "pspi";
63*724ba675SRob Herring
64*724ba675SRob Herring		// pspi2
65*724ba675SRob Herring		pspi-controller = <2>;
66*724ba675SRob Herring		reg = <0xf0201000 0x1000>;
67*724ba675SRob Herring		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
68*724ba675SRob Herring		clocks = <&clk NPCM7XX_CLK_APB5>;
69*724ba675SRob Herring
70*724ba675SRob Herring		// TCK, TDI, TDO, TMS
71*724ba675SRob Herring		jtag-gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>,
72*724ba675SRob Herring				<&gpio0 18 GPIO_ACTIVE_HIGH>,
73*724ba675SRob Herring				<&gpio0 17 GPIO_ACTIVE_HIGH>,
74*724ba675SRob Herring				<&gpio0 16 GPIO_ACTIVE_HIGH>;
75*724ba675SRob Herring	};
76*724ba675SRob Herring
77*724ba675SRob Herring	leds {
78*724ba675SRob Herring		compatible = "gpio-leds";
79*724ba675SRob Herring		heartbeat {
80*724ba675SRob Herring			label = "heartbeat";
81*724ba675SRob Herring			gpios = <&gpio0 14 1>;
82*724ba675SRob Herring		};
83*724ba675SRob Herring	};
84*724ba675SRob Herring
85*724ba675SRob Herring	pinctrl: pinctrl@f0800000 {
86*724ba675SRob Herring		gpio61oh_pins: gpio61oh-pins {
87*724ba675SRob Herring			pins = "GPO61/nDTR1_BOUT1/STRAP6";
88*724ba675SRob Herring			bias-disable;
89*724ba675SRob Herring			output-high;
90*724ba675SRob Herring		};
91*724ba675SRob Herring		gpio62oh_pins: gpio62oh-pins {
92*724ba675SRob Herring			pins = "GPO62/nRTST1/STRAP5";
93*724ba675SRob Herring			bias-disable;
94*724ba675SRob Herring			output-high;
95*724ba675SRob Herring		};
96*724ba675SRob Herring		gpio161ol_pins: gpio161ol-pins {
97*724ba675SRob Herring			pins = "GPIO161/nLFRAME/nESPICS";
98*724ba675SRob Herring			bias-disable;
99*724ba675SRob Herring			output-low;
100*724ba675SRob Herring		};
101*724ba675SRob Herring		gpio163i_pins: gpio163i-pins {
102*724ba675SRob Herring			pins = "GPIO163/LCLK/ESPICLK";
103*724ba675SRob Herring			bias-disable;
104*724ba675SRob Herring			input-enable;
105*724ba675SRob Herring		};
106*724ba675SRob Herring		gpio167ol_pins: gpio167ol-pins {
107*724ba675SRob Herring			pins = "GPIO167/LAD3/ESPI_IO3";
108*724ba675SRob Herring			bias-disable;
109*724ba675SRob Herring			output-low;
110*724ba675SRob Herring		};
111*724ba675SRob Herring		gpio95i_pins: gpio95i-pins {
112*724ba675SRob Herring			pins = "GPIO95/nLRESET/nESPIRST";
113*724ba675SRob Herring			bias-disable;
114*724ba675SRob Herring			input-enable;
115*724ba675SRob Herring		};
116*724ba675SRob Herring		gpio65ol_pins: gpio65ol-pins {
117*724ba675SRob Herring			pins = "GPIO65/FANIN1";
118*724ba675SRob Herring			bias-disable;
119*724ba675SRob Herring			output-low;
120*724ba675SRob Herring		};
121*724ba675SRob Herring		gpio66oh_pins: gpio66oh-pins {
122*724ba675SRob Herring			pins = "GPIO66/FANIN2";
123*724ba675SRob Herring			bias-disable;
124*724ba675SRob Herring			output-high;
125*724ba675SRob Herring		};
126*724ba675SRob Herring		gpio67oh_pins: gpio67oh-pins {
127*724ba675SRob Herring			pins = "GPIO67/FANIN3";
128*724ba675SRob Herring			bias-disable;
129*724ba675SRob Herring			output-high;
130*724ba675SRob Herring		};
131*724ba675SRob Herring		gpio68ol_pins: gpio68ol-pins {
132*724ba675SRob Herring			pins = "GPIO68/FANIN4";
133*724ba675SRob Herring			bias-disable;
134*724ba675SRob Herring			output-low;
135*724ba675SRob Herring		};
136*724ba675SRob Herring		gpio69i_pins: gpio69i-pins {
137*724ba675SRob Herring			pins = "GPIO69/FANIN5";
138*724ba675SRob Herring			bias-disable;
139*724ba675SRob Herring			input-enable;
140*724ba675SRob Herring		};
141*724ba675SRob Herring		gpio70ol_pins: gpio70ol-pins {
142*724ba675SRob Herring			pins = "GPIO70/FANIN6";
143*724ba675SRob Herring			bias-disable;
144*724ba675SRob Herring			output-low;
145*724ba675SRob Herring		};
146*724ba675SRob Herring		gpio71i_pins: gpio71i-pins {
147*724ba675SRob Herring			pins = "GPIO71/FANIN7";
148*724ba675SRob Herring			bias-disable;
149*724ba675SRob Herring			input-enable;
150*724ba675SRob Herring		};
151*724ba675SRob Herring		gpio72i_pins: gpio72i-pins {
152*724ba675SRob Herring			pins = "GPIO72/FANIN8";
153*724ba675SRob Herring			bias-disable;
154*724ba675SRob Herring			input-enable;
155*724ba675SRob Herring		};
156*724ba675SRob Herring		gpio73i_pins: gpio73i-pins {
157*724ba675SRob Herring			pins = "GPIO73/FANIN9";
158*724ba675SRob Herring			bias-disable;
159*724ba675SRob Herring			input-enable;
160*724ba675SRob Herring		};
161*724ba675SRob Herring		gpio74i_pins: gpio74i-pins {
162*724ba675SRob Herring			pins = "GPIO74/FANIN10";
163*724ba675SRob Herring			bias-disable;
164*724ba675SRob Herring			input-enable;
165*724ba675SRob Herring		};
166*724ba675SRob Herring		gpio75i_pins: gpio75i-pins {
167*724ba675SRob Herring			pins = "GPIO75/FANIN11";
168*724ba675SRob Herring			bias-disable;
169*724ba675SRob Herring			input-enable;
170*724ba675SRob Herring		};
171*724ba675SRob Herring		gpio76i_pins: gpio76i-pins {
172*724ba675SRob Herring			pins = "GPIO76/FANIN12";
173*724ba675SRob Herring			bias-disable;
174*724ba675SRob Herring			input-enable;
175*724ba675SRob Herring		};
176*724ba675SRob Herring		gpio77i_pins: gpio77i-pins {
177*724ba675SRob Herring			pins = "GPIO77/FANIN13";
178*724ba675SRob Herring			bias-disable;
179*724ba675SRob Herring			input-enable;
180*724ba675SRob Herring		};
181*724ba675SRob Herring		gpio78i_pins: gpio78i-pins {
182*724ba675SRob Herring			pins = "GPIO78/FANIN14";
183*724ba675SRob Herring			bias-disable;
184*724ba675SRob Herring			input-enable;
185*724ba675SRob Herring		};
186*724ba675SRob Herring		gpio79ol_pins: gpio79ol-pins {
187*724ba675SRob Herring			pins = "GPIO79/FANIN15";
188*724ba675SRob Herring			bias-disable;
189*724ba675SRob Herring			output-low;
190*724ba675SRob Herring		};
191*724ba675SRob Herring		gpio80oh_pins: gpio80oh-pins {
192*724ba675SRob Herring			pins = "GPIO80/PWM0";
193*724ba675SRob Herring			bias-disable;
194*724ba675SRob Herring			output-high;
195*724ba675SRob Herring		};
196*724ba675SRob Herring		gpio81i_pins: gpio81i-pins {
197*724ba675SRob Herring			pins = "GPIO81/PWM1";
198*724ba675SRob Herring			bias-disable;
199*724ba675SRob Herring			input-enable;
200*724ba675SRob Herring		};
201*724ba675SRob Herring		gpio82i_pins: gpio82i-pins {
202*724ba675SRob Herring			pins = "GPIO82/PWM2";
203*724ba675SRob Herring			bias-disable;
204*724ba675SRob Herring			input-enable;
205*724ba675SRob Herring		};
206*724ba675SRob Herring		gpio83i_pins: gpio83i-pins {
207*724ba675SRob Herring			pins = "GPIO83/PWM3";
208*724ba675SRob Herring			bias-disable;
209*724ba675SRob Herring			input-enable;
210*724ba675SRob Herring		};
211*724ba675SRob Herring		gpio144i_pins: gpio144i-pins {
212*724ba675SRob Herring			pins = "GPIO144/PWM4";
213*724ba675SRob Herring			bias-disable;
214*724ba675SRob Herring			input-enable;
215*724ba675SRob Herring		};
216*724ba675SRob Herring		gpio145i_pins: gpio145i-pins {
217*724ba675SRob Herring			pins = "GPIO145/PWM5";
218*724ba675SRob Herring			bias-disable;
219*724ba675SRob Herring			input-enable;
220*724ba675SRob Herring		};
221*724ba675SRob Herring		gpio146i_pins: gpio146i-pins {
222*724ba675SRob Herring			pins = "GPIO146/PWM6";
223*724ba675SRob Herring			bias-disable;
224*724ba675SRob Herring			input-enable;
225*724ba675SRob Herring		};
226*724ba675SRob Herring		gpio147oh_pins: gpio147oh-pins {
227*724ba675SRob Herring			pins = "GPIO147/PWM7";
228*724ba675SRob Herring			bias-disable;
229*724ba675SRob Herring			output-high;
230*724ba675SRob Herring		};
231*724ba675SRob Herring		gpio168ol_pins: gpio168ol-pins {
232*724ba675SRob Herring			pins = "GPIO168/nCLKRUN/nESPIALERT";
233*724ba675SRob Herring			bias-disable;
234*724ba675SRob Herring			output-low;
235*724ba675SRob Herring		};
236*724ba675SRob Herring		gpio169oh_pins: gpio169oh-pins {
237*724ba675SRob Herring			pins = "GPIO169/nSCIPME";
238*724ba675SRob Herring			bias-disable;
239*724ba675SRob Herring			output-high;
240*724ba675SRob Herring		};
241*724ba675SRob Herring		gpio170ol_pins: gpio170ol-pins {
242*724ba675SRob Herring			pins = "GPIO170/nSMI";
243*724ba675SRob Herring			bias-disable;
244*724ba675SRob Herring			output-low;
245*724ba675SRob Herring		};
246*724ba675SRob Herring		gpio218oh_pins: gpio218oh-pins {
247*724ba675SRob Herring			pins = "GPIO218/nWDO1";
248*724ba675SRob Herring			bias-disable;
249*724ba675SRob Herring			output-high;
250*724ba675SRob Herring		};
251*724ba675SRob Herring		gpio37i_pins: gpio37i-pins {
252*724ba675SRob Herring			pins = "GPIO37/SMB3CSDA";
253*724ba675SRob Herring			bias-disable;
254*724ba675SRob Herring			input-enable;
255*724ba675SRob Herring		};
256*724ba675SRob Herring		gpio38i_pins: gpio38i-pins {
257*724ba675SRob Herring			pins = "GPIO38/SMB3CSCL";
258*724ba675SRob Herring			bias-disable;
259*724ba675SRob Herring			input-enable;
260*724ba675SRob Herring		};
261*724ba675SRob Herring		gpio39i_pins: gpio39i-pins {
262*724ba675SRob Herring			pins = "GPIO39/SMB3BSDA";
263*724ba675SRob Herring			bias-disable;
264*724ba675SRob Herring			input-enable;
265*724ba675SRob Herring		};
266*724ba675SRob Herring		gpio40i_pins: gpio40i-pins {
267*724ba675SRob Herring			pins = "GPIO40/SMB3BSCL";
268*724ba675SRob Herring			bias-disable;
269*724ba675SRob Herring			input-enable;
270*724ba675SRob Herring		};
271*724ba675SRob Herring		gpio121i_pins: gpio121i-pins {
272*724ba675SRob Herring			pins = "GPIO121/SMB2CSCL";
273*724ba675SRob Herring			bias-disable;
274*724ba675SRob Herring			input-enable;
275*724ba675SRob Herring		};
276*724ba675SRob Herring		gpio122i_pins: gpio122i-pins {
277*724ba675SRob Herring			pins = "GPIO122/SMB2BSDA";
278*724ba675SRob Herring			bias-disable;
279*724ba675SRob Herring			input-enable;
280*724ba675SRob Herring		};
281*724ba675SRob Herring		gpio123i_pins: gpio123i-pins {
282*724ba675SRob Herring			pins = "GPIO123/SMB2BSCL";
283*724ba675SRob Herring			bias-disable;
284*724ba675SRob Herring			input-enable;
285*724ba675SRob Herring		};
286*724ba675SRob Herring		gpio124i_pins: gpio124i-pins {
287*724ba675SRob Herring			pins = "GPIO124/SMB1CSDA";
288*724ba675SRob Herring			bias-disable;
289*724ba675SRob Herring			input-enable;
290*724ba675SRob Herring		};
291*724ba675SRob Herring		gpio125i_pins: gpio125i-pins {
292*724ba675SRob Herring			pins = "GPIO125/SMB1CSCL";
293*724ba675SRob Herring			bias-disable;
294*724ba675SRob Herring			input-enable;
295*724ba675SRob Herring		};
296*724ba675SRob Herring		gpio126i_pins: gpio126i-pins {
297*724ba675SRob Herring			pins = "GPIO126/SMB1BSDA";
298*724ba675SRob Herring			bias-disable;
299*724ba675SRob Herring			input-enable;
300*724ba675SRob Herring		};
301*724ba675SRob Herring		gpio127i_pins: gpio127i-pins {
302*724ba675SRob Herring			pins = "GPIO127/SMB1BSCL";
303*724ba675SRob Herring			bias-disable;
304*724ba675SRob Herring			input-enable;
305*724ba675SRob Herring		};
306*724ba675SRob Herring		gpio136i_pins: gpio136i-pins {
307*724ba675SRob Herring			pins = "GPIO136/SD1DT0";
308*724ba675SRob Herring			bias-disable;
309*724ba675SRob Herring			input-enable;
310*724ba675SRob Herring		};
311*724ba675SRob Herring		gpio137oh_pins: gpio137oh-pins {
312*724ba675SRob Herring			pins = "GPIO137/SD1DT1";
313*724ba675SRob Herring			bias-disable;
314*724ba675SRob Herring			output-high;
315*724ba675SRob Herring		};
316*724ba675SRob Herring		gpio138i_pins: gpio138i-pins {
317*724ba675SRob Herring			pins = "GPIO138/SD1DT2";
318*724ba675SRob Herring			bias-disable;
319*724ba675SRob Herring			input-enable;
320*724ba675SRob Herring		};
321*724ba675SRob Herring		gpio139i_pins: gpio139i-pins {
322*724ba675SRob Herring			pins = "GPIO139/SD1DT3";
323*724ba675SRob Herring			bias-disable;
324*724ba675SRob Herring			input-enable;
325*724ba675SRob Herring		};
326*724ba675SRob Herring		gpio140i_pins: gpio140i-pins {
327*724ba675SRob Herring			pins = "GPIO140/SD1CLK";
328*724ba675SRob Herring			bias-disable;
329*724ba675SRob Herring			input-enable;
330*724ba675SRob Herring		};
331*724ba675SRob Herring		gpio141i_pins: gpio141i-pins {
332*724ba675SRob Herring			pins = "GPIO141/SD1WP";
333*724ba675SRob Herring			bias-disable;
334*724ba675SRob Herring			input-enable;
335*724ba675SRob Herring		};
336*724ba675SRob Herring		gpio190oh_pins: gpio190oh-pins {
337*724ba675SRob Herring			pins = "GPIO190/nPRD_SMI";
338*724ba675SRob Herring			bias-disable;
339*724ba675SRob Herring			output-high;
340*724ba675SRob Herring		};
341*724ba675SRob Herring		gpio191oh_pins: gpio191oh-pins {
342*724ba675SRob Herring			pins = "GPIO191";
343*724ba675SRob Herring			bias-disable;
344*724ba675SRob Herring			output-high;
345*724ba675SRob Herring		};
346*724ba675SRob Herring		gpio195ol_pins: gpio195ol-pins {
347*724ba675SRob Herring			pins = "GPIO195/SMB0BSDA";
348*724ba675SRob Herring			bias-disable;
349*724ba675SRob Herring			output-low;
350*724ba675SRob Herring		};
351*724ba675SRob Herring		gpio196ol_pins: gpio196ol-pins {
352*724ba675SRob Herring			pins = "GPIO196/SMB0CSCL";
353*724ba675SRob Herring			bias-disable;
354*724ba675SRob Herring			output-low;
355*724ba675SRob Herring		};
356*724ba675SRob Herring		gpio199i_pins: gpio199i-pins {
357*724ba675SRob Herring			pins = "GPIO199/SMB0DSCL";
358*724ba675SRob Herring			bias-disable;
359*724ba675SRob Herring			input-enable;
360*724ba675SRob Herring		};
361*724ba675SRob Herring		gpio202ol_pins: gpio202ol-pins {
362*724ba675SRob Herring			pins = "GPIO202/SMB0CSDA";
363*724ba675SRob Herring			bias-disable;
364*724ba675SRob Herring			output-low;
365*724ba675SRob Herring		};
366*724ba675SRob Herring	};
367*724ba675SRob Herring};
368*724ba675SRob Herring
369*724ba675SRob Herring&gmac0 {
370*724ba675SRob Herring	phy-mode = "rgmii-id";
371*724ba675SRob Herring	snps,eee-force-disable;
372*724ba675SRob Herring	status = "okay";
373*724ba675SRob Herring};
374*724ba675SRob Herring
375*724ba675SRob Herring&ehci1 {
376*724ba675SRob Herring	status = "okay";
377*724ba675SRob Herring};
378*724ba675SRob Herring
379*724ba675SRob Herring&fiu0 {
380*724ba675SRob Herring	pinctrl-names = "default";
381*724ba675SRob Herring	pinctrl-0 = <&spi0cs1_pins>;
382*724ba675SRob Herring	status = "okay";
383*724ba675SRob Herring	flash@0 {
384*724ba675SRob Herring		compatible = "jedec,spi-nor";
385*724ba675SRob Herring		#address-cells = <1>;
386*724ba675SRob Herring		#size-cells = <1>;
387*724ba675SRob Herring		reg = <0>;
388*724ba675SRob Herring		spi-max-frequency = <5000000>;
389*724ba675SRob Herring		spi-rx-bus-width = <2>;
390*724ba675SRob Herring		label = "bmc";
391*724ba675SRob Herring		partitions {
392*724ba675SRob Herring			compatible = "fixed-partitions";
393*724ba675SRob Herring			#address-cells = <1>;
394*724ba675SRob Herring			#size-cells = <1>;
395*724ba675SRob Herring			u-boot@0 {
396*724ba675SRob Herring				label = "u-boot";
397*724ba675SRob Herring				reg = <0x0000000 0xC0000>;
398*724ba675SRob Herring				read-only;
399*724ba675SRob Herring			};
400*724ba675SRob Herring			u-boot-env@100000{
401*724ba675SRob Herring				label = "u-boot-env";
402*724ba675SRob Herring				reg = <0x00100000 0x40000>;
403*724ba675SRob Herring			};
404*724ba675SRob Herring			kernel@200000 {
405*724ba675SRob Herring				label = "kernel";
406*724ba675SRob Herring				reg = <0x0200000 0x600000>;
407*724ba675SRob Herring			};
408*724ba675SRob Herring			rofs@800000 {
409*724ba675SRob Herring				label = "rofs";
410*724ba675SRob Herring				reg = <0x800000 0x3500000>;
411*724ba675SRob Herring			};
412*724ba675SRob Herring			rwfs@3d00000 {
413*724ba675SRob Herring				label = "rwfs";
414*724ba675SRob Herring				reg = <0x3d00000 0x300000>;
415*724ba675SRob Herring			};
416*724ba675SRob Herring		};
417*724ba675SRob Herring	};
418*724ba675SRob Herring	flash@1 {
419*724ba675SRob Herring		compatible = "jedec,spi-nor";
420*724ba675SRob Herring		#address-cells = <1>;
421*724ba675SRob Herring		#size-cells = <1>;
422*724ba675SRob Herring		reg = <1>;
423*724ba675SRob Herring		spi-max-frequency = <5000000>;
424*724ba675SRob Herring		spi-rx-bus-width = <2>;
425*724ba675SRob Herring		partitions {
426*724ba675SRob Herring			compatible = "fixed-partitions";
427*724ba675SRob Herring			#address-cells = <1>;
428*724ba675SRob Herring			#size-cells = <1>;
429*724ba675SRob Herring			spare1@0 {
430*724ba675SRob Herring				label = "spi0-cs1-spare1";
431*724ba675SRob Herring				reg = <0x0 0x800000>;
432*724ba675SRob Herring			};
433*724ba675SRob Herring			spare2@800000 {
434*724ba675SRob Herring				label = "spi0-cs1-spare2";
435*724ba675SRob Herring				reg = <0x800000 0x0>;
436*724ba675SRob Herring			};
437*724ba675SRob Herring		};
438*724ba675SRob Herring	};
439*724ba675SRob Herring};
440*724ba675SRob Herring
441*724ba675SRob Herring&fiu3 {
442*724ba675SRob Herring	pinctrl-0 = <&spi3_pins>;
443*724ba675SRob Herring	flash@0 {
444*724ba675SRob Herring		compatible = "jedec,spi-nor";
445*724ba675SRob Herring		#address-cells = <1>;
446*724ba675SRob Herring		#size-cells = <1>;
447*724ba675SRob Herring		reg = <0>;
448*724ba675SRob Herring		spi-max-frequency = <5000000>;
449*724ba675SRob Herring		spi-rx-bus-width = <2>;
450*724ba675SRob Herring		partitions {
451*724ba675SRob Herring			compatible = "fixed-partitions";
452*724ba675SRob Herring			#address-cells = <1>;
453*724ba675SRob Herring			#size-cells = <1>;
454*724ba675SRob Herring			system1@0 {
455*724ba675SRob Herring				label = "bios";
456*724ba675SRob Herring				reg = <0x0 0x0>;
457*724ba675SRob Herring			};
458*724ba675SRob Herring			system2@800000 {
459*724ba675SRob Herring				label = "spi3-system2";
460*724ba675SRob Herring				reg = <0x800000 0x0>;
461*724ba675SRob Herring			};
462*724ba675SRob Herring		};
463*724ba675SRob Herring	};
464*724ba675SRob Herring};
465*724ba675SRob Herring
466*724ba675SRob Herring&watchdog1 {
467*724ba675SRob Herring	status = "okay";
468*724ba675SRob Herring};
469*724ba675SRob Herring
470*724ba675SRob Herring&rng {
471*724ba675SRob Herring	status = "okay";
472*724ba675SRob Herring};
473*724ba675SRob Herring
474*724ba675SRob Herring&serial0 {
475*724ba675SRob Herring	status = "okay";
476*724ba675SRob Herring};
477*724ba675SRob Herring
478*724ba675SRob Herring&serial1 {
479*724ba675SRob Herring	status = "okay";
480*724ba675SRob Herring};
481*724ba675SRob Herring
482*724ba675SRob Herring&serial2 {
483*724ba675SRob Herring	status = "okay";
484*724ba675SRob Herring};
485*724ba675SRob Herring
486*724ba675SRob Herring&serial3 {
487*724ba675SRob Herring	status = "okay";
488*724ba675SRob Herring};
489*724ba675SRob Herring
490*724ba675SRob Herring&adc {
491*724ba675SRob Herring	#io-channel-cells = <1>;
492*724ba675SRob Herring	status = "okay";
493*724ba675SRob Herring};
494*724ba675SRob Herring
495*724ba675SRob Herring&i2c1 {
496*724ba675SRob Herring	status = "okay";
497*724ba675SRob Herring	i2c-switch@75 {
498*724ba675SRob Herring		compatible = "nxp,pca9548";
499*724ba675SRob Herring		#address-cells = <1>;
500*724ba675SRob Herring		#size-cells = <0>;
501*724ba675SRob Herring		reg = <0x75>;
502*724ba675SRob Herring		i2c-mux-idle-disconnect;
503*724ba675SRob Herring
504*724ba675SRob Herring		i2c@2 {
505*724ba675SRob Herring			#address-cells = <1>;
506*724ba675SRob Herring			#size-cells = <0>;
507*724ba675SRob Herring			reg = <2>;
508*724ba675SRob Herring
509*724ba675SRob Herring			// Rear-Fan
510*724ba675SRob Herring			max31790@58 {
511*724ba675SRob Herring				compatible = "maxim,max31790";
512*724ba675SRob Herring				reg = <0x58>;
513*724ba675SRob Herring			};
514*724ba675SRob Herring		};
515*724ba675SRob Herring
516*724ba675SRob Herring		i2c@3 {
517*724ba675SRob Herring			#address-cells = <1>;
518*724ba675SRob Herring			#size-cells = <0>;
519*724ba675SRob Herring			reg = <3>;
520*724ba675SRob Herring
521*724ba675SRob Herring			// Mid-Fan
522*724ba675SRob Herring			max31790@58 {
523*724ba675SRob Herring				compatible = "maxim,max31790";
524*724ba675SRob Herring				reg = <0x58>;
525*724ba675SRob Herring			};
526*724ba675SRob Herring		};
527*724ba675SRob Herring
528*724ba675SRob Herring		i2c-bus@4 {
529*724ba675SRob Herring			#address-cells = <1>;
530*724ba675SRob Herring			#size-cells = <0>;
531*724ba675SRob Herring			reg = <4>;
532*724ba675SRob Herring
533*724ba675SRob Herring			// INLET1_T
534*724ba675SRob Herring			lm75@5c {
535*724ba675SRob Herring				compatible = "ti,lm75";
536*724ba675SRob Herring				reg = <0x5c>;
537*724ba675SRob Herring			};
538*724ba675SRob Herring		};
539*724ba675SRob Herring
540*724ba675SRob Herring		i2c-bus@5 {
541*724ba675SRob Herring			#address-cells = <1>;
542*724ba675SRob Herring			#size-cells = <0>;
543*724ba675SRob Herring			reg = <5>;
544*724ba675SRob Herring
545*724ba675SRob Herring			// OUTLET1_T
546*724ba675SRob Herring			lm75@5c {
547*724ba675SRob Herring				compatible = "ti,lm75";
548*724ba675SRob Herring				reg = <0x5c>;
549*724ba675SRob Herring			};
550*724ba675SRob Herring		};
551*724ba675SRob Herring
552*724ba675SRob Herring		i2c-bus@6 {
553*724ba675SRob Herring			#address-cells = <1>;
554*724ba675SRob Herring			#size-cells = <0>;
555*724ba675SRob Herring			reg = <6>;
556*724ba675SRob Herring
557*724ba675SRob Herring			// OUTLET2_T
558*724ba675SRob Herring			lm75@5c {
559*724ba675SRob Herring				compatible = "ti,lm75";
560*724ba675SRob Herring				reg = <0x5c>;
561*724ba675SRob Herring			};
562*724ba675SRob Herring		};
563*724ba675SRob Herring
564*724ba675SRob Herring		i2c-bus@7 {
565*724ba675SRob Herring			#address-cells = <1>;
566*724ba675SRob Herring			#size-cells = <0>;
567*724ba675SRob Herring			reg = <7>;
568*724ba675SRob Herring
569*724ba675SRob Herring			// OUTLET3_T
570*724ba675SRob Herring			lm75@5c {
571*724ba675SRob Herring				compatible = "ti,lm75";
572*724ba675SRob Herring				reg = <0x5c>;
573*724ba675SRob Herring			};
574*724ba675SRob Herring		};
575*724ba675SRob Herring	};
576*724ba675SRob Herring	i2c-switch@77 {
577*724ba675SRob Herring		compatible = "nxp,pca9548";
578*724ba675SRob Herring		#address-cells = <1>;
579*724ba675SRob Herring		#size-cells = <0>;
580*724ba675SRob Herring		reg = <0x77>;
581*724ba675SRob Herring		i2c-mux-idle-disconnect;
582*724ba675SRob Herring
583*724ba675SRob Herring		i2c-bus@2 {
584*724ba675SRob Herring			#address-cells = <1>;
585*724ba675SRob Herring			#size-cells = <0>;
586*724ba675SRob Herring			reg = <2>;
587*724ba675SRob Herring
588*724ba675SRob Herring			// STB-T
589*724ba675SRob Herring			pmbus@74 {
590*724ba675SRob Herring				compatible = "pmbus";
591*724ba675SRob Herring				reg = <0x74>;
592*724ba675SRob Herring			};
593*724ba675SRob Herring		};
594*724ba675SRob Herring	};
595*724ba675SRob Herring};
596*724ba675SRob Herring
597*724ba675SRob Herring&i2c2 {
598*724ba675SRob Herring	status = "okay";
599*724ba675SRob Herring	smpro@4f {
600*724ba675SRob Herring		compatible = "ampere,smpro";
601*724ba675SRob Herring		reg = <0x4f>;
602*724ba675SRob Herring	};
603*724ba675SRob Herring
604*724ba675SRob Herring	smpro@4e {
605*724ba675SRob Herring		compatible = "ampere,smpro";
606*724ba675SRob Herring		reg = <0x4e>;
607*724ba675SRob Herring	};
608*724ba675SRob Herring};
609*724ba675SRob Herring
610*724ba675SRob Herring&i2c3 {
611*724ba675SRob Herring	status = "okay";
612*724ba675SRob Herring};
613*724ba675SRob Herring
614*724ba675SRob Herring&i2c4 {
615*724ba675SRob Herring	status = "okay";
616*724ba675SRob Herring	i2c-switch@77 {
617*724ba675SRob Herring		compatible = "nxp,pca9548";
618*724ba675SRob Herring		#address-cells = <1>;
619*724ba675SRob Herring		#size-cells = <0>;
620*724ba675SRob Herring		reg = <0x77>;
621*724ba675SRob Herring		i2c-mux-idle-disconnect;
622*724ba675SRob Herring
623*724ba675SRob Herring		i2c-bus@0 {
624*724ba675SRob Herring			#address-cells = <1>;
625*724ba675SRob Herring			#size-cells = <0>;
626*724ba675SRob Herring			reg = <0>;
627*724ba675SRob Herring
628*724ba675SRob Herring			// ADC sensors
629*724ba675SRob Herring			adm1266@40 {
630*724ba675SRob Herring				compatible = "adi,adm1266";
631*724ba675SRob Herring				reg = <0x40>;
632*724ba675SRob Herring			};
633*724ba675SRob Herring		};
634*724ba675SRob Herring
635*724ba675SRob Herring		i2c-bus@1 {
636*724ba675SRob Herring			#address-cells = <1>;
637*724ba675SRob Herring			#size-cells = <0>;
638*724ba675SRob Herring			reg = <1>;
639*724ba675SRob Herring
640*724ba675SRob Herring			// ADC sensors
641*724ba675SRob Herring			adm1266@41 {
642*724ba675SRob Herring				compatible = "adi,adm1266";
643*724ba675SRob Herring				reg = <0x41>;
644*724ba675SRob Herring			};
645*724ba675SRob Herring		};
646*724ba675SRob Herring	};
647*724ba675SRob Herring};
648*724ba675SRob Herring
649*724ba675SRob Herring&i2c5 {
650*724ba675SRob Herring	status = "okay";
651*724ba675SRob Herring};
652*724ba675SRob Herring
653*724ba675SRob Herring&i2c6 {
654*724ba675SRob Herring	status = "okay";
655*724ba675SRob Herring};
656*724ba675SRob Herring
657*724ba675SRob Herring&i2c7 {
658*724ba675SRob Herring	status = "okay";
659*724ba675SRob Herring};
660*724ba675SRob Herring
661*724ba675SRob Herring&i2c8 {
662*724ba675SRob Herring	status = "okay";
663*724ba675SRob Herring};
664*724ba675SRob Herring
665*724ba675SRob Herring&i2c9 {
666*724ba675SRob Herring	status = "okay";
667*724ba675SRob Herring};
668*724ba675SRob Herring
669*724ba675SRob Herring&i2c10 {
670*724ba675SRob Herring	status = "okay";
671*724ba675SRob Herring};
672*724ba675SRob Herring
673*724ba675SRob Herring&i2c11 {
674*724ba675SRob Herring	status = "okay";
675*724ba675SRob Herring};
676*724ba675SRob Herring
677*724ba675SRob Herring&i2c12 {
678*724ba675SRob Herring	status = "okay";
679*724ba675SRob Herring	ssif-bmc@10 {
680*724ba675SRob Herring		compatible = "ssif-bmc";
681*724ba675SRob Herring		reg = <0x10>;
682*724ba675SRob Herring	};
683*724ba675SRob Herring};
684*724ba675SRob Herring
685*724ba675SRob Herring&i2c13 {
686*724ba675SRob Herring	status = "okay";
687*724ba675SRob Herring	i2c-switch@77 {
688*724ba675SRob Herring		compatible = "nxp,pca9548";
689*724ba675SRob Herring		#address-cells = <1>;
690*724ba675SRob Herring		#size-cells = <0>;
691*724ba675SRob Herring		reg = <0x77>;
692*724ba675SRob Herring		i2c-mux-idle-disconnect;
693*724ba675SRob Herring
694*724ba675SRob Herring		i2c-bus@3 {
695*724ba675SRob Herring			#address-cells = <1>;
696*724ba675SRob Herring			#size-cells = <0>;
697*724ba675SRob Herring			reg = <3>;
698*724ba675SRob Herring
699*724ba675SRob Herring			// M2_ZONE_T
700*724ba675SRob Herring			lm75@28 {
701*724ba675SRob Herring				compatible = "ti,lm75";
702*724ba675SRob Herring				reg = <0x28>;
703*724ba675SRob Herring			};
704*724ba675SRob Herring		};
705*724ba675SRob Herring
706*724ba675SRob Herring		i2c-bus@4 {
707*724ba675SRob Herring			#address-cells = <1>;
708*724ba675SRob Herring			#size-cells = <0>;
709*724ba675SRob Herring			reg = <4>;
710*724ba675SRob Herring
711*724ba675SRob Herring			// BATT_ZONE_T
712*724ba675SRob Herring			lm75@29 {
713*724ba675SRob Herring				compatible = "ti,lm75";
714*724ba675SRob Herring				reg = <0x29>;
715*724ba675SRob Herring			};
716*724ba675SRob Herring		};
717*724ba675SRob Herring
718*724ba675SRob Herring		i2c-bus@5 {
719*724ba675SRob Herring			#address-cells = <1>;
720*724ba675SRob Herring			#size-cells = <0>;
721*724ba675SRob Herring			reg = <5>;
722*724ba675SRob Herring
723*724ba675SRob Herring			// NBM1_ZONE_T
724*724ba675SRob Herring			lm75@28 {
725*724ba675SRob Herring				compatible = "ti,lm75";
726*724ba675SRob Herring				reg = <0x28>;
727*724ba675SRob Herring			};
728*724ba675SRob Herring		};
729*724ba675SRob Herring		i2c-bus@6 {
730*724ba675SRob Herring			#address-cells = <1>;
731*724ba675SRob Herring			#size-cells = <0>;
732*724ba675SRob Herring			reg = <6>;
733*724ba675SRob Herring
734*724ba675SRob Herring			// NBM2_ZONE_T
735*724ba675SRob Herring			lm75@29 {
736*724ba675SRob Herring				compatible = "ti,lm75";
737*724ba675SRob Herring				reg = <0x29>;
738*724ba675SRob Herring			};
739*724ba675SRob Herring		};
740*724ba675SRob Herring	};
741*724ba675SRob Herring};
742*724ba675SRob Herring
743*724ba675SRob Herring&i2c14 {
744*724ba675SRob Herring	status = "okay";
745*724ba675SRob Herring};
746*724ba675SRob Herring
747*724ba675SRob Herring&i2c15 {
748*724ba675SRob Herring	status = "okay";
749*724ba675SRob Herring};
750*724ba675SRob Herring
751*724ba675SRob Herring&spi0 {
752*724ba675SRob Herring	cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
753*724ba675SRob Herring	status = "okay";
754*724ba675SRob Herring};
755*724ba675SRob Herring
756*724ba675SRob Herring&pinctrl {
757*724ba675SRob Herring	pinctrl-names = "default";
758*724ba675SRob Herring	pinctrl-0 = <
759*724ba675SRob Herring			&gpio61oh_pins
760*724ba675SRob Herring			&gpio62oh_pins
761*724ba675SRob Herring			&gpio161ol_pins
762*724ba675SRob Herring			&gpio163i_pins
763*724ba675SRob Herring			&gpio167ol_pins
764*724ba675SRob Herring			&gpio95i_pins
765*724ba675SRob Herring			&gpio65ol_pins
766*724ba675SRob Herring			&gpio66oh_pins
767*724ba675SRob Herring			&gpio67oh_pins
768*724ba675SRob Herring			&gpio68ol_pins
769*724ba675SRob Herring			&gpio69i_pins
770*724ba675SRob Herring			&gpio70ol_pins
771*724ba675SRob Herring			&gpio71i_pins
772*724ba675SRob Herring			&gpio72i_pins
773*724ba675SRob Herring			&gpio73i_pins
774*724ba675SRob Herring			&gpio74i_pins
775*724ba675SRob Herring			&gpio75i_pins
776*724ba675SRob Herring			&gpio76i_pins
777*724ba675SRob Herring			&gpio77i_pins
778*724ba675SRob Herring			&gpio78i_pins
779*724ba675SRob Herring			&gpio79ol_pins
780*724ba675SRob Herring			&gpio80oh_pins
781*724ba675SRob Herring			&gpio81i_pins
782*724ba675SRob Herring			&gpio82i_pins
783*724ba675SRob Herring			&gpio83i_pins
784*724ba675SRob Herring			&gpio144i_pins
785*724ba675SRob Herring			&gpio145i_pins
786*724ba675SRob Herring			&gpio146i_pins
787*724ba675SRob Herring			&gpio147oh_pins
788*724ba675SRob Herring			&gpio168ol_pins
789*724ba675SRob Herring			&gpio169oh_pins
790*724ba675SRob Herring			&gpio170ol_pins
791*724ba675SRob Herring			&gpio218oh_pins
792*724ba675SRob Herring			&gpio37i_pins
793*724ba675SRob Herring			&gpio38i_pins
794*724ba675SRob Herring			&gpio39i_pins
795*724ba675SRob Herring			&gpio40i_pins
796*724ba675SRob Herring			&gpio121i_pins
797*724ba675SRob Herring			&gpio122i_pins
798*724ba675SRob Herring			&gpio123i_pins
799*724ba675SRob Herring			&gpio124i_pins
800*724ba675SRob Herring			&gpio125i_pins
801*724ba675SRob Herring			&gpio126i_pins
802*724ba675SRob Herring			&gpio127i_pins
803*724ba675SRob Herring			&gpio136i_pins
804*724ba675SRob Herring			&gpio137oh_pins
805*724ba675SRob Herring			&gpio138i_pins
806*724ba675SRob Herring			&gpio139i_pins
807*724ba675SRob Herring			&gpio140i_pins
808*724ba675SRob Herring			&gpio141i_pins
809*724ba675SRob Herring			&gpio190oh_pins
810*724ba675SRob Herring			&gpio191oh_pins
811*724ba675SRob Herring			&gpio195ol_pins
812*724ba675SRob Herring			&gpio196ol_pins
813*724ba675SRob Herring			&gpio199i_pins
814*724ba675SRob Herring			&gpio202ol_pins
815*724ba675SRob Herring			>;
816*724ba675SRob Herring};
817*724ba675SRob Herring
818*724ba675SRob Herring&gcr {
819*724ba675SRob Herring	serial_port_mux: mux-controller {
820*724ba675SRob Herring		compatible = "mmio-mux";
821*724ba675SRob Herring		#mux-control-cells = <1>;
822*724ba675SRob Herring
823*724ba675SRob Herring		mux-reg-masks = <0x38 0x07>;
824*724ba675SRob Herring		idle-states = <2>;
825*724ba675SRob Herring	};
826*724ba675SRob Herring};
827