Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [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 | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 4 | */ |
5 | |||||
Jagan Teki | 73d5118 | 2021-04-26 18:23:46 +0530 | [diff] [blame] | 6 | #include "imx8mm-u-boot.dtsi" |
7 | |||||
Marek Vasut | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 8 | / { |
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 | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 13 | }; |
14 | }; | ||||
15 | |||||
Fabio Estevam | 3cb058d | 2022-09-19 21:20:14 -0300 | [diff] [blame] | 16 | &aips4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 17 | bootph-pre-ram; |
Fabio Estevam | 3cb058d | 2022-09-19 21:20:14 -0300 | [diff] [blame] | 18 | }; |
19 | |||||
Andrey Zhizhikin | cf51a55 | 2020-12-05 17:29:17 +0000 | [diff] [blame] | 20 | ®_usdhc2_vmmc { |
21 | u-boot,off-on-delay-us = <20000>; | ||||
22 | }; | ||||
23 | |||||
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 24 | &pinctrl_reg_usdhc2_vmmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 25 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 26 | }; |
27 | |||||
28 | &pinctrl_uart2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 30 | }; |
31 | |||||
32 | &pinctrl_usdhc2_gpio { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 34 | }; |
35 | |||||
36 | &pinctrl_usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 37 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 38 | }; |
39 | |||||
40 | &pinctrl_usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 41 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 42 | }; |
43 | |||||
44 | &gpio1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 45 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 46 | }; |
47 | |||||
48 | &gpio2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 49 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 50 | }; |
51 | |||||
52 | &gpio3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 53 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 54 | }; |
55 | |||||
56 | &gpio4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 57 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 58 | }; |
59 | |||||
60 | &gpio5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 61 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 62 | }; |
63 | |||||
64 | &uart2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 65 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 66 | }; |
67 | |||||
Fabio Estevam | 3cb058d | 2022-09-19 21:20:14 -0300 | [diff] [blame] | 68 | &usbmisc1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 69 | bootph-pre-ram; |
Fabio Estevam | 3cb058d | 2022-09-19 21:20:14 -0300 | [diff] [blame] | 70 | }; |
71 | |||||
72 | &usbphynop1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 73 | bootph-pre-ram; |
Fabio Estevam | 3cb058d | 2022-09-19 21:20:14 -0300 | [diff] [blame] | 74 | }; |
75 | |||||
76 | &usbotg1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 77 | bootph-pre-ram; |
Fabio Estevam | 3cb058d | 2022-09-19 21:20:14 -0300 | [diff] [blame] | 78 | }; |
79 | |||||
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 80 | &usdhc1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-pre-ram; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 82 | }; |
83 | |||||
84 | &usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 86 | sd-uhs-sdr104; |
87 | sd-uhs-ddr50; | ||||
Haibo Chen | 2615495 | 2021-03-22 18:55:38 +0800 | [diff] [blame] | 88 | fsl,signal-voltage-switch-extra-delay-ms = <8>; |
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 89 | }; |
90 | |||||
91 | &usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 92 | bootph-pre-ram; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 93 | mmc-hs400-1_8v; |
94 | mmc-hs400-enhanced-strobe; | ||||
Peng Fan | f922017 | 2019-08-27 06:26:08 +0000 | [diff] [blame] | 95 | }; |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 96 | |
97 | &i2c1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 98 | bootph-pre-ram; |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 99 | }; |
100 | |||||
Marcel Ziswiler | ca453f2 | 2022-07-21 15:27:40 +0200 | [diff] [blame] | 101 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 102 | bootph-pre-ram; |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 103 | }; |
104 | |||||
Marcel Ziswiler | ca453f2 | 2022-07-21 15:27:40 +0200 | [diff] [blame] | 105 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 106 | bootph-pre-ram; |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 107 | }; |
108 | |||||
109 | &pinctrl_i2c1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 110 | bootph-pre-ram; |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 111 | }; |
112 | |||||
113 | &pinctrl_pmic { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 114 | bootph-pre-ram; |
Peng Fan | a9e0433 | 2019-10-16 10:24:42 +0000 | [diff] [blame] | 115 | }; |
Peng Fan | e5f2b22 | 2019-10-22 03:30:04 +0000 | [diff] [blame] | 116 | |
Peng Fan | a279d68 | 2022-05-05 19:05:58 +0800 | [diff] [blame] | 117 | &pinctrl_wdog { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 118 | bootph-pre-ram; |
Peng Fan | a279d68 | 2022-05-05 19:05:58 +0800 | [diff] [blame] | 119 | }; |
120 | |||||
Peng Fan | e5f2b22 | 2019-10-22 03:30:04 +0000 | [diff] [blame] | 121 | &fec1 { |
122 | phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; | ||||
123 | }; | ||||
Marek Vasut | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 124 | |
125 | &wdog1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 126 | bootph-pre-ram; |
Marek Vasut | 4512d50 | 2020-04-29 15:04:24 +0200 | [diff] [blame] | 127 | }; |