xlp_gvp.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * XLP9XX Device Tree Source for GVP boards
  4. */
  5. /dts-v1/;
  6. / {
  7. model = "netlogic,XLP-GVP";
  8. compatible = "netlogic,xlp";
  9. #address-cells = <2>;
  10. #size-cells = <2>;
  11. soc {
  12. #address-cells = <2>;
  13. #size-cells = <1>;
  14. compatible = "simple-bus";
  15. ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG
  16. 1 0 0 0x16000000 0x02000000>; // GBU chipselects
  17. serial0: serial@30000 {
  18. device_type = "serial";
  19. compatible = "ns16550";
  20. reg = <0 0x112100 0xa00>;
  21. reg-shift = <2>;
  22. reg-io-width = <4>;
  23. clock-frequency = <125000000>;
  24. interrupt-parent = <&pic>;
  25. interrupts = <17>;
  26. };
  27. pic: pic@110000 {
  28. compatible = "netlogic,xlp-pic";
  29. #address-cells = <0>;
  30. #interrupt-cells = <1>;
  31. reg = <0 0x110000 0x200>;
  32. interrupt-controller;
  33. };
  34. nor_flash@1,0 {
  35. compatible = "cfi-flash";
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. bank-width = <2>;
  39. reg = <1 0 0x1000000>;
  40. partition@0 {
  41. label = "x-loader";
  42. reg = <0x0 0x100000>; /* 1M */
  43. read-only;
  44. };
  45. partition@100000 {
  46. label = "u-boot";
  47. reg = <0x100000 0x100000>; /* 1M */
  48. };
  49. partition@200000 {
  50. label = "kernel";
  51. reg = <0x200000 0x500000>; /* 5M */
  52. };
  53. partition@700000 {
  54. label = "rootfs";
  55. reg = <0x700000 0x800000>; /* 8M */
  56. };
  57. partition@f00000 {
  58. label = "env";
  59. reg = <0xf00000 0x100000>; /* 1M */
  60. read-only;
  61. };
  62. };
  63. gpio: xlp_gpio@114100 {
  64. compatible = "netlogic,xlp980-gpio";
  65. reg = <0 0x114100 0x1000>;
  66. #gpio-cells = <2>;
  67. gpio-controller;
  68. #interrupt-cells = <2>;
  69. interrupt-parent = <&pic>;
  70. interrupts = <39>;
  71. interrupt-controller;
  72. };
  73. };
  74. chosen {
  75. bootargs = "console=ttyS0,115200 rdinit=/sbin/init";
  76. };
  77. };