p1020mbg-pc.dtsi 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /*
  2. * P1020 MBG-PC Device Tree Source stub (no addresses or top-level ranges)
  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 THIS
  32. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. */
  34. &lbc {
  35. nor@0,0 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. compatible = "cfi-flash";
  39. reg = <0x0 0x0 0x4000000>;
  40. bank-width = <2>;
  41. device-width = <1>;
  42. partition@0 {
  43. /* 128KB for DTB Image */
  44. reg = <0x0 0x00020000>;
  45. label = "NOR DTB Image";
  46. };
  47. partition@20000 {
  48. /* 3.875 MB for Linux Kernel Image */
  49. reg = <0x00020000 0x003e0000>;
  50. label = "NOR Linux Kernel Image";
  51. };
  52. partition@400000 {
  53. /* 58MB for Root file System */
  54. reg = <0x00400000 0x03a00000>;
  55. label = "NOR Root File System";
  56. };
  57. partition@3e00000 {
  58. /* This location must not be altered */
  59. /* 1M for Vitesse 7385 Switch firmware */
  60. reg = <0x3e00000 0x00100000>;
  61. label = "NOR Vitesse-7385 Firmware";
  62. read-only;
  63. };
  64. partition@3f00000 {
  65. /* This location must not be altered */
  66. /* 512KB for u-boot Bootloader Image */
  67. /* 512KB for u-boot Environment Variables */
  68. reg = <0x03f00000 0x00100000>;
  69. label = "NOR U-Boot Image";
  70. read-only;
  71. };
  72. };
  73. L2switch@2,0 {
  74. #address-cells = <1>;
  75. #size-cells = <1>;
  76. compatible = "vitesse-7385";
  77. reg = <0x2 0x0 0x20000>;
  78. };
  79. };
  80. &soc {
  81. i2c@3000 {
  82. rtc@68 {
  83. compatible = "dallas,ds1339";
  84. reg = <0x68>;
  85. };
  86. };
  87. mdio@24000 {
  88. phy0: ethernet-phy@0 {
  89. interrupts = <3 1 0 0>;
  90. reg = <0x0>;
  91. };
  92. phy1: ethernet-phy@1 {
  93. interrupts = <2 1 0 0>;
  94. reg = <0x1>;
  95. };
  96. };
  97. mdio@25000 {
  98. tbi1: tbi-phy@11 {
  99. reg = <0x11>;
  100. device_type = "tbi-phy";
  101. };
  102. };
  103. mdio@26000 {
  104. tbi2: tbi-phy@11 {
  105. reg = <0x11>;
  106. device_type = "tbi-phy";
  107. };
  108. };
  109. enet0: ethernet@b0000 {
  110. fixed-link = <1 1 1000 0 0>;
  111. phy-connection-type = "rgmii-id";
  112. };
  113. enet1: ethernet@b1000 {
  114. phy-handle = <&phy0>;
  115. tbi-handle = <&tbi1>;
  116. phy-connection-type = "sgmii";
  117. };
  118. enet2: ethernet@b2000 {
  119. phy-handle = <&phy1>;
  120. phy-connection-type = "rgmii-id";
  121. };
  122. usb@22000 {
  123. phy_type = "ulpi";
  124. };
  125. /* USB2 is shared with localbus, so it must be disabled
  126. by default. We can't put 'status = "disabled";' here
  127. since U-Boot doesn't clear the status property when
  128. it enables USB2. OTOH, U-Boot does create a new node
  129. when there isn't any. So, just comment it out.
  130. */
  131. usb@23000 {
  132. status = "disabled";
  133. phy_type = "ulpi";
  134. };
  135. };