xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mq-evk.dts (revision e045f044e84ef9d500b4477f8e67875e5cb3fc21)
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
55c6578d98SDaniel Baluta	wm8524: audio-codec {
56c6578d98SDaniel Baluta		#sound-dai-cells = <0>;
57c6578d98SDaniel Baluta		compatible = "wlf,wm8524";
58c6578d98SDaniel Baluta		wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
59c6578d98SDaniel Baluta	};
60c6578d98SDaniel Baluta
61c6578d98SDaniel Baluta	sound-wm8524 {
62c6578d98SDaniel Baluta		compatible = "simple-audio-card";
63c6578d98SDaniel Baluta		simple-audio-card,name = "wm8524-audio";
64c6578d98SDaniel Baluta		simple-audio-card,format = "i2s";
65c6578d98SDaniel Baluta		simple-audio-card,frame-master = <&cpudai>;
66c6578d98SDaniel Baluta		simple-audio-card,bitclock-master = <&cpudai>;
67c6578d98SDaniel Baluta		simple-audio-card,widgets =
68c6578d98SDaniel Baluta			"Line", "Left Line Out Jack",
69c6578d98SDaniel Baluta			"Line", "Right Line Out Jack";
70c6578d98SDaniel Baluta		simple-audio-card,routing =
71c6578d98SDaniel Baluta			"Left Line Out Jack", "LINEVOUTL",
72c6578d98SDaniel Baluta			"Right Line Out Jack", "LINEVOUTR";
73c6578d98SDaniel Baluta
74c6578d98SDaniel Baluta		cpudai: simple-audio-card,cpu {
75c6578d98SDaniel Baluta			sound-dai = <&sai2>;
76c6578d98SDaniel Baluta		};
77c6578d98SDaniel Baluta
78c6578d98SDaniel Baluta		link_codec: simple-audio-card,codec {
79c6578d98SDaniel Baluta			sound-dai = <&wm8524>;
80c6578d98SDaniel Baluta			clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>;
81c6578d98SDaniel Baluta		};
82c6578d98SDaniel Baluta	};
839b87ebb1SAbel Vesa};
849b87ebb1SAbel Vesa
859b87ebb1SAbel Vesa&A53_0 {
869b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
879b87ebb1SAbel Vesa};
889b87ebb1SAbel Vesa
899b87ebb1SAbel Vesa&A53_1 {
909b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
919b87ebb1SAbel Vesa};
929b87ebb1SAbel Vesa
939b87ebb1SAbel Vesa&A53_2 {
949b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
959b87ebb1SAbel Vesa};
969b87ebb1SAbel Vesa
979b87ebb1SAbel Vesa&A53_3 {
989b87ebb1SAbel Vesa	cpu-supply = <&buck2_reg>;
999079aca4SLucas Stach};
1009079aca4SLucas Stach
1019079aca4SLucas Stach&fec1 {
1029079aca4SLucas Stach	pinctrl-names = "default";
1039079aca4SLucas Stach	pinctrl-0 = <&pinctrl_fec1>;
1049079aca4SLucas Stach	phy-mode = "rgmii-id";
10555b0b15aSCarlo Caione	phy-handle = <&ethphy0>;
106f196ef19SCarlo Caione	fsl,magic-packet;
1079079aca4SLucas Stach	status = "okay";
10855b0b15aSCarlo Caione
10955b0b15aSCarlo Caione	mdio {
11055b0b15aSCarlo Caione		#address-cells = <1>;
11155b0b15aSCarlo Caione		#size-cells = <0>;
11255b0b15aSCarlo Caione
11355b0b15aSCarlo Caione		ethphy0: ethernet-phy@0 {
11455b0b15aSCarlo Caione			compatible = "ethernet-phy-ieee802.3-c22";
11555b0b15aSCarlo Caione			reg = <0>;
11655b0b15aSCarlo Caione		};
11755b0b15aSCarlo Caione	};
1189079aca4SLucas Stach};
1199079aca4SLucas Stach
120cdfdea07SAndrey Smirnov&gpio5 {
121cdfdea07SAndrey Smirnov	pinctrl-names = "default";
122cdfdea07SAndrey Smirnov	pinctrl-0 = <&pinctrl_wifi_reset>;
123cdfdea07SAndrey Smirnov
124cdfdea07SAndrey Smirnov	wl-reg-on {
125cdfdea07SAndrey Smirnov		gpio-hog;
126cdfdea07SAndrey Smirnov		gpios = <29 GPIO_ACTIVE_HIGH>;
127cdfdea07SAndrey Smirnov		output-high;
128cdfdea07SAndrey Smirnov	};
129cdfdea07SAndrey Smirnov};
130cdfdea07SAndrey Smirnov
1319079aca4SLucas Stach&i2c1 {
1329079aca4SLucas Stach	clock-frequency = <100000>;
1339079aca4SLucas Stach	pinctrl-names = "default";
1349079aca4SLucas Stach	pinctrl-0 = <&pinctrl_i2c1>;
1359079aca4SLucas Stach	status = "okay";
1369079aca4SLucas Stach
1379079aca4SLucas Stach	pmic@8 {
1389079aca4SLucas Stach		compatible = "fsl,pfuze100";
1399079aca4SLucas Stach		reg = <0x8>;
1409079aca4SLucas Stach
1419079aca4SLucas Stach		regulators {
1429079aca4SLucas Stach			sw1a_reg: sw1ab {
1439079aca4SLucas Stach				regulator-min-microvolt = <825000>;
1449079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
1459079aca4SLucas Stach			};
1469079aca4SLucas Stach
1479079aca4SLucas Stach			sw1c_reg: sw1c {
1489079aca4SLucas Stach				regulator-min-microvolt = <825000>;
1499079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
1509079aca4SLucas Stach			};
1519079aca4SLucas Stach
1529079aca4SLucas Stach			sw2_reg: sw2 {
1539079aca4SLucas Stach				regulator-min-microvolt = <1100000>;
1549079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
1559079aca4SLucas Stach				regulator-always-on;
1569079aca4SLucas Stach			};
1579079aca4SLucas Stach
1589079aca4SLucas Stach			sw3a_reg: sw3ab {
1599079aca4SLucas Stach				regulator-min-microvolt = <825000>;
1609079aca4SLucas Stach				regulator-max-microvolt = <1100000>;
1619079aca4SLucas Stach				regulator-always-on;
1629079aca4SLucas Stach			};
1639079aca4SLucas Stach
1649079aca4SLucas Stach			sw4_reg: sw4 {
1659079aca4SLucas Stach				regulator-min-microvolt = <1800000>;
1669079aca4SLucas Stach				regulator-max-microvolt = <1800000>;
1679079aca4SLucas Stach				regulator-always-on;
1689079aca4SLucas Stach			};
1699079aca4SLucas Stach
1709079aca4SLucas Stach			swbst_reg: swbst {
1719079aca4SLucas Stach				regulator-min-microvolt = <5000000>;
1729079aca4SLucas Stach				regulator-max-microvolt = <5150000>;
1739079aca4SLucas Stach			};
1749079aca4SLucas Stach
1759079aca4SLucas Stach			snvs_reg: vsnvs {
1769079aca4SLucas Stach				regulator-min-microvolt = <1000000>;
1779079aca4SLucas Stach				regulator-max-microvolt = <3000000>;
1789079aca4SLucas Stach				regulator-always-on;
1799079aca4SLucas Stach			};
1809079aca4SLucas Stach
1819079aca4SLucas Stach			vref_reg: vrefddr {
1829079aca4SLucas Stach				regulator-always-on;
1839079aca4SLucas Stach			};
1849079aca4SLucas Stach
1859079aca4SLucas Stach			vgen1_reg: vgen1 {
1869079aca4SLucas Stach				regulator-min-microvolt = <800000>;
1879079aca4SLucas Stach				regulator-max-microvolt = <1550000>;
1889079aca4SLucas Stach			};
1899079aca4SLucas Stach
1909079aca4SLucas Stach			vgen2_reg: vgen2 {
1919079aca4SLucas Stach				regulator-min-microvolt = <850000>;
1929079aca4SLucas Stach				regulator-max-microvolt = <975000>;
1939079aca4SLucas Stach				regulator-always-on;
1949079aca4SLucas Stach			};
1959079aca4SLucas Stach
1969079aca4SLucas Stach			vgen3_reg: vgen3 {
1979079aca4SLucas Stach				regulator-min-microvolt = <1675000>;
1989079aca4SLucas Stach				regulator-max-microvolt = <1975000>;
1999079aca4SLucas Stach				regulator-always-on;
2009079aca4SLucas Stach			};
2019079aca4SLucas Stach
2029079aca4SLucas Stach			vgen4_reg: vgen4 {
2039079aca4SLucas Stach				regulator-min-microvolt = <1625000>;
2049079aca4SLucas Stach				regulator-max-microvolt = <1875000>;
2059079aca4SLucas Stach				regulator-always-on;
2069079aca4SLucas Stach			};
2079079aca4SLucas Stach
2089079aca4SLucas Stach			vgen5_reg: vgen5 {
2099079aca4SLucas Stach				regulator-min-microvolt = <3075000>;
2109079aca4SLucas Stach				regulator-max-microvolt = <3625000>;
2119079aca4SLucas Stach				regulator-always-on;
2129079aca4SLucas Stach			};
2139079aca4SLucas Stach
2149079aca4SLucas Stach			vgen6_reg: vgen6 {
2159079aca4SLucas Stach				regulator-min-microvolt = <1800000>;
2169079aca4SLucas Stach				regulator-max-microvolt = <3300000>;
2179079aca4SLucas Stach			};
2189079aca4SLucas Stach		};
2199079aca4SLucas Stach	};
2209079aca4SLucas Stach};
2219079aca4SLucas Stach
222cdfdea07SAndrey Smirnov&pcie0 {
223cdfdea07SAndrey Smirnov	pinctrl-names = "default";
224cdfdea07SAndrey Smirnov	pinctrl-0 = <&pinctrl_pcie0>;
225cdfdea07SAndrey Smirnov	reset-gpio = <&gpio5 28 GPIO_ACTIVE_LOW>;
226cdfdea07SAndrey Smirnov	clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>,
227cdfdea07SAndrey Smirnov		 <&clk IMX8MQ_CLK_PCIE1_AUX>,
228cdfdea07SAndrey Smirnov		 <&clk IMX8MQ_CLK_PCIE1_PHY>,
229cdfdea07SAndrey Smirnov		 <&pcie0_refclk>;
230cdfdea07SAndrey Smirnov	clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
231cdfdea07SAndrey Smirnov	status = "okay";
232cdfdea07SAndrey Smirnov};
233cdfdea07SAndrey Smirnov
234eda73fc8SLucas Stach&pgc_gpu {
235eda73fc8SLucas Stach	power-supply = <&sw1a_reg>;
236eda73fc8SLucas Stach};
237eda73fc8SLucas Stach
2380169002fSAnson Huang&qspi0 {
2390169002fSAnson Huang	pinctrl-names = "default";
2400169002fSAnson Huang	pinctrl-0 = <&pinctrl_qspi>;
2410169002fSAnson Huang	status = "okay";
2420169002fSAnson Huang
2430169002fSAnson Huang	n25q256a: flash@0 {
2440169002fSAnson Huang		reg = <0>;
2450169002fSAnson Huang		#address-cells = <1>;
2460169002fSAnson Huang		#size-cells = <1>;
2470169002fSAnson Huang		compatible = "micron,n25q256a", "jedec,spi-nor";
2480169002fSAnson Huang		spi-max-frequency = <29000000>;
2490169002fSAnson Huang	};
2500169002fSAnson Huang};
2510169002fSAnson Huang
2520169002fSAnson Huang&sai2 {
2530169002fSAnson Huang	pinctrl-names = "default";
2540169002fSAnson Huang	pinctrl-0 = <&pinctrl_sai2>;
2550169002fSAnson Huang	assigned-clocks = <&clk IMX8MQ_AUDIO_PLL1_BYPASS>, <&clk IMX8MQ_CLK_SAI2>;
2560169002fSAnson Huang	assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1>, <&clk IMX8MQ_AUDIO_PLL1_OUT>;
2570169002fSAnson Huang	assigned-clock-rates = <0>, <24576000>;
2580169002fSAnson Huang	status = "okay";
2590169002fSAnson Huang};
2600169002fSAnson Huang
2613c3a8e50SAnson Huang&snvs_pwrkey {
2623c3a8e50SAnson Huang	status = "okay";
2633c3a8e50SAnson Huang};
2643c3a8e50SAnson Huang
2659079aca4SLucas Stach&uart1 {
2669079aca4SLucas Stach	pinctrl-names = "default";
2679079aca4SLucas Stach	pinctrl-0 = <&pinctrl_uart1>;
2689079aca4SLucas Stach	status = "okay";
2699079aca4SLucas Stach};
2709079aca4SLucas Stach
27149e6d2b2SLucas Stach&usb3_phy1 {
27249e6d2b2SLucas Stach	status = "okay";
27349e6d2b2SLucas Stach};
27449e6d2b2SLucas Stach
27549e6d2b2SLucas Stach&usb_dwc3_1 {
27649e6d2b2SLucas Stach	dr_mode = "host";
27749e6d2b2SLucas Stach	status = "okay";
27849e6d2b2SLucas Stach};
27949e6d2b2SLucas Stach
2809079aca4SLucas Stach&usdhc1 {
281*e045f044SAnson Huang	assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
282*e045f044SAnson Huang	assigned-clock-rates = <400000000>;
2839079aca4SLucas Stach	pinctrl-names = "default", "state_100mhz", "state_200mhz";
2849079aca4SLucas Stach	pinctrl-0 = <&pinctrl_usdhc1>;
2859079aca4SLucas Stach	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
2869079aca4SLucas Stach	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
2879079aca4SLucas Stach	vqmmc-supply = <&sw4_reg>;
2889079aca4SLucas Stach	bus-width = <8>;
2899079aca4SLucas Stach	non-removable;
2909079aca4SLucas Stach	no-sd;
2919079aca4SLucas Stach	no-sdio;
2929079aca4SLucas Stach	status = "okay";
2939079aca4SLucas Stach};
2949079aca4SLucas Stach
2959079aca4SLucas Stach&usdhc2 {
296*e045f044SAnson Huang	assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
297*e045f044SAnson Huang	assigned-clock-rates = <200000000>;
2989079aca4SLucas Stach	pinctrl-names = "default", "state_100mhz", "state_200mhz";
2999079aca4SLucas Stach	pinctrl-0 = <&pinctrl_usdhc2>;
3009079aca4SLucas Stach	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
3019079aca4SLucas Stach	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
3029079aca4SLucas Stach	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
3039079aca4SLucas Stach	vmmc-supply = <&reg_usdhc2_vmmc>;
3049079aca4SLucas Stach	status = "okay";
3059079aca4SLucas Stach};
3069079aca4SLucas Stach
3073bbc9abbSBaruch Siach&wdog1 {
3083bbc9abbSBaruch Siach	pinctrl-names = "default";
3093bbc9abbSBaruch Siach	pinctrl-0 = <&pinctrl_wdog>;
3103bbc9abbSBaruch Siach	fsl,ext-reset-output;
3113bbc9abbSBaruch Siach	status = "okay";
3123bbc9abbSBaruch Siach};
3133bbc9abbSBaruch Siach
3149079aca4SLucas Stach&iomuxc {
3159b87ebb1SAbel Vesa	pinctrl_buck2: vddarmgrp {
3169b87ebb1SAbel Vesa		fsl,pins = <
3179b87ebb1SAbel Vesa			MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13		0x19
3189b87ebb1SAbel Vesa		>;
3199b87ebb1SAbel Vesa
3209b87ebb1SAbel Vesa	};
3219b87ebb1SAbel Vesa
3229079aca4SLucas Stach	pinctrl_fec1: fec1grp {
3239079aca4SLucas Stach		fsl,pins = <
3249079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC			0x3
3259079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO		0x23
3269079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f
3279079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f
3289079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f
3299079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f
3309079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91
3319079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91
3329079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91
3339079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91
3349079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f
3359079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91
3369079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
3379079aca4SLucas Stach			MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
3389079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9		0x19
3399079aca4SLucas Stach		>;
3409079aca4SLucas Stach	};
3419079aca4SLucas Stach
3429079aca4SLucas Stach	pinctrl_i2c1: i2c1grp {
3439079aca4SLucas Stach		fsl,pins = <
3449079aca4SLucas Stach			MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL			0x4000007f
3459079aca4SLucas Stach			MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA			0x4000007f
3469079aca4SLucas Stach		>;
3479079aca4SLucas Stach	};
3489079aca4SLucas Stach
349cdfdea07SAndrey Smirnov	pinctrl_pcie0: pcie0grp {
350cdfdea07SAndrey Smirnov		fsl,pins = <
351cdfdea07SAndrey Smirnov			MX8MQ_IOMUXC_I2C4_SCL_PCIE1_CLKREQ_B		0x76
352cdfdea07SAndrey Smirnov			MX8MQ_IOMUXC_UART4_RXD_GPIO5_IO28		0x16
353cdfdea07SAndrey Smirnov		>;
354cdfdea07SAndrey Smirnov	};
355cdfdea07SAndrey Smirnov
356f9f818cfSCarlo Caione	pinctrl_qspi: qspigrp {
357f9f818cfSCarlo Caione		fsl,pins = <
358f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_ALE_QSPI_A_SCLK	0x82
359f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B	0x82
360f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA00_QSPI_A_DATA0	0x82
361f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA01_QSPI_A_DATA1	0x82
362f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA02_QSPI_A_DATA2	0x82
363f9f818cfSCarlo Caione			MX8MQ_IOMUXC_NAND_DATA03_QSPI_A_DATA3	0x82
364f9f818cfSCarlo Caione
365f9f818cfSCarlo Caione		>;
366f9f818cfSCarlo Caione	};
367f9f818cfSCarlo Caione
3689079aca4SLucas Stach	pinctrl_reg_usdhc2: regusdhc2grpgpio {
3699079aca4SLucas Stach		fsl,pins = <
3709079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19		0x41
3719079aca4SLucas Stach		>;
3729079aca4SLucas Stach	};
3739079aca4SLucas Stach
374c6578d98SDaniel Baluta	pinctrl_sai2: sai2grp {
375c6578d98SDaniel Baluta		fsl,pins = <
376c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC     0xd6
377c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_TXC_SAI2_TX_BCLK      0xd6
378c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK        0xd6
379c6578d98SDaniel Baluta			MX8MQ_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0    0xd6
380c6578d98SDaniel Baluta			MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8       0xd6
381c6578d98SDaniel Baluta		>;
382c6578d98SDaniel Baluta	};
383c6578d98SDaniel Baluta
3849079aca4SLucas Stach	pinctrl_uart1: uart1grp {
3859079aca4SLucas Stach		fsl,pins = <
3869079aca4SLucas Stach			MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX		0x49
3879079aca4SLucas Stach			MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX		0x49
3889079aca4SLucas Stach		>;
3899079aca4SLucas Stach	};
3909079aca4SLucas Stach
3919079aca4SLucas Stach	pinctrl_usdhc1: usdhc1grp {
3929079aca4SLucas Stach		fsl,pins = <
3939079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK			0x83
3949079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD			0xc3
3959079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0		0xc3
3969079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1		0xc3
3979079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2		0xc3
3989079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3		0xc3
3999079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4		0xc3
4009079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5		0xc3
4019079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6		0xc3
4029079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7		0xc3
4039079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x83
4049079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B		0xc1
4059079aca4SLucas Stach		>;
4069079aca4SLucas Stach	};
4079079aca4SLucas Stach
4089079aca4SLucas Stach	pinctrl_usdhc1_100mhz: usdhc1-100grp {
4099079aca4SLucas Stach		fsl,pins = <
410f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK			0x8d
411f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD			0xcd
412f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0		0xcd
413f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1		0xcd
414f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2		0xcd
415f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3		0xcd
416f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4		0xcd
417f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5		0xcd
418f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6		0xcd
419f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7		0xcd
420f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x8d
4219079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B		0xc1
4229079aca4SLucas Stach		>;
4239079aca4SLucas Stach	};
4249079aca4SLucas Stach
4259079aca4SLucas Stach	pinctrl_usdhc1_200mhz: usdhc1-200grp {
4269079aca4SLucas Stach		fsl,pins = <
427f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK			0x9f
428f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD			0xdf
429f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0		0xdf
430f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1		0xdf
431f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2		0xdf
432f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3		0xdf
433f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4		0xdf
434f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5		0xdf
435f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6		0xdf
436f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7		0xdf
437f2ce6ed3SCarlo Caione			MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x9f
4389079aca4SLucas Stach			MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B		0xc1
4399079aca4SLucas Stach		>;
4409079aca4SLucas Stach	};
4419079aca4SLucas Stach
4429079aca4SLucas Stach	pinctrl_usdhc2: usdhc2grp {
4439079aca4SLucas Stach		fsl,pins = <
4449079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK			0x83
4459079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD			0xc3
4469079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc3
4479079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc3
4489079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc3
4499079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc3
4509079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0xc1
4519079aca4SLucas Stach		>;
4529079aca4SLucas Stach	};
4539079aca4SLucas Stach
4549079aca4SLucas Stach	pinctrl_usdhc2_100mhz: usdhc2-100grp {
4559079aca4SLucas Stach		fsl,pins = <
4569079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK			0x85
4579079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD			0xc5
4589079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc5
4599079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc5
4609079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc5
4619079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc5
4629079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0xc1
4639079aca4SLucas Stach		>;
4649079aca4SLucas Stach	};
4659079aca4SLucas Stach
4669079aca4SLucas Stach	pinctrl_usdhc2_200mhz: usdhc2-200grp {
4679079aca4SLucas Stach		fsl,pins = <
4689079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK			0x87
4699079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD			0xc7
4709079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc7
4719079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc7
4729079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc7
4739079aca4SLucas Stach			MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc7
4749079aca4SLucas Stach			MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0xc1
4759079aca4SLucas Stach		>;
4769079aca4SLucas Stach	};
4773bbc9abbSBaruch Siach
4783bbc9abbSBaruch Siach	pinctrl_wdog: wdog1grp {
4793bbc9abbSBaruch Siach		fsl,pins = <
4803bbc9abbSBaruch Siach			MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B		0xc6
4813bbc9abbSBaruch Siach		>;
4823bbc9abbSBaruch Siach	};
483cdfdea07SAndrey Smirnov
484cdfdea07SAndrey Smirnov	pinctrl_wifi_reset: wifiresetgrp {
485cdfdea07SAndrey Smirnov		fsl,pins = <
486cdfdea07SAndrey Smirnov			MX8MQ_IOMUXC_UART4_TXD_GPIO5_IO29		0x16
487cdfdea07SAndrey Smirnov		>;
488cdfdea07SAndrey Smirnov	};
4899079aca4SLucas Stach};
490