xref: /freebsd-src/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-opp-zaius.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/dts-v1/;
3f126890aSEmmanuel Vadot#include "aspeed-g5.dtsi"
4f126890aSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h>
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/ {
7f126890aSEmmanuel Vadot	model = "Zaius BMC";
8f126890aSEmmanuel Vadot	compatible = "ingrasys,zaius-bmc", "aspeed,ast2500";
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot	aliases {
11f126890aSEmmanuel Vadot		i2c15 = &i2cpcie0;
12f126890aSEmmanuel Vadot		i2c16 = &i2cpcie1;
13f126890aSEmmanuel Vadot		i2c17 = &i2cpcie2;
14f126890aSEmmanuel Vadot		i2c19 = &i2cpcie3;
15f126890aSEmmanuel Vadot		i2c20 = &i2cpcie4;
16f126890aSEmmanuel Vadot	};
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot	chosen {
19f126890aSEmmanuel Vadot		stdout-path = &uart5;
20f126890aSEmmanuel Vadot		bootargs = "console=ttyS4,115200 earlycon";
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	memory@80000000 {
24f126890aSEmmanuel Vadot		reg = <0x80000000 0x40000000>;
25f126890aSEmmanuel Vadot	};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot	reserved-memory {
28f126890aSEmmanuel Vadot		#address-cells = <1>;
29f126890aSEmmanuel Vadot		#size-cells = <1>;
30f126890aSEmmanuel Vadot		ranges;
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot		flash_memory: region@98000000 {
33f126890aSEmmanuel Vadot			no-map;
34f126890aSEmmanuel Vadot			reg = <0x98000000 0x04000000>; /* 64M */
35f126890aSEmmanuel Vadot		};
36f126890aSEmmanuel Vadot	};
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot	onewire0 {
39f126890aSEmmanuel Vadot		compatible = "w1-gpio";
40f126890aSEmmanuel Vadot		gpios = <&gpio ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot	onewire1 {
44f126890aSEmmanuel Vadot		compatible = "w1-gpio";
45f126890aSEmmanuel Vadot		gpios = <&gpio ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	onewire2 {
49f126890aSEmmanuel Vadot		compatible = "w1-gpio";
50f126890aSEmmanuel Vadot		gpios = <&gpio ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
51f126890aSEmmanuel Vadot	};
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot	onewire3 {
54f126890aSEmmanuel Vadot		compatible = "w1-gpio";
55f126890aSEmmanuel Vadot		gpios = <&gpio ASPEED_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
56f126890aSEmmanuel Vadot	};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot	gpio-keys {
59f126890aSEmmanuel Vadot		compatible = "gpio-keys";
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		event-checkstop {
62f126890aSEmmanuel Vadot			label = "checkstop";
63f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
64f126890aSEmmanuel Vadot			linux,code = <ASPEED_GPIO(F, 7)>;
65f126890aSEmmanuel Vadot		};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot		event-pcie-e2b-present{
68f126890aSEmmanuel Vadot			label = "pcie-e2b-present";
69f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
70f126890aSEmmanuel Vadot			linux,code = <ASPEED_GPIO(E, 7)>;
71f126890aSEmmanuel Vadot		};
72f126890aSEmmanuel Vadot	};
73f126890aSEmmanuel Vadot
74f126890aSEmmanuel Vadot	leds {
75f126890aSEmmanuel Vadot		compatible = "gpio-leds";
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot		sys_boot_status {
78f126890aSEmmanuel Vadot			label = "System boot status";
79f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(D, 5) GPIO_ACTIVE_LOW>;
80f126890aSEmmanuel Vadot		};
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot		attention {
83f126890aSEmmanuel Vadot			label = "Attention";
84f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(D, 6) GPIO_ACTIVE_LOW>;
85f126890aSEmmanuel Vadot		};
86f126890aSEmmanuel Vadot
87f126890aSEmmanuel Vadot		plt_fault {
88f126890aSEmmanuel Vadot			label = "Platform fault";
89f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(D, 7) GPIO_ACTIVE_LOW>;
90f126890aSEmmanuel Vadot		};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot		hdd_fault {
93f126890aSEmmanuel Vadot			label = "Onboard drive fault";
94f126890aSEmmanuel Vadot			gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
95f126890aSEmmanuel Vadot		};
96f126890aSEmmanuel Vadot	};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot	fsi: gpio-fsi {
99f126890aSEmmanuel Vadot		compatible = "fsi-master-gpio", "fsi-master";
100f126890aSEmmanuel Vadot		#address-cells = <2>;
101f126890aSEmmanuel Vadot		#size-cells = <0>;
102f126890aSEmmanuel Vadot		no-gpio-delays;
103f126890aSEmmanuel Vadot
104f126890aSEmmanuel Vadot		trans-gpios = <&gpio ASPEED_GPIO(O, 6) GPIO_ACTIVE_HIGH>;
105f126890aSEmmanuel Vadot		enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
106f126890aSEmmanuel Vadot		clock-gpios = <&gpio ASPEED_GPIO(G, 0) GPIO_ACTIVE_HIGH>;
107f126890aSEmmanuel Vadot		data-gpios = <&gpio ASPEED_GPIO(G, 1) GPIO_ACTIVE_HIGH>;
108f126890aSEmmanuel Vadot		mux-gpios = <&gpio ASPEED_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
109f126890aSEmmanuel Vadot	};
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot	iio-hwmon {
112f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
113f126890aSEmmanuel Vadot		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
114f126890aSEmmanuel Vadot			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
115f126890aSEmmanuel Vadot			<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
116f126890aSEmmanuel Vadot			<&adc 13>, <&adc 14>, <&adc 15>;
117f126890aSEmmanuel Vadot	};
118f126890aSEmmanuel Vadot
119f126890aSEmmanuel Vadot	iio-hwmon-battery {
120f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
121f126890aSEmmanuel Vadot		io-channels = <&adc 12>;
122f126890aSEmmanuel Vadot	};
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot};
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot&fmc {
127f126890aSEmmanuel Vadot	status = "okay";
128f126890aSEmmanuel Vadot
129f126890aSEmmanuel Vadot	flash@0 {
130f126890aSEmmanuel Vadot		status = "okay";
131f126890aSEmmanuel Vadot		label = "bmc";
132f126890aSEmmanuel Vadot		m25p,fast-read;
133f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
134f126890aSEmmanuel Vadot#include "openbmc-flash-layout.dtsi"
135f126890aSEmmanuel Vadot	};
136f126890aSEmmanuel Vadot};
137f126890aSEmmanuel Vadot
138f126890aSEmmanuel Vadot&spi1 {
139f126890aSEmmanuel Vadot	status = "okay";
140f126890aSEmmanuel Vadot	pinctrl-names = "default";
141f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi1_default>;
142f126890aSEmmanuel Vadot
143f126890aSEmmanuel Vadot	flash@0 {
144f126890aSEmmanuel Vadot		status = "okay";
145f126890aSEmmanuel Vadot		label = "pnor";
146f126890aSEmmanuel Vadot		m25p,fast-read;
147f126890aSEmmanuel Vadot		spi-max-frequency = <100000000>;
148f126890aSEmmanuel Vadot	};
149f126890aSEmmanuel Vadot};
150f126890aSEmmanuel Vadot
151f126890aSEmmanuel Vadot&spi2 {
152f126890aSEmmanuel Vadot	status = "okay";
153f126890aSEmmanuel Vadot	pinctrl-names = "default";
154f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_spi2ck_default
155f126890aSEmmanuel Vadot		     &pinctrl_spi2cs0_default
156f126890aSEmmanuel Vadot		     &pinctrl_spi2cs1_default
157f126890aSEmmanuel Vadot		     &pinctrl_spi2miso_default
158f126890aSEmmanuel Vadot		     &pinctrl_spi2mosi_default>;
159f126890aSEmmanuel Vadot
160f126890aSEmmanuel Vadot	flash@0 {
161f126890aSEmmanuel Vadot		status = "okay";
162f126890aSEmmanuel Vadot	};
163f126890aSEmmanuel Vadot};
164f126890aSEmmanuel Vadot
165f126890aSEmmanuel Vadot&uart1 {
166f126890aSEmmanuel Vadot	status = "okay";
167f126890aSEmmanuel Vadot	pinctrl-names = "default";
168f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_txd1_default
169f126890aSEmmanuel Vadot		     &pinctrl_rxd1_default>;
170f126890aSEmmanuel Vadot};
171f126890aSEmmanuel Vadot
172f126890aSEmmanuel Vadot&lpc_ctrl {
173f126890aSEmmanuel Vadot	status = "okay";
174f126890aSEmmanuel Vadot	memory-region = <&flash_memory>;
175f126890aSEmmanuel Vadot	flash = <&spi1>;
176f126890aSEmmanuel Vadot};
177f126890aSEmmanuel Vadot
178f126890aSEmmanuel Vadot&lpc_snoop {
179f126890aSEmmanuel Vadot	status = "okay";
180f126890aSEmmanuel Vadot	snoop-ports = <0x80>;
181f126890aSEmmanuel Vadot};
182f126890aSEmmanuel Vadot
183f126890aSEmmanuel Vadot
184f126890aSEmmanuel Vadot&uart5 {
185f126890aSEmmanuel Vadot	status = "okay";
186f126890aSEmmanuel Vadot};
187f126890aSEmmanuel Vadot
188f126890aSEmmanuel Vadot&mac0 {
189f126890aSEmmanuel Vadot	status = "okay";
190f126890aSEmmanuel Vadot	pinctrl-names = "default";
191f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rmii1_default>;
192f126890aSEmmanuel Vadot	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
193f126890aSEmmanuel Vadot		 <&syscon ASPEED_CLK_MAC1RCLK>;
194f126890aSEmmanuel Vadot	clock-names = "MACCLK", "RCLK";
195f126890aSEmmanuel Vadot	use-ncsi;
196f126890aSEmmanuel Vadot};
197f126890aSEmmanuel Vadot
198f126890aSEmmanuel Vadot&mac1 {
199f126890aSEmmanuel Vadot	status = "okay";
200f126890aSEmmanuel Vadot
201f126890aSEmmanuel Vadot	pinctrl-names = "default";
202f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
203f126890aSEmmanuel Vadot};
204f126890aSEmmanuel Vadot
205f126890aSEmmanuel Vadot&i2c0 {
206f126890aSEmmanuel Vadot	status = "okay";
207f126890aSEmmanuel Vadot
208f126890aSEmmanuel Vadot	eeprom@50 {
209f126890aSEmmanuel Vadot		compatible = "atmel,24c64";
210f126890aSEmmanuel Vadot		reg = <0x50>;
211f126890aSEmmanuel Vadot		pagesize = <32>;
212f126890aSEmmanuel Vadot	};
213f126890aSEmmanuel Vadot
214f126890aSEmmanuel Vadot	rtc@68 {
215f126890aSEmmanuel Vadot		compatible = "nxp,pcf8523";
216f126890aSEmmanuel Vadot		reg = <0x68>;
217f126890aSEmmanuel Vadot	};
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot	ucd90160@64 {
220f126890aSEmmanuel Vadot		compatible = "ti,ucd90160";
221f126890aSEmmanuel Vadot		reg = <0x64>;
222f126890aSEmmanuel Vadot	};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot	/* Power sequencer UCD90160 PMBUS @64h
225f126890aSEmmanuel Vadot	 * FRU AT24C64D @50h
226f126890aSEmmanuel Vadot	 * RTC PCF8523 @68h
227f126890aSEmmanuel Vadot	 * Clock buffer 9DBL04 @6dh
228f126890aSEmmanuel Vadot	 */
229f126890aSEmmanuel Vadot};
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot&i2c1 {
232f126890aSEmmanuel Vadot	status = "okay";
233f126890aSEmmanuel Vadot
234*aa1a8ff2SEmmanuel Vadot	i2c-mux@71 {
235f126890aSEmmanuel Vadot		compatible = "nxp,pca9546";
236f126890aSEmmanuel Vadot		reg = <0x71>;
237f126890aSEmmanuel Vadot		#address-cells = <1>;
238f126890aSEmmanuel Vadot		#size-cells = <0>;
239f126890aSEmmanuel Vadot
240f126890aSEmmanuel Vadot		i2cpcie0: i2c@0 {
241f126890aSEmmanuel Vadot			#address-cells = <1>;
242f126890aSEmmanuel Vadot			#size-cells = <0>;
243f126890aSEmmanuel Vadot			reg = <0>;
244f126890aSEmmanuel Vadot		};
245f126890aSEmmanuel Vadot		i2cpcie1: i2c@1 {
246f126890aSEmmanuel Vadot			#address-cells = <1>;
247f126890aSEmmanuel Vadot			#size-cells = <0>;
248f126890aSEmmanuel Vadot			reg = <1>;
249f126890aSEmmanuel Vadot		};
250f126890aSEmmanuel Vadot		i2cpcie2: i2c@2 {
251f126890aSEmmanuel Vadot			#address-cells = <1>;
252f126890aSEmmanuel Vadot			#size-cells = <0>;
253f126890aSEmmanuel Vadot			reg = <2>;
254f126890aSEmmanuel Vadot		};
255f126890aSEmmanuel Vadot		i2ctpm: i2c@3 {
256f126890aSEmmanuel Vadot			#address-cells = <1>;
257f126890aSEmmanuel Vadot			#size-cells = <0>;
258f126890aSEmmanuel Vadot			reg = <3>;
259f126890aSEmmanuel Vadot		};
260f126890aSEmmanuel Vadot	};
261f126890aSEmmanuel Vadot
262f126890aSEmmanuel Vadot	/* MUX1 PCA9546A @71h
263f126890aSEmmanuel Vadot	 *   PCIe 0
264f126890aSEmmanuel Vadot	 *   PCIe 1
265f126890aSEmmanuel Vadot	 *   PCIe 2
266f126890aSEmmanuel Vadot	 *   TPM header
267f126890aSEmmanuel Vadot	 */
268f126890aSEmmanuel Vadot};
269f126890aSEmmanuel Vadot
270f126890aSEmmanuel Vadot&i2c2 {
271f126890aSEmmanuel Vadot	status = "disabled";
272f126890aSEmmanuel Vadot
273f126890aSEmmanuel Vadot	/* OCP Mezz Connector A (OOB SMBUS) */
274f126890aSEmmanuel Vadot};
275f126890aSEmmanuel Vadot
276f126890aSEmmanuel Vadot&i2c3 {
277f126890aSEmmanuel Vadot	status = "disabled";
278f126890aSEmmanuel Vadot
279f126890aSEmmanuel Vadot	/* OCP Mezz Connector A (PCIe slot SMBUS) */
280f126890aSEmmanuel Vadot};
281f126890aSEmmanuel Vadot
282f126890aSEmmanuel Vadot&i2c4 {
283f126890aSEmmanuel Vadot	status = "okay";
284f126890aSEmmanuel Vadot
285*aa1a8ff2SEmmanuel Vadot	i2c-mux@71 {
286f126890aSEmmanuel Vadot		compatible = "nxp,pca9546";
287f126890aSEmmanuel Vadot		reg = <0x71>;
288f126890aSEmmanuel Vadot		#address-cells = <1>;
289f126890aSEmmanuel Vadot		#size-cells = <0>;
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot		i2cpcie3: i2c@0 {
292f126890aSEmmanuel Vadot			#address-cells = <1>;
293f126890aSEmmanuel Vadot			#size-cells = <0>;
294f126890aSEmmanuel Vadot			reg = <0>;
295f126890aSEmmanuel Vadot		};
296f126890aSEmmanuel Vadot		i2cpcie4: i2c@1 {
297f126890aSEmmanuel Vadot			#address-cells = <1>;
298f126890aSEmmanuel Vadot			#size-cells = <0>;
299f126890aSEmmanuel Vadot			reg = <1>;
300f126890aSEmmanuel Vadot		};
301f126890aSEmmanuel Vadot	};
302f126890aSEmmanuel Vadot
303f126890aSEmmanuel Vadot	/* MUX1 PCA9546A @71h
304f126890aSEmmanuel Vadot	 *   PCIe 3
305f126890aSEmmanuel Vadot	 *   PCIe 4
306f126890aSEmmanuel Vadot	 */
307f126890aSEmmanuel Vadot};
308f126890aSEmmanuel Vadot
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot&i2c5 {
311f126890aSEmmanuel Vadot	status = "disabled";
312f126890aSEmmanuel Vadot
313f126890aSEmmanuel Vadot	/* CPU0 PRM 0.7V */
314f126890aSEmmanuel Vadot	/* CPU0 PRM 1.2V CH03 */
315f126890aSEmmanuel Vadot	/* CPU0 PRM 0.8V */
316f126890aSEmmanuel Vadot	/* CPU0 PRM 1.2V CH47 */
317f126890aSEmmanuel Vadot};
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot&i2c6 {
320f126890aSEmmanuel Vadot	status = "disabled";
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot	/* CPU1 PRM 0.7V */
323f126890aSEmmanuel Vadot	/* CPU1 PRM 1.2V CH03 */
324f126890aSEmmanuel Vadot	/* CPU1 PRM 0.8V */
325f126890aSEmmanuel Vadot	/* CPU1 PRM 1.2V CH47 */
326f126890aSEmmanuel Vadot};
327f126890aSEmmanuel Vadot
328f126890aSEmmanuel Vadot&i2c7 {
329f126890aSEmmanuel Vadot	status = "okay";
330f126890aSEmmanuel Vadot
331f126890aSEmmanuel Vadot	pca9541a@70 {
332f126890aSEmmanuel Vadot		compatible = "nxp,pca9541";
333f126890aSEmmanuel Vadot		reg = <0x70>;
334f126890aSEmmanuel Vadot
335f126890aSEmmanuel Vadot		i2c-arb {
336f126890aSEmmanuel Vadot			#address-cells = <1>;
337f126890aSEmmanuel Vadot			#size-cells = <0>;
338f126890aSEmmanuel Vadot
339f126890aSEmmanuel Vadot			hotswap@54 {
340f126890aSEmmanuel Vadot				compatible = "ti,lm5066i";
341f126890aSEmmanuel Vadot				reg = <0x54>;
342f126890aSEmmanuel Vadot			};
343f126890aSEmmanuel Vadot		};
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot	};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot	vrm@64 {
348f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
349f126890aSEmmanuel Vadot		reg = <0x64>;
350f126890aSEmmanuel Vadot	};
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot	vrm@40 {
353f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
354f126890aSEmmanuel Vadot		reg = <0x40>;
355f126890aSEmmanuel Vadot	};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot	vrm@60 {
358f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
359f126890aSEmmanuel Vadot		reg = <0x60>;
360f126890aSEmmanuel Vadot	};
361f126890aSEmmanuel Vadot
362f126890aSEmmanuel Vadot	vrm@43 {
363f126890aSEmmanuel Vadot		compatible = "infineon,ir38064";
364f126890aSEmmanuel Vadot		reg = <0x43>;
365f126890aSEmmanuel Vadot	};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot	vrm@41 {
368f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
369f126890aSEmmanuel Vadot		reg = <0x41>;
370f126890aSEmmanuel Vadot	};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot	/* Master selector PCA9541A @70h (other master: CPU0)
373f126890aSEmmanuel Vadot	 *   LM5066I PMBUS @10h
374f126890aSEmmanuel Vadot	 */
375f126890aSEmmanuel Vadot
376f126890aSEmmanuel Vadot	/*
377f126890aSEmmanuel Vadot	 * Brick will be one of these types/addresses.  Depending
378f126890aSEmmanuel Vadot	 * on the board SKU only one is actually present and will successfully
379f126890aSEmmanuel Vadot	 * instantiate while the others will fail the probe operation.
380f126890aSEmmanuel Vadot	 * These are the PVT (and presumably beyond) addresses:
381f126890aSEmmanuel Vadot	 *    12V Quarter Brick DC/DC Converter Q54SJ12050 @6Ah
382f126890aSEmmanuel Vadot	 *    12V Quarter Brick DC/DC Converter Q54SH12050 @30h
383f126890aSEmmanuel Vadot	 */
384f126890aSEmmanuel Vadot	power-brick@6a {
385f126890aSEmmanuel Vadot		compatible = "delta,dps800";
386f126890aSEmmanuel Vadot		reg = <0x6a>;
387f126890aSEmmanuel Vadot	};
388f126890aSEmmanuel Vadot	power-brick@30 {
389f126890aSEmmanuel Vadot		compatible = "delta,dps800";
390f126890aSEmmanuel Vadot		reg = <0x30>;
391f126890aSEmmanuel Vadot	};
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot	/* CPU0 VR ISL68137 0.7V, 0.96V PMBUS @64h */
394f126890aSEmmanuel Vadot	/* CPU0 VR ISL68137 1.2V CH03 PMBUS @40h */
395f126890aSEmmanuel Vadot	/* CPU0 VR ISL68137 0.8V PMBUS @60h */
396f126890aSEmmanuel Vadot	/* CPU0 VR 1.0V IR38064 I2C @11h, PMBUS @43h */
397f126890aSEmmanuel Vadot	/* CPU0 VR ISL68137 1.2V CH47 PMBUS @41h */
398f126890aSEmmanuel Vadot	/* Master selector PCA9541A @70h (other master: CPU0)
399f126890aSEmmanuel Vadot	 *   LM5066I PMBUS @10h
400f126890aSEmmanuel Vadot	 */
401f126890aSEmmanuel Vadot};
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot&i2c8 {
404f126890aSEmmanuel Vadot	status = "okay";
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot	vrm@64 {
407f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
408f126890aSEmmanuel Vadot		reg = <0x64>;
409f126890aSEmmanuel Vadot	};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot	vrm@40 {
412f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
413f126890aSEmmanuel Vadot		reg = <0x40>;
414f126890aSEmmanuel Vadot	};
415f126890aSEmmanuel Vadot
416f126890aSEmmanuel Vadot	vrm@41 {
417f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
418f126890aSEmmanuel Vadot		reg = <0x41>;
419f126890aSEmmanuel Vadot	};
420f126890aSEmmanuel Vadot
421f126890aSEmmanuel Vadot	vrm@42 {
422f126890aSEmmanuel Vadot		compatible = "infineon,ir38064";
423f126890aSEmmanuel Vadot		reg = <0x42>;
424f126890aSEmmanuel Vadot	};
425f126890aSEmmanuel Vadot
426f126890aSEmmanuel Vadot	vrm@60 {
427f126890aSEmmanuel Vadot		compatible = "isil,isl68137";
428f126890aSEmmanuel Vadot		reg = <0x60>;
429f126890aSEmmanuel Vadot	};
430f126890aSEmmanuel Vadot
431f126890aSEmmanuel Vadot	/* CPU1 VR ISL68137 0.7V, 0.96V PMBUS @64h */
432f126890aSEmmanuel Vadot	/* CPU1 VR ISL68137 1.2V CH03 PMBUS @40h */
433f126890aSEmmanuel Vadot	/* CPU1 VR ISL68137 1.2V CH47 PMBUS @41h */
434f126890aSEmmanuel Vadot	/* CPU1 VR 1.0V IR38064 I2C @12h, PMBUS @42h */
435f126890aSEmmanuel Vadot	/* CPU1 VR ISL68137 0.8V PMBUS @60h */
436f126890aSEmmanuel Vadot};
437f126890aSEmmanuel Vadot
438f126890aSEmmanuel Vadot
439f126890aSEmmanuel Vadot&i2c9 {
440f126890aSEmmanuel Vadot	status = "disabled";
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot	/* Fan board */
443f126890aSEmmanuel Vadot};
444f126890aSEmmanuel Vadot
445f126890aSEmmanuel Vadot&i2c10 {
446f126890aSEmmanuel Vadot	status = "disabled";
447f126890aSEmmanuel Vadot};
448f126890aSEmmanuel Vadot
449f126890aSEmmanuel Vadot&i2c11 {
450f126890aSEmmanuel Vadot	status = "disabled";
451f126890aSEmmanuel Vadot
452f126890aSEmmanuel Vadot	/* GPU sideband */
453f126890aSEmmanuel Vadot};
454f126890aSEmmanuel Vadot
455f126890aSEmmanuel Vadot&i2c12 {
456f126890aSEmmanuel Vadot	status = "disabled";
457f126890aSEmmanuel Vadot};
458f126890aSEmmanuel Vadot
459f126890aSEmmanuel Vadot&i2c13 {
460f126890aSEmmanuel Vadot	status = "disabled";
461f126890aSEmmanuel Vadot
462f126890aSEmmanuel Vadot	/* MUX PI3USB102
463f126890aSEmmanuel Vadot	 *   CPU0 debug
464f126890aSEmmanuel Vadot	 *   CPU1 debug
465f126890aSEmmanuel Vadot	 */
466f126890aSEmmanuel Vadot};
467f126890aSEmmanuel Vadot
468f126890aSEmmanuel Vadot&pinctrl {
469f126890aSEmmanuel Vadot	pinctrl_gpioh_unbiased: gpioi_unbiased {
470f126890aSEmmanuel Vadot		pins = "A8", "C7", "B7", "A7", "D7", "B6", "A6", "E7";
471f126890aSEmmanuel Vadot		bias-disable;
472f126890aSEmmanuel Vadot	};
473f126890aSEmmanuel Vadot};
474f126890aSEmmanuel Vadot
475f126890aSEmmanuel Vadot&gpio {
476f126890aSEmmanuel Vadot	pinctrl-names = "default";
477f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpioh_unbiased>;
478f126890aSEmmanuel Vadot
479f126890aSEmmanuel Vadot	gpio-line-names =
480f126890aSEmmanuel Vadot	/*A0-A7*/	"","cfam-reset","","","","","","",
481f126890aSEmmanuel Vadot	/*B0-B7*/	"","","","","","","","",
482f126890aSEmmanuel Vadot	/*C0-C7*/	"","","","","","","","",
483f126890aSEmmanuel Vadot	/*D0-D7*/	"fsi-enable","","","","","led-sys-boot-status","led-attention",
484f126890aSEmmanuel Vadot				"led-fault",
485f126890aSEmmanuel Vadot	/*E0-E7*/	"","","","","","","","presence-pcie-e2b",
486f126890aSEmmanuel Vadot	/*F0-F7*/	"","","","","","","","checkstop",
487f126890aSEmmanuel Vadot	/*G0-G7*/	"fsi-clock","fsi-data","","","","","","",
488f126890aSEmmanuel Vadot	/*H0-H7*/	"onewire0","onewire1","onewire2","onewire3","","","","",
489f126890aSEmmanuel Vadot	/*I0-I7*/	"","","","power-button","","","","",
490f126890aSEmmanuel Vadot	/*J0-J7*/	"","","","","","","","",
491f126890aSEmmanuel Vadot	/*K0-K7*/	"","","","","","","","",
492f126890aSEmmanuel Vadot	/*L0-L7*/	"","","","","","","","",
493f126890aSEmmanuel Vadot	/*M0-M7*/	"","","","","","","","",
494f126890aSEmmanuel Vadot	/*N0-N7*/	"","","","","","","","",
495f126890aSEmmanuel Vadot	/*O0-O7*/	"","","","","iso_u164_en","","fsi-trans","",
496f126890aSEmmanuel Vadot	/*P0-P7*/	"ncsi_mux_en_n","bmc_i2c2_sw_rst_n","","bmc_i2c5_sw_rst_n","",
497f126890aSEmmanuel Vadot				"","fsi-mux","",
498f126890aSEmmanuel Vadot	/*Q0-Q7*/	"","","","","","","","",
499f126890aSEmmanuel Vadot	/*R0-R7*/	"","","","","","","","",
500f126890aSEmmanuel Vadot	/*S0-S7*/	"","","","","","","","",
501f126890aSEmmanuel Vadot	/*T0-T7*/	"","","","","","","","",
502f126890aSEmmanuel Vadot	/*U0-U7*/	"","","","","","","","",
503f126890aSEmmanuel Vadot	/*V0-V7*/	"","","","","","","","",
504f126890aSEmmanuel Vadot	/*W0-W7*/	"","","","","","","","",
505f126890aSEmmanuel Vadot	/*X0-X7*/	"","","","","","","","",
506f126890aSEmmanuel Vadot	/*Y0-Y7*/	"","","","","","","","",
507f126890aSEmmanuel Vadot	/*Z0-Z7*/	"","","","","","","","",
508f126890aSEmmanuel Vadot	/*AA0-AA7*/	"","","led-hdd-fault","","","","","",
509f126890aSEmmanuel Vadot	/*AB0-AB7*/	"","","","","","","","",
510f126890aSEmmanuel Vadot	/*AC0-AC7*/	"","","","","","","","";
511f126890aSEmmanuel Vadot
512f126890aSEmmanuel Vadot	line_iso_u146_en {
513f126890aSEmmanuel Vadot		gpio-hog;
514f126890aSEmmanuel Vadot		gpios = <ASPEED_GPIO(O, 4) GPIO_ACTIVE_HIGH>;
515f126890aSEmmanuel Vadot		output-high;
516f126890aSEmmanuel Vadot	};
517f126890aSEmmanuel Vadot
518f126890aSEmmanuel Vadot	ncsi_mux_en_n {
519f126890aSEmmanuel Vadot		gpio-hog;
520f126890aSEmmanuel Vadot		gpios = <ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
521f126890aSEmmanuel Vadot		output-low;
522f126890aSEmmanuel Vadot	};
523f126890aSEmmanuel Vadot
524f126890aSEmmanuel Vadot	line_bmc_i2c2_sw_rst_n {
525f126890aSEmmanuel Vadot		gpio-hog;
526f126890aSEmmanuel Vadot		gpios = <ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
527f126890aSEmmanuel Vadot		output-high;
528f126890aSEmmanuel Vadot	};
529f126890aSEmmanuel Vadot
530f126890aSEmmanuel Vadot	line_bmc_i2c5_sw_rst_n {
531f126890aSEmmanuel Vadot		gpio-hog;
532f126890aSEmmanuel Vadot		gpios = <ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>;
533f126890aSEmmanuel Vadot		output-high;
534f126890aSEmmanuel Vadot	};
535f126890aSEmmanuel Vadot};
536f126890aSEmmanuel Vadot
537f126890aSEmmanuel Vadot&vuart {
538f126890aSEmmanuel Vadot	status = "okay";
539f126890aSEmmanuel Vadot};
540f126890aSEmmanuel Vadot
541f126890aSEmmanuel Vadot&gfx {
542f126890aSEmmanuel Vadot	status = "okay";
543f126890aSEmmanuel Vadot};
544f126890aSEmmanuel Vadot
545f126890aSEmmanuel Vadot&pwm_tacho {
546f126890aSEmmanuel Vadot	status = "okay";
547f126890aSEmmanuel Vadot	pinctrl-names = "default";
548f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
549f126890aSEmmanuel Vadot		&pinctrl_pwm2_default &pinctrl_pwm3_default>;
550f126890aSEmmanuel Vadot
551f126890aSEmmanuel Vadot	fan@0 {
552f126890aSEmmanuel Vadot		reg = <0x00>;
553f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x00>;
554f126890aSEmmanuel Vadot	};
555f126890aSEmmanuel Vadot
556f126890aSEmmanuel Vadot	fan@1 {
557f126890aSEmmanuel Vadot		reg = <0x01>;
558f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x01>;
559f126890aSEmmanuel Vadot	};
560f126890aSEmmanuel Vadot
561f126890aSEmmanuel Vadot	fan@2 {
562f126890aSEmmanuel Vadot		reg = <0x02>;
563f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x02>;
564f126890aSEmmanuel Vadot	};
565f126890aSEmmanuel Vadot
566f126890aSEmmanuel Vadot	fan@3 {
567f126890aSEmmanuel Vadot		reg = <0x03>;
568f126890aSEmmanuel Vadot		aspeed,fan-tach-ch = /bits/ 8 <0x03>;
569f126890aSEmmanuel Vadot	};
570f126890aSEmmanuel Vadot};
571f126890aSEmmanuel Vadot
572f126890aSEmmanuel Vadot&ibt {
573f126890aSEmmanuel Vadot	status = "okay";
574f126890aSEmmanuel Vadot};
575f126890aSEmmanuel Vadot
576f126890aSEmmanuel Vadot#include "ibm-power9-dual.dtsi"
577