blob: 9ed62f1bb02deade9b3750085c387a91d081df35 [file] [log] [blame]
Peng Fan439321b2019-12-30 17:46:21 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
Gaurav Jainee51b2c2022-03-24 11:50:26 +05303 * Copyright 2019, 2021 NXP
Peng Fan439321b2019-12-30 17:46:21 +08004 */
5
Teresa Remmetdafb1642021-07-07 12:57:57 +00006#include "imx8mp-u-boot.dtsi"
Peng Fan1e4ed2d2021-04-06 11:59:02 +08007
Teresa Remmetdafb1642021-07-07 12:57:57 +00008/ {
Marek Vasutf24dea42020-04-29 15:04:26 +02009 wdt-reboot {
10 compatible = "wdt-reboot";
11 wdt = <&wdog1>;
Simon Glass8c103c32023-02-13 08:56:33 -070012 bootph-pre-ram;
Marek Vasutf24dea42020-04-29 15:04:26 +020013 };
14};
15
Peng Fan439321b2019-12-30 17:46:21 +080016&reg_usdhc2_vmmc {
Andrey Zhizhikin247bbeb2020-12-05 17:29:17 +000017 u-boot,off-on-delay-us = <20000>;
18};
19
20&reg_usdhc2_vmmc {
Simon Glass8c103c32023-02-13 08:56:33 -070021 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080022};
23
24&pinctrl_uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070025 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080026};
27
28&pinctrl_usdhc2_gpio {
Simon Glass8c103c32023-02-13 08:56:33 -070029 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080030};
31
32&pinctrl_usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -070033 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080034};
35
36&pinctrl_usdhc3 {
Simon Glass8c103c32023-02-13 08:56:33 -070037 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080038};
39
Peng Fana38ed612022-05-05 19:05:59 +080040&pinctrl_wdog {
Simon Glass8c103c32023-02-13 08:56:33 -070041 bootph-pre-ram;
Peng Fana38ed612022-05-05 19:05:59 +080042};
43
Peng Fan439321b2019-12-30 17:46:21 +080044&gpio1 {
Simon Glass8c103c32023-02-13 08:56:33 -070045 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080046};
47
48&gpio2 {
Simon Glass8c103c32023-02-13 08:56:33 -070049 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080050};
51
52&gpio3 {
Simon Glass8c103c32023-02-13 08:56:33 -070053 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080054};
55
56&gpio4 {
Simon Glass8c103c32023-02-13 08:56:33 -070057 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080058};
59
60&gpio5 {
Simon Glass8c103c32023-02-13 08:56:33 -070061 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080062};
63
64&uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070065 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080066};
67
68&i2c1 {
Simon Glass8c103c32023-02-13 08:56:33 -070069 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080070};
71
72&i2c2 {
Simon Glass8c103c32023-02-13 08:56:33 -070073 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080074};
75
76&i2c3 {
Simon Glass8c103c32023-02-13 08:56:33 -070077 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080078};
79
80&i2c4 {
Simon Glass8c103c32023-02-13 08:56:33 -070081 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080082};
83
84&i2c5 {
Simon Glass8c103c32023-02-13 08:56:33 -070085 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080086};
87
88&i2c6 {
Simon Glass8c103c32023-02-13 08:56:33 -070089 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080090};
91
Fabio Estevamb0eef732023-10-15 21:24:37 -030092&usb_dwc3_0 {
93 dr_mode = "peripheral";
94 status = "okay";
95};
96
97&usb3_0 {
98 status = "okay";
99};
100
101&usb3_phy0 {
102 status = "okay";
103};
104
Peng Fan439321b2019-12-30 17:46:21 +0800105&usdhc1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700106 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +0800107};
108
109&usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700110 bootph-pre-ram;
Andrey Zhizhikin50b1a692020-12-05 17:29:18 +0000111 sd-uhs-sdr104;
112 sd-uhs-ddr50;
Peng Fan439321b2019-12-30 17:46:21 +0800113};
114
115&usdhc3 {
Simon Glass8c103c32023-02-13 08:56:33 -0700116 bootph-pre-ram;
Andrey Zhizhikin50b1a692020-12-05 17:29:18 +0000117 mmc-hs400-1_8v;
118 mmc-hs400-enhanced-strobe;
Peng Fan439321b2019-12-30 17:46:21 +0800119};
Marek Vasutf24dea42020-04-29 15:04:26 +0200120
121&wdog1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700122 bootph-pre-ram;
Marek Vasutf24dea42020-04-29 15:04:26 +0200123};
Peng Fan48b90f82020-12-25 16:16:34 +0800124
Ye Lia65b7fb2021-08-16 18:44:28 +0800125&ethphy0 {
126 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
127 reset-delay-us = <15000>;
128 reset-post-delay-us = <100000>;
129};
130
Peng Fan48b90f82020-12-25 16:16:34 +0800131&fec {
132 phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
Ye Lif19d1a92021-02-18 22:33:48 -0800133 phy-reset-duration = <15>;
134 phy-reset-post-delay = <100>;
Peng Fan48b90f82020-12-25 16:16:34 +0800135};
Peng Fan1e4ed2d2021-04-06 11:59:02 +0800136
Peng Fan1e4ed2d2021-04-06 11:59:02 +0800137