fsl-ls1028a-kontron-kbox-a-230-ls.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Device Tree File for the Kontron KBox A-230-LS.
  4. *
  5. * This consists of a Kontron SMARC-sAL28 (Dual PHY) and a special
  6. * carrier (s1914).
  7. *
  8. * Copyright (C) 2019 Michael Walle <[email protected]>
  9. *
  10. */
  11. /dts-v1/;
  12. #include "fsl-ls1028a-kontron-sl28-var4.dts"
  13. #include <dt-bindings/leds/common.h>
  14. / {
  15. model = "Kontron KBox A-230-LS";
  16. compatible = "kontron,kbox-a-230-ls", "kontron,sl28-var4",
  17. "kontron,sl28", "fsl,ls1028a";
  18. leds {
  19. compatible = "gpio-leds";
  20. alarm-led {
  21. function = LED_FUNCTION_ALARM;
  22. color = <LED_COLOR_ID_YELLOW>;
  23. gpios = <&sl28cpld_gpio0 0 GPIO_ACTIVE_HIGH>;
  24. };
  25. power-led {
  26. linux,default-trigger = "default-on";
  27. function = LED_FUNCTION_POWER;
  28. color = <LED_COLOR_ID_GREEN>;
  29. gpios = <&sl28cpld_gpio1 3 GPIO_ACTIVE_HIGH>;
  30. };
  31. };
  32. };
  33. &enetc_mdio_pf3 {
  34. /* BCM54140 QSGMII quad PHY */
  35. qsgmii_phy0: ethernet-phy@7 {
  36. reg = <7>;
  37. };
  38. qsgmii_phy1: ethernet-phy@8 {
  39. reg = <8>;
  40. };
  41. qsgmii_phy2: ethernet-phy@9 {
  42. reg = <9>;
  43. };
  44. qsgmii_phy3: ethernet-phy@10 {
  45. reg = <10>;
  46. };
  47. };
  48. &enetc_port2 {
  49. status = "okay";
  50. };
  51. &enetc_port3 {
  52. status = "okay";
  53. };
  54. &i2c3 {
  55. eeprom@57 {
  56. compatible = "atmel,24c32";
  57. reg = <0x57>;
  58. pagesize = <32>;
  59. };
  60. };
  61. &mscc_felix {
  62. status = "okay";
  63. };
  64. &mscc_felix_port0 {
  65. label = "swp0";
  66. managed = "in-band-status";
  67. phy-handle = <&qsgmii_phy0>;
  68. phy-mode = "qsgmii";
  69. status = "okay";
  70. };
  71. &mscc_felix_port1 {
  72. label = "swp1";
  73. managed = "in-band-status";
  74. phy-handle = <&qsgmii_phy1>;
  75. phy-mode = "qsgmii";
  76. status = "okay";
  77. };
  78. &mscc_felix_port2 {
  79. label = "swp2";
  80. managed = "in-band-status";
  81. phy-handle = <&qsgmii_phy2>;
  82. phy-mode = "qsgmii";
  83. status = "okay";
  84. };
  85. &mscc_felix_port3 {
  86. label = "swp3";
  87. managed = "in-band-status";
  88. phy-handle = <&qsgmii_phy3>;
  89. phy-mode = "qsgmii";
  90. status = "okay";
  91. };
  92. &mscc_felix_port4 {
  93. status = "okay";
  94. };
  95. &mscc_felix_port5 {
  96. status = "okay";
  97. };
  98. &sata {
  99. status = "okay";
  100. };