fsl-ls2080a-qds.dts 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. /*
  2. * Device Tree file for Freescale LS2080a QDS Board.
  3. *
  4. * Copyright (C) 2015, Freescale Semiconductor
  5. *
  6. * Bhupesh Sharma <bhupesh.sharma@freescale.com>
  7. *
  8. * This file is dual-licensed: you can use it either under the terms
  9. * of the GPLv2 or the X11 license, at your option. Note that this dual
  10. * licensing only applies to this file, and not this project as a
  11. * whole.
  12. *
  13. * a) This library is free software; you can redistribute it and/or
  14. * modify it under the terms of the GNU General Public License as
  15. * published by the Free Software Foundation; either version 2 of the
  16. * License, or (at your option) any later version.
  17. *
  18. * This library is distributed in the hope that it will be useful,
  19. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21. * GNU General Public License for more details.
  22. *
  23. * Or, alternatively,
  24. *
  25. * b) Permission is hereby granted, free of charge, to any person
  26. * obtaining a copy of this software and associated documentation
  27. * files (the "Software"), to deal in the Software without
  28. * restriction, including without limitation the rights to use,
  29. * copy, modify, merge, publish, distribute, sublicense, and/or
  30. * sell copies of the Software, and to permit persons to whom the
  31. * Software is furnished to do so, subject to the following
  32. * conditions:
  33. *
  34. * The above copyright notice and this permission notice shall be
  35. * included in all copies or substantial portions of the Software.
  36. *
  37. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  38. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  39. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  40. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  41. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  42. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  43. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  44. * OTHER DEALINGS IN THE SOFTWARE.
  45. */
  46. /dts-v1/;
  47. /include/ "fsl-ls2080a.dtsi"
  48. / {
  49. model = "Freescale Layerscape 2080a QDS Board";
  50. compatible = "fsl,ls2080a-qds", "fsl,ls2080a";
  51. aliases {
  52. serial0 = &serial0;
  53. serial1 = &serial1;
  54. };
  55. };
  56. &esdhc {
  57. status = "okay";
  58. };
  59. &ifc {
  60. status = "okay";
  61. #address-cells = <2>;
  62. #size-cells = <1>;
  63. ranges = <0x0 0x0 0x5 0x80000000 0x08000000
  64. 0x2 0x0 0x5 0x30000000 0x00010000
  65. 0x3 0x0 0x5 0x20000000 0x00010000>;
  66. nor@0,0 {
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. compatible = "cfi-flash";
  70. reg = <0x0 0x0 0x8000000>;
  71. bank-width = <2>;
  72. device-width = <1>;
  73. };
  74. nand@2,0 {
  75. compatible = "fsl,ifc-nand";
  76. reg = <0x2 0x0 0x10000>;
  77. };
  78. cpld@3,0 {
  79. reg = <0x3 0x0 0x10000>;
  80. compatible = "fsl,ls2080aqds-fpga", "fsl,fpga-qixis";
  81. };
  82. };
  83. &i2c0 {
  84. status = "okay";
  85. pca9547@77 {
  86. compatible = "nxp,pca9547";
  87. reg = <0x77>;
  88. #address-cells = <1>;
  89. #size-cells = <0>;
  90. i2c@0 {
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. reg = <0x00>;
  94. rtc@68 {
  95. compatible = "dallas,ds3232";
  96. reg = <0x68>;
  97. };
  98. };
  99. i2c@2 {
  100. #address-cells = <1>;
  101. #size-cells = <0>;
  102. reg = <0x02>;
  103. ina220@40 {
  104. compatible = "ti,ina220";
  105. reg = <0x40>;
  106. shunt-resistor = <500>;
  107. };
  108. ina220@41 {
  109. compatible = "ti,ina220";
  110. reg = <0x41>;
  111. shunt-resistor = <1000>;
  112. };
  113. };
  114. i2c@3 {
  115. #address-cells = <1>;
  116. #size-cells = <0>;
  117. reg = <0x3>;
  118. adt7481@4c {
  119. compatible = "adi,adt7461";
  120. reg = <0x4c>;
  121. };
  122. };
  123. };
  124. };
  125. &i2c1 {
  126. status = "disabled";
  127. };
  128. &i2c2 {
  129. status = "disabled";
  130. };
  131. &i2c3 {
  132. status = "disabled";
  133. };
  134. &dspi {
  135. status = "okay";
  136. dflash0: n25q128a {
  137. #address-cells = <1>;
  138. #size-cells = <1>;
  139. compatible = "st,m25p80";
  140. spi-max-frequency = <3000000>;
  141. reg = <0>;
  142. };
  143. dflash1: sst25wf040b {
  144. #address-cells = <1>;
  145. #size-cells = <1>;
  146. compatible = "st,m25p80";
  147. spi-max-frequency = <3000000>;
  148. reg = <1>;
  149. };
  150. dflash2: en25s64 {
  151. #address-cells = <1>;
  152. #size-cells = <1>;
  153. compatible = "st,m25p80";
  154. spi-max-frequency = <3000000>;
  155. reg = <2>;
  156. };
  157. };
  158. &qspi {
  159. status = "okay";
  160. qflash0: s25fl008k {
  161. #address-cells = <1>;
  162. #size-cells = <1>;
  163. compatible = "st,m25p80";
  164. spi-max-frequency = <20000000>;
  165. reg = <0>;
  166. };
  167. };
  168. &sata0 {
  169. status = "okay";
  170. };
  171. &sata1 {
  172. status = "okay";
  173. };
  174. &usb0 {
  175. status = "okay";
  176. };
  177. &usb1 {
  178. status = "okay";
  179. };