xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mq-evk.dts (revision d367e7d3351edc526133e4bd258dac2dd0b4ef4f)
19079aca4SLucas Stach// SPDX-License-Identifier: (GPL-2.0 OR MIT)
29079aca4SLucas Stach/*
39079aca4SLucas Stach * Copyright 2017 NXP
49079aca4SLucas Stach * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de>
59079aca4SLucas Stach */
69079aca4SLucas Stach
79079aca4SLucas Stach/dts-v1/;
89079aca4SLucas Stach
99079aca4SLucas Stach#include "imx8mq.dtsi"
109079aca4SLucas Stach
119079aca4SLucas Stach/ {
129079aca4SLucas Stach	model = "NXP i.MX8MQ EVK";
139079aca4SLucas Stach	compatible = "fsl,imx8mq-evk", "fsl,imx8mq";
149079aca4SLucas Stach
159079aca4SLucas Stach	chosen {
169079aca4SLucas Stach		stdout-path = &uart1;
179079aca4SLucas Stach	};
189079aca4SLucas Stach
199079aca4SLucas Stach	memory@40000000 {
209079aca4SLucas Stach		device_type = "memory";
219079aca4SLucas Stach		reg = <0x00000000 0x40000000 0 0xc0000000>;
229079aca4SLucas Stach	};
239079aca4SLucas Stach
24cdfdea07SAndrey Smirnov	pcie0_refclk: pcie0-refclk {
25cdfdea07SAndrey Smirnov		compatible = "fixed-clock";
26cdfdea07SAndrey Smirnov		#clock-cells = <0>;
27cdfdea07SAndrey Smirnov		clock-frequency = <100000000>;
28cdfdea07SAndrey Smirnov	};
29cdfdea07SAndrey Smirnov
309079aca4SLucas Stach	reg_usdhc2_vmmc: regulator-vsd-3v3 {
319079aca4SLucas Stach		pinctrl-names = "default";
329079aca4SLucas Stach		pinctrl-0 = <&pinctrl_reg_usdhc2>;
339079aca4SLucas Stach		compatible = "regulator-fixed";
349079aca4SLucas Stach		regulator-name = "VSD_3V3";
359079aca4SLucas Stach		regulator-min-microvolt = <3300000>;
369079aca4SLucas Stach		regulator-max-microvolt = <3300000>;
379079aca4SLucas Stach		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
389079aca4SLucas Stach		enable-active-high;
399079aca4SLucas Stach	};
409b87ebb1SAbel Vesa
419b87ebb1SAbel Vesa	buck2_reg: regulator-buck2 {
429b87ebb1SAbel Vesa		pinctrl-names = "default";
439b87ebb1SAbel Vesa		pinctrl-0 = <&pinctrl_buck2>;
449b87ebb1SAbel Vesa		compatible = "regulator-gpio";
459b87ebb1SAbel Vesa		regulator-name = "vdd_arm";
469b87ebb1SAbel Vesa		regulator-min-microvolt = <900000>;
479b87ebb1SAbel Vesa		regulator-max-microvolt = <1000000>;
489b87ebb1SAbel Vesa		gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
499b87ebb1SAbel Vesa		states = <1000000 0x0
509b87ebb1SAbel Vesa			  900000 0x1>;
5113645b1aSAnson Huang		regulator-boot-on;
5213645b1aSAnson Huang		regulator-always-on;
539b87ebb1SAbel Vesa	};
54c6578d98SDaniel Baluta
55431e4628SRogerio Pimentel da Silva	ir-receiver {
56431e4628SRogerio Pimentel da Silva		compatible = "gpio-ir-receiver";
57431e4628SRogerio Pimentel da Silva		gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
58431e4628SRogerio Pimentel da Silva		pinctrl-names = "default";
59431e4628SRogerio Pimentel da Silva		pinctrl-0 = <&pinctrl_ir>;
60431e4628SRogerio Pimentel da Silva	};
61431e4628SRogerio Pimentel da Silva
62c6578d98SDaniel Baluta	wm8524: audio-codec {
63c6578d98SDaniel Baluta		#sound-dai-cells = <0>;
64c6578d98SDaniel Baluta		compatible = "wlf,wm8524";
65c6578d98SDaniel Baluta		wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
66c6578d98SDaniel Baluta	};
67c6578d98SDaniel Baluta
68c6578d98SDaniel Baluta	sound-wm8524 {
69c6578d98SDaniel Baluta		compatible = "simple-audio-card";
70c6578d98SDaniel Baluta		simple-audio-card,name = "wm8524-audio";
71c6578d98SDaniel Baluta		simple-audio-card,format = "i2s";
72c6578d98SDaniel Baluta		simple-audio-card,frame-master = <&cpudai>;
73c6578d98SDaniel Baluta		simple-audio-card,bitclock-master = <&cpudai>;
74c6578d98SDaniel Baluta		simple-audio-card,widgets =
75c6578d98SDaniel Baluta			"Line", "Left Line Out Jack",
76c6578d98SDaniel Baluta			"Line", "Right Line Out Jack";
77c6578d98SDaniel Baluta		simple-audio-card,routing =
78c6578d98SDaniel Baluta			"Left Line Out Jack", "LINEVOUTL",
79c6578d98SDaniel Baluta			"Right Line Out Jack", "LINEVOUTR";
80c6578d98SDaniel Baluta
81c6578d98SDaniel Baluta		cpudai: simple-audio-card,cpu {
82c6578d98SDaniel Baluta			sound-dai = <&sai2>;
83c6578d98SDaniel Baluta		};
84c6578d98SDaniel Baluta
85c6578d98SDaniel Baluta		link_codec: simple-audio-card,codec {
86c6578d98SDaniel Baluta			sound-dai = <&wm8524>;
87c6578d98SDaniel Baluta			clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>;
88c6578d98SDaniel Baluta		};
89c6578d98SDaniel Baluta	};
909b87ebb1SAbel Vesa};
919b87ebb1SAbel Vesa
929b87ebb1SAbel Vesa&A53_0 {
939b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
949b87ebb1SAbel Vesa};
959b87ebb1SAbel Vesa
969b87ebb1SAbel Vesa&A53_1 {
979b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
989b87ebb1SAbel Vesa};
999b87ebb1SAbel Vesa
1009b87ebb1SAbel Vesa&A53_2 {
1019b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
1029b87ebb1SAbel Vesa};
1039b87ebb1SAbel Vesa
1049b87ebb1SAbel Vesa&A53_3 {
1059b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
1069079aca4SLucas Stach};
1079079aca4SLucas Stach
1080376f6ecSLeonard Crestez&ddrc {
1090376f6ecSLeonard Crestez	operating-points-v2 = <&ddrc_opp_table>;
1100376f6ecSLeonard Crestez
1110376f6ecSLeonard Crestez	ddrc_opp_table: opp-table {
1120376f6ecSLeonard Crestez		compatible = "operating-points-v2";
1130376f6ecSLeonard Crestez
1140376f6ecSLeonard Crestez		opp-25M {
1150376f6ecSLeonard Crestez			opp-hz = /bits/ 64 <25000000>;
1160376f6ecSLeonard Crestez		};
1170376f6ecSLeonard Crestez
1180376f6ecSLeonard Crestez		opp-100M {
1190376f6ecSLeonard Crestez			opp-hz = /bits/ 64 <100000000>;
1200376f6ecSLeonard Crestez		};
1210376f6ecSLeonard Crestez
1220376f6ecSLeonard Crestez		/*
1230376f6ecSLeonard Crestez		 * On imx8mq B0 PLL can't be bypassed so low bus is 166M
1240376f6ecSLeonard Crestez		 */
1250376f6ecSLeonard Crestez		opp-166M {
1260376f6ecSLeonard Crestez			opp-hz = /bits/ 64 <166935483>;
1270376f6ecSLeonard Crestez		};
1280376f6ecSLeonard Crestez
1290376f6ecSLeonard Crestez		opp-800M {
1300376f6ecSLeonard Crestez			opp-hz = /bits/ 64 <800000000>;
1310376f6ecSLeonard Crestez		};
1320376f6ecSLeonard Crestez	};
1330376f6ecSLeonard Crestez};
1340376f6ecSLeonard Crestez
135*d367e7d3SFabio Estevam&dphy {
136*d367e7d3SFabio Estevam	status = "okay";
137*d367e7d3SFabio Estevam};
138*d367e7d3SFabio Estevam
1399079aca4SLucas Stach&fec1 {
1409079aca4SLucas Stach	pinctrl-names = "default";
1419079aca4SLucas Stach	pinctrl-0 = <&pinctrl_fec1>;
1429079aca4SLucas Stach	phy-mode = "rgmii-id";
14355b0b15aSCarlo Caione	phy-handle = <&ethphy0>;
144f196ef19SCarlo Caione	fsl,magic-packet;
1459079aca4SLucas Stach	status = "okay";
14655b0b15aSCarlo Caione
14755b0b15aSCarlo Caione	mdio {
14855b0b15aSCarlo Caione		#address-cells = <1>;
14955b0b15aSCarlo Caione		#size-cells = <0>;
15055b0b15aSCarlo Caione
15155b0b15aSCarlo Caione		ethphy0: ethernet-phy@0 {
15255b0b15aSCarlo Caione			compatible = "ethernet-phy-ieee802.3-c22";
15355b0b15aSCarlo Caione			reg = <0>;
154b73af7fcSKrzysztof Kozlowski			reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
155b73af7fcSKrzysztof Kozlowski			reset-assert-us = <10000>;
15655b0b15aSCarlo Caione		};
15755b0b15aSCarlo Caione	};
1589079aca4SLucas Stach};
1599079aca4SLucas Stach
160cdfdea07SAndrey Smirnov&gpio5 {
161cdfdea07SAndrey Smirnov	pinctrl-names = "default";
162cdfdea07SAndrey Smirnov	pinctrl-0 = <&pinctrl_wifi_reset>;
163cdfdea07SAndrey Smirnov
164878cc5a2SKrzysztof Kozlowski	wl-reg-on-hog {
165cdfdea07SAndrey Smirnov		gpio-hog;
166cdfdea07SAndrey Smirnov		gpios = <29 GPIO_ACTIVE_HIGH>;
167cdfdea07SAndrey Smirnov		output-high;
168cdfdea07SAndrey Smirnov	};
169cdfdea07SAndrey Smirnov};
170cdfdea07SAndrey Smirnov
1719079aca4SLucas Stach&i2c1 {
1729079aca4SLucas Stach	clock-frequency = <100000>;
1739079aca4SLucas Stach	pinctrl-names = "default";
1749079aca4SLucas Stach	pinctrl-0 = <&pinctrl_i2c1>;
1759079aca4SLucas Stach	status = "okay";
1769079aca4SLucas Stach
1779079aca4SLucas Stach	pmic@8 {
1789079aca4SLucas Stach		compatible = "fsl,pfuze100";
1799079aca4SLucas Stach		reg = <0x8>;
1809079aca4SLucas Stach
1819079aca4SLucas Stach		regulators {
1829079aca4SLucas Stach			sw1a_reg: sw1ab {
1839079aca4SLucas Stach				regulator-min-microvolt = <825000>;
1849079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
1859079aca4SLucas Stach			};
1869079aca4SLucas Stach
1879079aca4SLucas Stach			sw1c_reg: sw1c {
1889079aca4SLucas Stach				regulator-min-microvolt = <825000>;
1899079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
1909079aca4SLucas Stach			};
1919079aca4SLucas Stach
1929079aca4SLucas Stach			sw2_reg: sw2 {
1939079aca4SLucas Stach				regulator-min-microvolt = <1100000>;
1949079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
1959079aca4SLucas Stach				regulator-always-on;
1969079aca4SLucas Stach			};
1979079aca4SLucas Stach
1989079aca4SLucas Stach			sw3a_reg: sw3ab {
1999079aca4SLucas Stach				regulator-min-microvolt = <825000>;
2009079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
2019079aca4SLucas Stach				regulator-always-on;
2029079aca4SLucas Stach			};
2039079aca4SLucas Stach
2049079aca4SLucas Stach			sw4_reg: sw4 {
2059079aca4SLucas Stach				regulator-min-microvolt = <1800000>;
2069079aca4SLucas Stach				regulator-max-microvolt = <1800000>;
2079079aca4SLucas Stach				regulator-always-on;
2089079aca4SLucas Stach			};
2099079aca4SLucas Stach
2109079aca4SLucas Stach			swbst_reg: swbst {
2119079aca4SLucas Stach				regulator-min-microvolt = <5000000>;
2129079aca4SLucas Stach				regulator-max-microvolt = <5150000>;
2139079aca4SLucas Stach			};
2149079aca4SLucas Stach
2159079aca4SLucas Stach			snvs_reg: vsnvs {
2169079aca4SLucas Stach				regulator-min-microvolt = <1000000>;
2179079aca4SLucas Stach				regulator-max-microvolt = <3000000>;
2189079aca4SLucas Stach				regulator-always-on;
2199079aca4SLucas Stach			};
2209079aca4SLucas Stach
2219079aca4SLucas Stach			vref_reg: vrefddr {
2229079aca4SLucas Stach				regulator-always-on;
2239079aca4SLucas Stach			};
2249079aca4SLucas Stach
2259079aca4SLucas Stach			vgen1_reg: vgen1 {
2269079aca4SLucas Stach				regulator-min-microvolt = <800000>;
2279079aca4SLucas Stach				regulator-max-microvolt = <1550000>;
2289079aca4SLucas Stach			};
2299079aca4SLucas Stach
2309079aca4SLucas Stach			vgen2_reg: vgen2 {
2319079aca4SLucas Stach				regulator-min-microvolt = <850000>;
2329079aca4SLucas Stach				regulator-max-microvolt = <975000>;
2339079aca4SLucas Stach				regulator-always-on;
2349079aca4SLucas Stach			};
2359079aca4SLucas Stach
2369079aca4SLucas Stach			vgen3_reg: vgen3 {
2379079aca4SLucas Stach				regulator-min-microvolt = <1675000>;
2389079aca4SLucas Stach				regulator-max-microvolt = <1975000>;
2399079aca4SLucas Stach				regulator-always-on;
2409079aca4SLucas Stach			};
2419079aca4SLucas Stach
2429079aca4SLucas Stach			vgen4_reg: vgen4 {
2439079aca4SLucas Stach				regulator-min-microvolt = <1625000>;
2449079aca4SLucas Stach				regulator-max-microvolt = <1875000>;
2459079aca4SLucas Stach				regulator-always-on;
2469079aca4SLucas Stach			};
2479079aca4SLucas Stach
2489079aca4SLucas Stach			vgen5_reg: vgen5 {
2499079aca4SLucas Stach				regulator-min-microvolt = <3075000>;
2509079aca4SLucas Stach				regulator-max-microvolt = <3625000>;
2519079aca4SLucas Stach				regulator-always-on;
2529079aca4SLucas Stach			};
2539079aca4SLucas Stach
2549079aca4SLucas Stach			vgen6_reg: vgen6 {
2559079aca4SLucas Stach				regulator-min-microvolt = <1800000>;
2569079aca4SLucas Stach				regulator-max-microvolt = <3300000>;
2579079aca4SLucas Stach			};
2589079aca4SLucas Stach		};
2599079aca4SLucas Stach	};
2609079aca4SLucas Stach};
2619079aca4SLucas Stach
262*d367e7d3SFabio Estevam&lcdif {
263*d367e7d3SFabio Estevam	status = "okay";
264*d367e7d3SFabio Estevam};
265*d367e7d3SFabio Estevam
266*d367e7d3SFabio Estevam&mipi_dsi {
267*d367e7d3SFabio Estevam	#address-cells = <1>;
268*d367e7d3SFabio Estevam	#size-cells = <0>;
269*d367e7d3SFabio Estevam	status = "okay";
270*d367e7d3SFabio Estevam
271*d367e7d3SFabio Estevam	panel@0 {
272*d367e7d3SFabio Estevam		pinctrl-0 = <&pinctrl_mipi_dsi>;
273*d367e7d3SFabio Estevam		pinctrl-names = "default";
274*d367e7d3SFabio Estevam		compatible = "raydium,rm67191";
275*d367e7d3SFabio Estevam		reg = <0>;
276*d367e7d3SFabio Estevam		reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>;
277*d367e7d3SFabio Estevam		dsi-lanes = <4>;
278*d367e7d3SFabio Estevam
279*d367e7d3SFabio Estevam		port {
280*d367e7d3SFabio Estevam			panel_in: endpoint {
281*d367e7d3SFabio Estevam				remote-endpoint = <&mipi_dsi_out>;
282*d367e7d3SFabio Estevam			};
283*d367e7d3SFabio Estevam		};
284*d367e7d3SFabio Estevam	};
285*d367e7d3SFabio Estevam
286*d367e7d3SFabio Estevam	ports {
287*d367e7d3SFabio Estevam		port@1 {
288*d367e7d3SFabio Estevam			reg = <1>;
289*d367e7d3SFabio Estevam			mipi_dsi_out: endpoint {
290*d367e7d3SFabio Estevam				remote-endpoint = <&panel_in>;
291*d367e7d3SFabio Estevam			};
292*d367e7d3SFabio Estevam		};
293*d367e7d3SFabio Estevam	};
294*d367e7d3SFabio Estevam};
295*d367e7d3SFabio Estevam
296cdfdea07SAndrey Smirnov&pcie0 {
297cdfdea07SAndrey Smirnov	pinctrl-names = "default";
298cdfdea07SAndrey Smirnov	pinctrl-0 = <&pinctrl_pcie0>;
299cdfdea07SAndrey Smirnov	reset-gpio = <&gpio5 28 GPIO_ACTIVE_LOW>;
300cdfdea07SAndrey Smirnov	clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>,
301cdfdea07SAndrey Smirnov		 <&clk IMX8MQ_CLK_PCIE1_AUX>,
302cdfdea07SAndrey Smirnov		 <&clk IMX8MQ_CLK_PCIE1_PHY>,
303cdfdea07SAndrey Smirnov		 <&pcie0_refclk>;
304cdfdea07SAndrey Smirnov	clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
305cdfdea07SAndrey Smirnov	status = "okay";
306cdfdea07SAndrey Smirnov};
307cdfdea07SAndrey Smirnov
308eda73fc8SLucas Stach&pgc_gpu {
309eda73fc8SLucas Stach	power-supply = <&sw1a_reg>;
310eda73fc8SLucas Stach};
311eda73fc8SLucas Stach
3120169002fSAnson Huang&qspi0 {
3130169002fSAnson Huang	pinctrl-names = "default";
3140169002fSAnson Huang	pinctrl-0 = <&pinctrl_qspi>;
3150169002fSAnson Huang	status = "okay";
3160169002fSAnson Huang
3170169002fSAnson Huang	n25q256a: flash@0 {
3180169002fSAnson Huang		reg = <0>;
3190169002fSAnson Huang		#address-cells = <1>;
3200169002fSAnson Huang		#size-cells = <1>;
3210169002fSAnson Huang		compatible = "micron,n25q256a", "jedec,spi-nor";
3220169002fSAnson Huang		spi-max-frequency = <29000000>;
3230169002fSAnson Huang	};
3240169002fSAnson Huang};
3250169002fSAnson Huang
3260169002fSAnson Huang&sai2 {
3270169002fSAnson Huang	pinctrl-names = "default";
3280169002fSAnson Huang	pinctrl-0 = <&pinctrl_sai2>;
3290169002fSAnson Huang	assigned-clocks = <&clk IMX8MQ_AUDIO_PLL1_BYPASS>, <&clk IMX8MQ_CLK_SAI2>;
3300169002fSAnson Huang	assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1>, <&clk IMX8MQ_AUDIO_PLL1_OUT>;
3310169002fSAnson Huang	assigned-clock-rates = <0>, <24576000>;
3320169002fSAnson Huang	status = "okay";
3330169002fSAnson Huang};
3340169002fSAnson Huang
3353c3a8e50SAnson Huang&snvs_pwrkey {
3363c3a8e50SAnson Huang	status = "okay";
3373c3a8e50SAnson Huang};
3383c3a8e50SAnson Huang
3399079aca4SLucas Stach&uart1 {
3409079aca4SLucas Stach	pinctrl-names = "default";
3419079aca4SLucas Stach	pinctrl-0 = <&pinctrl_uart1>;
3429079aca4SLucas Stach	status = "okay";
3439079aca4SLucas Stach};
3449079aca4SLucas Stach
34549e6d2b2SLucas Stach&usb3_phy1 {
34649e6d2b2SLucas Stach	status = "okay";
34749e6d2b2SLucas Stach};
34849e6d2b2SLucas Stach
34949e6d2b2SLucas Stach&usb_dwc3_1 {
35049e6d2b2SLucas Stach	dr_mode = "host";
35149e6d2b2SLucas Stach	status = "okay";
35249e6d2b2SLucas Stach};
35349e6d2b2SLucas Stach
3549079aca4SLucas Stach&usdhc1 {
355e045f044SAnson Huang	assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
356e045f044SAnson Huang	assigned-clock-rates = <400000000>;
3579079aca4SLucas Stach	pinctrl-names = "default", "state_100mhz", "state_200mhz";
3589079aca4SLucas Stach	pinctrl-0 = <&pinctrl_usdhc1>;
3599079aca4SLucas Stach	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
3609079aca4SLucas Stach	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
3619079aca4SLucas Stach	vqmmc-supply = <&sw4_reg>;
3629079aca4SLucas Stach	bus-width = <8>;
3639079aca4SLucas Stach	non-removable;
3649079aca4SLucas Stach	no-sd;
3659079aca4SLucas Stach	no-sdio;
3669079aca4SLucas Stach	status = "okay";
3679079aca4SLucas Stach};
3689079aca4SLucas Stach
3699079aca4SLucas Stach&usdhc2 {
370e045f044SAnson Huang	assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
371e045f044SAnson Huang	assigned-clock-rates = <200000000>;
3729079aca4SLucas Stach	pinctrl-names = "default", "state_100mhz", "state_200mhz";
3739079aca4SLucas Stach	pinctrl-0 = <&pinctrl_usdhc2>;
3749079aca4SLucas Stach	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
3759079aca4SLucas Stach	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
3769079aca4SLucas Stach	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
3779079aca4SLucas Stach	vmmc-supply = <&reg_usdhc2_vmmc>;
3789079aca4SLucas Stach	status = "okay";
3799079aca4SLucas Stach};
3809079aca4SLucas Stach
3813bbc9abbSBaruch Siach&wdog1 {
3823bbc9abbSBaruch Siach	pinctrl-names = "default";
3833bbc9abbSBaruch Siach	pinctrl-0 = <&pinctrl_wdog>;
3843bbc9abbSBaruch Siach	fsl,ext-reset-output;
3853bbc9abbSBaruch Siach	status = "okay";
3863bbc9abbSBaruch Siach};
3873bbc9abbSBaruch Siach
3889079aca4SLucas Stach&iomuxc {
3899b87ebb1SAbel Vesa	pinctrl_buck2: vddarmgrp {
3909b87ebb1SAbel Vesa		fsl,pins = <
3919b87ebb1SAbel Vesa			MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13		0x19
3929b87ebb1SAbel Vesa		>;
3939b87ebb1SAbel Vesa
3949b87ebb1SAbel Vesa	};
3959b87ebb1SAbel Vesa
3969079aca4SLucas Stach	pinctrl_fec1: fec1grp {
3979079aca4SLucas Stach		fsl,pins = <
3989079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC			0x3
3999079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO		0x23
4009079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f
4019079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f
4029079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f
4039079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f
4049079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91
4059079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91
4069079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91
4079079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91
4089079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f
4099079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91
4109079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
4119079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
4129079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9		0x19
4139079aca4SLucas Stach		>;
4149079aca4SLucas Stach	};
4159079aca4SLucas Stach
4169079aca4SLucas Stach	pinctrl_i2c1: i2c1grp {
4179079aca4SLucas Stach		fsl,pins = <
4189079aca4SLucas Stach			MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL			0x4000007f
4199079aca4SLucas Stach			MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA			0x4000007f
4209079aca4SLucas Stach		>;
4219079aca4SLucas Stach	};
4229079aca4SLucas Stach
423431e4628SRogerio Pimentel da Silva	pinctrl_ir: irgrp {
424431e4628SRogerio Pimentel da Silva		fsl,pins = <
425431e4628SRogerio Pimentel da Silva			MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12		0x4f
426431e4628SRogerio Pimentel da Silva		>;
427431e4628SRogerio Pimentel da Silva	};
428431e4628SRogerio Pimentel da Silva
429*d367e7d3SFabio Estevam	pinctrl_mipi_dsi: mipidsigrp {
430*d367e7d3SFabio Estevam		fsl,pins = <
431*d367e7d3SFabio Estevam			MX8MQ_IOMUXC_ECSPI1_SCLK_GPIO5_IO6		0x16
432*d367e7d3SFabio Estevam		>;
433*d367e7d3SFabio Estevam	};
434*d367e7d3SFabio Estevam
435cdfdea07SAndrey Smirnov	pinctrl_pcie0: pcie0grp {
436cdfdea07SAndrey Smirnov		fsl,pins = <
437cdfdea07SAndrey Smirnov			MX8MQ_IOMUXC_I2C4_SCL_PCIE1_CLKREQ_B		0x76
438cdfdea07SAndrey Smirnov			MX8MQ_IOMUXC_UART4_RXD_GPIO5_IO28		0x16
439cdfdea07SAndrey Smirnov		>;
440cdfdea07SAndrey Smirnov	};
441cdfdea07SAndrey Smirnov
442f9f818cfSCarlo Caione	pinctrl_qspi: qspigrp {
443f9f818cfSCarlo Caione		fsl,pins = <
444f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_ALE_QSPI_A_SCLK	0x82
445f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B	0x82
446f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA00_QSPI_A_DATA0	0x82
447f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA01_QSPI_A_DATA1	0x82
448f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA02_QSPI_A_DATA2	0x82
449f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA03_QSPI_A_DATA3	0x82
450f9f818cfSCarlo Caione
451f9f818cfSCarlo Caione		>;
452f9f818cfSCarlo Caione	};
453f9f818cfSCarlo Caione
454ad5260e0SKrzysztof Kozlowski	pinctrl_reg_usdhc2: regusdhc2gpiogrp {
4559079aca4SLucas Stach		fsl,pins = <
4569079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19		0x41
4579079aca4SLucas Stach		>;
4589079aca4SLucas Stach	};
4599079aca4SLucas Stach
460c6578d98SDaniel Baluta	pinctrl_sai2: sai2grp {
461c6578d98SDaniel Baluta		fsl,pins = <
462c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC     0xd6
463c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_TXC_SAI2_TX_BCLK      0xd6
464c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK        0xd6
465c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0    0xd6
466c6578d98SDaniel Baluta			MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8       0xd6
467c6578d98SDaniel Baluta		>;
468c6578d98SDaniel Baluta	};
469c6578d98SDaniel Baluta
4709079aca4SLucas Stach	pinctrl_uart1: uart1grp {
4719079aca4SLucas Stach		fsl,pins = <
4729079aca4SLucas Stach			MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX		0x49
4739079aca4SLucas Stach			MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX		0x49
4749079aca4SLucas Stach		>;
4759079aca4SLucas Stach	};
4769079aca4SLucas Stach
4779079aca4SLucas Stach	pinctrl_usdhc1: usdhc1grp {
4789079aca4SLucas Stach		fsl,pins = <
4799079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK			0x83
4809079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD			0xc3
4819079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0		0xc3
4829079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1		0xc3
4839079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2		0xc3
4849079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3		0xc3
4859079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4		0xc3
4869079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5		0xc3
4879079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6		0xc3
4889079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7		0xc3
4899079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x83
4909079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B		0xc1
4919079aca4SLucas Stach		>;
4929079aca4SLucas Stach	};
4939079aca4SLucas Stach
4949079aca4SLucas Stach	pinctrl_usdhc1_100mhz: usdhc1-100grp {
4959079aca4SLucas Stach		fsl,pins = <
496f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK			0x8d
497f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD			0xcd
498f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0		0xcd
499f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1		0xcd
500f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2		0xcd
501f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3		0xcd
502f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4		0xcd
503f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5		0xcd
504f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6		0xcd
505f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7		0xcd
506f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x8d
5079079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B		0xc1
5089079aca4SLucas Stach		>;
5099079aca4SLucas Stach	};
5109079aca4SLucas Stach
5119079aca4SLucas Stach	pinctrl_usdhc1_200mhz: usdhc1-200grp {
5129079aca4SLucas Stach		fsl,pins = <
513f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK			0x9f
514f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD			0xdf
515f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0		0xdf
516f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1		0xdf
517f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2		0xdf
518f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3		0xdf
519f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4		0xdf
520f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5		0xdf
521f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6		0xdf
522f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7		0xdf
523f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x9f
5249079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B		0xc1
5259079aca4SLucas Stach		>;
5269079aca4SLucas Stach	};
5279079aca4SLucas Stach
5289079aca4SLucas Stach	pinctrl_usdhc2: usdhc2grp {
5299079aca4SLucas Stach		fsl,pins = <
5309079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK			0x83
5319079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD			0xc3
5329079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc3
5339079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc3
5349079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc3
5359079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc3
5369079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0xc1
5379079aca4SLucas Stach		>;
5389079aca4SLucas Stach	};
5399079aca4SLucas Stach
5409079aca4SLucas Stach	pinctrl_usdhc2_100mhz: usdhc2-100grp {
5419079aca4SLucas Stach		fsl,pins = <
5429079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK			0x85
5439079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD			0xc5
5449079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc5
5459079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc5
5469079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc5
5479079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc5
5489079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0xc1
5499079aca4SLucas Stach		>;
5509079aca4SLucas Stach	};
5519079aca4SLucas Stach
5529079aca4SLucas Stach	pinctrl_usdhc2_200mhz: usdhc2-200grp {
5539079aca4SLucas Stach		fsl,pins = <
5549079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK			0x87
5559079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD			0xc7
5569079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc7
5579079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc7
5589079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc7
5599079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc7
5609079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0xc1
5619079aca4SLucas Stach		>;
5629079aca4SLucas Stach	};
5633bbc9abbSBaruch Siach
5643bbc9abbSBaruch Siach	pinctrl_wdog: wdog1grp {
5653bbc9abbSBaruch Siach		fsl,pins = <
5663bbc9abbSBaruch Siach			MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B		0xc6
5673bbc9abbSBaruch Siach		>;
5683bbc9abbSBaruch Siach	};
569cdfdea07SAndrey Smirnov
570cdfdea07SAndrey Smirnov	pinctrl_wifi_reset: wifiresetgrp {
571cdfdea07SAndrey Smirnov		fsl,pins = <
572cdfdea07SAndrey Smirnov			MX8MQ_IOMUXC_UART4_TXD_GPIO5_IO29		0x16
573cdfdea07SAndrey Smirnov		>;
574cdfdea07SAndrey Smirnov	};
5759079aca4SLucas Stach};
576