fsl-ls1028a-qds-13bb.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree fragment for LS1028A QDS board, serdes 13bb
  4. *
  5. * Copyright 2019-2021 NXP
  6. *
  7. * Requires a LS1028A QDS board with lane B rework.
  8. * Requires a SCH-30841 card with lane A of connector rewired to PHY lane C.
  9. * Set-up is a SCH-30842 card in slot 1 and SCH-30841 in slot 2.
  10. */
  11. /dts-v1/;
  12. /plugin/;
  13. &mdio_slot1 {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. slot1_sgmii: ethernet-phy@2 {
  17. /* AQR112 */
  18. reg = <0x2>;
  19. compatible = "ethernet-phy-ieee802.3-c45";
  20. };
  21. };
  22. &enetc_port0 {
  23. phy-handle = <&slot1_sgmii>;
  24. phy-mode = "usxgmii";
  25. managed = "in-band-status";
  26. status = "okay";
  27. };
  28. &mdio_slot2 {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. /* 4 ports on AQR412 */
  32. slot2_qxgmii0: ethernet-phy@0 {
  33. reg = <0x0>;
  34. compatible = "ethernet-phy-ieee802.3-c45";
  35. };
  36. slot2_qxgmii1: ethernet-phy@1 {
  37. reg = <0x1>;
  38. compatible = "ethernet-phy-ieee802.3-c45";
  39. };
  40. slot2_qxgmii2: ethernet-phy@2 {
  41. reg = <0x2>;
  42. compatible = "ethernet-phy-ieee802.3-c45";
  43. };
  44. slot2_qxgmii3: ethernet-phy@3 {
  45. reg = <0x3>;
  46. compatible = "ethernet-phy-ieee802.3-c45";
  47. };
  48. };
  49. &mscc_felix_ports {
  50. port@0 {
  51. status = "okay";
  52. phy-handle = <&slot2_qxgmii0>;
  53. phy-mode = "usxgmii";
  54. managed = "in-band-status";
  55. };
  56. port@1 {
  57. status = "okay";
  58. phy-handle = <&slot2_qxgmii1>;
  59. phy-mode = "usxgmii";
  60. managed = "in-band-status";
  61. };
  62. port@2 {
  63. status = "okay";
  64. phy-handle = <&slot2_qxgmii2>;
  65. phy-mode = "usxgmii";
  66. managed = "in-band-status";
  67. };
  68. port@3 {
  69. status = "okay";
  70. phy-handle = <&slot2_qxgmii3>;
  71. phy-mode = "usxgmii";
  72. managed = "in-band-status";
  73. };
  74. };
  75. &mscc_felix {
  76. status = "okay";
  77. };