fsl-ls1028a-kontron-sl28-var2.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Device Tree file for the Kontron SMARC-sAL28 board.
  4. *
  5. * This is for the network variant 2 which has two ethernet ports. These
  6. * ports are connected to the internal switch.
  7. *
  8. * Copyright (C) 2021 Michael Walle <[email protected]>
  9. *
  10. */
  11. /dts-v1/;
  12. #include "fsl-ls1028a-kontron-sl28.dts"
  13. / {
  14. model = "Kontron SMARC-sAL28 (TSN-on-module)";
  15. compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a";
  16. };
  17. &enetc_mdio_pf3 {
  18. phy1: ethernet-phy@4 {
  19. reg = <0x4>;
  20. eee-broken-1000t;
  21. eee-broken-100tx;
  22. };
  23. };
  24. &enetc_port0 {
  25. status = "disabled";
  26. /*
  27. * In the base device tree the PHY at address 5 was assigned for
  28. * this port. On this module this PHY is connected to a switch
  29. * port instead. Therefore, delete the phy-handle property here.
  30. */
  31. /delete-property/ phy-handle;
  32. };
  33. &enetc_port2 {
  34. status = "okay";
  35. };
  36. &enetc_port3 {
  37. status = "okay";
  38. };
  39. &mscc_felix {
  40. status = "okay";
  41. };
  42. &mscc_felix_port0 {
  43. label = "swp0";
  44. managed = "in-band-status";
  45. phy-handle = <&phy0>;
  46. phy-mode = "sgmii";
  47. status = "okay";
  48. };
  49. &mscc_felix_port1 {
  50. label = "swp1";
  51. managed = "in-band-status";
  52. phy-handle = <&phy1>;
  53. phy-mode = "sgmii";
  54. status = "okay";
  55. };
  56. &mscc_felix_port4 {
  57. status = "okay";
  58. };
  59. &mscc_felix_port5 {
  60. status = "okay";
  61. };