fsl-ls1088a-rdb.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree file for NXP LS1088A RDB Board.
  4. *
  5. * Copyright 2017-2020 NXP
  6. *
  7. * Harninder Rai <[email protected]>
  8. *
  9. */
  10. /dts-v1/;
  11. #include "fsl-ls1088a.dtsi"
  12. / {
  13. model = "LS1088A RDB Board";
  14. compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
  15. };
  16. &dpmac2 {
  17. phy-handle = <&mdio2_aquantia_phy>;
  18. phy-connection-type = "10gbase-r";
  19. pcs-handle = <&pcs2>;
  20. };
  21. &dpmac3 {
  22. phy-handle = <&mdio1_phy5>;
  23. phy-connection-type = "qsgmii";
  24. managed = "in-band-status";
  25. pcs-handle = <&pcs3_0>;
  26. };
  27. &dpmac4 {
  28. phy-handle = <&mdio1_phy6>;
  29. phy-connection-type = "qsgmii";
  30. managed = "in-band-status";
  31. pcs-handle = <&pcs3_1>;
  32. };
  33. &dpmac5 {
  34. phy-handle = <&mdio1_phy7>;
  35. phy-connection-type = "qsgmii";
  36. managed = "in-band-status";
  37. pcs-handle = <&pcs3_2>;
  38. };
  39. &dpmac6 {
  40. phy-handle = <&mdio1_phy8>;
  41. phy-connection-type = "qsgmii";
  42. managed = "in-band-status";
  43. pcs-handle = <&pcs3_3>;
  44. };
  45. &dpmac7 {
  46. phy-handle = <&mdio1_phy1>;
  47. phy-connection-type = "qsgmii";
  48. managed = "in-band-status";
  49. pcs-handle = <&pcs7_0>;
  50. };
  51. &dpmac8 {
  52. phy-handle = <&mdio1_phy2>;
  53. phy-connection-type = "qsgmii";
  54. managed = "in-band-status";
  55. pcs-handle = <&pcs7_1>;
  56. };
  57. &dpmac9 {
  58. phy-handle = <&mdio1_phy3>;
  59. phy-connection-type = "qsgmii";
  60. managed = "in-band-status";
  61. pcs-handle = <&pcs7_2>;
  62. };
  63. &dpmac10 {
  64. phy-handle = <&mdio1_phy4>;
  65. phy-connection-type = "qsgmii";
  66. managed = "in-band-status";
  67. pcs-handle = <&pcs7_3>;
  68. };
  69. &emdio1 {
  70. status = "okay";
  71. mdio1_phy5: ethernet-phy@c {
  72. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  73. reg = <0xc>;
  74. };
  75. mdio1_phy6: ethernet-phy@d {
  76. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  77. reg = <0xd>;
  78. };
  79. mdio1_phy7: ethernet-phy@e {
  80. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  81. reg = <0xe>;
  82. };
  83. mdio1_phy8: ethernet-phy@f {
  84. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  85. reg = <0xf>;
  86. };
  87. mdio1_phy1: ethernet-phy@1c {
  88. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  89. reg = <0x1c>;
  90. };
  91. mdio1_phy2: ethernet-phy@1d {
  92. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  93. reg = <0x1d>;
  94. };
  95. mdio1_phy3: ethernet-phy@1e {
  96. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  97. reg = <0x1e>;
  98. };
  99. mdio1_phy4: ethernet-phy@1f {
  100. interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
  101. reg = <0x1f>;
  102. };
  103. };
  104. &emdio2 {
  105. status = "okay";
  106. mdio2_aquantia_phy: ethernet-phy@0 {
  107. compatible = "ethernet-phy-ieee802.3-c45";
  108. interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
  109. reg = <0x0>;
  110. };
  111. };
  112. &i2c0 {
  113. status = "okay";
  114. i2c-mux@77 {
  115. compatible = "nxp,pca9547";
  116. reg = <0x77>;
  117. #address-cells = <1>;
  118. #size-cells = <0>;
  119. i2c@2 {
  120. #address-cells = <1>;
  121. #size-cells = <0>;
  122. reg = <0x2>;
  123. ina220@40 {
  124. compatible = "ti,ina220";
  125. reg = <0x40>;
  126. shunt-resistor = <1000>;
  127. };
  128. };
  129. i2c@3 {
  130. #address-cells = <1>;
  131. #size-cells = <0>;
  132. reg = <0x3>;
  133. temp-sensor@4c {
  134. compatible = "adi,adt7461a";
  135. reg = <0x4c>;
  136. };
  137. rtc@51 {
  138. compatible = "nxp,pcf2129";
  139. reg = <0x51>;
  140. /* IRQ_RTC_B -> IRQ0_B(CPLD) -> IRQ00(CPU), active low */
  141. interrupts-extended = <&extirq 0 IRQ_TYPE_LEVEL_LOW>;
  142. };
  143. };
  144. };
  145. };
  146. &ifc {
  147. ranges = <0 0 0x5 0x30000000 0x00010000
  148. 2 0 0x5 0x20000000 0x00010000>;
  149. status = "okay";
  150. nand@0,0 {
  151. compatible = "fsl,ifc-nand";
  152. reg = <0x0 0x0 0x10000>;
  153. };
  154. fpga: board-control@2,0 {
  155. compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis";
  156. reg = <0x2 0x0 0x0000100>;
  157. };
  158. };
  159. &duart0 {
  160. status = "okay";
  161. };
  162. &duart1 {
  163. status = "okay";
  164. };
  165. &esdhc {
  166. mmc-hs200-1_8v;
  167. status = "okay";
  168. };
  169. &pcs_mdio2 {
  170. status = "okay";
  171. };
  172. &pcs_mdio3 {
  173. status = "okay";
  174. };
  175. &pcs_mdio7 {
  176. status = "okay";
  177. };
  178. &qspi {
  179. status = "okay";
  180. s25fs512s0: flash@0 {
  181. compatible = "jedec,spi-nor";
  182. #address-cells = <1>;
  183. #size-cells = <1>;
  184. spi-max-frequency = <50000000>;
  185. spi-rx-bus-width = <4>;
  186. spi-tx-bus-width = <1>;
  187. reg = <0>;
  188. };
  189. s25fs512s1: flash@1 {
  190. compatible = "jedec,spi-nor";
  191. #address-cells = <1>;
  192. #size-cells = <1>;
  193. spi-max-frequency = <50000000>;
  194. spi-rx-bus-width = <4>;
  195. spi-tx-bus-width = <1>;
  196. reg = <1>;
  197. };
  198. };
  199. &sata {
  200. status = "okay";
  201. };
  202. &usb0 {
  203. status = "okay";
  204. };
  205. &usb1 {
  206. dr_mode = "otg";
  207. status = "okay";
  208. };