xlp_rvp.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * XLP5XX Device Tree Source for RVP boards
  3. */
  4. /dts-v1/;
  5. / {
  6. model = "netlogic,XLP-RVP";
  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 0x112100 0xa00>;
  20. reg-shift = <2>;
  21. reg-io-width = <4>;
  22. clock-frequency = <125000000>;
  23. interrupt-parent = <&pic>;
  24. interrupts = <17>;
  25. };
  26. pic: pic@110000 {
  27. compatible = "netlogic,xlp-pic";
  28. #address-cells = <0>;
  29. #interrupt-cells = <1>;
  30. reg = <0 0x110000 0x200>;
  31. interrupt-controller;
  32. };
  33. nor_flash@1,0 {
  34. compatible = "cfi-flash";
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. bank-width = <2>;
  38. reg = <1 0 0x1000000>;
  39. partition@0 {
  40. label = "x-loader";
  41. reg = <0x0 0x100000>; /* 1M */
  42. read-only;
  43. };
  44. partition@100000 {
  45. label = "u-boot";
  46. reg = <0x100000 0x100000>; /* 1M */
  47. };
  48. partition@200000 {
  49. label = "kernel";
  50. reg = <0x200000 0x500000>; /* 5M */
  51. };
  52. partition@700000 {
  53. label = "rootfs";
  54. reg = <0x700000 0x800000>; /* 8M */
  55. };
  56. partition@f00000 {
  57. label = "env";
  58. reg = <0xf00000 0x100000>; /* 1M */
  59. read-only;
  60. };
  61. };
  62. gpio: xlp_gpio@114100 {
  63. compatible = "netlogic,xlp532-gpio";
  64. reg = <0 0x114100 0x1000>;
  65. #gpio-cells = <2>;
  66. gpio-controller;
  67. #interrupt-cells = <2>;
  68. interrupt-parent = <&pic>;
  69. interrupts = <39>;
  70. interrupt-controller;
  71. };
  72. };
  73. chosen {
  74. bootargs = "console=ttyS0,115200 rdinit=/sbin/init";
  75. };
  76. };