fsl-ls1043a-rdb.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree Include file for Freescale Layerscape-1043A family SoC.
  4. *
  5. * Copyright 2014-2015 Freescale Semiconductor, Inc.
  6. *
  7. * Mingkai Hu <Mingkai.hu@freescale.com>
  8. */
  9. /dts-v1/;
  10. #include "fsl-ls1043a.dtsi"
  11. / {
  12. model = "LS1043A RDB Board";
  13. aliases {
  14. crypto = &crypto;
  15. serial0 = &duart0;
  16. serial1 = &duart1;
  17. serial2 = &duart2;
  18. serial3 = &duart3;
  19. };
  20. chosen {
  21. stdout-path = "serial0:115200n8";
  22. };
  23. };
  24. &i2c0 {
  25. status = "okay";
  26. ina220@40 {
  27. compatible = "ti,ina220";
  28. reg = <0x40>;
  29. shunt-resistor = <1000>;
  30. };
  31. adt7461a@4c {
  32. compatible = "adi,adt7461";
  33. reg = <0x4c>;
  34. };
  35. eeprom@52 {
  36. compatible = "atmel,24c512";
  37. reg = <0x52>;
  38. };
  39. eeprom@53 {
  40. compatible = "atmel,24c512";
  41. reg = <0x53>;
  42. };
  43. rtc@68 {
  44. compatible = "pericom,pt7c4338";
  45. reg = <0x68>;
  46. };
  47. };
  48. &ifc {
  49. status = "okay";
  50. #address-cells = <2>;
  51. #size-cells = <1>;
  52. /* NOR, NAND Flashes and FPGA on board */
  53. ranges = <0x0 0x0 0x0 0x60000000 0x08000000
  54. 0x1 0x0 0x0 0x7e800000 0x00010000
  55. 0x2 0x0 0x0 0x7fb00000 0x00000100>;
  56. nor@0,0 {
  57. compatible = "cfi-flash";
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. reg = <0x0 0x0 0x8000000>;
  61. bank-width = <2>;
  62. device-width = <1>;
  63. };
  64. nand@1,0 {
  65. compatible = "fsl,ifc-nand";
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. reg = <0x1 0x0 0x10000>;
  69. };
  70. cpld: board-control@2,0 {
  71. compatible = "fsl,ls1043ardb-cpld";
  72. reg = <0x2 0x0 0x0000100>;
  73. };
  74. };
  75. &dspi0 {
  76. bus-num = <0>;
  77. status = "okay";
  78. flash@0 {
  79. #address-cells = <1>;
  80. #size-cells = <1>;
  81. compatible = "n25q128a13", "jedec,spi-nor"; /* 16MB */
  82. reg = <0>;
  83. spi-max-frequency = <1000000>; /* input clock */
  84. };
  85. };
  86. &duart0 {
  87. status = "okay";
  88. };
  89. &duart1 {
  90. status = "okay";
  91. };
  92. #include "fsl-ls1043-post.dtsi"
  93. &fman0 {
  94. ethernet@e0000 {
  95. phy-handle = <&qsgmii_phy1>;
  96. phy-connection-type = "qsgmii";
  97. };
  98. ethernet@e2000 {
  99. phy-handle = <&qsgmii_phy2>;
  100. phy-connection-type = "qsgmii";
  101. };
  102. ethernet@e4000 {
  103. phy-handle = <&rgmii_phy1>;
  104. phy-connection-type = "rgmii-id";
  105. };
  106. ethernet@e6000 {
  107. phy-handle = <&rgmii_phy2>;
  108. phy-connection-type = "rgmii-id";
  109. };
  110. ethernet@e8000 {
  111. phy-handle = <&qsgmii_phy3>;
  112. phy-connection-type = "qsgmii";
  113. };
  114. ethernet@ea000 {
  115. phy-handle = <&qsgmii_phy4>;
  116. phy-connection-type = "qsgmii";
  117. };
  118. ethernet@f0000 { /* 10GEC1 */
  119. phy-handle = <&aqr105_phy>;
  120. phy-connection-type = "xgmii";
  121. };
  122. mdio@fc000 {
  123. rgmii_phy1: ethernet-phy@1 {
  124. reg = <0x1>;
  125. };
  126. rgmii_phy2: ethernet-phy@2 {
  127. reg = <0x2>;
  128. };
  129. qsgmii_phy1: ethernet-phy@4 {
  130. reg = <0x4>;
  131. };
  132. qsgmii_phy2: ethernet-phy@5 {
  133. reg = <0x5>;
  134. };
  135. qsgmii_phy3: ethernet-phy@6 {
  136. reg = <0x6>;
  137. };
  138. qsgmii_phy4: ethernet-phy@7 {
  139. reg = <0x7>;
  140. };
  141. };
  142. mdio@fd000 {
  143. aqr105_phy: ethernet-phy@1 {
  144. compatible = "ethernet-phy-ieee802.3-c45";
  145. interrupts = <0 132 4>;
  146. reg = <0x1>;
  147. };
  148. };
  149. };