p1020utm-pc.dtsi 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /*
  2. * P1020 UTM-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 0x2000000>;
  40. bank-width = <2>;
  41. device-width = <1>;
  42. partition@0 {
  43. /* 256KB for DTB Image */
  44. reg = <0x0 0x00040000>;
  45. label = "NOR DTB Image";
  46. };
  47. partition@40000 {
  48. /* 3.75 MB for Linux Kernel Image */
  49. reg = <0x00040000 0x003c0000>;
  50. label = "NOR Linux Kernel Image";
  51. };
  52. partition@400000 {
  53. /* 27MB for Root file System */
  54. reg = <0x00400000 0x01b00000>;
  55. label = "NOR Root File System";
  56. };
  57. partition@1f00000 {
  58. /* This location must not be altered */
  59. /* 512KB for u-boot Bootloader Image */
  60. /* 512KB for u-boot Environment Variables */
  61. reg = <0x01f00000 0x00100000>;
  62. label = "NOR U-Boot Image";
  63. read-only;
  64. };
  65. };
  66. };
  67. &soc {
  68. i2c@3000 {
  69. rtc@68 {
  70. compatible = "dallas,ds1339";
  71. reg = <0x68>;
  72. };
  73. };
  74. mdio@24000 {
  75. phy0: ethernet-phy@0 {
  76. interrupts = <3 1 0 0>;
  77. reg = <0x0>;
  78. };
  79. phy1: ethernet-phy@1 {
  80. interrupts = <2 1 0 0>;
  81. reg = <0x1>;
  82. };
  83. phy2: ethernet-phy@2 {
  84. interrupts = <1 1 0 0>;
  85. reg = <0x2>;
  86. };
  87. };
  88. mdio@25000 {
  89. tbi1: tbi-phy@11 {
  90. reg = <0x11>;
  91. device_type = "tbi-phy";
  92. };
  93. };
  94. mdio@26000 {
  95. tbi2: tbi-phy@11 {
  96. reg = <0x11>;
  97. device_type = "tbi-phy";
  98. };
  99. };
  100. enet0: ethernet@b0000 {
  101. phy-handle = <&phy2>;
  102. phy-connection-type = "rgmii-id";
  103. };
  104. enet1: ethernet@b1000 {
  105. phy-handle = <&phy0>;
  106. tbi-handle = <&tbi1>;
  107. phy-connection-type = "sgmii";
  108. };
  109. enet2: ethernet@b2000 {
  110. phy-handle = <&phy1>;
  111. phy-connection-type = "rgmii-id";
  112. };
  113. usb@22000 {
  114. phy_type = "ulpi";
  115. };
  116. /* USB2 is shared with localbus, so it must be disabled
  117. by default. We can't put 'status = "disabled";' here
  118. since U-Boot doesn't clear the status property when
  119. it enables USB2. OTOH, U-Boot does create a new node
  120. when there isn't any. So, just comment it out.
  121. */
  122. usb@23000 {
  123. status = "disabled";
  124. phy_type = "ulpi";
  125. };
  126. };