snps,dwmac.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Synopsys DesignWare MAC
  7. maintainers:
  8. - Alexandre Torgue <alexandre.torgue@foss.st.com>
  9. - Giuseppe Cavallaro <peppe.cavallaro@st.com>
  10. - Jose Abreu <joabreu@synopsys.com>
  11. # Select every compatible, including the deprecated ones. This way, we
  12. # will be able to report a warning when we have that compatible, since
  13. # we will validate the node thanks to the select, but won't report it
  14. # as a valid value in the compatible property description
  15. select:
  16. properties:
  17. compatible:
  18. contains:
  19. enum:
  20. - snps,dwmac
  21. - snps,dwmac-3.40a
  22. - snps,dwmac-3.50a
  23. - snps,dwmac-3.610
  24. - snps,dwmac-3.70a
  25. - snps,dwmac-3.710
  26. - snps,dwmac-3.72a
  27. - snps,dwmac-4.00
  28. - snps,dwmac-4.10a
  29. - snps,dwmac-4.20a
  30. - snps,dwmac-5.00a
  31. - snps,dwmac-5.10a
  32. - snps,dwmac-5.20
  33. - snps,dwmac-5.30a
  34. - snps,dwxgmac
  35. - snps,dwxgmac-2.10
  36. # Deprecated
  37. - st,spear600-gmac
  38. required:
  39. - compatible
  40. properties:
  41. # We need to include all the compatibles from schemas that will
  42. # include that schemas, otherwise compatible won't validate for
  43. # those.
  44. compatible:
  45. contains:
  46. enum:
  47. - allwinner,sun7i-a20-gmac
  48. - allwinner,sun8i-a83t-emac
  49. - allwinner,sun8i-h3-emac
  50. - allwinner,sun8i-r40-gmac
  51. - allwinner,sun8i-v3s-emac
  52. - allwinner,sun50i-a64-emac
  53. - amlogic,meson6-dwmac
  54. - amlogic,meson8b-dwmac
  55. - amlogic,meson8m2-dwmac
  56. - amlogic,meson-gxbb-dwmac
  57. - amlogic,meson-axg-dwmac
  58. - ingenic,jz4775-mac
  59. - ingenic,x1000-mac
  60. - ingenic,x1600-mac
  61. - ingenic,x1830-mac
  62. - ingenic,x2000-mac
  63. - loongson,ls2k-dwmac
  64. - loongson,ls7a-dwmac
  65. - nxp,s32g2-dwmac
  66. - qcom,qcs404-ethqos
  67. - qcom,sa8775p-ethqos
  68. - qcom,sc8280xp-ethqos
  69. - qcom,sm8150-ethqos
  70. - renesas,r9a06g032-gmac
  71. - renesas,r9a08g046-gbeth
  72. - renesas,r9a09g077-gbeth
  73. - renesas,rzn1-gmac
  74. - renesas,rzv2h-gbeth
  75. - rockchip,px30-gmac
  76. - rockchip,rk3128-gmac
  77. - rockchip,rk3228-gmac
  78. - rockchip,rk3288-gmac
  79. - rockchip,rk3308-gmac
  80. - rockchip,rk3328-gmac
  81. - rockchip,rk3366-gmac
  82. - rockchip,rk3368-gmac
  83. - rockchip,rk3399-gmac
  84. - rockchip,rk3506-gmac
  85. - rockchip,rk3528-gmac
  86. - rockchip,rk3568-gmac
  87. - rockchip,rk3576-gmac
  88. - rockchip,rk3588-gmac
  89. - rockchip,rv1108-gmac
  90. - rockchip,rv1126-gmac
  91. - snps,dwmac
  92. - snps,dwmac-3.40a
  93. - snps,dwmac-3.50a
  94. - snps,dwmac-3.610
  95. - snps,dwmac-3.70a
  96. - snps,dwmac-3.710
  97. - snps,dwmac-3.72a
  98. - snps,dwmac-4.00
  99. - snps,dwmac-4.10a
  100. - snps,dwmac-4.20a
  101. - snps,dwmac-5.00a
  102. - snps,dwmac-5.10a
  103. - snps,dwmac-5.20
  104. - snps,dwmac-5.30a
  105. - snps,dwxgmac
  106. - snps,dwxgmac-2.10
  107. - sophgo,sg2042-dwmac
  108. - sophgo,sg2044-dwmac
  109. - starfive,jh7100-dwmac
  110. - starfive,jh7110-dwmac
  111. - tesla,fsd-ethqos
  112. - thead,th1520-gmac
  113. reg:
  114. minItems: 1
  115. maxItems: 2
  116. interrupts:
  117. minItems: 1
  118. maxItems: 19
  119. interrupt-names:
  120. minItems: 1
  121. maxItems: 19
  122. items:
  123. oneOf:
  124. - description: Combined signal for various interrupt events
  125. const: macirq
  126. - description: The interrupt to manage the remote wake-up packet detection
  127. const: eth_wake_irq
  128. - description: The interrupt that occurs when Rx exits the LPI state
  129. const: eth_lpi
  130. - description: The interrupt that occurs when HW safety error triggered
  131. const: sfty
  132. - description: Per channel receive completion interrupt
  133. pattern: '^rx-queue-[0-7]$'
  134. - description: Per channel transmit completion interrupt
  135. pattern: '^tx-queue-[0-7]$'
  136. - description: PPS interrupt
  137. pattern: '^ptp-pps-[0-3]$'
  138. clocks:
  139. minItems: 1
  140. maxItems: 10
  141. additionalItems: true
  142. items:
  143. - description: GMAC main clock
  144. - description: Peripheral registers interface clock
  145. - description:
  146. PTP reference clock. This clock is used for programming the
  147. Timestamp Addend Register. If not passed then the system
  148. clock will be used and this is fine on some platforms.
  149. clock-names:
  150. minItems: 1
  151. maxItems: 10
  152. additionalItems: true
  153. contains:
  154. enum:
  155. - stmmaceth
  156. - pclk
  157. - ptp_ref
  158. resets:
  159. minItems: 1
  160. items:
  161. - description: GMAC stmmaceth reset
  162. - description: AHB reset
  163. reset-names:
  164. oneOf:
  165. - items:
  166. - enum: [stmmaceth, ahb]
  167. - items:
  168. - const: stmmaceth
  169. - const: ahb
  170. power-domains:
  171. maxItems: 1
  172. mac-mode:
  173. $ref: ethernet-controller.yaml#/properties/phy-connection-type
  174. description:
  175. The property is identical to 'phy-mode', and assumes that there is mode
  176. converter in-between the MAC & PHY (e.g. GMII-to-RGMII). This converter
  177. can be passive (no SW requirement), and requires that the MAC operate
  178. in a different mode than the PHY in order to function.
  179. snps,axi-config:
  180. $ref: /schemas/types.yaml#/definitions/phandle
  181. description:
  182. AXI BUS Mode parameters. Phandle to a node that can contain the
  183. following properties
  184. * snps,lpi_en, enable Low Power Interface
  185. * snps,xit_frm, unlock on WoL
  186. * snps,wr_osr_lmt, max write outstanding req. limit
  187. * snps,rd_osr_lmt, max read outstanding req. limit
  188. * snps,kbbe, do not cross 1KiB boundary.
  189. * snps,blen, this is a vector of supported burst length.
  190. * snps,fb, fixed-burst
  191. * snps,mb, mixed-burst
  192. * snps,rb, rebuild INCRx Burst
  193. snps,mtl-rx-config:
  194. $ref: /schemas/types.yaml#/definitions/phandle
  195. description:
  196. Multiple RX Queues parameters. Phandle to a node that
  197. implements the 'rx-queues-config' object described in
  198. this binding.
  199. rx-queues-config:
  200. type: object
  201. properties:
  202. snps,rx-queues-to-use:
  203. $ref: /schemas/types.yaml#/definitions/uint32
  204. description: number of RX queues to be used in the driver
  205. snps,rx-sched-sp:
  206. type: boolean
  207. description: Strict priority
  208. snps,rx-sched-wsp:
  209. type: boolean
  210. description: Weighted Strict priority
  211. allOf:
  212. - if:
  213. required:
  214. - snps,rx-sched-sp
  215. then:
  216. properties:
  217. snps,rx-sched-wsp: false
  218. - if:
  219. required:
  220. - snps,rx-sched-wsp
  221. then:
  222. properties:
  223. snps,rx-sched-sp: false
  224. patternProperties:
  225. "^queue[0-9]$":
  226. description: Each subnode represents a queue.
  227. type: object
  228. properties:
  229. snps,dcb-algorithm:
  230. type: boolean
  231. description: Queue to be enabled as DCB
  232. snps,avb-algorithm:
  233. type: boolean
  234. description: Queue to be enabled as AVB
  235. snps,map-to-dma-channel:
  236. $ref: /schemas/types.yaml#/definitions/uint32
  237. description: DMA channel id to map
  238. snps,route-avcp:
  239. type: boolean
  240. description: AV Untagged Control packets
  241. snps,route-ptp:
  242. type: boolean
  243. description: PTP Packets
  244. snps,route-dcbcp:
  245. type: boolean
  246. description: DCB Control Packets
  247. snps,route-up:
  248. type: boolean
  249. description: Untagged Packets
  250. snps,route-multi-broad:
  251. type: boolean
  252. description: Multicast & Broadcast Packets
  253. snps,priority:
  254. $ref: /schemas/types.yaml#/definitions/uint32-array
  255. maxItems: 1
  256. description: Bitmask of the tagged frames priorities assigned to the queue
  257. allOf:
  258. - if:
  259. required:
  260. - snps,dcb-algorithm
  261. then:
  262. properties:
  263. snps,avb-algorithm: false
  264. - if:
  265. required:
  266. - snps,avb-algorithm
  267. then:
  268. properties:
  269. snps,dcb-algorithm: false
  270. - if:
  271. required:
  272. - snps,route-avcp
  273. then:
  274. properties:
  275. snps,route-ptp: false
  276. snps,route-dcbcp: false
  277. snps,route-up: false
  278. snps,route-multi-broad: false
  279. - if:
  280. required:
  281. - snps,route-ptp
  282. then:
  283. properties:
  284. snps,route-avcp: false
  285. snps,route-dcbcp: false
  286. snps,route-up: false
  287. snps,route-multi-broad: false
  288. - if:
  289. required:
  290. - snps,route-dcbcp
  291. then:
  292. properties:
  293. snps,route-avcp: false
  294. snps,route-ptp: false
  295. snps,route-up: false
  296. snps,route-multi-broad: false
  297. - if:
  298. required:
  299. - snps,route-up
  300. then:
  301. properties:
  302. snps,route-avcp: false
  303. snps,route-ptp: false
  304. snps,route-dcbcp: false
  305. snps,route-multi-broad: false
  306. - if:
  307. required:
  308. - snps,route-multi-broad
  309. then:
  310. properties:
  311. snps,route-avcp: false
  312. snps,route-ptp: false
  313. snps,route-dcbcp: false
  314. snps,route-up: false
  315. additionalProperties: false
  316. additionalProperties: false
  317. snps,mtl-tx-config:
  318. $ref: /schemas/types.yaml#/definitions/phandle
  319. description:
  320. Multiple TX Queues parameters. Phandle to a node that
  321. implements the 'tx-queues-config' object described in
  322. this binding.
  323. tx-queues-config:
  324. type: object
  325. properties:
  326. snps,tx-queues-to-use:
  327. $ref: /schemas/types.yaml#/definitions/uint32
  328. description: number of TX queues to be used in the driver
  329. snps,tx-sched-wrr:
  330. type: boolean
  331. description: Weighted Round Robin
  332. snps,tx-sched-wfq:
  333. type: boolean
  334. description: Weighted Fair Queuing
  335. snps,tx-sched-dwrr:
  336. type: boolean
  337. description: Deficit Weighted Round Robin
  338. allOf:
  339. - if:
  340. required:
  341. - snps,tx-sched-wrr
  342. then:
  343. properties:
  344. snps,tx-sched-wfq: false
  345. snps,tx-sched-dwrr: false
  346. - if:
  347. required:
  348. - snps,tx-sched-wfq
  349. then:
  350. properties:
  351. snps,tx-sched-wrr: false
  352. snps,tx-sched-dwrr: false
  353. - if:
  354. required:
  355. - snps,tx-sched-dwrr
  356. then:
  357. properties:
  358. snps,tx-sched-wrr: false
  359. snps,tx-sched-wfq: false
  360. patternProperties:
  361. "^queue[0-9]$":
  362. description: Each subnode represents a queue.
  363. type: object
  364. properties:
  365. snps,weight:
  366. $ref: /schemas/types.yaml#/definitions/uint32
  367. description: TX queue weight (if using a DCB weight algorithm)
  368. snps,dcb-algorithm:
  369. type: boolean
  370. description: TX queue will be working in DCB
  371. snps,avb-algorithm:
  372. type: boolean
  373. description:
  374. TX queue will be working in AVB.
  375. Queue 0 is reserved for legacy traffic and so no AVB is
  376. available in this queue.
  377. snps,send_slope:
  378. $ref: /schemas/types.yaml#/definitions/uint32
  379. description: enable Low Power Interface
  380. snps,idle_slope:
  381. $ref: /schemas/types.yaml#/definitions/uint32
  382. description: unlock on WoL
  383. snps,high_credit:
  384. $ref: /schemas/types.yaml#/definitions/uint32
  385. description: max write outstanding req. limit
  386. snps,low_credit:
  387. $ref: /schemas/types.yaml#/definitions/uint32
  388. description: max read outstanding req. limit
  389. snps,priority:
  390. $ref: /schemas/types.yaml#/definitions/uint32-array
  391. maxItems: 1
  392. description:
  393. Bitmask of the tagged frames priorities assigned to the queue.
  394. When a PFC frame is received with priorities matching the bitmask,
  395. the queue is blocked from transmitting for the pause time specified
  396. in the PFC frame.
  397. snps,coe-unsupported:
  398. type: boolean
  399. description: TX checksum offload is unsupported by the TX queue.
  400. allOf:
  401. - if:
  402. required:
  403. - snps,dcb-algorithm
  404. then:
  405. properties:
  406. snps,avb-algorithm: false
  407. - if:
  408. required:
  409. - snps,avb-algorithm
  410. then:
  411. properties:
  412. snps,dcb-algorithm: false
  413. snps,weight: false
  414. additionalProperties: false
  415. additionalProperties: false
  416. snps,reset-gpio:
  417. deprecated: true
  418. maxItems: 1
  419. description:
  420. PHY Reset GPIO
  421. snps,reset-active-low:
  422. deprecated: true
  423. $ref: /schemas/types.yaml#/definitions/flag
  424. description:
  425. Indicates that the PHY Reset is active low
  426. snps,reset-delays-us:
  427. deprecated: true
  428. description:
  429. Triplet of delays. The 1st cell is reset pre-delay in micro
  430. seconds. The 2nd cell is reset pulse in micro seconds. The 3rd
  431. cell is reset post-delay in micro seconds.
  432. minItems: 3
  433. maxItems: 3
  434. snps,aal:
  435. $ref: /schemas/types.yaml#/definitions/flag
  436. description:
  437. Use Address-Aligned Beats
  438. snps,pbl:
  439. description:
  440. Programmable Burst Length (tx and rx)
  441. $ref: /schemas/types.yaml#/definitions/uint32
  442. enum: [1, 2, 4, 8, 16, 32]
  443. snps,txpbl:
  444. description:
  445. Tx Programmable Burst Length. If set, DMA tx will use this
  446. value rather than snps,pbl.
  447. $ref: /schemas/types.yaml#/definitions/uint32
  448. enum: [1, 2, 4, 8, 16, 32]
  449. snps,rxpbl:
  450. description:
  451. Rx Programmable Burst Length. If set, DMA rx will use this
  452. value rather than snps,pbl.
  453. $ref: /schemas/types.yaml#/definitions/uint32
  454. enum: [1, 2, 4, 8, 16, 32]
  455. snps,no-pbl-x8:
  456. $ref: /schemas/types.yaml#/definitions/flag
  457. description:
  458. Don\'t multiply the pbl/txpbl/rxpbl values by 8. For core
  459. rev < 3.50, don\'t multiply the values by 4.
  460. snps,fixed-burst:
  461. $ref: /schemas/types.yaml#/definitions/flag
  462. description:
  463. Program the DMA to use the fixed burst mode
  464. snps,mixed-burst:
  465. $ref: /schemas/types.yaml#/definitions/flag
  466. description:
  467. Program the DMA to use the mixed burst mode
  468. snps,force_thresh_dma_mode:
  469. $ref: /schemas/types.yaml#/definitions/flag
  470. description:
  471. Force DMA to use the threshold mode for both tx and rx
  472. snps,force_sf_dma_mode:
  473. $ref: /schemas/types.yaml#/definitions/flag
  474. description:
  475. Force DMA to use the Store and Forward mode for both tx and
  476. rx. This flag is ignored if force_thresh_dma_mode is set.
  477. snps,en-tx-lpi-clockgating:
  478. $ref: /schemas/types.yaml#/definitions/flag
  479. deprecated: true
  480. description:
  481. Enable gating of the MAC TX clock during TX low-power mode
  482. snps,multicast-filter-bins:
  483. $ref: /schemas/types.yaml#/definitions/uint32
  484. description:
  485. Number of multicast filter hash bins supported by this device
  486. instance
  487. snps,perfect-filter-entries:
  488. $ref: /schemas/types.yaml#/definitions/uint32
  489. description:
  490. Number of perfect filter entries supported by this device
  491. instance
  492. snps,ps-speed:
  493. $ref: /schemas/types.yaml#/definitions/uint32
  494. description:
  495. Port selection speed that can be passed to the core when PCS
  496. is supported. For example, this is used in case of SGMII and
  497. MAC2MAC connection.
  498. snps,clk-csr:
  499. $ref: /schemas/types.yaml#/definitions/uint32
  500. description:
  501. Frequency division factor for MDC clock.
  502. snps,tso:
  503. $ref: /schemas/types.yaml#/definitions/flag
  504. description:
  505. Enables the TSO feature otherwise it will be managed by MAC HW capability
  506. register.
  507. mdio:
  508. $ref: mdio.yaml#
  509. unevaluatedProperties: false
  510. description:
  511. Creates and registers an MDIO bus.
  512. properties:
  513. compatible:
  514. const: snps,dwmac-mdio
  515. required:
  516. - compatible
  517. stmmac-axi-config:
  518. type: object
  519. unevaluatedProperties: false
  520. description:
  521. AXI BUS Mode parameters.
  522. properties:
  523. snps,lpi_en:
  524. $ref: /schemas/types.yaml#/definitions/flag
  525. description:
  526. enable Low Power Interface
  527. snps,xit_frm:
  528. $ref: /schemas/types.yaml#/definitions/flag
  529. description:
  530. unlock on WoL
  531. snps,wr_osr_lmt:
  532. $ref: /schemas/types.yaml#/definitions/uint32
  533. description:
  534. max write outstanding req. limit
  535. snps,rd_osr_lmt:
  536. $ref: /schemas/types.yaml#/definitions/uint32
  537. description:
  538. max read outstanding req. limit
  539. snps,kbbe:
  540. $ref: /schemas/types.yaml#/definitions/flag
  541. description:
  542. do not cross 1KiB boundary.
  543. snps,blen:
  544. $ref: /schemas/types.yaml#/definitions/uint32-array
  545. description:
  546. this is a vector of supported burst length.
  547. minItems: 7
  548. maxItems: 7
  549. snps,fb:
  550. $ref: /schemas/types.yaml#/definitions/flag
  551. description:
  552. fixed-burst
  553. snps,mb:
  554. $ref: /schemas/types.yaml#/definitions/flag
  555. description:
  556. mixed-burst
  557. snps,rb:
  558. $ref: /schemas/types.yaml#/definitions/flag
  559. description:
  560. rebuild INCRx Burst
  561. required:
  562. - compatible
  563. - reg
  564. - interrupts
  565. - interrupt-names
  566. - phy-mode
  567. dependencies:
  568. snps,reset-active-low: ["snps,reset-gpio"]
  569. snps,reset-delays-us: ["snps,reset-gpio"]
  570. allOf:
  571. - $ref: ethernet-controller.yaml#
  572. - if:
  573. properties:
  574. compatible:
  575. not:
  576. contains:
  577. enum:
  578. - allwinner,sun7i-a20-gmac
  579. - allwinner,sun8i-a83t-emac
  580. - allwinner,sun8i-h3-emac
  581. - allwinner,sun8i-r40-gmac
  582. - allwinner,sun8i-v3s-emac
  583. - allwinner,sun50i-a64-emac
  584. - loongson,ls2k-dwmac
  585. - loongson,ls7a-dwmac
  586. - ingenic,jz4775-mac
  587. - ingenic,x1000-mac
  588. - ingenic,x1600-mac
  589. - ingenic,x1830-mac
  590. - ingenic,x2000-mac
  591. - qcom,qcs404-ethqos
  592. - qcom,sa8775p-ethqos
  593. - qcom,sc8280xp-ethqos
  594. - qcom,sm8150-ethqos
  595. - snps,dwmac-4.00
  596. - snps,dwmac-4.10a
  597. - snps,dwmac-4.20a
  598. - snps,dwmac-5.00a
  599. - snps,dwmac-5.10a
  600. - snps,dwmac-5.20
  601. - snps,dwmac-5.30a
  602. - snps,dwxgmac
  603. - snps,dwxgmac-2.10
  604. - st,spear600-gmac
  605. then:
  606. properties:
  607. snps,tso: false
  608. additionalProperties: true
  609. examples:
  610. - |
  611. gmac0: ethernet@e0800000 {
  612. compatible = "snps,dwxgmac-2.10", "snps,dwxgmac";
  613. reg = <0xe0800000 0x8000>;
  614. interrupt-parent = <&vic1>;
  615. interrupts = <24 23 22>;
  616. interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
  617. mac-address = [000000000000]; /* Filled in by U-Boot */
  618. max-frame-size = <3800>;
  619. phy-mode = "gmii";
  620. snps,multicast-filter-bins = <256>;
  621. snps,perfect-filter-entries = <128>;
  622. rx-fifo-depth = <16384>;
  623. tx-fifo-depth = <16384>;
  624. clocks = <&clock>;
  625. clock-names = "stmmaceth";
  626. snps,axi-config = <&stmmac_axi_setup>;
  627. snps,mtl-rx-config = <&mtl_rx_setup>;
  628. snps,mtl-tx-config = <&mtl_tx_setup>;
  629. stmmac_axi_setup: stmmac-axi-config {
  630. snps,wr_osr_lmt = <0xf>;
  631. snps,rd_osr_lmt = <0xf>;
  632. snps,blen = <256 128 64 32 0 0 0>;
  633. };
  634. mtl_rx_setup: rx-queues-config {
  635. snps,rx-queues-to-use = <1>;
  636. snps,rx-sched-sp;
  637. queue0 {
  638. snps,dcb-algorithm;
  639. snps,map-to-dma-channel = <0x0>;
  640. snps,priority = <0x0>;
  641. };
  642. };
  643. mtl_tx_setup: tx-queues-config {
  644. snps,tx-queues-to-use = <2>;
  645. snps,tx-sched-wrr;
  646. queue0 {
  647. snps,weight = <0x10>;
  648. snps,dcb-algorithm;
  649. snps,priority = <0x0>;
  650. };
  651. queue1 {
  652. snps,avb-algorithm;
  653. snps,send_slope = <0x1000>;
  654. snps,idle_slope = <0x1000>;
  655. snps,high_credit = <0x3E800>;
  656. snps,low_credit = <0xFFC18000>;
  657. snps,priority = <0x1>;
  658. };
  659. };
  660. mdio {
  661. #address-cells = <1>;
  662. #size-cells = <0>;
  663. compatible = "snps,dwmac-mdio";
  664. phy1: ethernet-phy@0 {
  665. reg = <0>;
  666. };
  667. };
  668. };
  669. # FIXME: We should set it, but it would report all the generic
  670. # properties as additional properties.
  671. # additionalProperties: false
  672. ...