Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2019 NXP |
| 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>; |
| 12 | u-boot,dm-spl; |
| 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 { |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 27 | u-boot,dm-spl; |
| 28 | }; |
| 29 | |
| 30 | &pinctrl_uart2 { |
| 31 | u-boot,dm-spl; |
| 32 | }; |
| 33 | |
| 34 | &pinctrl_usdhc2_gpio { |
| 35 | u-boot,dm-spl; |
| 36 | }; |
| 37 | |
| 38 | &pinctrl_usdhc2 { |
| 39 | u-boot,dm-spl; |
| 40 | }; |
| 41 | |
| 42 | &pinctrl_usdhc3 { |
| 43 | u-boot,dm-spl; |
| 44 | }; |
| 45 | |
| 46 | &gpio1 { |
| 47 | u-boot,dm-spl; |
| 48 | }; |
| 49 | |
| 50 | &gpio2 { |
| 51 | u-boot,dm-spl; |
| 52 | }; |
| 53 | |
| 54 | &gpio3 { |
| 55 | u-boot,dm-spl; |
| 56 | }; |
| 57 | |
| 58 | &gpio4 { |
| 59 | u-boot,dm-spl; |
| 60 | }; |
| 61 | |
| 62 | &gpio5 { |
| 63 | u-boot,dm-spl; |
| 64 | }; |
| 65 | |
| 66 | &uart2 { |
| 67 | u-boot,dm-spl; |
| 68 | }; |
| 69 | |
| 70 | &i2c1 { |
| 71 | u-boot,dm-spl; |
| 72 | }; |
| 73 | |
| 74 | &i2c2 { |
| 75 | u-boot,dm-spl; |
| 76 | }; |
| 77 | |
| 78 | &i2c3 { |
| 79 | u-boot,dm-spl; |
| 80 | }; |
| 81 | |
| 82 | &i2c4 { |
| 83 | u-boot,dm-spl; |
| 84 | }; |
| 85 | |
| 86 | &i2c5 { |
| 87 | u-boot,dm-spl; |
| 88 | }; |
| 89 | |
| 90 | &i2c6 { |
| 91 | u-boot,dm-spl; |
| 92 | }; |
| 93 | |
| 94 | &usdhc1 { |
| 95 | u-boot,dm-spl; |
| 96 | }; |
| 97 | |
| 98 | &usdhc2 { |
| 99 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 100 | sd-uhs-sdr104; |
| 101 | sd-uhs-ddr50; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 102 | }; |
| 103 | |
| 104 | &usdhc3 { |
| 105 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 106 | mmc-hs400-1_8v; |
| 107 | mmc-hs400-enhanced-strobe; |
Peng Fan | c47e09d | 2019-12-30 17:46:21 +0800 | [diff] [blame] | 108 | }; |
Marek Vasut | 797a19a | 2020-04-29 15:04:26 +0200 | [diff] [blame] | 109 | |
| 110 | &wdog1 { |
| 111 | u-boot,dm-spl; |
| 112 | }; |
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 113 | |
Ye Li | 2580494 | 2021-08-16 18:44:28 +0800 | [diff] [blame^] | 114 | &eqos { |
| 115 | compatible = "fsl,imx-eqos"; |
| 116 | /delete-property/ assigned-clocks; |
| 117 | /delete-property/ assigned-clock-parents; |
| 118 | /delete-property/ assigned-clock-rates; |
| 119 | }; |
| 120 | |
| 121 | ðphy0 { |
| 122 | reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; |
| 123 | reset-delay-us = <15000>; |
| 124 | reset-post-delay-us = <100000>; |
| 125 | }; |
| 126 | |
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 127 | &fec { |
| 128 | phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; |
Ye Li | d1b8206 | 2021-02-18 22:33:48 -0800 | [diff] [blame] | 129 | phy-reset-duration = <15>; |
| 130 | phy-reset-post-delay = <100>; |
Peng Fan | 4f0c97b | 2020-12-25 16:16:34 +0800 | [diff] [blame] | 131 | }; |
Peng Fan | d96d94b | 2021-04-06 11:59:02 +0800 | [diff] [blame] | 132 | |
Peng Fan | d96d94b | 2021-04-06 11:59:02 +0800 | [diff] [blame] | 133 | |