Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause |
| 2 | /* |
| 3 | * Copyright (C) 2019 Marek Vasut <marex@denx.de> |
| 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/clock/stm32mp1-clksrc.h> |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 7 | #include "stm32mp15-u-boot.dtsi" |
Marek Vasut | 272198e | 2020-04-29 15:08:38 +0200 | [diff] [blame] | 8 | #include "stm32mp15-ddr3-dhsom-2x1Gb-1066-binG.dtsi" |
| 9 | #include "stm32mp15-ddr3-dhsom-2x2Gb-1066-binG.dtsi" |
| 10 | #include "stm32mp15-ddr3-dhsom-2x4Gb-1066-binG.dtsi" |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 11 | |
| 12 | / { |
| 13 | aliases { |
| 14 | i2c1 = &i2c2; |
| 15 | i2c3 = &i2c4; |
| 16 | i2c4 = &i2c5; |
| 17 | mmc0 = &sdmmc1; |
| 18 | mmc1 = &sdmmc2; |
| 19 | spi0 = &qspi; |
| 20 | usb0 = &usbotg_hs; |
Marek Vasut | 7d2757f | 2021-12-30 23:46:47 +0100 | [diff] [blame] | 21 | eeprom0 = &eeprom0; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | config { |
| 25 | u-boot,boot-led = "heartbeat"; |
| 26 | u-boot,error-led = "error"; |
Marek Vasut | 47b98ba | 2020-04-22 13:18:11 +0200 | [diff] [blame] | 27 | dh,som-coding-gpios = <&gpiof 12 0>, <&gpiof 13 0>, <&gpiof 15 0>; |
Marek Vasut | 39221b5 | 2020-04-22 13:18:14 +0200 | [diff] [blame] | 28 | dh,ddr3-coding-gpios = <&gpioz 6 0>, <&gpioz 7 0>; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 29 | }; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 30 | }; |
| 31 | |
Marek Vasut | 7d2757f | 2021-12-30 23:46:47 +0100 | [diff] [blame] | 32 | ðernet0 { |
| 33 | phy-reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>; |
| 34 | /delete-property/ st,eth-ref-clk-sel; |
| 35 | }; |
| 36 | |
| 37 | ðernet0_rmii_pins_a { |
| 38 | pins1 { |
| 39 | pinmux = <STM32_PINMUX('G', 13, AF11)>, /* ETH1_RMII_TXD0 */ |
| 40 | <STM32_PINMUX('G', 14, AF11)>, /* ETH1_RMII_TXD1 */ |
| 41 | <STM32_PINMUX('B', 11, AF11)>, /* ETH1_RMII_TX_EN */ |
| 42 | <STM32_PINMUX('A', 1, AF11)>, /* ETH1_RMII_REF_CLK */ |
| 43 | <STM32_PINMUX('A', 2, AF11)>, /* ETH1_MDIO */ |
| 44 | <STM32_PINMUX('C', 1, AF11)>; /* ETH1_MDC */ |
| 45 | }; |
| 46 | }; |
| 47 | |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 48 | &i2c4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 49 | bootph-all; |
| 50 | bootph-pre-ram; |
Marek Vasut | 7d2757f | 2021-12-30 23:46:47 +0100 | [diff] [blame] | 51 | |
| 52 | eeprom0: eeprom@50 { |
| 53 | }; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | &i2c4_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 57 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 58 | pins { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 59 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 60 | }; |
| 61 | }; |
| 62 | |
Marek Vasut | 7d2757f | 2021-12-30 23:46:47 +0100 | [diff] [blame] | 63 | &phy0 { |
| 64 | /delete-property/ reset-gpios; |
| 65 | }; |
| 66 | |
Marek Vasut | 0839ea9 | 2020-03-28 02:01:58 +0100 | [diff] [blame] | 67 | &pinctrl { |
Marek Vasut | ccfcde3 | 2020-12-01 11:34:48 +0100 | [diff] [blame] | 68 | mco2_pins_a: mco2-0 { |
| 69 | pins { |
| 70 | pinmux = <STM32_PINMUX('G', 2, AF1)>; /* MCO2 */ |
| 71 | bias-disable; |
| 72 | drive-push-pull; |
| 73 | slew-rate = <2>; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | mco2_sleep_pins_a: mco2-sleep-0 { |
| 78 | pins { |
| 79 | pinmux = <STM32_PINMUX('G', 2, ANALOG)>; /* MCO2 */ |
| 80 | }; |
| 81 | }; |
Marek Vasut | 0839ea9 | 2020-03-28 02:01:58 +0100 | [diff] [blame] | 82 | }; |
| 83 | |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 84 | &pmic { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-all; |
| 86 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 87 | |
| 88 | regulators { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 89 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 90 | }; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | &flash0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 94 | bootph-pre-ram; |
Patrick Delaunay | f172bcb | 2023-06-08 17:16:48 +0200 | [diff] [blame] | 95 | |
| 96 | partitions { |
| 97 | compatible = "fixed-partitions"; |
| 98 | #address-cells = <1>; |
| 99 | #size-cells = <1>; |
| 100 | |
| 101 | partition@0 { |
| 102 | label = "fsbl1"; |
| 103 | reg = <0x00000000 0x00040000>; |
| 104 | }; |
| 105 | partition@40000 { |
| 106 | label = "fsbl2"; |
| 107 | reg = <0x00040000 0x00040000>; |
| 108 | }; |
Patrice Chotard | 29c1e7b | 2024-03-08 14:50:09 +0100 | [diff] [blame] | 109 | partition@80000 { |
Patrick Delaunay | f172bcb | 2023-06-08 17:16:48 +0200 | [diff] [blame] | 110 | label = "uboot"; |
| 111 | reg = <0x00080000 0x00160000>; |
| 112 | }; |
Patrice Chotard | 29c1e7b | 2024-03-08 14:50:09 +0100 | [diff] [blame] | 113 | partition@1e0000 { |
Patrick Delaunay | f172bcb | 2023-06-08 17:16:48 +0200 | [diff] [blame] | 114 | label = "env1"; |
| 115 | reg = <0x001E0000 0x00010000>; |
| 116 | }; |
Patrice Chotard | 29c1e7b | 2024-03-08 14:50:09 +0100 | [diff] [blame] | 117 | partition@1f0000 { |
Patrick Delaunay | f172bcb | 2023-06-08 17:16:48 +0200 | [diff] [blame] | 118 | label = "env2"; |
| 119 | reg = <0x001F0000 0x00010000>; |
| 120 | }; |
| 121 | }; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 122 | }; |
| 123 | |
| 124 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 125 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 126 | }; |
| 127 | |
| 128 | &qspi_clk_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 129 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 130 | pins { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 131 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 132 | }; |
| 133 | }; |
| 134 | |
| 135 | &qspi_bk1_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 136 | bootph-pre-ram; |
Marek Vasut | 3f3375c | 2023-10-10 01:15:51 +0200 | [diff] [blame] | 137 | pins { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 138 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 139 | }; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 140 | }; |
| 141 | |
Marek Vasut | 3f3375c | 2023-10-10 01:15:51 +0200 | [diff] [blame] | 142 | &qspi_cs1_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 143 | bootph-pre-ram; |
Marek Vasut | 3f3375c | 2023-10-10 01:15:51 +0200 | [diff] [blame] | 144 | pins { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 145 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 146 | }; |
| 147 | }; |
| 148 | |
| 149 | &rcc { |
Marek Vasut | b30b159 | 2023-07-27 01:58:07 +0200 | [diff] [blame] | 150 | /* |
| 151 | * Reinstate clock names from stm32mp151.dtsi, the MCO2 trick |
| 152 | * used in stm32mp15xx-dhcom-som.dtsi is not supported by the |
| 153 | * U-Boot clock framework. |
| 154 | */ |
| 155 | clock-names = "hse", "hsi", "csi", "lse", "lsi"; |
| 156 | clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>, |
| 157 | <&clk_lse>, <&clk_lsi>; |
| 158 | |
| 159 | /* The MCO2 is already configured correctly, remove those. */ |
| 160 | /delete-property/ assigned-clocks; |
| 161 | /delete-property/ assigned-clock-parents; |
| 162 | /delete-property/ assigned-clock-rates; |
| 163 | |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 164 | st,clksrc = < |
| 165 | CLK_MPU_PLL1P |
| 166 | CLK_AXI_PLL2P |
| 167 | CLK_MCU_PLL3P |
| 168 | CLK_PLL12_HSE |
| 169 | CLK_PLL3_HSE |
| 170 | CLK_PLL4_HSE |
| 171 | CLK_RTC_LSE |
| 172 | CLK_MCO1_DISABLED |
Marek Vasut | ccfcde3 | 2020-12-01 11:34:48 +0100 | [diff] [blame] | 173 | CLK_MCO2_PLL4P |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 174 | >; |
| 175 | |
| 176 | st,clkdiv = < |
| 177 | 1 /*MPU*/ |
| 178 | 0 /*AXI*/ |
| 179 | 0 /*MCU*/ |
| 180 | 1 /*APB1*/ |
| 181 | 1 /*APB2*/ |
| 182 | 1 /*APB3*/ |
| 183 | 1 /*APB4*/ |
| 184 | 2 /*APB5*/ |
| 185 | 23 /*RTC*/ |
| 186 | 0 /*MCO1*/ |
Marek Vasut | ccfcde3 | 2020-12-01 11:34:48 +0100 | [diff] [blame] | 187 | 1 /*MCO2*/ |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 188 | >; |
| 189 | |
| 190 | st,pkcs = < |
| 191 | CLK_CKPER_HSE |
| 192 | CLK_FMC_ACLK |
| 193 | CLK_QSPI_ACLK |
| 194 | CLK_ETH_PLL4P |
| 195 | CLK_SDMMC12_PLL4P |
| 196 | CLK_DSI_DSIPLL |
| 197 | CLK_STGEN_HSE |
| 198 | CLK_USBPHY_HSE |
| 199 | CLK_SPI2S1_PLL3Q |
| 200 | CLK_SPI2S23_PLL3Q |
| 201 | CLK_SPI45_HSI |
| 202 | CLK_SPI6_HSI |
| 203 | CLK_I2C46_HSI |
| 204 | CLK_SDMMC3_PLL4P |
| 205 | CLK_USBO_USBPHY |
| 206 | CLK_ADC_CKPER |
| 207 | CLK_CEC_LSE |
| 208 | CLK_I2C12_HSI |
| 209 | CLK_I2C35_HSI |
| 210 | CLK_UART1_HSI |
| 211 | CLK_UART24_HSI |
| 212 | CLK_UART35_HSI |
| 213 | CLK_UART6_HSI |
| 214 | CLK_UART78_HSI |
| 215 | CLK_SPDIF_PLL4P |
Antonio Borneo | 84159e8 | 2020-01-28 10:11:01 +0100 | [diff] [blame] | 216 | CLK_FDCAN_PLL4R |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 217 | CLK_SAI1_PLL3Q |
| 218 | CLK_SAI2_PLL3Q |
| 219 | CLK_SAI3_PLL3Q |
| 220 | CLK_SAI4_PLL3Q |
| 221 | CLK_RNG1_LSI |
| 222 | CLK_RNG2_LSI |
| 223 | CLK_LPTIM1_PCLK1 |
| 224 | CLK_LPTIM23_PCLK3 |
| 225 | CLK_LPTIM45_LSE |
| 226 | >; |
| 227 | |
Marek Vasut | 086fa93 | 2022-10-11 22:42:44 +0200 | [diff] [blame] | 228 | /* |
| 229 | * cfg = < DIVM1 DIVN P Q R PQR(p,q,r) >; |
| 230 | * frac = < f >; |
| 231 | * |
| 232 | * PRQ(p,q,r) ... for p,q,r: 0-output disabled / 1-output enabled |
| 233 | * DIVN ... actually multiplier, but RCC_PLL1CFGR1 calls the field DIVN |
| 234 | * m ... for PLL1,2: m=2 ; for PLL3,4: m=1 |
| 235 | * XTAL = 24 MHz |
| 236 | * |
| 237 | * VCO = ( XTAL / (DIVM1 + 1) ) * m * ( DIVN + 1 + ( f / 8192 ) ) |
| 238 | * P = VCO / (P + 1) |
| 239 | * Q = VCO / (Q + 1) |
| 240 | * R = VCO / (R + 1) |
| 241 | */ |
| 242 | |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 243 | /* VCO = 1066.0 MHz => P = 266 (AXI), Q = 533 (GPU), R = 533 (DDR) */ |
| 244 | pll2: st,pll@1 { |
Patrick Delaunay | c22caac | 2020-01-28 10:11:03 +0100 | [diff] [blame] | 245 | compatible = "st,stm32mp1-pll"; |
| 246 | reg = <1>; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 247 | cfg = < 2 65 1 0 0 PQR(1,1,1) >; |
| 248 | frac = < 0x1400 >; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 249 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 250 | }; |
| 251 | |
| 252 | /* VCO = 417.8 MHz => P = 209, Q = 24, R = 11 */ |
| 253 | pll3: st,pll@2 { |
Patrick Delaunay | c22caac | 2020-01-28 10:11:03 +0100 | [diff] [blame] | 254 | compatible = "st,stm32mp1-pll"; |
| 255 | reg = <2>; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 256 | cfg = < 1 33 1 16 36 PQR(1,1,1) >; |
| 257 | frac = < 0x1a04 >; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 258 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 259 | }; |
| 260 | |
Marek Vasut | 086fa93 | 2022-10-11 22:42:44 +0200 | [diff] [blame] | 261 | /* VCO = 600.0 MHz => P = 100, Q = 50, R = 50 */ |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 262 | pll4: st,pll@3 { |
Patrick Delaunay | c22caac | 2020-01-28 10:11:03 +0100 | [diff] [blame] | 263 | compatible = "st,stm32mp1-pll"; |
| 264 | reg = <3>; |
Marek Vasut | ccfcde3 | 2020-12-01 11:34:48 +0100 | [diff] [blame] | 265 | cfg = < 1 49 5 11 11 PQR(1,1,1) >; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 266 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 267 | }; |
| 268 | }; |
| 269 | |
| 270 | &sdmmc1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 271 | bootph-pre-ram; |
Marek Vasut | 5f5ce60 | 2021-11-13 03:29:44 +0100 | [diff] [blame] | 272 | st,use-ckin; |
| 273 | st,cmd-gpios = <&gpiod 2 0>; |
| 274 | st,ck-gpios = <&gpioc 12 0>; |
| 275 | st,ckin-gpios = <&gpioe 4 0>; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 276 | }; |
| 277 | |
| 278 | &sdmmc1_b4_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 279 | bootph-pre-ram; |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 280 | pins1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 281 | bootph-pre-ram; |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 282 | }; |
| 283 | pins2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 284 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 285 | }; |
| 286 | }; |
| 287 | |
| 288 | &sdmmc1_dir_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 289 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 290 | pins1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 291 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 292 | }; |
| 293 | pins2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 294 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 295 | }; |
| 296 | }; |
| 297 | |
| 298 | &sdmmc2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 299 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 300 | }; |
| 301 | |
| 302 | &sdmmc2_b4_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 303 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 304 | pins { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 305 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 306 | }; |
| 307 | }; |
| 308 | |
| 309 | &sdmmc2_d47_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 310 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 311 | pins { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 312 | bootph-pre-ram; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 313 | }; |
| 314 | }; |
| 315 | |
| 316 | &uart4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 317 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 318 | }; |
| 319 | |
| 320 | &uart4_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 321 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 322 | pins1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 323 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 324 | }; |
| 325 | pins2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 326 | bootph-all; |
Marek Vasut | 5ff0529 | 2020-01-24 18:39:16 +0100 | [diff] [blame] | 327 | /* pull-up on rx to avoid floating level */ |
| 328 | bias-pull-up; |
| 329 | }; |
| 330 | }; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 331 | |
| 332 | ®11 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 333 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 334 | }; |
| 335 | |
| 336 | ®18 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 337 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 338 | }; |
| 339 | |
| 340 | &usb33 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 341 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 342 | }; |
| 343 | |
| 344 | &usbotg_hs_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 345 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 346 | }; |
| 347 | |
| 348 | &usbotg_hs { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 349 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 350 | }; |
| 351 | |
| 352 | &usbphyc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 353 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 354 | }; |
| 355 | |
| 356 | &usbphyc_port0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 357 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 358 | }; |
| 359 | |
| 360 | &usbphyc_port1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 361 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 362 | }; |
| 363 | |
| 364 | &vdd_usb { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 365 | bootph-pre-ram; |
Marek Vasut | 8b64230 | 2022-03-14 13:35:54 +0100 | [diff] [blame] | 366 | }; |