xlp_evp.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /*
  2. * XLP8XX Device Tree Source for EVP boards
  3. */
  4. /dts-v1/;
  5. / {
  6. model = "netlogic,XLP-EVP";
  7. compatible = "netlogic,xlp";
  8. #address-cells = <2>;
  9. #size-cells = <2>;
  10. memory {
  11. device_type = "memory";
  12. reg = <0 0x00100000 0 0x0FF00000 // 255M at 1M
  13. 0 0x20000000 0 0xa0000000 // 2560M at 512M
  14. 0 0xe0000000 1 0x00000000>;
  15. };
  16. soc {
  17. #address-cells = <2>;
  18. #size-cells = <1>;
  19. compatible = "simple-bus";
  20. ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG
  21. 1 0 0 0x16000000 0x01000000>; // GBU chipselects
  22. serial0: serial@30000 {
  23. device_type = "serial";
  24. compatible = "ns16550";
  25. reg = <0 0x30100 0xa00>;
  26. reg-shift = <2>;
  27. reg-io-width = <4>;
  28. clock-frequency = <133333333>;
  29. interrupt-parent = <&pic>;
  30. interrupts = <17>;
  31. };
  32. serial1: serial@31000 {
  33. device_type = "serial";
  34. compatible = "ns16550";
  35. reg = <0 0x31100 0xa00>;
  36. reg-shift = <2>;
  37. reg-io-width = <4>;
  38. clock-frequency = <133333333>;
  39. interrupt-parent = <&pic>;
  40. interrupts = <18>;
  41. };
  42. i2c0: ocores@32000 {
  43. compatible = "opencores,i2c-ocores";
  44. #address-cells = <1>;
  45. #size-cells = <0>;
  46. reg = <0 0x32100 0xa00>;
  47. reg-shift = <2>;
  48. reg-io-width = <4>;
  49. clock-frequency = <32000000>;
  50. interrupt-parent = <&pic>;
  51. interrupts = <30>;
  52. };
  53. i2c1: ocores@33000 {
  54. compatible = "opencores,i2c-ocores";
  55. #address-cells = <1>;
  56. #size-cells = <0>;
  57. reg = <0 0x33100 0xa00>;
  58. reg-shift = <2>;
  59. reg-io-width = <4>;
  60. clock-frequency = <32000000>;
  61. interrupt-parent = <&pic>;
  62. interrupts = <31>;
  63. rtc@68 {
  64. compatible = "dallas,ds1374";
  65. reg = <0x68>;
  66. };
  67. dtt@4c {
  68. compatible = "national,lm90";
  69. reg = <0x4c>;
  70. };
  71. };
  72. pic: pic@4000 {
  73. interrupt-controller;
  74. #address-cells = <0>;
  75. #interrupt-cells = <1>;
  76. reg = <0 0x4000 0x200>;
  77. };
  78. nor_flash@1,0 {
  79. compatible = "cfi-flash";
  80. #address-cells = <1>;
  81. #size-cells = <1>;
  82. bank-width = <2>;
  83. reg = <1 0 0x1000000>;
  84. partition@0 {
  85. label = "x-loader";
  86. reg = <0x0 0x100000>; /* 1M */
  87. read-only;
  88. };
  89. partition@100000 {
  90. label = "u-boot";
  91. reg = <0x100000 0x100000>; /* 1M */
  92. };
  93. partition@200000 {
  94. label = "kernel";
  95. reg = <0x200000 0x500000>; /* 5M */
  96. };
  97. partition@700000 {
  98. label = "rootfs";
  99. reg = <0x700000 0x800000>; /* 8M */
  100. };
  101. partition@f00000 {
  102. label = "env";
  103. reg = <0xf00000 0x100000>; /* 1M */
  104. read-only;
  105. };
  106. };
  107. };
  108. chosen {
  109. bootargs = "console=ttyS0,115200 rdinit=/sbin/init";
  110. };
  111. };