|
211 | 211 | }; |
212 | 212 | }; |
213 | 213 |
|
| 214 | +ðernet { |
| 215 | + pinctrl-0 = <ðernet_defaults>; |
| 216 | + pinctrl-names = "default"; |
| 217 | + |
| 218 | + phy-handle = <&rgmii_phy>; |
| 219 | + phy-mode = "rgmii-id"; |
| 220 | + qcom,rx-prog-swap; |
| 221 | + |
| 222 | + snps,mtl-rx-config = <&mtl_rx_setup>; |
| 223 | + snps,mtl-tx-config = <&mtl_tx_setup>; |
| 224 | + |
| 225 | + status = "okay"; |
| 226 | + |
| 227 | + mdio { |
| 228 | + compatible = "snps,dwmac-mdio"; |
| 229 | + #address-cells = <1>; |
| 230 | + #size-cells = <0>; |
| 231 | + |
| 232 | + rgmii_phy: phy@7 { |
| 233 | + compatible = "ethernet-phy-ieee802.3-c22"; |
| 234 | + reg = <0x7>; |
| 235 | + |
| 236 | + interrupts-extended = <&tlmm 121 IRQ_TYPE_EDGE_FALLING>; |
| 237 | + device_type = "ethernet-phy"; |
| 238 | + reset-gpios = <&tlmm 104 GPIO_ACTIVE_LOW>; |
| 239 | + reset-assert-us = <11000>; |
| 240 | + reset-deassert-us = <70000>; |
| 241 | + }; |
| 242 | + }; |
| 243 | + |
| 244 | + mtl_rx_setup: rx-queues-config { |
| 245 | + snps,rx-queues-to-use = <1>; |
| 246 | + snps,rx-sched-sp; |
| 247 | + |
| 248 | + queue0 { |
| 249 | + snps,dcb-algorithm; |
| 250 | + snps,map-to-dma-channel = <0x0>; |
| 251 | + snps,route-up; |
| 252 | + snps,priority = <0x1>; |
| 253 | + }; |
| 254 | + }; |
| 255 | + |
| 256 | + mtl_tx_setup: tx-queues-config { |
| 257 | + snps,tx-queues-to-use = <1>; |
| 258 | + snps,tx-sched-wrr; |
| 259 | + |
| 260 | + queue0 { |
| 261 | + snps,weight = <0x10>; |
| 262 | + snps,dcb-algorithm; |
| 263 | + snps,priority = <0x0>; |
| 264 | + }; |
| 265 | + }; |
| 266 | +}; |
| 267 | + |
214 | 268 | &gcc { |
215 | 269 | clocks = <&rpmhcc RPMH_CXO_CLK>, |
216 | 270 | <&rpmhcc RPMH_CXO_CLK_A>, |
217 | 271 | <&sleep_clk>; |
218 | 272 | }; |
219 | 273 |
|
| 274 | +&pcie { |
| 275 | + perst-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>; |
| 276 | + wake-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; |
| 277 | + |
| 278 | + pinctrl-0 = <&pcie_default_state>; |
| 279 | + pinctrl-names = "default"; |
| 280 | + |
| 281 | + status = "okay"; |
| 282 | +}; |
| 283 | + |
| 284 | +&pcie_phy { |
| 285 | + vdda-phy-supply = <&vreg_l5a>; |
| 286 | + vdda-pll-supply = <&vreg_l12a>; |
| 287 | + |
| 288 | + status = "okay"; |
| 289 | +}; |
| 290 | + |
220 | 291 | &pm8150_gpios { |
221 | 292 | usb2_en: usb2-en-state { |
222 | 293 | pins = "gpio10"; |
|
240 | 311 | status = "okay"; |
241 | 312 | }; |
242 | 313 |
|
| 314 | +&remoteproc_adsp { |
| 315 | + firmware-name = "qcom/qcs615/adsp.mbn"; |
| 316 | + |
| 317 | + status = "okay"; |
| 318 | +}; |
| 319 | + |
| 320 | +&remoteproc_cdsp { |
| 321 | + firmware-name = "qcom/qcs615/cdsp.mbn"; |
| 322 | + |
| 323 | + status = "okay"; |
| 324 | +}; |
| 325 | + |
243 | 326 | &rpmhcc { |
244 | 327 | clocks = <&xo_board_clk>; |
245 | 328 | }; |
246 | 329 |
|
| 330 | +&tlmm { |
| 331 | + pcie_default_state: pcie-default-state { |
| 332 | + clkreq-pins { |
| 333 | + pins = "gpio90"; |
| 334 | + function = "pcie_clk_req"; |
| 335 | + drive-strength = <2>; |
| 336 | + bias-pull-up; |
| 337 | + }; |
| 338 | + |
| 339 | + perst-pins { |
| 340 | + pins = "gpio101"; |
| 341 | + function = "gpio"; |
| 342 | + drive-strength = <2>; |
| 343 | + bias-pull-down; |
| 344 | + }; |
| 345 | + |
| 346 | + wake-pins { |
| 347 | + pins = "gpio100"; |
| 348 | + function = "gpio"; |
| 349 | + drive-strength = <2>; |
| 350 | + bias-pull-up; |
| 351 | + }; |
| 352 | + }; |
| 353 | +}; |
| 354 | + |
247 | 355 | &sdhc_1 { |
248 | 356 | pinctrl-0 = <&sdc1_state_on>; |
249 | 357 | pinctrl-1 = <&sdc1_state_off>; |
|
278 | 386 | status = "okay"; |
279 | 387 | }; |
280 | 388 |
|
| 389 | +&tlmm { |
| 390 | + ethernet_defaults: ethernet-defaults-state { |
| 391 | + mdc-pins { |
| 392 | + pins = "gpio113"; |
| 393 | + function = "rgmii"; |
| 394 | + bias-pull-up; |
| 395 | + }; |
| 396 | + |
| 397 | + mdio-pins { |
| 398 | + pins = "gpio114"; |
| 399 | + function = "rgmii"; |
| 400 | + bias-pull-up; |
| 401 | + }; |
| 402 | + |
| 403 | + rgmii-rx-pins { |
| 404 | + pins = "gpio81", "gpio82", "gpio83", "gpio102", "gpio103", "gpio112"; |
| 405 | + function = "rgmii"; |
| 406 | + bias-disable; |
| 407 | + drive-strength = <2>; |
| 408 | + }; |
| 409 | + |
| 410 | + rgmii-tx-pins { |
| 411 | + pins = "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97"; |
| 412 | + function = "rgmii"; |
| 413 | + bias-pull-up; |
| 414 | + drive-strength = <16>; |
| 415 | + }; |
| 416 | + |
| 417 | + phy-intr-pins { |
| 418 | + pins = "gpio121"; |
| 419 | + function = "gpio"; |
| 420 | + bias-disable; |
| 421 | + drive-strength = <8>; |
| 422 | + }; |
| 423 | + |
| 424 | + phy-reset-pins { |
| 425 | + pins = "gpio104"; |
| 426 | + function = "gpio"; |
| 427 | + bias-pull-up; |
| 428 | + drive-strength = <16>; |
| 429 | + }; |
| 430 | + |
| 431 | + pps-pins { |
| 432 | + pins = "gpio91"; |
| 433 | + function = "rgmii"; |
| 434 | + bias-disable; |
| 435 | + drive-strength = <8>; |
| 436 | + }; |
| 437 | + }; |
| 438 | +}; |
| 439 | + |
281 | 440 | &uart0 { |
282 | 441 | status = "okay"; |
283 | 442 | }; |
|
0 commit comments