|
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>, |
|
240 | 294 | status = "okay"; |
241 | 295 | }; |
242 | 296 |
|
| 297 | +&remoteproc_adsp { |
| 298 | + firmware-name = "qcom/qcs615/adsp.mbn"; |
| 299 | + |
| 300 | + status = "okay"; |
| 301 | +}; |
| 302 | + |
| 303 | +&remoteproc_cdsp { |
| 304 | + firmware-name = "qcom/qcs615/cdsp.mbn"; |
| 305 | + |
| 306 | + status = "okay"; |
| 307 | +}; |
| 308 | + |
243 | 309 | &rpmhcc { |
244 | 310 | clocks = <&xo_board_clk>; |
245 | 311 | }; |
|
278 | 344 | status = "okay"; |
279 | 345 | }; |
280 | 346 |
|
| 347 | +&tlmm { |
| 348 | + ethernet_defaults: ethernet-defaults-state { |
| 349 | + mdc-pins { |
| 350 | + pins = "gpio113"; |
| 351 | + function = "rgmii"; |
| 352 | + bias-pull-up; |
| 353 | + }; |
| 354 | + |
| 355 | + mdio-pins { |
| 356 | + pins = "gpio114"; |
| 357 | + function = "rgmii"; |
| 358 | + bias-pull-up; |
| 359 | + }; |
| 360 | + |
| 361 | + rgmii-rx-pins { |
| 362 | + pins = "gpio81", "gpio82", "gpio83", "gpio102", "gpio103", "gpio112"; |
| 363 | + function = "rgmii"; |
| 364 | + bias-disable; |
| 365 | + drive-strength = <2>; |
| 366 | + }; |
| 367 | + |
| 368 | + rgmii-tx-pins { |
| 369 | + pins = "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97"; |
| 370 | + function = "rgmii"; |
| 371 | + bias-pull-up; |
| 372 | + drive-strength = <16>; |
| 373 | + }; |
| 374 | + |
| 375 | + phy-intr-pins { |
| 376 | + pins = "gpio121"; |
| 377 | + function = "gpio"; |
| 378 | + bias-disable; |
| 379 | + drive-strength = <8>; |
| 380 | + }; |
| 381 | + |
| 382 | + phy-reset-pins { |
| 383 | + pins = "gpio104"; |
| 384 | + function = "gpio"; |
| 385 | + bias-pull-up; |
| 386 | + drive-strength = <16>; |
| 387 | + }; |
| 388 | + |
| 389 | + pps-pins { |
| 390 | + pins = "gpio91"; |
| 391 | + function = "rgmii"; |
| 392 | + bias-disable; |
| 393 | + drive-strength = <8>; |
| 394 | + }; |
| 395 | + }; |
| 396 | +}; |
| 397 | + |
281 | 398 | &uart0 { |
282 | 399 | status = "okay"; |
283 | 400 | }; |
|
0 commit comments