fsl-ls1043a-rdb.dts 2.9 KB

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