bsc9131rdb.dtsi 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. /*
  2. * BSC9131 RDB Device Tree Source stub (no addresses or top-level ranges)
  3. *
  4. * Copyright 2011-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 THIS
  32. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. */
  34. &board_ifc {
  35. nand@0,0 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. compatible = "fsl,ifc-nand";
  39. reg = <0x0 0x0 0x4000>;
  40. partition@0 {
  41. /* This location must not be altered */
  42. /* 3MB for u-boot Bootloader Image */
  43. reg = <0x0 0x00300000>;
  44. label = "NAND U-Boot Image";
  45. read-only;
  46. };
  47. partition@300000 {
  48. /* 1MB for DTB Image */
  49. reg = <0x00300000 0x00100000>;
  50. label = "NAND DTB Image";
  51. };
  52. partition@400000 {
  53. /* 8MB for Linux Kernel Image */
  54. reg = <0x00400000 0x00800000>;
  55. label = "NAND Linux Kernel Image";
  56. };
  57. partition@c00000 {
  58. /* Rest space for Root file System Image */
  59. reg = <0x00c00000 0x07400000>;
  60. label = "NAND RFS Image";
  61. };
  62. };
  63. };
  64. &board_soc {
  65. /* BSC9131RDB does not have any device on i2c@3100 */
  66. i2c@3100 {
  67. status = "disabled";
  68. };
  69. spi@7000 {
  70. flash@0 {
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. compatible = "spansion,s25sl12801";
  74. reg = <0>;
  75. spi-max-frequency = <50000000>;
  76. /* 512KB for u-boot Bootloader Image */
  77. partition@0 {
  78. reg = <0x0 0x00080000>;
  79. label = "SPI Flash U-Boot Image";
  80. read-only;
  81. };
  82. /* 512KB for DTB Image */
  83. partition@80000 {
  84. reg = <0x00080000 0x00080000>;
  85. label = "SPI Flash DTB Image";
  86. };
  87. /* 4MB for Linux Kernel Image */
  88. partition@100000 {
  89. reg = <0x00100000 0x00400000>;
  90. label = "SPI Flash Kernel Image";
  91. };
  92. /*11MB for RFS Image */
  93. partition@500000 {
  94. reg = <0x00500000 0x00B00000>;
  95. label = "SPI Flash RFS Image";
  96. };
  97. };
  98. };
  99. usb@22000 {
  100. phy_type = "ulpi";
  101. };
  102. mdio@24000 {
  103. phy0: ethernet-phy@0 {
  104. interrupts = <3 1 0 0>;
  105. reg = <0x0>;
  106. };
  107. phy1: ethernet-phy@1 {
  108. interrupts = <2 1 0 0>;
  109. reg = <0x3>;
  110. };
  111. };
  112. sdhci@2e000 {
  113. status = "disabled";
  114. };
  115. enet0: ethernet@b0000 {
  116. phy-handle = <&phy0>;
  117. phy-connection-type = "rgmii-id";
  118. };
  119. enet1: ethernet@b1000 {
  120. phy-handle = <&phy1>;
  121. phy-connection-type = "rgmii-id";
  122. };
  123. };