xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mp-debix-model-a.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1cb7aa33aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2cb7aa33aSEmmanuel Vadot/*
3cb7aa33aSEmmanuel Vadot * Copyright 2019 NXP
4cb7aa33aSEmmanuel Vadot * Copyright 2022 Ideas on Board Oy
5cb7aa33aSEmmanuel Vadot */
6cb7aa33aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadot/dts-v1/;
8cb7aa33aSEmmanuel Vadot
9cb7aa33aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10cb7aa33aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
11cb7aa33aSEmmanuel Vadot#include <dt-bindings/usb/pd.h>
12cb7aa33aSEmmanuel Vadot
13cb7aa33aSEmmanuel Vadot#include "imx8mp.dtsi"
14cb7aa33aSEmmanuel Vadot
15cb7aa33aSEmmanuel Vadot/ {
16cb7aa33aSEmmanuel Vadot	model = "Polyhex Debix Model A i.MX8MPlus board";
17cb7aa33aSEmmanuel Vadot	compatible = "polyhex,imx8mp-debix-model-a", "polyhex,imx8mp-debix", "fsl,imx8mp";
18cb7aa33aSEmmanuel Vadot
19cb7aa33aSEmmanuel Vadot	chosen {
20cb7aa33aSEmmanuel Vadot		stdout-path = &uart2;
21cb7aa33aSEmmanuel Vadot	};
22cb7aa33aSEmmanuel Vadot
23cb7aa33aSEmmanuel Vadot	leds {
24cb7aa33aSEmmanuel Vadot		compatible = "gpio-leds";
25cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
26cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_led>;
27cb7aa33aSEmmanuel Vadot
28cb7aa33aSEmmanuel Vadot		led-0 {
29cb7aa33aSEmmanuel Vadot			function = LED_FUNCTION_POWER;
30cb7aa33aSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
31cb7aa33aSEmmanuel Vadot			gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
32cb7aa33aSEmmanuel Vadot			default-state = "on";
33cb7aa33aSEmmanuel Vadot		};
34cb7aa33aSEmmanuel Vadot	};
35cb7aa33aSEmmanuel Vadot
36cb7aa33aSEmmanuel Vadot	reg_usdhc2_vmmc: regulator-usdhc2 {
37cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
38cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
39cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
40cb7aa33aSEmmanuel Vadot		regulator-name = "VSD_3V3";
41cb7aa33aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
42cb7aa33aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
43cb7aa33aSEmmanuel Vadot		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
44cb7aa33aSEmmanuel Vadot		enable-active-high;
45cb7aa33aSEmmanuel Vadot	};
46fac71e4eSEmmanuel Vadot
47fac71e4eSEmmanuel Vadot	reg_usb_hub: regulator-usb-hub {
48fac71e4eSEmmanuel Vadot		compatible = "regulator-fixed";
49fac71e4eSEmmanuel Vadot		pinctrl-names = "default";
50fac71e4eSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usb_hub>;
51fac71e4eSEmmanuel Vadot		regulator-name = "USB_HUB";
52fac71e4eSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
53fac71e4eSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
54fac71e4eSEmmanuel Vadot		gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
55fac71e4eSEmmanuel Vadot		enable-active-high;
56fac71e4eSEmmanuel Vadot	};
57cb7aa33aSEmmanuel Vadot};
58cb7aa33aSEmmanuel Vadot
59cb7aa33aSEmmanuel Vadot&A53_0 {
60cb7aa33aSEmmanuel Vadot	cpu-supply = <&buck2>;
61cb7aa33aSEmmanuel Vadot};
62cb7aa33aSEmmanuel Vadot
63cb7aa33aSEmmanuel Vadot&A53_1 {
64cb7aa33aSEmmanuel Vadot	cpu-supply = <&buck2>;
65cb7aa33aSEmmanuel Vadot};
66cb7aa33aSEmmanuel Vadot
67cb7aa33aSEmmanuel Vadot&A53_2 {
68cb7aa33aSEmmanuel Vadot	cpu-supply = <&buck2>;
69cb7aa33aSEmmanuel Vadot};
70cb7aa33aSEmmanuel Vadot
71cb7aa33aSEmmanuel Vadot&A53_3 {
72cb7aa33aSEmmanuel Vadot	cpu-supply = <&buck2>;
73cb7aa33aSEmmanuel Vadot};
74cb7aa33aSEmmanuel Vadot
75cb7aa33aSEmmanuel Vadot&eqos {
76cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
77cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_eqos>;
78*8d13bc63SEmmanuel Vadot	phy-mode = "rgmii-id";
79cb7aa33aSEmmanuel Vadot	phy-handle = <&ethphy0>;
80cb7aa33aSEmmanuel Vadot	status = "okay";
81cb7aa33aSEmmanuel Vadot
82cb7aa33aSEmmanuel Vadot	mdio {
83cb7aa33aSEmmanuel Vadot		compatible = "snps,dwmac-mdio";
84cb7aa33aSEmmanuel Vadot		#address-cells = <1>;
85cb7aa33aSEmmanuel Vadot		#size-cells = <0>;
86cb7aa33aSEmmanuel Vadot
87cb7aa33aSEmmanuel Vadot		ethphy0: ethernet-phy@0 { /* RTL8211E */
88cb7aa33aSEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
89cb7aa33aSEmmanuel Vadot			reg = <0>;
90cb7aa33aSEmmanuel Vadot			reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
91cb7aa33aSEmmanuel Vadot			reset-assert-us = <20>;
92cb7aa33aSEmmanuel Vadot			reset-deassert-us = <200000>;
93cb7aa33aSEmmanuel Vadot		};
94cb7aa33aSEmmanuel Vadot	};
95cb7aa33aSEmmanuel Vadot};
96cb7aa33aSEmmanuel Vadot
97cb7aa33aSEmmanuel Vadot&i2c1 {
98cb7aa33aSEmmanuel Vadot	clock-frequency = <400000>;
99cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
100cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
101cb7aa33aSEmmanuel Vadot	status = "okay";
102cb7aa33aSEmmanuel Vadot
103cb7aa33aSEmmanuel Vadot	pmic@25 {
104cb7aa33aSEmmanuel Vadot		compatible = "nxp,pca9450c";
105cb7aa33aSEmmanuel Vadot		reg = <0x25>;
106cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
107cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
108cb7aa33aSEmmanuel Vadot		interrupt-parent = <&gpio1>;
109cb7aa33aSEmmanuel Vadot		interrupts = <3 IRQ_TYPE_EDGE_RISING>;
110cb7aa33aSEmmanuel Vadot
111cb7aa33aSEmmanuel Vadot		regulators {
112cb7aa33aSEmmanuel Vadot			buck1: BUCK1 {
113cb7aa33aSEmmanuel Vadot				regulator-name = "BUCK1";
114cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <600000>;
115cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <2187500>;
116cb7aa33aSEmmanuel Vadot				regulator-boot-on;
117cb7aa33aSEmmanuel Vadot				regulator-always-on;
118cb7aa33aSEmmanuel Vadot				regulator-ramp-delay = <3125>;
119cb7aa33aSEmmanuel Vadot			};
120cb7aa33aSEmmanuel Vadot
121cb7aa33aSEmmanuel Vadot			buck2: BUCK2 {
122cb7aa33aSEmmanuel Vadot				regulator-name = "BUCK2";
123cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <600000>;
124cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <2187500>;
125cb7aa33aSEmmanuel Vadot				regulator-boot-on;
126cb7aa33aSEmmanuel Vadot				regulator-always-on;
127cb7aa33aSEmmanuel Vadot				regulator-ramp-delay = <3125>;
128cb7aa33aSEmmanuel Vadot				nxp,dvs-run-voltage = <950000>;
129cb7aa33aSEmmanuel Vadot				nxp,dvs-standby-voltage = <850000>;
130cb7aa33aSEmmanuel Vadot			};
131cb7aa33aSEmmanuel Vadot
132cb7aa33aSEmmanuel Vadot			buck4: BUCK4 {
133cb7aa33aSEmmanuel Vadot				regulator-name = "BUCK4";
134cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <600000>;
135cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <3400000>;
136cb7aa33aSEmmanuel Vadot				regulator-boot-on;
137cb7aa33aSEmmanuel Vadot				regulator-always-on;
138cb7aa33aSEmmanuel Vadot			};
139cb7aa33aSEmmanuel Vadot
140cb7aa33aSEmmanuel Vadot			buck5: BUCK5 {
141cb7aa33aSEmmanuel Vadot				regulator-name = "BUCK5";
142cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <600000>;
143cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <3400000>;
144cb7aa33aSEmmanuel Vadot				regulator-boot-on;
145cb7aa33aSEmmanuel Vadot				regulator-always-on;
146cb7aa33aSEmmanuel Vadot			};
147cb7aa33aSEmmanuel Vadot
148cb7aa33aSEmmanuel Vadot			buck6: BUCK6 {
149cb7aa33aSEmmanuel Vadot				regulator-name = "BUCK6";
150cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <600000>;
151cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <3400000>;
152cb7aa33aSEmmanuel Vadot				regulator-boot-on;
153cb7aa33aSEmmanuel Vadot				regulator-always-on;
154cb7aa33aSEmmanuel Vadot			};
155cb7aa33aSEmmanuel Vadot
156cb7aa33aSEmmanuel Vadot			ldo1: LDO1 {
157cb7aa33aSEmmanuel Vadot				regulator-name = "LDO1";
158cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <1600000>;
159cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
160cb7aa33aSEmmanuel Vadot				regulator-boot-on;
161cb7aa33aSEmmanuel Vadot				regulator-always-on;
162cb7aa33aSEmmanuel Vadot			};
163cb7aa33aSEmmanuel Vadot
164cb7aa33aSEmmanuel Vadot			ldo2: LDO2 {
165cb7aa33aSEmmanuel Vadot				regulator-name = "LDO2";
166cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
167cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <1150000>;
168cb7aa33aSEmmanuel Vadot				regulator-boot-on;
169cb7aa33aSEmmanuel Vadot				regulator-always-on;
170cb7aa33aSEmmanuel Vadot			};
171cb7aa33aSEmmanuel Vadot
172cb7aa33aSEmmanuel Vadot			ldo3: LDO3 {
173cb7aa33aSEmmanuel Vadot				regulator-name = "LDO3";
174cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
175cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
176cb7aa33aSEmmanuel Vadot				regulator-boot-on;
177cb7aa33aSEmmanuel Vadot				regulator-always-on;
178cb7aa33aSEmmanuel Vadot			};
179cb7aa33aSEmmanuel Vadot
180cb7aa33aSEmmanuel Vadot			ldo4: LDO4 {
181cb7aa33aSEmmanuel Vadot				regulator-name = "LDO4";
182cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
183cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
184cb7aa33aSEmmanuel Vadot				regulator-boot-on;
185cb7aa33aSEmmanuel Vadot				regulator-always-on;
186cb7aa33aSEmmanuel Vadot			};
187cb7aa33aSEmmanuel Vadot
188cb7aa33aSEmmanuel Vadot			ldo5: LDO5 {
189cb7aa33aSEmmanuel Vadot				regulator-name = "LDO5";
190cb7aa33aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
191cb7aa33aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
192cb7aa33aSEmmanuel Vadot				regulator-boot-on;
193cb7aa33aSEmmanuel Vadot				regulator-always-on;
194cb7aa33aSEmmanuel Vadot			};
195cb7aa33aSEmmanuel Vadot		};
196cb7aa33aSEmmanuel Vadot	};
197cb7aa33aSEmmanuel Vadot};
198cb7aa33aSEmmanuel Vadot
199cb7aa33aSEmmanuel Vadot&i2c2 {
200cb7aa33aSEmmanuel Vadot	clock-frequency = <100000>;
201cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
202cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
203cb7aa33aSEmmanuel Vadot	status = "okay";
204cb7aa33aSEmmanuel Vadot};
205cb7aa33aSEmmanuel Vadot
206cb7aa33aSEmmanuel Vadot&i2c3 {
207cb7aa33aSEmmanuel Vadot	clock-frequency = <400000>;
208cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
209cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
210cb7aa33aSEmmanuel Vadot	status = "okay";
211cb7aa33aSEmmanuel Vadot};
212cb7aa33aSEmmanuel Vadot
213cb7aa33aSEmmanuel Vadot&i2c4 {
214cb7aa33aSEmmanuel Vadot	clock-frequency = <100000>;
215cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
216cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c4>;
217cb7aa33aSEmmanuel Vadot	status = "okay";
218cb7aa33aSEmmanuel Vadot
219cb7aa33aSEmmanuel Vadot	eeprom@50 {
220cb7aa33aSEmmanuel Vadot		compatible = "atmel,24c02";
221cb7aa33aSEmmanuel Vadot		reg = <0x50>;
222cb7aa33aSEmmanuel Vadot		pagesize = <16>;
223cb7aa33aSEmmanuel Vadot	};
224cb7aa33aSEmmanuel Vadot
225cb7aa33aSEmmanuel Vadot	rtc@51 {
226cb7aa33aSEmmanuel Vadot		compatible = "haoyu,hym8563";
227cb7aa33aSEmmanuel Vadot		reg = <0x51>;
228cb7aa33aSEmmanuel Vadot		#clock-cells = <0>;
229cb7aa33aSEmmanuel Vadot		clock-output-names = "xin32k";
230cb7aa33aSEmmanuel Vadot		interrupt-parent = <&gpio2>;
231cb7aa33aSEmmanuel Vadot		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
232cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
233cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_rtc_int>;
234cb7aa33aSEmmanuel Vadot	};
235cb7aa33aSEmmanuel Vadot};
236cb7aa33aSEmmanuel Vadot
237cb7aa33aSEmmanuel Vadot&i2c6 {
238cb7aa33aSEmmanuel Vadot	clock-frequency = <400000>;
239cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
240cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c6>;
241cb7aa33aSEmmanuel Vadot	status = "okay";
242cb7aa33aSEmmanuel Vadot};
243cb7aa33aSEmmanuel Vadot
244cb7aa33aSEmmanuel Vadot&snvs_pwrkey {
245cb7aa33aSEmmanuel Vadot	status = "okay";
246cb7aa33aSEmmanuel Vadot};
247cb7aa33aSEmmanuel Vadot
248cb7aa33aSEmmanuel Vadot&uart2 {
249cb7aa33aSEmmanuel Vadot	/* console */
250cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
251cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
252cb7aa33aSEmmanuel Vadot	status = "okay";
253cb7aa33aSEmmanuel Vadot};
254cb7aa33aSEmmanuel Vadot
255cb7aa33aSEmmanuel Vadot&uart3 {
256cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
257cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
258cb7aa33aSEmmanuel Vadot	status = "okay";
259cb7aa33aSEmmanuel Vadot};
260cb7aa33aSEmmanuel Vadot
261cb7aa33aSEmmanuel Vadot&uart4 {
262cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
263cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
264cb7aa33aSEmmanuel Vadot	status = "okay";
265cb7aa33aSEmmanuel Vadot};
266cb7aa33aSEmmanuel Vadot
267fac71e4eSEmmanuel Vadot&usb3_phy1 {
268fac71e4eSEmmanuel Vadot	status = "okay";
269fac71e4eSEmmanuel Vadot};
270fac71e4eSEmmanuel Vadot
271fac71e4eSEmmanuel Vadot&usb3_1 {
272fac71e4eSEmmanuel Vadot	status = "okay";
273fac71e4eSEmmanuel Vadot};
274fac71e4eSEmmanuel Vadot
275fac71e4eSEmmanuel Vadot&usb_dwc3_1 {
276fac71e4eSEmmanuel Vadot	#address-cells = <1>;
277fac71e4eSEmmanuel Vadot	#size-cells = <0>;
278fac71e4eSEmmanuel Vadot	pinctrl-names = "default";
279fac71e4eSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb1>;
280fac71e4eSEmmanuel Vadot	dr_mode = "host";
281fac71e4eSEmmanuel Vadot	status = "okay";
282fac71e4eSEmmanuel Vadot
283fac71e4eSEmmanuel Vadot	/* 2.x hub on port 1 */
284fac71e4eSEmmanuel Vadot	usb_hub_2_x: hub@1 {
285fac71e4eSEmmanuel Vadot		compatible = "usbbda,5411";
286fac71e4eSEmmanuel Vadot		reg = <1>;
287fac71e4eSEmmanuel Vadot		vdd-supply = <&reg_usb_hub>;
288fac71e4eSEmmanuel Vadot		peer-hub = <&usb_hub_3_x>;
289fac71e4eSEmmanuel Vadot	};
290fac71e4eSEmmanuel Vadot
291fac71e4eSEmmanuel Vadot	/* 3.x hub on port 2 */
292fac71e4eSEmmanuel Vadot	usb_hub_3_x: hub@2 {
293fac71e4eSEmmanuel Vadot		compatible = "usbbda,411";
294fac71e4eSEmmanuel Vadot		reg = <2>;
295fac71e4eSEmmanuel Vadot		vdd-supply = <&reg_usb_hub>;
296fac71e4eSEmmanuel Vadot		peer-hub = <&usb_hub_2_x>;
297fac71e4eSEmmanuel Vadot	};
298fac71e4eSEmmanuel Vadot};
299fac71e4eSEmmanuel Vadot
300cb7aa33aSEmmanuel Vadot/* SD Card */
301cb7aa33aSEmmanuel Vadot&usdhc2 {
302cb7aa33aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
303cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
304cb7aa33aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
305cb7aa33aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
306cb7aa33aSEmmanuel Vadot	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
307cb7aa33aSEmmanuel Vadot	vmmc-supply = <&reg_usdhc2_vmmc>;
308cb7aa33aSEmmanuel Vadot	bus-width = <4>;
309cb7aa33aSEmmanuel Vadot	status = "okay";
310cb7aa33aSEmmanuel Vadot};
311cb7aa33aSEmmanuel Vadot
312cb7aa33aSEmmanuel Vadot/* eMMC */
313cb7aa33aSEmmanuel Vadot&usdhc3 {
314cb7aa33aSEmmanuel Vadot	assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
315cb7aa33aSEmmanuel Vadot	assigned-clock-rates = <400000000>;
316cb7aa33aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
317cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
318cb7aa33aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
319cb7aa33aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
320cb7aa33aSEmmanuel Vadot	bus-width = <8>;
321cb7aa33aSEmmanuel Vadot	non-removable;
322cb7aa33aSEmmanuel Vadot	status = "okay";
323cb7aa33aSEmmanuel Vadot};
324cb7aa33aSEmmanuel Vadot
325cb7aa33aSEmmanuel Vadot&wdog1 {
326cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
327cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
328cb7aa33aSEmmanuel Vadot	fsl,ext-reset-output;
329cb7aa33aSEmmanuel Vadot	status = "okay";
330cb7aa33aSEmmanuel Vadot};
331cb7aa33aSEmmanuel Vadot
332cb7aa33aSEmmanuel Vadot&iomuxc {
333cb7aa33aSEmmanuel Vadot	pinctrl_eqos: eqosgrp {
334cb7aa33aSEmmanuel Vadot		fsl,pins = <
335cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC				0x3
336cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO				0x3
337cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0			0x91
338cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1			0x91
339cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2			0x91
340cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3			0x91
341cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK	0x91
342cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL			0x91
343cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0			0x1f
344cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1			0x1f
345cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2			0x1f
346cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3			0x1f
347cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL			0x1f
348cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x1f
349cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN			0x1f
350cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT			0x1f
351cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SAI1_TXD6__GPIO4_IO18				0x19
352cb7aa33aSEmmanuel Vadot		>;
353cb7aa33aSEmmanuel Vadot	};
354cb7aa33aSEmmanuel Vadot
355cb7aa33aSEmmanuel Vadot	pinctrl_gpio_led: gpioledgrp {
356cb7aa33aSEmmanuel Vadot		fsl,pins = <
357cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16				0x19
358cb7aa33aSEmmanuel Vadot		>;
359cb7aa33aSEmmanuel Vadot	};
360cb7aa33aSEmmanuel Vadot
361cb7aa33aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
362cb7aa33aSEmmanuel Vadot		fsl,pins = <
363cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL					0x400001c2
364cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA					0x400001c2
365cb7aa33aSEmmanuel Vadot		>;
366cb7aa33aSEmmanuel Vadot	};
367cb7aa33aSEmmanuel Vadot
368cb7aa33aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
369cb7aa33aSEmmanuel Vadot		fsl,pins = <
370cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL					0x400001c2
371cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA					0x400001c2
372cb7aa33aSEmmanuel Vadot		>;
373cb7aa33aSEmmanuel Vadot	};
374cb7aa33aSEmmanuel Vadot
375cb7aa33aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
376cb7aa33aSEmmanuel Vadot		fsl,pins = <
377cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL					0x400001c2
378cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA					0x400001c2
379cb7aa33aSEmmanuel Vadot		>;
380cb7aa33aSEmmanuel Vadot	};
381cb7aa33aSEmmanuel Vadot
382cb7aa33aSEmmanuel Vadot	pinctrl_i2c4: i2c4grp {
383cb7aa33aSEmmanuel Vadot		fsl,pins = <
384cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL					0x400001c3
385cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA					0x400001c3
386cb7aa33aSEmmanuel Vadot		>;
387cb7aa33aSEmmanuel Vadot	};
388cb7aa33aSEmmanuel Vadot
389cb7aa33aSEmmanuel Vadot	pinctrl_i2c6: i2c6grp {
390cb7aa33aSEmmanuel Vadot		fsl,pins = <
391cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SAI5_RXFS__I2C6_SCL				0x400001c3
392cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SAI5_RXC__I2C6_SDA					0x400001c3
393cb7aa33aSEmmanuel Vadot		>;
394cb7aa33aSEmmanuel Vadot	};
395cb7aa33aSEmmanuel Vadot
396cb7aa33aSEmmanuel Vadot	pinctrl_pmic: pmicirqgrp {
397cb7aa33aSEmmanuel Vadot		fsl,pins = <
398cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03				0x41
399cb7aa33aSEmmanuel Vadot		>;
400cb7aa33aSEmmanuel Vadot	};
401cb7aa33aSEmmanuel Vadot
402cb7aa33aSEmmanuel Vadot	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
403cb7aa33aSEmmanuel Vadot		fsl,pins = <
404cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19				0x41
405cb7aa33aSEmmanuel Vadot		>;
406cb7aa33aSEmmanuel Vadot	};
407cb7aa33aSEmmanuel Vadot
408fac71e4eSEmmanuel Vadot	pinctrl_reg_usb_hub: regusbhubgrp {
409fac71e4eSEmmanuel Vadot		fsl,pins = <
410fac71e4eSEmmanuel Vadot			MX8MP_IOMUXC_SAI2_TXD0__GPIO4_IO26				0x19
411fac71e4eSEmmanuel Vadot		>;
412fac71e4eSEmmanuel Vadot	};
413fac71e4eSEmmanuel Vadot
414cb7aa33aSEmmanuel Vadot	pinctrl_rtc_int: rtcintgrp {
415cb7aa33aSEmmanuel Vadot		fsl,pins = <
416cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11				0x140
417cb7aa33aSEmmanuel Vadot		>;
418cb7aa33aSEmmanuel Vadot	};
419cb7aa33aSEmmanuel Vadot
420cb7aa33aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
421cb7aa33aSEmmanuel Vadot		fsl,pins = <
422cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX				0x14f
423cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX				0x14f
424cb7aa33aSEmmanuel Vadot		>;
425cb7aa33aSEmmanuel Vadot	};
426cb7aa33aSEmmanuel Vadot
427cb7aa33aSEmmanuel Vadot	pinctrl_uart3: uart3grp {
428cb7aa33aSEmmanuel Vadot		fsl,pins = <
429cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_UART3_RXD__UART3_DCE_RX				0x49
430cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_UART3_TXD__UART3_DCE_TX				0x49
431cb7aa33aSEmmanuel Vadot		>;
432cb7aa33aSEmmanuel Vadot	};
433cb7aa33aSEmmanuel Vadot
434cb7aa33aSEmmanuel Vadot	pinctrl_uart4: uart4grp {
435cb7aa33aSEmmanuel Vadot		fsl,pins = <
436cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX				0x49
437cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX				0x49
438cb7aa33aSEmmanuel Vadot		>;
439cb7aa33aSEmmanuel Vadot	};
440cb7aa33aSEmmanuel Vadot
441fac71e4eSEmmanuel Vadot	pinctrl_usb1: usb1grp {
442fac71e4eSEmmanuel Vadot		fsl,pins = <
443fac71e4eSEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR				0x10
444fac71e4eSEmmanuel Vadot		>;
445fac71e4eSEmmanuel Vadot	};
446fac71e4eSEmmanuel Vadot
447cb7aa33aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
448cb7aa33aSEmmanuel Vadot		fsl,pins = <
449cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK				0x190
450cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD				0x1d0
451cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0				0x1d0
452cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1				0x1d0
453cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2				0x1d0
454cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3				0x1d0
455cb7aa33aSEmmanuel Vadot		>;
456cb7aa33aSEmmanuel Vadot	};
457cb7aa33aSEmmanuel Vadot
458cb7aa33aSEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
459cb7aa33aSEmmanuel Vadot		fsl,pins = <
460cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK				0x194
461cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD				0x1d4
462cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0				0x1d4
463cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1				0x1d4
464cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2				0x1d4
465cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3				0x1d4
466cb7aa33aSEmmanuel Vadot		>;
467cb7aa33aSEmmanuel Vadot	};
468cb7aa33aSEmmanuel Vadot
469cb7aa33aSEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
470cb7aa33aSEmmanuel Vadot		fsl,pins = <
471cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK				0x196
472cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD				0x1d6
473cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0				0x1d6
474cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1				0x1d6
475cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2				0x1d6
476cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3				0x1d6
477cb7aa33aSEmmanuel Vadot		>;
478cb7aa33aSEmmanuel Vadot	};
479cb7aa33aSEmmanuel Vadot
480cb7aa33aSEmmanuel Vadot	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
481cb7aa33aSEmmanuel Vadot		fsl,pins = <
482cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12				0x1c4
483cb7aa33aSEmmanuel Vadot		>;
484cb7aa33aSEmmanuel Vadot	};
485cb7aa33aSEmmanuel Vadot
486cb7aa33aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
487cb7aa33aSEmmanuel Vadot		fsl,pins = <
488cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK				0x190
489cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD				0x1d0
490cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0				0x1d0
491cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1				0x1d0
492cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2				0x1d0
493cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3				0x1d0
494cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4				0x1d0
495cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5				0x1d0
496cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6				0x1d0
497cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7				0x1d0
498cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE				0x190
499cb7aa33aSEmmanuel Vadot		>;
500cb7aa33aSEmmanuel Vadot	};
501cb7aa33aSEmmanuel Vadot
502cb7aa33aSEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
503cb7aa33aSEmmanuel Vadot		fsl,pins = <
504cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK				0x194
505cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD				0x1d4
506cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0				0x1d4
507cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1				0x1d4
508cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2				0x1d4
509cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3				0x1d4
510cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4				0x1d4
511cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5				0x1d4
512cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6				0x1d4
513cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7				0x1d4
514cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE				0x194
515cb7aa33aSEmmanuel Vadot		>;
516cb7aa33aSEmmanuel Vadot	};
517cb7aa33aSEmmanuel Vadot
518cb7aa33aSEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
519cb7aa33aSEmmanuel Vadot		fsl,pins = <
520cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK				0x196
521cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD				0x1d6
522cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0				0x1d6
523cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1				0x1d6
524cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2				0x1d6
525cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3				0x1d6
526cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4				0x1d6
527cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5				0x1d6
528cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6				0x1d6
529cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7				0x1d6
530cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE				0x196
531cb7aa33aSEmmanuel Vadot		>;
532cb7aa33aSEmmanuel Vadot	};
533cb7aa33aSEmmanuel Vadot
534cb7aa33aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
535cb7aa33aSEmmanuel Vadot		fsl,pins = <
536cb7aa33aSEmmanuel Vadot			MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B				0xc6
537cb7aa33aSEmmanuel Vadot		>;
538cb7aa33aSEmmanuel Vadot	};
539cb7aa33aSEmmanuel Vadot};
540