fsl-ls1046a-qds.dts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. * Shaohui Xie <Shaohui.Xie@nxp.com>
  8. */
  9. /dts-v1/;
  10. #include "fsl-ls1046a.dtsi"
  11. / {
  12. model = "LS1046A QDS Board";
  13. compatible = "fsl,ls1046a-qds", "fsl,ls1046a";
  14. aliases {
  15. gpio0 = &gpio0;
  16. gpio1 = &gpio1;
  17. gpio2 = &gpio2;
  18. gpio3 = &gpio3;
  19. serial0 = &duart0;
  20. serial1 = &duart1;
  21. serial2 = &duart2;
  22. serial3 = &duart3;
  23. };
  24. chosen {
  25. stdout-path = "serial0:115200n8";
  26. };
  27. };
  28. &dspi {
  29. bus-num = <0>;
  30. status = "okay";
  31. flash@0 {
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. compatible = "n25q128a11", "jedec,spi-nor";
  35. reg = <0>;
  36. spi-max-frequency = <10000000>;
  37. };
  38. flash@1 {
  39. #address-cells = <1>;
  40. #size-cells = <1>;
  41. compatible = "sst25wf040b", "jedec,spi-nor";
  42. spi-cpol;
  43. spi-cpha;
  44. reg = <1>;
  45. spi-max-frequency = <10000000>;
  46. };
  47. flash@2 {
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. compatible = "en25s64", "jedec,spi-nor";
  51. spi-cpol;
  52. spi-cpha;
  53. reg = <2>;
  54. spi-max-frequency = <10000000>;
  55. };
  56. };
  57. &duart0 {
  58. status = "okay";
  59. };
  60. &duart1 {
  61. status = "okay";
  62. };
  63. &i2c0 {
  64. status = "okay";
  65. pca9547@77 {
  66. compatible = "nxp,pca9547";
  67. reg = <0x77>;
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. i2c@2 {
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. reg = <0x2>;
  74. ina220@40 {
  75. compatible = "ti,ina220";
  76. reg = <0x40>;
  77. shunt-resistor = <1000>;
  78. };
  79. ina220@41 {
  80. compatible = "ti,ina220";
  81. reg = <0x41>;
  82. shunt-resistor = <1000>;
  83. };
  84. };
  85. i2c@3 {
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. reg = <0x3>;
  89. rtc@51 {
  90. compatible = "nxp,pcf2129";
  91. reg = <0x51>;
  92. /* IRQ10_B */
  93. interrupts = <0 150 0x4>;
  94. };
  95. eeprom@56 {
  96. compatible = "atmel,24c512";
  97. reg = <0x56>;
  98. };
  99. eeprom@57 {
  100. compatible = "atmel,24c512";
  101. reg = <0x57>;
  102. };
  103. temp-sensor@4c {
  104. compatible = "adi,adt7461a";
  105. reg = <0x4c>;
  106. };
  107. };
  108. };
  109. };
  110. &ifc {
  111. #address-cells = <2>;
  112. #size-cells = <1>;
  113. /* NOR, NAND Flashes and FPGA on board */
  114. ranges = <0x0 0x0 0x0 0x60000000 0x08000000
  115. 0x1 0x0 0x0 0x7e800000 0x00010000
  116. 0x2 0x0 0x0 0x7fb00000 0x00000100>;
  117. status = "okay";
  118. nor@0,0 {
  119. compatible = "cfi-flash";
  120. reg = <0x0 0x0 0x8000000>;
  121. bank-width = <2>;
  122. device-width = <1>;
  123. };
  124. nand@1,0 {
  125. compatible = "fsl,ifc-nand";
  126. reg = <0x1 0x0 0x10000>;
  127. };
  128. fpga: board-control@2,0 {
  129. compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis";
  130. reg = <0x2 0x0 0x0000100>;
  131. };
  132. };
  133. &lpuart0 {
  134. status = "okay";
  135. };
  136. &qspi {
  137. num-cs = <2>;
  138. bus-num = <0>;
  139. status = "okay";
  140. qflash0: s25fl128s@0 {
  141. compatible = "spansion,m25p80";
  142. #address-cells = <1>;
  143. #size-cells = <1>;
  144. spi-max-frequency = <20000000>;
  145. reg = <0>;
  146. };
  147. };
  148. #include "fsl-ls1046-post.dtsi"