simple_smp.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /dts-v1/;
  2. / {
  3. compatible = "opencores,or1ksim";
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. interrupt-parent = <&pic>;
  7. aliases {
  8. uart0 = &serial0;
  9. };
  10. chosen {
  11. bootargs = "earlycon";
  12. stdout-path = "uart0:115200";
  13. };
  14. memory@0 {
  15. device_type = "memory";
  16. reg = <0x00000000 0x02000000>;
  17. };
  18. cpus {
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. cpu@0 {
  22. compatible = "opencores,or1200-rtlsvn481";
  23. reg = <0>;
  24. clock-frequency = <20000000>;
  25. };
  26. cpu@1 {
  27. compatible = "opencores,or1200-rtlsvn481";
  28. reg = <1>;
  29. clock-frequency = <20000000>;
  30. };
  31. };
  32. ompic: ompic@98000000 {
  33. compatible = "openrisc,ompic";
  34. reg = <0x98000000 16>;
  35. interrupt-controller;
  36. #interrupt-cells = <0>;
  37. interrupts = <1>;
  38. };
  39. /*
  40. * OR1K PIC is built into CPU and accessed via special purpose
  41. * registers. It is not addressable and, hence, has no 'reg'
  42. * property.
  43. */
  44. pic: pic {
  45. compatible = "opencores,or1k-pic-level";
  46. #interrupt-cells = <1>;
  47. interrupt-controller;
  48. };
  49. serial0: serial@90000000 {
  50. compatible = "opencores,uart16550-rtlsvn105", "ns16550a";
  51. reg = <0x90000000 0x100>;
  52. interrupts = <2>;
  53. clock-frequency = <20000000>;
  54. };
  55. enet0: ethoc@92000000 {
  56. compatible = "opencores,ethoc";
  57. reg = <0x92000000 0x800>;
  58. interrupts = <4>;
  59. big-endian;
  60. };
  61. };