fsl-ls1046a-rdb.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree Include file for Freescale Layerscape-1046A family SoC.
  4. *
  5. * Copyright 2016 Freescale Semiconductor, Inc.
  6. *
  7. * Mingkai Hu <mingkai.hu@nxp.com>
  8. */
  9. /dts-v1/;
  10. #include "fsl-ls1046a.dtsi"
  11. / {
  12. model = "LS1046A RDB Board";
  13. compatible = "fsl,ls1046a-rdb", "fsl,ls1046a";
  14. aliases {
  15. serial0 = &duart0;
  16. serial1 = &duart1;
  17. serial2 = &duart2;
  18. serial3 = &duart3;
  19. };
  20. chosen {
  21. stdout-path = "serial0:115200n8";
  22. };
  23. };
  24. &duart0 {
  25. status = "okay";
  26. };
  27. &duart1 {
  28. status = "okay";
  29. };
  30. &esdhc {
  31. mmc-hs200-1_8v;
  32. sd-uhs-sdr104;
  33. sd-uhs-sdr50;
  34. sd-uhs-sdr25;
  35. sd-uhs-sdr12;
  36. };
  37. &i2c0 {
  38. status = "okay";
  39. ina220@40 {
  40. compatible = "ti,ina220";
  41. reg = <0x40>;
  42. shunt-resistor = <1000>;
  43. };
  44. temp-sensor@4c {
  45. compatible = "adi,adt7461";
  46. reg = <0x4c>;
  47. };
  48. eeprom@52 {
  49. compatible = "atmel,24c512";
  50. reg = <0x52>;
  51. };
  52. eeprom@53 {
  53. compatible = "atmel,24c512";
  54. reg = <0x53>;
  55. };
  56. };
  57. &i2c3 {
  58. status = "okay";
  59. rtc@51 {
  60. compatible = "nxp,pcf2129";
  61. reg = <0x51>;
  62. };
  63. };
  64. &ifc {
  65. #address-cells = <2>;
  66. #size-cells = <1>;
  67. /* NAND Flashe and CPLD on board */
  68. ranges = <0x0 0x0 0x0 0x7e800000 0x00010000
  69. 0x2 0x0 0x0 0x7fb00000 0x00000100>;
  70. status = "okay";
  71. nand@0,0 {
  72. compatible = "fsl,ifc-nand";
  73. #address-cells = <1>;
  74. #size-cells = <1>;
  75. reg = <0x0 0x0 0x10000>;
  76. };
  77. cpld: board-control@2,0 {
  78. compatible = "fsl,ls1046ardb-cpld";
  79. reg = <0x2 0x0 0x0000100>;
  80. };
  81. };
  82. &qspi {
  83. num-cs = <2>;
  84. bus-num = <0>;
  85. status = "okay";
  86. qflash0: s25fs512s@0 {
  87. compatible = "spansion,m25p80";
  88. #address-cells = <1>;
  89. #size-cells = <1>;
  90. spi-max-frequency = <20000000>;
  91. reg = <0>;
  92. };
  93. qflash1: s25fs512s@1 {
  94. compatible = "spansion,m25p80";
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. spi-max-frequency = <20000000>;
  98. reg = <1>;
  99. };
  100. };
  101. #include "fsl-ls1046-post.dtsi"
  102. &fman0 {
  103. ethernet@e4000 {
  104. phy-handle = <&rgmii_phy1>;
  105. phy-connection-type = "rgmii-id";
  106. };
  107. ethernet@e6000 {
  108. phy-handle = <&rgmii_phy2>;
  109. phy-connection-type = "rgmii-id";
  110. };
  111. ethernet@e8000 {
  112. phy-handle = <&sgmii_phy1>;
  113. phy-connection-type = "sgmii";
  114. };
  115. ethernet@ea000 {
  116. phy-handle = <&sgmii_phy2>;
  117. phy-connection-type = "sgmii";
  118. };
  119. ethernet@f0000 { /* 10GEC1 */
  120. phy-handle = <&aqr106_phy>;
  121. phy-connection-type = "xgmii";
  122. };
  123. ethernet@f2000 { /* 10GEC2 */
  124. fixed-link = <0 1 1000 0 0>;
  125. phy-connection-type = "xgmii";
  126. };
  127. mdio@fc000 {
  128. rgmii_phy1: ethernet-phy@1 {
  129. reg = <0x1>;
  130. };
  131. rgmii_phy2: ethernet-phy@2 {
  132. reg = <0x2>;
  133. };
  134. sgmii_phy1: ethernet-phy@3 {
  135. reg = <0x3>;
  136. };
  137. sgmii_phy2: ethernet-phy@4 {
  138. reg = <0x4>;
  139. };
  140. };
  141. mdio@fd000 {
  142. aqr106_phy: ethernet-phy@0 {
  143. compatible = "ethernet-phy-ieee802.3-c45";
  144. interrupts = <0 131 4>;
  145. reg = <0x0>;
  146. };
  147. };
  148. };