xlp_svp.dts 2.6 KB

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