fsl-ls1043a-qds.dtsi 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*
  2. * Device Tree Include file for Freescale Layerscape-1043A family SoC.
  3. *
  4. * Copyright (C) 2015, Freescale Semiconductor
  5. *
  6. * Mingkai Hu <Mingkai.hu@freescale.com>
  7. *
  8. * This file is licensed under the terms of the GNU General Public
  9. * License version 2. This program is licensed "as is" without any
  10. * warranty of any kind, whether express or implied.
  11. */
  12. /include/ "fsl-ls1043a.dtsi"
  13. / {
  14. model = "LS1043A QDS Board";
  15. aliases {
  16. spi0 = &qspi;
  17. spi1 = &dspi0;
  18. };
  19. };
  20. &dspi0 {
  21. bus-num = <0>;
  22. status = "okay";
  23. dflash0: n25q128a {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. compatible = "spi-flash";
  27. reg = <0>;
  28. spi-max-frequency = <1000000>; /* input clock */
  29. };
  30. dflash1: sst25wf040b {
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. compatible = "spi-flash";
  34. spi-max-frequency = <3500000>;
  35. reg = <1>;
  36. };
  37. dflash2: en25s64 {
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. compatible = "spi-flash";
  41. spi-max-frequency = <3500000>;
  42. reg = <2>;
  43. };
  44. };
  45. &qspi {
  46. bus-num = <0>;
  47. status = "okay";
  48. qflash0: s25fl128s@0 {
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. compatible = "spi-flash";
  52. spi-max-frequency = <20000000>;
  53. reg = <0>;
  54. };
  55. };
  56. &i2c0 {
  57. status = "okay";
  58. pca9547@77 {
  59. compatible = "philips,pca9547";
  60. reg = <0x77>;
  61. #address-cells = <1>;
  62. #size-cells = <0>;
  63. i2c@0 {
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. reg = <0x0>;
  67. rtc@68 {
  68. compatible = "dallas,ds3232";
  69. reg = <0x68>;
  70. /* IRQ10_B */
  71. interrupts = <0 150 0x4>;
  72. };
  73. };
  74. i2c@2 {
  75. #address-cells = <1>;
  76. #size-cells = <0>;
  77. reg = <0x2>;
  78. ina220@40 {
  79. compatible = "ti,ina220";
  80. reg = <0x40>;
  81. shunt-resistor = <1000>;
  82. };
  83. ina220@41 {
  84. compatible = "ti,ina220";
  85. reg = <0x41>;
  86. shunt-resistor = <1000>;
  87. };
  88. };
  89. i2c@3 {
  90. #address-cells = <1>;
  91. #size-cells = <0>;
  92. reg = <0x3>;
  93. eeprom@56 {
  94. compatible = "at24,24c512";
  95. reg = <0x56>;
  96. };
  97. eeprom@57 {
  98. compatible = "at24,24c512";
  99. reg = <0x57>;
  100. };
  101. adt7461a@4c {
  102. compatible = "adt7461a";
  103. reg = <0x4c>;
  104. };
  105. };
  106. };
  107. };
  108. &ifc {
  109. #address-cells = <2>;
  110. #size-cells = <1>;
  111. /* NOR, NAND Flashes and FPGA on board */
  112. ranges = <0x0 0x0 0x0 0x60000000 0x08000000
  113. 0x2 0x0 0x0 0x7e800000 0x00010000
  114. 0x3 0x0 0x0 0x7fb00000 0x00000100>;
  115. status = "okay";
  116. nor@0,0 {
  117. #address-cells = <1>;
  118. #size-cells = <1>;
  119. compatible = "cfi-flash";
  120. reg = <0x0 0x0 0x8000000>;
  121. bank-width = <2>;
  122. device-width = <1>;
  123. };
  124. nand@2,0 {
  125. compatible = "fsl,ifc-nand";
  126. #address-cells = <1>;
  127. #size-cells = <1>;
  128. reg = <0x1 0x0 0x10000>;
  129. };
  130. fpga: board-control@3,0 {
  131. #address-cells = <1>;
  132. #size-cells = <1>;
  133. compatible = "simple-bus";
  134. reg = <0x3 0x0 0x0000100>;
  135. bank-width = <1>;
  136. device-width = <1>;
  137. ranges = <0 3 0 0x100>;
  138. };
  139. };
  140. &duart0 {
  141. status = "okay";
  142. };
  143. &duart1 {
  144. status = "okay";
  145. };
  146. &lpuart0 {
  147. status = "okay";
  148. };