b4qds.dts 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. /*
  2. * B4420DS Device Tree Source
  3. *
  4. * Copyright 2012 Freescale Semiconductor, Inc.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions are met:
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above copyright
  11. * notice, this list of conditions and the following disclaimer in the
  12. * documentation and/or other materials provided with the distribution.
  13. * * Neither the name of Freescale Semiconductor nor the
  14. * names of its contributors may be used to endorse or promote products
  15. * derived from this software without specific prior written permission.
  16. *
  17. *
  18. * ALTERNATIVELY, this software may be distributed under the terms of the
  19. * GNU General Public License ("GPL") as published by the Free Software
  20. * Foundation, either version 2 of that License or (at your option) any
  21. * later version.
  22. *
  23. * This software is provided by Freescale Semiconductor "as is" and any
  24. * express or implied warranties, including, but not limited to, the implied
  25. * warranties of merchantability and fitness for a particular purpose are
  26. * disclaimed. In no event shall Freescale Semiconductor be liable for any
  27. * direct, indirect, incidental, special, exemplary, or consequential damages
  28. * (including, but not limited to, procurement of substitute goods or services;
  29. * loss of use, data, or profits; or business interruption) however caused and
  30. * on any theory of liability, whether in contract, strict liability, or tort
  31. * (including negligence or otherwise) arising in any way out of the use of
  32. * this software, even if advised of the possibility of such damage.
  33. */
  34. / {
  35. model = "fsl,B4QDS";
  36. compatible = "fsl,B4QDS";
  37. #address-cells = <2>;
  38. #size-cells = <2>;
  39. interrupt-parent = <&mpic>;
  40. ifc: localbus@ffe124000 {
  41. reg = <0xf 0xfe124000 0 0x2000>;
  42. ranges = <0 0 0xf 0xe8000000 0x08000000
  43. 2 0 0xf 0xff800000 0x00010000
  44. 3 0 0xf 0xffdf0000 0x00008000>;
  45. nor@0,0 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. compatible = "cfi-flash";
  49. reg = <0x0 0x0 0x8000000>;
  50. bank-width = <2>;
  51. device-width = <1>;
  52. };
  53. nand@2,0 {
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. compatible = "fsl,ifc-nand";
  57. reg = <0x2 0x0 0x10000>;
  58. partition@0 {
  59. /* This location must not be altered */
  60. /* 1MB for u-boot Bootloader Image */
  61. reg = <0x0 0x00100000>;
  62. label = "NAND U-Boot Image";
  63. read-only;
  64. };
  65. partition@100000 {
  66. /* 1MB for DTB Image */
  67. reg = <0x00100000 0x00100000>;
  68. label = "NAND DTB Image";
  69. };
  70. partition@200000 {
  71. /* 10MB for Linux Kernel Image */
  72. reg = <0x00200000 0x00A00000>;
  73. label = "NAND Linux Kernel Image";
  74. };
  75. partition@c00000 {
  76. /* 500MB for Root file System Image */
  77. reg = <0x00c00000 0x1F400000>;
  78. label = "NAND RFS Image";
  79. };
  80. };
  81. board-control@3,0 {
  82. compatible = "fsl,b4qds-fpga", "fsl,fpga-qixis";
  83. reg = <3 0 0x300>;
  84. };
  85. };
  86. memory {
  87. device_type = "memory";
  88. };
  89. dcsr: dcsr@f00000000 {
  90. ranges = <0x00000000 0xf 0x00000000 0x01052000>;
  91. };
  92. soc: soc@ffe000000 {
  93. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  94. reg = <0xf 0xfe000000 0 0x00001000>;
  95. spi@110000 {
  96. flash@0 {
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. compatible = "sst,sst25wf040";
  100. reg = <0>;
  101. spi-max-frequency = <40000000>; /* input clock */
  102. };
  103. };
  104. sdhc@114000 {
  105. /*Disabled as there is no sdhc connector on B4420QDS board*/
  106. status = "disabled";
  107. };
  108. i2c@118000 {
  109. eeprom@50 {
  110. compatible = "at24,24c64";
  111. reg = <0x50>;
  112. };
  113. eeprom@51 {
  114. compatible = "at24,24c256";
  115. reg = <0x51>;
  116. };
  117. eeprom@53 {
  118. compatible = "at24,24c256";
  119. reg = <0x53>;
  120. };
  121. eeprom@57 {
  122. compatible = "at24,24c256";
  123. reg = <0x57>;
  124. };
  125. rtc@68 {
  126. compatible = "dallas,ds3232";
  127. reg = <0x68>;
  128. };
  129. };
  130. usb@210000 {
  131. dr_mode = "host";
  132. phy_type = "ulpi";
  133. };
  134. };
  135. pci0: pcie@ffe200000 {
  136. reg = <0xf 0xfe200000 0 0x10000>;
  137. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  138. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  139. pcie@0 {
  140. ranges = <0x02000000 0 0xe0000000
  141. 0x02000000 0 0xe0000000
  142. 0 0x20000000
  143. 0x01000000 0 0x00000000
  144. 0x01000000 0 0x00000000
  145. 0 0x00010000>;
  146. };
  147. };
  148. };
  149. /include/ "fsl/b4si-post.dtsi"