fsl-ls1046a-frwy.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree Include file for Freescale Layerscape-1046A family SoC.
  4. *
  5. * Copyright 2019 NXP.
  6. *
  7. */
  8. /dts-v1/;
  9. #include "fsl-ls1046a.dtsi"
  10. / {
  11. model = "LS1046A FRWY Board";
  12. compatible = "fsl,ls1046a-frwy", "fsl,ls1046a";
  13. aliases {
  14. serial0 = &duart0;
  15. serial1 = &duart1;
  16. serial2 = &duart2;
  17. serial3 = &duart3;
  18. };
  19. chosen {
  20. stdout-path = "serial0:115200n8";
  21. };
  22. sb_3v3: regulator-sb3v3 {
  23. compatible = "regulator-fixed";
  24. regulator-name = "LT8642SEV-3.3V";
  25. regulator-min-microvolt = <3300000>;
  26. regulator-max-microvolt = <3300000>;
  27. regulator-boot-on;
  28. regulator-always-on;
  29. };
  30. };
  31. &duart0 {
  32. status = "okay";
  33. };
  34. &duart1 {
  35. status = "okay";
  36. };
  37. &duart2 {
  38. status = "okay";
  39. };
  40. &duart3 {
  41. status = "okay";
  42. };
  43. &i2c0 {
  44. status = "okay";
  45. i2c-mux@77 {
  46. compatible = "nxp,pca9546";
  47. reg = <0x77>;
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. i2c@0 {
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. reg = <0>;
  54. power-monitor@40 {
  55. compatible = "ti,ina220";
  56. reg = <0x40>;
  57. shunt-resistor = <1000>;
  58. };
  59. temperature-sensor@4c {
  60. compatible = "nxp,sa56004";
  61. reg = <0x4c>;
  62. vcc-supply = <&sb_3v3>;
  63. };
  64. rtc@51 {
  65. compatible = "nxp,pcf2129";
  66. reg = <0x51>;
  67. };
  68. eeprom@52 {
  69. compatible = "onnn,cat24c04", "atmel,24c04";
  70. reg = <0x52>;
  71. };
  72. };
  73. };
  74. };
  75. &ifc {
  76. #address-cells = <2>;
  77. #size-cells = <1>;
  78. /* NAND Flash */
  79. ranges = <0x0 0x0 0x0 0x7e800000 0x00010000>;
  80. status = "okay";
  81. nand@0,0 {
  82. compatible = "fsl,ifc-nand";
  83. #address-cells = <1>;
  84. #size-cells = <1>;
  85. reg = <0x0 0x0 0x10000>;
  86. };
  87. };
  88. &qspi {
  89. status = "okay";
  90. mt25qu512a0: flash@0 {
  91. compatible = "jedec,spi-nor";
  92. #address-cells = <1>;
  93. #size-cells = <1>;
  94. spi-max-frequency = <50000000>;
  95. spi-rx-bus-width = <4>;
  96. spi-tx-bus-width = <1>;
  97. reg = <0>;
  98. };
  99. };
  100. #include "fsl-ls1046-post.dtsi"
  101. &fman0 {
  102. ethernet@e0000 {
  103. phy-handle = <&qsgmii_phy4>;
  104. phy-connection-type = "qsgmii";
  105. };
  106. ethernet@e8000 {
  107. phy-handle = <&qsgmii_phy2>;
  108. phy-connection-type = "qsgmii";
  109. };
  110. ethernet@ea000 {
  111. phy-handle = <&qsgmii_phy1>;
  112. phy-connection-type = "qsgmii";
  113. };
  114. ethernet@f2000 {
  115. phy-handle = <&qsgmii_phy3>;
  116. phy-connection-type = "qsgmii";
  117. };
  118. mdio@fd000 {
  119. qsgmii_phy1: ethernet-phy@1c {
  120. reg = <0x1c>;
  121. };
  122. qsgmii_phy2: ethernet-phy@1d {
  123. reg = <0x1d>;
  124. };
  125. qsgmii_phy3: ethernet-phy@1e {
  126. reg = <0x1e>;
  127. };
  128. qsgmii_phy4: ethernet-phy@1f {
  129. reg = <0x1f>;
  130. };
  131. };
  132. };