1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2017~2018 NXP
8 #include "imx8qxp.dtsi"
11 model = "Freescale i.MX8QXP MEK";
12 compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp";
15 stdout-path = &adma_lpuart0;
19 device_type = "memory";
20 reg = <0x00000000 0x80000000 0 0x40000000>;
23 reg_usdhc2_vmmc: usdhc2-vmmc {
24 compatible = "regulator-fixed";
25 regulator-name = "SD1_SPWR";
26 regulator-min-microvolt = <3000000>;
27 regulator-max-microvolt = <3000000>;
28 gpio = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>;
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_lpuart0>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&pinctrl_fec1>;
42 phy-mode = "rgmii-id";
43 phy-handle = <ðphy0>;
51 ethphy0: ethernet-phy@0 {
52 compatible = "ethernet-phy-ieee802.3-c22";
56 ethphy1: ethernet-phy@1 {
57 compatible = "ethernet-phy-ieee802.3-c22";
66 clock-frequency = <100000>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_lpi2c1 &pinctrl_ioexp_rst>;
72 compatible = "nxp,pca9646", "nxp,pca9546";
76 reset-gpios = <&lsio_gpio1 1 GPIO_ACTIVE_LOW>;
84 compatible = "maxim,max7322";
103 compatible = "fsl,mpl3115";
109 #address-cells = <1>;
114 compatible = "nxp,pca9557";
121 compatible = "nxp,pca9557";
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_isl29023>;
130 compatible = "isil,isl29023";
132 interrupt-parent = <&lsio_gpio1>;
133 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_usdhc1>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&pinctrl_usdhc2>;
153 vmmc-supply = <®_usdhc2_vmmc>;
154 cd-gpios = <&lsio_gpio4 22 GPIO_ACTIVE_LOW>;
155 wp-gpios = <&lsio_gpio4 21 GPIO_ACTIVE_HIGH>;
160 pinctrl_fec1: fec1grp {
162 IMX8QXP_ENET0_MDC_CONN_ENET0_MDC 0x06000020
163 IMX8QXP_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020
164 IMX8QXP_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x06000020
165 IMX8QXP_ENET0_RGMII_TXC_CONN_ENET0_RGMII_TXC 0x06000020
166 IMX8QXP_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0 0x06000020
167 IMX8QXP_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1 0x06000020
168 IMX8QXP_ENET0_RGMII_TXD2_CONN_ENET0_RGMII_TXD2 0x06000020
169 IMX8QXP_ENET0_RGMII_TXD3_CONN_ENET0_RGMII_TXD3 0x06000020
170 IMX8QXP_ENET0_RGMII_RXC_CONN_ENET0_RGMII_RXC 0x06000020
171 IMX8QXP_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL 0x06000020
172 IMX8QXP_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0 0x06000020
173 IMX8QXP_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x06000020
174 IMX8QXP_ENET0_RGMII_RXD2_CONN_ENET0_RGMII_RXD2 0x06000020
175 IMX8QXP_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x06000020
179 pinctrl_ioexp_rst: ioexp_rst_grp {
181 IMX8QXP_SPI2_SDO_LSIO_GPIO1_IO01 0x06000021
185 pinctrl_isl29023: isl29023grp {
187 IMX8QXP_SPI2_SDI_LSIO_GPIO1_IO02 0x00000021
191 pinctrl_lpi2c1: lpi2c1grp {
193 IMX8QXP_USB_SS3_TC1_ADMA_I2C1_SCL 0x06000021
194 IMX8QXP_USB_SS3_TC3_ADMA_I2C1_SDA 0x06000021
198 pinctrl_lpuart0: lpuart0grp {
200 IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020
201 IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020
205 pinctrl_usdhc1: usdhc1grp {
207 IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041
208 IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x00000021
209 IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x00000021
210 IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x00000021
211 IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x00000021
212 IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x00000021
213 IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x00000021
214 IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x00000021
215 IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x00000021
216 IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x00000021
217 IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x00000041
221 pinctrl_usdhc2: usdhc2grp {
223 IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041
224 IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x00000021
225 IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x00000021
226 IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x00000021
227 IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x00000021
228 IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x00000021
229 IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x00000021