Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 3 | * Copyright 2019, 2021 NXP |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 4 | */ |
5 | |||||
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 6 | #include "imx8mp-u-boot.dtsi" |
Peng Fan | d96d94b | 2021-04-06 11:59:02 +0800 | [diff] [blame] | 7 | |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 8 | / { |
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 9 | wdt-reboot { |
10 | compatible = "wdt-reboot"; | ||||
11 | wdt = <&wdog1>; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 12 | bootph-pre-ram; |
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 13 | }; |
14 | }; | ||||
15 | |||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 16 | ®_usdhc2_vmmc { |
Andrey Zhizhikin | cf51a55 | 2020-12-05 17:29:17 +0000 | [diff] [blame] | 17 | u-boot,off-on-delay-us = <20000>; |
18 | }; | ||||
19 | |||||
20 | ®_usdhc2_vmmc { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 21 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 22 | }; |
23 | |||||
24 | &pinctrl_uart2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 25 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 26 | }; |
27 | |||||
28 | &pinctrl_usdhc2_gpio { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 30 | }; |
31 | |||||
32 | &pinctrl_usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 34 | }; |
35 | |||||
36 | &pinctrl_usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 37 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 38 | }; |
39 | |||||
Peng Fan | e22df44 | 2022-05-05 19:05:59 +0800 | [diff] [blame] | 40 | &pinctrl_wdog { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 41 | bootph-pre-ram; |
Peng Fan | e22df44 | 2022-05-05 19:05:59 +0800 | [diff] [blame] | 42 | }; |
43 | |||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 44 | &gpio1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 45 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 46 | }; |
47 | |||||
48 | &gpio2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 49 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 50 | }; |
51 | |||||
52 | &gpio3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 53 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 54 | }; |
55 | |||||
56 | &gpio4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 57 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 58 | }; |
59 | |||||
60 | &gpio5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 61 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 62 | }; |
63 | |||||
64 | &uart2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 65 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 66 | }; |
67 | |||||
68 | &i2c1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 69 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 70 | }; |
71 | |||||
72 | &i2c2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 73 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 74 | }; |
75 | |||||
76 | &i2c3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 77 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 78 | }; |
79 | |||||
80 | &i2c4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 82 | }; |
83 | |||||
84 | &i2c5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 86 | }; |
87 | |||||
88 | &i2c6 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 89 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 90 | }; |
91 | |||||
Fabio Estevam | bcde197 | 2023-10-15 21:24:37 -0300 | [diff] [blame] | 92 | &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 Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 105 | &usdhc1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 106 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 107 | }; |
108 | |||||
109 | &usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 110 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 111 | sd-uhs-sdr104; |
112 | sd-uhs-ddr50; | ||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 113 | }; |
114 | |||||
115 | &usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 116 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 117 | mmc-hs400-1_8v; |
118 | mmc-hs400-enhanced-strobe; | ||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 119 | }; |
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 120 | |
121 | &wdog1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 122 | bootph-pre-ram; |
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 123 | }; |
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 124 | |
Ye Li | 2580494 | 2021-08-16 18:44:28 +0800 | [diff] [blame] | 125 | ðphy0 { |
126 | reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; | ||||
127 | reset-delay-us = <15000>; | ||||
128 | reset-post-delay-us = <100000>; | ||||
129 | }; | ||||
130 | |||||
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 131 | &fec { |
132 | phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; | ||||
Ye Li | d1b8206 | 2021-02-18 22:33:48 -0800 | [diff] [blame] | 133 | phy-reset-duration = <15>; |
134 | phy-reset-post-delay = <100>; | ||||
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 135 | }; |
Peng Fan | d96d94b | 2021-04-06 11:59:02 +0800 | [diff] [blame] | 136 | |
Peng Fan | d96d94b | 2021-04-06 11:59:02 +0800 | [diff] [blame] | 137 |