1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2017~2018 NXP
8 #include "imx8qxp.dtsi"
9 #include <dt-bindings/usb/pd.h>
12 model = "Freescale i.MX8QXP MEK";
13 compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp";
16 stdout-path = &lpuart0;
20 device_type = "memory";
21 reg = <0x00000000 0x80000000 0 0x40000000>;
24 reg_usdhc2_vmmc: usdhc2-vmmc {
25 compatible = "regulator-fixed";
26 regulator-name = "SD1_SPWR";
27 regulator-min-microvolt = <3000000>;
28 regulator-max-microvolt = <3000000>;
29 gpio = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>;
34 compatible = "gpio-sbu-mux";
35 pinctrl-names = "default";
36 pinctrl-0 = <&pinctrl_typec_mux>;
37 select-gpios = <&lsio_gpio5 9 GPIO_ACTIVE_HIGH>;
38 enable-gpios = <&pca9557_a 7 GPIO_ACTIVE_LOW>;
42 usb3_data_ss: endpoint {
43 remote-endpoint = <&typec_con_ss>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_fec1>;
56 phy-mode = "rgmii-id";
57 phy-handle = <ðphy0>;
65 ethphy0: ethernet-phy@0 {
66 compatible = "ethernet-phy-ieee802.3-c22";
75 clock-frequency = <100000>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_lpi2c1 &pinctrl_ioexp_rst>;
81 compatible = "nxp,pca9646", "nxp,pca9546";
85 reset-gpios = <&lsio_gpio1 1 GPIO_ACTIVE_LOW>;
93 compatible = "maxim,max7322";
101 #address-cells = <1>;
107 #address-cells = <1>;
112 compatible = "fsl,mpl3115";
118 #address-cells = <1>;
123 compatible = "nxp,pca9557";
130 compatible = "nxp,pca9557";
137 pinctrl-names = "default";
138 pinctrl-0 = <&pinctrl_isl29023>;
139 compatible = "isil,isl29023";
141 interrupt-parent = <&lsio_gpio1>;
142 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
148 compatible = "nxp,ptn5110";
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_typec>;
152 interrupt-parent = <&lsio_gpio1>;
153 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
156 typec_dr_sw: endpoint {
157 remote-endpoint = <&usb3_drd_sw>;
161 usb_con1: connector {
162 compatible = "usb-c-connector";
164 power-role = "source";
166 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
169 #address-cells = <1>;
174 typec_con_ss: endpoint {
175 remote-endpoint = <&usb3_data_ss>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_lpuart0>;
204 polling-delay-passive = <250>;
205 polling-delay = <2000>;
206 thermal-sensors = <&tsens IMX_SC_R_PMIC_0>;
210 temperature = <110000>;
216 temperature = <125000>;
224 trip = <&pmic_alert0>;
226 <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
227 <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
228 <&A35_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
229 <&A35_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
236 assigned-clocks = <&clk IMX_SC_R_SDHC_0 IMX_SC_PM_CLK_PER>;
237 assigned-clock-rates = <200000000>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&pinctrl_usdhc1>;
248 assigned-clocks = <&clk IMX_SC_R_SDHC_1 IMX_SC_PM_CLK_PER>;
249 assigned-clock-rates = <200000000>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&pinctrl_usdhc2>;
253 vmmc-supply = <®_usdhc2_vmmc>;
254 cd-gpios = <&lsio_gpio4 22 GPIO_ACTIVE_LOW>;
255 wp-gpios = <&lsio_gpio4 21 GPIO_ACTIVE_HIGH>;
273 usb3_drd_sw: endpoint {
274 remote-endpoint = <&typec_dr_sw>;
281 compatible = "nxp,imx8qxp-vpu";
286 reg = <0x2d040000 0x10000>;
287 memory-region = <&decoder_boot>, <&decoder_rpc>;
292 reg = <0x2d050000 0x10000>;
293 memory-region = <&encoder_boot>, <&encoder_rpc>;
298 pinctrl_fec1: fec1grp {
300 IMX8QXP_ENET0_MDC_CONN_ENET0_MDC 0x06000020
301 IMX8QXP_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020
302 IMX8QXP_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x06000020
303 IMX8QXP_ENET0_RGMII_TXC_CONN_ENET0_RGMII_TXC 0x06000020
304 IMX8QXP_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0 0x06000020
305 IMX8QXP_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1 0x06000020
306 IMX8QXP_ENET0_RGMII_TXD2_CONN_ENET0_RGMII_TXD2 0x06000020
307 IMX8QXP_ENET0_RGMII_TXD3_CONN_ENET0_RGMII_TXD3 0x06000020
308 IMX8QXP_ENET0_RGMII_RXC_CONN_ENET0_RGMII_RXC 0x06000020
309 IMX8QXP_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL 0x06000020
310 IMX8QXP_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0 0x06000020
311 IMX8QXP_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x06000020
312 IMX8QXP_ENET0_RGMII_RXD2_CONN_ENET0_RGMII_RXD2 0x06000020
313 IMX8QXP_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x06000020
317 pinctrl_ioexp_rst: ioexprstgrp {
319 IMX8QXP_SPI2_SDO_LSIO_GPIO1_IO01 0x06000021
323 pinctrl_isl29023: isl29023grp {
325 IMX8QXP_SPI2_SDI_LSIO_GPIO1_IO02 0x00000021
329 pinctrl_lpi2c1: lpi2c1grp {
331 IMX8QXP_USB_SS3_TC1_ADMA_I2C1_SCL 0x06000021
332 IMX8QXP_USB_SS3_TC3_ADMA_I2C1_SDA 0x06000021
336 pinctrl_lpuart0: lpuart0grp {
338 IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020
339 IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020
343 pinctrl_typec: typecgrp {
345 IMX8QXP_SPI2_SCK_LSIO_GPIO1_IO03 0x06000021
349 pinctrl_typec_mux: typecmuxgrp {
351 IMX8QXP_ENET0_REFCLK_125M_25M_LSIO_GPIO5_IO09 0x60
355 pinctrl_usdhc1: usdhc1grp {
357 IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041
358 IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x00000021
359 IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x00000021
360 IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x00000021
361 IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x00000021
362 IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x00000021
363 IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x00000021
364 IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x00000021
365 IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x00000021
366 IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x00000021
367 IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x00000041
371 pinctrl_usdhc2: usdhc2grp {
373 IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041
374 IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x00000021
375 IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x00000021
376 IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x00000021
377 IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x00000021
378 IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x00000021
379 IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x00000021