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 | }; |
Clement Faure | a93b0d9 | 2021-03-25 17:30:33 +0800 | [diff] [blame] | 14 | firmware { |
15 | optee { | ||||
16 | compatible = "linaro,optee-tz"; | ||||
17 | method = "smc"; | ||||
18 | }; | ||||
19 | }; | ||||
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 20 | }; |
21 | |||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 22 | ®_usdhc2_vmmc { |
Andrey Zhizhikin | cf51a55 | 2020-12-05 17:29:17 +0000 | [diff] [blame] | 23 | u-boot,off-on-delay-us = <20000>; |
24 | }; | ||||
25 | |||||
26 | ®_usdhc2_vmmc { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 27 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 28 | }; |
29 | |||||
30 | &pinctrl_uart2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 31 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 32 | }; |
33 | |||||
34 | &pinctrl_usdhc2_gpio { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 35 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 36 | }; |
37 | |||||
38 | &pinctrl_usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 39 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 40 | }; |
41 | |||||
42 | &pinctrl_usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 44 | }; |
45 | |||||
Peng Fan | e22df44 | 2022-05-05 19:05:59 +0800 | [diff] [blame] | 46 | &pinctrl_wdog { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 47 | bootph-pre-ram; |
Peng Fan | e22df44 | 2022-05-05 19:05:59 +0800 | [diff] [blame] | 48 | }; |
49 | |||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 50 | &gpio1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 51 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 52 | }; |
53 | |||||
54 | &gpio2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 55 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 56 | }; |
57 | |||||
58 | &gpio3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 59 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 60 | }; |
61 | |||||
62 | &gpio4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 64 | }; |
65 | |||||
66 | &gpio5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 67 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 68 | }; |
69 | |||||
70 | &uart2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 71 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 72 | }; |
73 | |||||
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 74 | &crypto { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 75 | bootph-pre-ram; |
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 76 | }; |
77 | |||||
78 | &sec_jr0 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 79 | bootph-pre-ram; |
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 80 | }; |
81 | |||||
82 | &sec_jr1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 83 | bootph-pre-ram; |
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 84 | }; |
85 | |||||
86 | &sec_jr2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 87 | bootph-pre-ram; |
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 88 | }; |
89 | |||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 90 | &i2c1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 91 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 92 | }; |
93 | |||||
94 | &i2c2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 95 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 96 | }; |
97 | |||||
98 | &i2c3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 99 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 100 | }; |
101 | |||||
102 | &i2c4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 103 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 104 | }; |
105 | |||||
106 | &i2c5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 107 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 108 | }; |
109 | |||||
110 | &i2c6 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 111 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 112 | }; |
113 | |||||
114 | &usdhc1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 115 | bootph-pre-ram; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 116 | }; |
117 | |||||
118 | &usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 119 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 120 | sd-uhs-sdr104; |
121 | sd-uhs-ddr50; | ||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 122 | }; |
123 | |||||
124 | &usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 125 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 126 | mmc-hs400-1_8v; |
127 | mmc-hs400-enhanced-strobe; | ||||
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 128 | }; |
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 129 | |
130 | &wdog1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 131 | bootph-pre-ram; |
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 132 | }; |
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 133 | |
Ye Li | 2580494 | 2021-08-16 18:44:28 +0800 | [diff] [blame] | 134 | ðphy0 { |
135 | reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; | ||||
136 | reset-delay-us = <15000>; | ||||
137 | reset-post-delay-us = <100000>; | ||||
138 | }; | ||||
139 | |||||
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 140 | &fec { |
141 | phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; | ||||
Ye Li | d1b8206 | 2021-02-18 22:33:48 -0800 | [diff] [blame] | 142 | phy-reset-duration = <15>; |
143 | phy-reset-post-delay = <100>; | ||||
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 144 | }; |
Peng Fan | d96d94b | 2021-04-06 11:59:02 +0800 | [diff] [blame] | 145 | |
Peng Fan | d96d94b | 2021-04-06 11:59:02 +0800 | [diff] [blame] | 146 |