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