Adam Ford | a855481 | 2023-03-23 22:06:16 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2022 Logic PD, Inc DBA Beacon EmbeddedWorks |
| 4 | */ |
| 5 | |
| 6 | #include "imx8mp-u-boot.dtsi" |
| 7 | |
| 8 | / { |
| 9 | wdt-reboot { |
| 10 | compatible = "wdt-reboot"; |
| 11 | wdt = <&wdog1>; |
| 12 | bootph-pre-ram; |
| 13 | }; |
| 14 | |
| 15 | firmware { |
| 16 | optee { |
| 17 | compatible = "linaro,optee-tz"; |
| 18 | method = "smc"; |
| 19 | }; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@25} { |
| 24 | bootph-pre-ram; |
| 25 | }; |
| 26 | |
| 27 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} { |
| 28 | bootph-pre-ram; |
| 29 | }; |
| 30 | |
| 31 | &crypto { |
| 32 | bootph-pre-ram; |
| 33 | }; |
| 34 | |
| 35 | &eqos { |
| 36 | /delete-property/ assigned-clocks; |
| 37 | /delete-property/ assigned-clock-parents; |
| 38 | /delete-property/ assigned-clock-rates; |
| 39 | }; |
| 40 | |
| 41 | ðphy0 { |
| 42 | reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; |
| 43 | reset-assert-us = <15000>; |
| 44 | reset-deassert-us = <100000>; |
| 45 | }; |
| 46 | |
| 47 | &fec { |
| 48 | phy-reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>; |
| 49 | phy-reset-duration = <15>; |
| 50 | phy-reset-post-delay = <100>; |
| 51 | }; |
| 52 | |
| 53 | &flexspi { |
| 54 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; |
| 55 | }; |
| 56 | |
| 57 | &gpio1 { |
| 58 | bootph-pre-ram; |
| 59 | }; |
| 60 | |
| 61 | &gpio2 { |
| 62 | bootph-pre-ram; |
| 63 | }; |
| 64 | |
| 65 | &gpio3 { |
| 66 | bootph-pre-ram; |
| 67 | }; |
| 68 | |
| 69 | &gpio4 { |
| 70 | bootph-pre-ram; |
| 71 | }; |
| 72 | |
| 73 | &gpio5 { |
| 74 | bootph-pre-ram; |
| 75 | }; |
| 76 | |
| 77 | &i2c1 { |
| 78 | bootph-pre-ram; |
| 79 | }; |
| 80 | |
| 81 | &i2c2 { |
| 82 | bootph-pre-ram; |
| 83 | }; |
| 84 | |
| 85 | &i2c3 { |
| 86 | bootph-pre-ram; |
| 87 | }; |
| 88 | |
| 89 | &pca6416 { |
| 90 | compatible = "ti,tca6416"; |
| 91 | label = "exp4"; |
| 92 | }; |
| 93 | |
| 94 | &pca6416_1 { |
| 95 | compatible = "ti,tca6416"; |
| 96 | label = "exp4"; |
| 97 | }; |
| 98 | |
| 99 | &pca6416_3 { |
| 100 | compatible = "ti,tca6416"; |
| 101 | label = "exp2"; |
| 102 | }; |
| 103 | |
| 104 | &pinctrl_i2c1 { |
| 105 | bootph-pre-ram; |
| 106 | }; |
| 107 | |
| 108 | &pinctrl_pmic { |
| 109 | bootph-pre-ram; |
| 110 | }; |
| 111 | |
| 112 | &pinctrl_reg_usdhc2_vmmc { |
| 113 | bootph-pre-ram; |
| 114 | }; |
| 115 | |
| 116 | &pinctrl_uart2 { |
| 117 | bootph-pre-ram; |
| 118 | }; |
| 119 | |
| 120 | &pinctrl_usdhc2_gpio { |
| 121 | bootph-pre-ram; |
| 122 | }; |
| 123 | |
| 124 | &pinctrl_usdhc2 { |
| 125 | bootph-pre-ram; |
| 126 | }; |
| 127 | |
| 128 | &pinctrl_usdhc3 { |
| 129 | bootph-pre-ram; |
| 130 | }; |
| 131 | |
| 132 | &pinctrl_wdog { |
| 133 | bootph-pre-ram; |
| 134 | }; |
| 135 | |
| 136 | ®_usdhc2_vmmc { |
| 137 | bootph-pre-ram; |
| 138 | u-boot,off-on-delay-us = <20000>; |
| 139 | }; |
| 140 | |
| 141 | &sec_jr0 { |
| 142 | bootph-pre-ram; |
| 143 | }; |
| 144 | |
| 145 | &sec_jr1 { |
| 146 | bootph-pre-ram; |
| 147 | }; |
| 148 | |
| 149 | &sec_jr2 { |
| 150 | bootph-pre-ram; |
| 151 | }; |
| 152 | |
| 153 | &tpm { |
| 154 | compatible = "tcg,tpm_tis-spi"; |
| 155 | }; |
| 156 | |
| 157 | &uart2 { |
| 158 | bootph-pre-ram; |
| 159 | }; |
| 160 | |
| 161 | &usdhc1 { |
| 162 | bootph-pre-ram; |
| 163 | assigned-clocks = <&clk IMX8MP_CLK_USDHC1>; |
| 164 | assigned-clock-rates = <400000000>; |
| 165 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; |
| 166 | }; |
| 167 | |
| 168 | &usdhc2 { |
| 169 | bootph-pre-ram; |
| 170 | sd-uhs-sdr104; |
| 171 | sd-uhs-ddr50; |
| 172 | assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; |
| 173 | assigned-clock-rates = <400000000>; |
| 174 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; |
| 175 | }; |
| 176 | |
| 177 | &usdhc3 { |
| 178 | bootph-pre-ram; |
| 179 | mmc-hs400-1_8v; |
| 180 | mmc-hs400-enhanced-strobe; |
| 181 | assigned-clocks = <&clk IMX8MP_CLK_USDHC3>; |
| 182 | assigned-clock-rates = <400000000>; |
| 183 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; |
| 184 | }; |
| 185 | |
| 186 | &usb3_0 { |
| 187 | dma-ranges = <0x40000000 0x40000000 0xc0000000>; |
| 188 | /delete-property/ power-domains; |
| 189 | }; |
| 190 | |
| 191 | &usb3_1 { |
| 192 | dma-ranges = <0x40000000 0x40000000 0xc0000000>; |
| 193 | /delete-property/ power-domains; |
| 194 | }; |
| 195 | |
| 196 | &usb_dwc3_0 { |
| 197 | compatible = "fsl,imx8mq-dwc3", "snps,dwc3"; |
| 198 | assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>; |
| 199 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>; |
| 200 | assigned-clock-rates = <400000000>; |
| 201 | }; |
| 202 | |
| 203 | &usb_dwc3_1 { |
| 204 | compatible = "fsl,imx8mq-dwc3", "snps,dwc3"; |
| 205 | assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>; |
| 206 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>; |
| 207 | assigned-clock-rates = <400000000>; |
| 208 | }; |
| 209 | |
| 210 | &usdhc1 { |
| 211 | status = "disabled"; |
| 212 | }; |
| 213 | |
| 214 | &wdog1 { |
| 215 | bootph-pre-ram; |
| 216 | }; |